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> |
ba7cbae3 | 27 | ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> |
fbe32d46 | 28 | ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@member.fsf.org> |
7f2a5650 | 29 | ;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com> |
6b34d01c RV |
30 | ;;; |
31 | ;;; This file is part of GNU Guix. | |
32 | ;;; | |
33 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
34 | ;;; under the terms of the GNU General Public License as published by | |
35 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
36 | ;;; your option) any later version. | |
37 | ;;; | |
38 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
39 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
40 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
41 | ;;; GNU General Public License for more details. | |
42 | ;;; | |
43 | ;;; You should have received a copy of the GNU General Public License | |
44 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
45 | ||
46 | (define-module (gnu packages haskell-xyz) | |
47 | #:use-module (gnu packages) | |
dddbc90c RV |
48 | #:use-module (gnu packages base) |
49 | #:use-module (gnu packages compression) | |
50 | #:use-module (gnu packages emacs) | |
dddbc90c RV |
51 | #:use-module (gnu packages gl) |
52 | #:use-module (gnu packages graphviz) | |
53 | #:use-module (gnu packages gtk) | |
d4e4a382 | 54 | #:use-module (gnu packages haskell) |
dddbc90c | 55 | #:use-module (gnu packages haskell-apps) |
efb96749 | 56 | #:use-module (gnu packages haskell-check) |
dddbc90c RV |
57 | #:use-module (gnu packages haskell-crypto) |
58 | #:use-module (gnu packages haskell-web) | |
59 | #:use-module (gnu packages libffi) | |
60 | #:use-module (gnu packages linux) | |
e3ee8023 | 61 | #:use-module (gnu packages llvm) |
dddbc90c RV |
62 | #:use-module (gnu packages lua) |
63 | #:use-module (gnu packages maths) | |
49e29df5 | 64 | #:use-module (gnu packages ncurses) |
dddbc90c RV |
65 | #:use-module (gnu packages pcre) |
66 | #:use-module (gnu packages pkg-config) | |
67 | #:use-module (gnu packages sdl) | |
0c2d6fc2 | 68 | #:use-module (gnu packages web) |
dddbc90c RV |
69 | #:use-module (gnu packages xml) |
70 | #:use-module (gnu packages xorg) | |
6b34d01c RV |
71 | #:use-module (guix build-system haskell) |
72 | #:use-module (guix download) | |
dddbc90c | 73 | #:use-module (guix git-download) |
4780db2c | 74 | #:use-module (guix utils) |
6b34d01c | 75 | #:use-module ((guix licenses) #:prefix license:) |
d4e4a382 RW |
76 | #:use-module (guix packages) |
77 | #:use-module (srfi srfi-1)) | |
6b34d01c | 78 | |
dddbc90c | 79 | (define-public ghc-abstract-deque |
efb96749 | 80 | (package |
dddbc90c RV |
81 | (name "ghc-abstract-deque") |
82 | (version "0.3") | |
efb96749 RV |
83 | (source |
84 | (origin | |
85 | (method url-fetch) | |
86 | (uri (string-append "https://hackage.haskell.org/package/" | |
dddbc90c RV |
87 | "abstract-deque-" version "/" |
88 | "abstract-deque-" version ".tar.gz")) | |
efb96749 RV |
89 | (sha256 |
90 | (base32 | |
dddbc90c | 91 | "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9")))) |
efb96749 | 92 | (build-system haskell-build-system) |
dddbc90c RV |
93 | (inputs `(("ghc-random" ,ghc-random))) |
94 | (home-page "https://github.com/rrnewton/haskell-lockfree/wiki") | |
95 | (synopsis "Abstract, parameterized interface to mutable Deques for Haskell") | |
96 | (description "This Haskell package provides an abstract interface to | |
97 | highly-parameterizable queues/deques. | |
98 | ||
99 | Background: There exists a feature space for queues that extends between: | |
efb96749 RV |
100 | |
101 | @itemize | |
dddbc90c RV |
102 | @item Simple, single-ended, non-concurrent, bounded queues |
103 | ||
104 | @item Double-ended, thread-safe, growable queues with important points | |
105 | in between (such as the queues used for work stealing). | |
efb96749 RV |
106 | @end itemize |
107 | ||
dddbc90c RV |
108 | This package includes an interface for Deques that allows the programmer |
109 | to use a single API for all of the above, while using the type system to | |
110 | select an efficient implementation given the requirements (using type families). | |
efb96749 | 111 | |
dddbc90c RV |
112 | This package also includes a simple reference implementation based on |
113 | @code{IORef} and @code{Data.Sequence}.") | |
efb96749 RV |
114 | (license license:bsd-3))) |
115 | ||
dddbc90c | 116 | (define-public ghc-abstract-par |
658dbc7f | 117 | (package |
dddbc90c RV |
118 | (name "ghc-abstract-par") |
119 | (version "0.3.3") | |
658dbc7f RV |
120 | (source |
121 | (origin | |
122 | (method url-fetch) | |
123 | (uri (string-append "https://hackage.haskell.org/package/" | |
dddbc90c RV |
124 | "abstract-par-" version "/" |
125 | "abstract-par-" version ".tar.gz")) | |
658dbc7f RV |
126 | (sha256 |
127 | (base32 | |
dddbc90c RV |
128 | "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4")))) |
129 | (build-system haskell-build-system) | |
130 | (home-page "https://github.com/simonmar/monad-par") | |
131 | (synopsis "Abstract parallelization interface for Haskell") | |
132 | (description "This Haskell package is an abstract interface | |
133 | only. It provides a number of type clasess, but not an | |
134 | implementation. The type classes separate different levels | |
135 | of @code{Par} functionality. See the @code{Control.Monad.Par.Class} | |
136 | module for more details.") | |
137 | (license license:bsd-3))) | |
138 | ||
d8b88d74 TS |
139 | (define-public ghc-active |
140 | (package | |
141 | (name "ghc-active") | |
142 | (version "0.2.0.14") | |
143 | (source | |
144 | (origin | |
145 | (method url-fetch) | |
146 | (uri (string-append "https://hackage.haskell.org/package/" | |
147 | "active/active-" version ".tar.gz")) | |
148 | (sha256 | |
149 | (base32 | |
150 | "0x3b4ln6csa554qls28wbxvclkbdz3yi60i1m0q5ing0cs16fifz")))) | |
151 | (build-system haskell-build-system) | |
152 | (inputs | |
153 | `(("ghc-vector" ,ghc-vector) | |
154 | ("ghc-semigroups" ,ghc-semigroups) | |
155 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
156 | ("ghc-lens" ,ghc-lens) | |
157 | ("ghc-linear" ,ghc-linear))) | |
158 | (native-inputs | |
159 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
160 | (home-page "https://hackage.haskell.org/package/active") | |
161 | (synopsis "Abstractions for animation") | |
162 | (description "This package defines an @code{Active} abstraction for | |
163 | time-varying values with finite start and end times. It is used for | |
164 | describing animations within the | |
165 | @url{https://archives.haskell.org/projects.haskell.org/diagrams/, | |
166 | diagrams framework}.") | |
167 | (license license:bsd-3))) | |
168 | ||
dddbc90c RV |
169 | (define-public ghc-adjunctions |
170 | (package | |
171 | (name "ghc-adjunctions") | |
172 | (version "4.4") | |
173 | (source | |
174 | (origin | |
175 | (method url-fetch) | |
176 | (uri (string-append | |
177 | "https://hackage.haskell.org/package/adjunctions/adjunctions-" | |
178 | version | |
179 | ".tar.gz")) | |
180 | (sha256 | |
181 | (base32 | |
182 | "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h")))) | |
658dbc7f | 183 | (build-system haskell-build-system) |
a78262be TS |
184 | (arguments |
185 | `(#:cabal-revision | |
186 | ("2" "1yfsjx7dqikg3hvld7i91xfsg5lawmr5980lvfd794sybmgxsf17"))) | |
658dbc7f | 187 | (inputs |
dddbc90c RV |
188 | `(("ghc-profunctors" ,ghc-profunctors) |
189 | ("ghc-comonad" ,ghc-comonad) | |
190 | ("ghc-contravariant" ,ghc-contravariant) | |
191 | ("ghc-distributive" ,ghc-distributive) | |
192 | ("ghc-free" ,ghc-free) | |
193 | ("ghc-tagged" ,ghc-tagged) | |
194 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
195 | ("ghc-semigroups" ,ghc-semigroups) | |
196 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
197 | ("ghc-void" ,ghc-void))) | |
658dbc7f | 198 | (native-inputs |
dddbc90c RV |
199 | `(("ghc-generic-deriving" ,ghc-generic-deriving) |
200 | ("ghc-hspec" ,ghc-hspec) | |
201 | ("hspec-discover" ,hspec-discover))) | |
202 | (home-page "https://github.com/ekmett/adjunctions/") | |
203 | (synopsis "Adjunctions and representable functors") | |
204 | (description "This library provides adjunctions and representable functors | |
205 | for Haskell.") | |
206 | (license license:bsd-3))) | |
207 | ||
208 | (define-public ghc-aeson-compat | |
209 | (package | |
210 | (name "ghc-aeson-compat") | |
0bafb755 | 211 | (version "0.3.9") |
dddbc90c RV |
212 | (source |
213 | (origin | |
214 | (method url-fetch) | |
215 | (uri (string-append "https://hackage.haskell.org/package/" | |
216 | "aeson-compat-" version "/" | |
217 | "aeson-compat-" version ".tar.gz")) | |
218 | (sha256 | |
219 | (base32 | |
0bafb755 | 220 | "1j13gykv4ryvmr14w5blz0nnpdb4p0hpa27wahw3mhb1lwdr8hz0")))) |
dddbc90c RV |
221 | (build-system haskell-build-system) |
222 | (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10 | |
223 | (inputs `(("ghc-base-compat" ,ghc-base-compat) | |
224 | ("ghc-aeson" ,ghc-aeson) | |
225 | ("ghc-attoparsec" ,ghc-attoparsec) | |
226 | ("ghc-attoparsec" ,ghc-attoparsec-iso8601) | |
227 | ("ghc-exceptions" ,ghc-exceptions) | |
228 | ("ghc-hashable" ,ghc-hashable) | |
229 | ("ghc-scientific" ,ghc-scientific) | |
230 | ("ghc-time-locale-compat" ,ghc-time-locale-compat) | |
231 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
232 | ("ghc-vector" ,ghc-vector) | |
233 | ("ghc-tagged" ,ghc-tagged) | |
234 | ("ghc-semigroups" ,ghc-semigroups) | |
235 | ("ghc-nats" ,ghc-nats))) | |
236 | (home-page "https://github.com/phadej/aeson-compat") | |
237 | (synopsis "Compatibility layer for ghc-aeson") | |
238 | (description "This Haskell package provides compatibility layer for | |
239 | ghc-aeson.") | |
240 | (license license:bsd-3))) | |
241 | ||
cbc6f861 TS |
242 | (define-public ghc-aeson-diff |
243 | (package | |
244 | (name "ghc-aeson-diff") | |
245 | (version "1.1.0.7") | |
246 | (source | |
247 | (origin | |
248 | (method url-fetch) | |
249 | (uri (string-append "https://hackage.haskell.org/package/" | |
250 | "aeson-diff/aeson-diff-" version ".tar.gz")) | |
251 | (sha256 | |
252 | (base32 | |
253 | "01d48pd7d1mb9cd5yxfajln8rmjdjq8ch91s0lav4qw1azv6vp2r")))) | |
254 | (build-system haskell-build-system) | |
255 | (inputs | |
256 | `(("ghc-aeson" ,ghc-aeson) | |
257 | ("ghc-edit-distance-vector" ,ghc-edit-distance-vector) | |
258 | ("ghc-hashable" ,ghc-hashable) | |
259 | ("ghc-scientific" ,ghc-scientific) | |
260 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
261 | ("ghc-vector" ,ghc-vector) | |
262 | ("ghc-semigroups" ,ghc-semigroups) | |
263 | ("ghc-optparse-applicative" ,ghc-optparse-applicative))) | |
264 | (native-inputs | |
265 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
266 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
267 | ("ghc-glob" ,ghc-glob) | |
268 | ("ghc-quickcheck" ,ghc-quickcheck) | |
269 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
270 | ("ghc-quickcheck" ,ghc-quickcheck) | |
271 | ("ghc-doctest" ,ghc-doctest) | |
272 | ("hlint" ,hlint))) | |
273 | (home-page "https://github.com/thsutton/aeson-diff") | |
274 | (synopsis "Extract and apply patches to JSON documents") | |
275 | (description "This is a small library for working with changes to JSON | |
276 | documents. It includes a library and two command-line executables in the | |
277 | style of the @command{diff} and @command{patch} commands available on many | |
278 | systems.") | |
279 | (license license:bsd-3))) | |
280 | ||
dddbc90c RV |
281 | (define-public ghc-alex |
282 | (package | |
283 | (name "ghc-alex") | |
284 | (version "3.2.4") | |
285 | (source | |
286 | (origin | |
287 | (method url-fetch) | |
288 | (uri (string-append | |
289 | "https://hackage.haskell.org/package/alex/alex-" | |
290 | version | |
291 | ".tar.gz")) | |
292 | (sha256 | |
293 | (base32 | |
294 | "0cpjixgsr0b2x4s6hz4aa6gnmjw9i7xd9nlfi8m37zqlidq4v3nm")))) | |
295 | (build-system haskell-build-system) | |
658dbc7f | 296 | (arguments |
dddbc90c RV |
297 | `(#:phases |
298 | (modify-phases %standard-phases | |
299 | (add-before 'check 'set-check-variables | |
300 | (lambda _ | |
301 | (setenv "PATH" (string-append (getcwd) "/dist/build/alex:" | |
302 | (getenv "PATH"))) | |
303 | (setenv "alex_datadir" (string-append (getcwd) "/data")) | |
304 | #t))))) | |
305 | (inputs `(("ghc-quickcheck" ,ghc-quickcheck))) | |
306 | (native-inputs | |
307 | `(("which" ,which))) | |
308 | (home-page "https://www.haskell.org/alex/") | |
309 | (synopsis | |
310 | "Tool for generating lexical analysers in Haskell") | |
311 | (description | |
312 | "Alex is a tool for generating lexical analysers in Haskell. It takes a | |
313 | description of tokens based on regular expressions and generates a Haskell | |
314 | module containing code for scanning text efficiently. It is similar to the | |
315 | tool lex or flex for C/C++.") | |
658dbc7f RV |
316 | (license license:bsd-3))) |
317 | ||
dddbc90c | 318 | (define-public ghc-alsa-core |
7b01a977 | 319 | (package |
dddbc90c RV |
320 | (name "ghc-alsa-core") |
321 | (version "0.5.0.1") | |
322 | (source | |
323 | (origin | |
324 | (method url-fetch) | |
325 | (uri (string-append | |
326 | "mirror://hackage/package/alsa-core/alsa-core-" | |
327 | version | |
328 | ".tar.gz")) | |
329 | (sha256 | |
330 | (base32 | |
331 | "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b")))) | |
332 | (build-system haskell-build-system) | |
54a5fd07 TS |
333 | (arguments |
334 | `(#:extra-directories ("alsa-lib"))) | |
dddbc90c RV |
335 | (inputs |
336 | `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions) | |
337 | ("alsa-lib" ,alsa-lib))) | |
338 | (native-inputs | |
339 | `(("pkg-config" ,pkg-config))) | |
228d2901 | 340 | (home-page "https://wiki.haskell.org/ALSA") |
dddbc90c RV |
341 | (synopsis "Binding to the ALSA Library API (Exceptions)") |
342 | (description "This package provides access to ALSA infrastructure, that is | |
343 | needed by both alsa-seq and alsa-pcm.") | |
344 | (license license:bsd-3))) | |
345 | ||
f2ed1e6d JS |
346 | (define-public ghc-alsa-mixer |
347 | (package | |
348 | (name "ghc-alsa-mixer") | |
349 | (version "0.3.0") | |
350 | (source | |
351 | (origin | |
352 | (method url-fetch) | |
353 | (uri | |
354 | (string-append | |
355 | "mirror://hackage/package/alsa-mixer/alsa-mixer-" | |
356 | version ".tar.gz")) | |
357 | (sha256 | |
358 | (base32 | |
359 | "00ny2p3276jilidjs44npc8zmbhynz3f2lpmlwwl6swwx5yijsnb")))) | |
360 | (build-system haskell-build-system) | |
361 | (inputs `(("ghc-alsa-core" ,ghc-alsa-core))) | |
362 | (native-inputs `(("ghc-c2hs" ,ghc-c2hs))) | |
363 | (home-page "https://github.com/ttuegel/alsa-mixer") | |
364 | (synopsis "Bindings to the ALSA simple mixer API") | |
365 | (description | |
366 | "This package provides bindings to the ALSA simple mixer API.") | |
367 | (license license:bsd-3))) | |
368 | ||
dddbc90c RV |
369 | (define-public ghc-annotated-wl-pprint |
370 | (package | |
371 | (name "ghc-annotated-wl-pprint") | |
372 | (version "0.7.0") | |
373 | (source | |
374 | (origin | |
375 | (method url-fetch) | |
376 | (uri (string-append | |
377 | "https://hackage.haskell.org/package/annotated-wl-pprint" | |
378 | "/annotated-wl-pprint-" version | |
379 | ".tar.gz")) | |
380 | (sha256 | |
381 | (base32 | |
382 | "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc")))) | |
383 | (build-system haskell-build-system) | |
384 | (home-page | |
385 | "https://github.com/david-christiansen/annotated-wl-pprint") | |
386 | (synopsis | |
387 | "The Wadler/Leijen Pretty Printer, with annotation support") | |
388 | (description "This is a modified version of wl-pprint, which was based on | |
389 | Wadler's paper \"A Prettier Printer\". This version allows the library user | |
390 | to annotate the text with semantic information, which can later be rendered in | |
391 | a variety of ways.") | |
392 | (license license:bsd-3))) | |
393 | ||
394 | (define-public ghc-ansi-terminal | |
395 | (package | |
396 | (name "ghc-ansi-terminal") | |
f1b4a73f | 397 | (version "0.9.1") |
dddbc90c RV |
398 | (source |
399 | (origin | |
400 | (method url-fetch) | |
401 | (uri (string-append | |
402 | "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-" | |
403 | version | |
404 | ".tar.gz")) | |
405 | (sha256 | |
406 | (base32 | |
f1b4a73f | 407 | "1yr0ld0kqns3w3j9gl62bdwshvyazidx4dv1qkvq19ivnf08w23l")))) |
dddbc90c RV |
408 | (build-system haskell-build-system) |
409 | (inputs | |
410 | `(("ghc-colour" ,ghc-colour))) | |
411 | (home-page "https://github.com/feuerbach/ansi-terminal") | |
412 | (synopsis "ANSI terminal support for Haskell") | |
413 | (description "This package provides ANSI terminal support for Haskell. It | |
414 | allows cursor movement, screen clearing, color output showing or hiding the | |
415 | cursor, and changing the title.") | |
416 | (license license:bsd-3))) | |
417 | ||
418 | (define-public ghc-ansi-wl-pprint | |
419 | (package | |
420 | (name "ghc-ansi-wl-pprint") | |
c38746eb | 421 | (version "0.6.9") |
7b01a977 RV |
422 | (source |
423 | (origin | |
424 | (method url-fetch) | |
425 | (uri (string-append "https://hackage.haskell.org/package/" | |
dddbc90c | 426 | "ansi-wl-pprint/ansi-wl-pprint-" |
7b01a977 RV |
427 | version ".tar.gz")) |
428 | (sha256 | |
429 | (base32 | |
c38746eb | 430 | "1b2fg8px98dzbaqyns10kvs8kn6cl1hdq5wb9saz40izrpkyicm7")))) |
7b01a977 RV |
431 | (build-system haskell-build-system) |
432 | (inputs | |
dddbc90c RV |
433 | `(("ghc-ansi-terminal" ,ghc-ansi-terminal))) |
434 | (home-page "https://github.com/ekmett/ansi-wl-pprint") | |
435 | (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output") | |
436 | (description "This is a pretty printing library based on Wadler's paper | |
437 | \"A Prettier Printer\". It has been enhanced with support for ANSI terminal | |
438 | colored output using the ansi-terminal package.") | |
439 | (license license:bsd-3))) | |
440 | ||
441 | (define-public ghc-appar | |
442 | (package | |
443 | (name "ghc-appar") | |
1159d1a5 | 444 | (version "0.1.8") |
dddbc90c RV |
445 | (source |
446 | (origin | |
447 | (method url-fetch) | |
448 | (uri (string-append | |
449 | "https://hackage.haskell.org/package/appar/appar-" | |
450 | version | |
451 | ".tar.gz")) | |
452 | (sha256 | |
453 | (base32 | |
1159d1a5 | 454 | "07v3h766q9mnhphsm53718h1lds147ix7dj15kc5hnsj4vffvkn4")))) |
dddbc90c RV |
455 | (build-system haskell-build-system) |
456 | (home-page | |
457 | "https://hackage.haskell.org/package/appar") | |
458 | (synopsis "Simple applicative parser") | |
459 | (description "This package provides a simple applicative parser in Parsec | |
460 | style.") | |
461 | (license license:bsd-3))) | |
462 | ||
af369394 JS |
463 | (define-public ghc-assoc |
464 | (package | |
465 | (name "ghc-assoc") | |
466 | (version "1.0.1") | |
467 | (source | |
468 | (origin | |
469 | (method url-fetch) | |
470 | (uri (string-append | |
471 | "https://hackage.haskell.org/package/assoc/assoc-" | |
472 | version | |
473 | ".tar.gz")) | |
474 | (sha256 | |
475 | (base32 | |
476 | "1m9n4vp190bvn2wcrd4ggfwa9pi93jp0zgx02mdgywn2zfidw020")))) | |
477 | (build-system haskell-build-system) | |
478 | (inputs | |
479 | `(("ghc-bifunctors" ,ghc-bifunctors) | |
480 | ("ghc-tagged" ,ghc-tagged))) | |
481 | (home-page | |
482 | "http://hackage.haskell.org/package/assoc") | |
483 | (synopsis | |
484 | "Swap and assoc: Symmetric and Semigroupy Bifunctors") | |
485 | (description | |
486 | "Provides generalisations of @code{swap :: (a,b) -> (b,a)} and | |
487 | @code{assoc :: ((a,b),c) -> (a,(b,c))} to @code{Bifunctor}s supporting | |
488 | similar operations (e.g. @code{Either}, @code{These}).") | |
489 | (license license:bsd-3))) | |
490 | ||
dddbc90c RV |
491 | (define-public ghc-async |
492 | (package | |
493 | (name "ghc-async") | |
048ef066 | 494 | (version "2.2.2") |
dddbc90c RV |
495 | (source |
496 | (origin | |
497 | (method url-fetch) | |
498 | (uri (string-append | |
499 | "https://hackage.haskell.org/package/async/async-" | |
500 | version | |
501 | ".tar.gz")) | |
502 | (sha256 | |
503 | (base32 | |
048ef066 | 504 | "1zxvfcyy4sg8lmzphi5dgnavksj5pav6rbvd5kc48lf4hanb2jjb")))) |
dddbc90c RV |
505 | (build-system haskell-build-system) |
506 | (inputs | |
507 | `(("ghc-hashable" ,ghc-hashable) | |
508 | ("ghc-hunit" ,ghc-hunit) | |
7b01a977 RV |
509 | ("ghc-test-framework" ,ghc-test-framework) |
510 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
dddbc90c RV |
511 | (home-page "https://github.com/simonmar/async") |
512 | (synopsis "Library to run IO operations asynchronously") | |
513 | (description "Async provides a library to run IO operations | |
514 | asynchronously, and wait for their results. It is a higher-level interface | |
515 | over threads in Haskell, in which @code{Async a} is a concurrent thread that | |
516 | will eventually deliver a value of type @code{a}.") | |
7b01a977 RV |
517 | (license license:bsd-3))) |
518 | ||
9ad9ec2e AG |
519 | (define-public ghc-atomic-primops |
520 | (package | |
521 | (name "ghc-atomic-primops") | |
af16c6b0 | 522 | (version "0.8.3") |
9ad9ec2e AG |
523 | (source |
524 | (origin | |
525 | (method url-fetch) | |
526 | (uri (string-append "https://hackage.haskell.org/package/atomic-primops" | |
527 | "/atomic-primops-" version ".tar.gz")) | |
528 | (sha256 | |
529 | (base32 | |
af16c6b0 | 530 | "03n5dmyplrqgbyf8dr91izkxci7gkl3i3fnp82i5ld869zrgjfh0")))) |
9ad9ec2e AG |
531 | (build-system haskell-build-system) |
532 | (inputs `(("ghc-primitive" ,ghc-primitive))) | |
533 | (home-page "https://github.com/rrnewton/haskell-lockfree/wiki") | |
534 | (synopsis "Safe approach to CAS and other atomic ops") | |
535 | (description | |
536 | "GHC 7.4 introduced a new @code{casMutVar} PrimOp which is difficult to | |
537 | use safely, because pointer equality is a highly unstable property in Haskell. | |
538 | This library provides a safer method based on the concept of @code{Ticket}s.") | |
539 | (license license:bsd-3))) | |
540 | ||
dddbc90c | 541 | (define-public ghc-atomic-write |
79fcc5e5 | 542 | (package |
dddbc90c | 543 | (name "ghc-atomic-write") |
c09d1e62 | 544 | (version "0.2.0.6") |
79fcc5e5 RV |
545 | (source |
546 | (origin | |
547 | (method url-fetch) | |
dddbc90c RV |
548 | (uri (string-append |
549 | "https://hackage.haskell.org/package/atomic-write/atomic-write-" | |
550 | version | |
551 | ".tar.gz")) | |
79fcc5e5 RV |
552 | (sha256 |
553 | (base32 | |
c09d1e62 | 554 | "1xs3shwnlj8hmnm3q6jc8nv78z0481i5n4hrqqdmbpx8grvlnqyl")))) |
dddbc90c RV |
555 | (build-system haskell-build-system) |
556 | (inputs | |
557 | `(("ghc-temporary" ,ghc-temporary) | |
558 | ("ghc-unix-compat" ,ghc-unix-compat))) | |
559 | (native-inputs | |
560 | `(("ghc-temporary" ,ghc-temporary) | |
561 | ("ghc-unix-compat" ,ghc-unix-compat) | |
562 | ("ghc-hspec" ,ghc-hspec) | |
563 | ("hspec-discover" ,hspec-discover))) | |
564 | (home-page "https://github.com/stackbuilders/atomic-write") | |
565 | (synopsis "Atomically write to a file") | |
566 | (description | |
567 | "Atomically write to a file on POSIX-compliant systems while preserving | |
568 | permissions. @code{mv} is an atomic operation. This makes it simple to write | |
569 | to a file atomically just by using the @code{mv} operation. However, this | |
570 | will destroy the permissions on the original file. This library preserves | |
571 | permissions while atomically writing to a file.") | |
572 | (license license:expat))) | |
573 | ||
b7250901 JS |
574 | (define-public ghc-atomic-write-0.2.0.7 |
575 | (package | |
576 | (inherit ghc-atomic-write) | |
577 | (version "0.2.0.7") | |
578 | (source | |
579 | (origin | |
580 | (inherit (package-source ghc-atomic-write)) | |
581 | (uri (string-append | |
582 | "https://hackage.haskell.org/package/atomic-write/atomic-write-" | |
583 | version | |
584 | ".tar.gz")) | |
585 | (sha256 | |
586 | (base32 | |
587 | "03cn3ii74h0w3g4h78xsx9v2sn58r3qsr2dbdwq340xwhiwcgxdm")))))) | |
588 | ||
dddbc90c RV |
589 | (define-public ghc-attoparsec |
590 | (package | |
591 | (name "ghc-attoparsec") | |
511c3204 | 592 | (version "0.13.2.3") |
dddbc90c RV |
593 | (source |
594 | (origin | |
595 | (method url-fetch) | |
596 | (uri (string-append | |
597 | "https://hackage.haskell.org/package/attoparsec/attoparsec-" | |
598 | version | |
599 | ".tar.gz")) | |
600 | (sha256 | |
601 | (base32 | |
511c3204 | 602 | "1ngjn9h5n0vyki0m2jir4mg85875ysswy9hznpmj1r856mqwc6ix")))) |
79fcc5e5 | 603 | (build-system haskell-build-system) |
79fcc5e5 | 604 | (arguments |
dddbc90c RV |
605 | `(#:phases |
606 | (modify-phases %standard-phases | |
607 | (add-after 'unpack 'patch-for-newer-quickcheck | |
608 | (lambda _ | |
609 | (substitute* "attoparsec.cabal" | |
610 | (("QuickCheck >= 2\\.7 && < 2\\.10") | |
611 | "QuickCheck >= 2.7 && < 2.12")) | |
612 | ;; This test fails because of the newer QuickCheck: | |
613 | ;; <https://github.com/bos/attoparsec/issues/134>. | |
614 | (substitute* "tests/QC/ByteString.hs" | |
615 | ((", testProperty \"satisfyWith\" satisfyWith") | |
616 | ""))))))) | |
617 | (inputs | |
618 | `(("ghc-scientific" ,ghc-scientific))) | |
619 | (native-inputs | |
620 | `(("ghc-tasty" ,ghc-tasty) | |
621 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
622 | ("ghc-quickcheck" ,ghc-quickcheck) | |
623 | ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode) | |
624 | ("ghc-vector" ,ghc-vector))) | |
625 | (home-page "https://github.com/bos/attoparsec") | |
626 | (synopsis "Fast combinator parsing for bytestrings and text") | |
627 | (description "This library provides a fast parser combinator library, | |
628 | aimed particularly at dealing efficiently with network protocols and | |
629 | complicated text/binary file formats.") | |
79fcc5e5 RV |
630 | (license license:bsd-3))) |
631 | ||
dddbc90c | 632 | (define-public ghc-attoparsec-bootstrap |
6b34d01c | 633 | (package |
dddbc90c RV |
634 | (inherit ghc-attoparsec) |
635 | (name "ghc-attoparsec-bootstrap") | |
636 | (arguments `(#:tests? #f)) | |
637 | (inputs | |
638 | `(("ghc-scientific" ,ghc-scientific-bootstrap))) | |
639 | (native-inputs '()) | |
799d8d3c | 640 | (properties '((hidden? #t))))) |
dddbc90c RV |
641 | |
642 | (define-public ghc-attoparsec-iso8601 | |
643 | (package | |
644 | (name "ghc-attoparsec-iso8601") | |
97f267c8 | 645 | (version "1.0.1.0") |
6b34d01c RV |
646 | (source |
647 | (origin | |
648 | (method url-fetch) | |
649 | (uri (string-append "https://hackage.haskell.org/package/" | |
dddbc90c RV |
650 | "attoparsec-iso8601-" version "/" |
651 | "attoparsec-iso8601-" version ".tar.gz")) | |
6b34d01c RV |
652 | (sha256 |
653 | (base32 | |
97f267c8 | 654 | "0hj10w15qp2z5bz2v4xahhmbgzclpyfi5l2sv97wqycysg9gp7s9")))) |
6b34d01c | 655 | (build-system haskell-build-system) |
dddbc90c RV |
656 | (arguments |
657 | `(#:cabal-revision | |
97f267c8 | 658 | ("1" "1rjhscmczgs1bwyqx7lvkm8py3ylxjd2797mrzgnq60fvm292750"))) |
dddbc90c RV |
659 | (inputs `(("ghc-attoparsec" ,ghc-attoparsec) |
660 | ("ghc-base-compat" ,ghc-base-compat))) | |
661 | (home-page "https://github.com/bos/aeson") | |
662 | (synopsis "Parse ISO 8601 dates") | |
663 | (description "Haskell library for parsing of ISO 8601 dates, originally | |
664 | from aeson.") | |
6b34d01c | 665 | (license license:bsd-3))) |
b57e99f5 | 666 | |
dddbc90c | 667 | (define-public ghc-auto-update |
b57e99f5 | 668 | (package |
dddbc90c | 669 | (name "ghc-auto-update") |
11b1b6cd | 670 | (version "0.1.6") |
dddbc90c RV |
671 | (source |
672 | (origin | |
673 | (method url-fetch) | |
674 | (uri (string-append | |
675 | "https://hackage.haskell.org/package/auto-update/auto-update-" | |
676 | version | |
677 | ".tar.gz")) | |
678 | (sha256 | |
679 | (base32 | |
11b1b6cd | 680 | "1i36xc2i34aync8271x3pv515l3zb53i518dybn8ghqkhzf27q7l")))) |
dddbc90c | 681 | (build-system haskell-build-system) |
11b1b6cd TS |
682 | (native-inputs |
683 | `(("ghc-hspec" ,ghc-hspec) | |
684 | ("ghc-hunit" ,ghc-hunit) | |
685 | ("ghc-retry" ,ghc-retry) | |
686 | ("hspec-discover" ,hspec-discover))) | |
dddbc90c RV |
687 | (home-page "https://github.com/yesodweb/wai") |
688 | (synopsis "Efficiently run periodic, on-demand actions") | |
689 | (description "This library provides mechanisms to efficiently run | |
690 | periodic, on-demand actions in Haskell.") | |
691 | (license license:expat))) | |
692 | ||
693 | (define-public ghc-aws | |
694 | (package | |
695 | (name "ghc-aws") | |
696 | (version "0.20") | |
b57e99f5 RV |
697 | (source |
698 | (origin | |
699 | (method url-fetch) | |
700 | (uri (string-append "https://hackage.haskell.org/package/" | |
dddbc90c RV |
701 | "aws-" version "/aws-" version ".tar.gz")) |
702 | (sha256 (base32 | |
703 | "0pwpabmypi1w8rni9qfwabgn95jks4h8dyw6889mn8xzsrhdhyf0")))) | |
704 | (build-system haskell-build-system) | |
705 | (arguments `(#:tests? #f)) ; Tests require AWS credentials. | |
706 | (inputs | |
707 | `(("ghc-aeson" ,ghc-aeson) | |
708 | ("ghc-attoparsec" ,ghc-attoparsec) | |
709 | ("ghc-base16-bytestring" ,ghc-base16-bytestring) | |
710 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
711 | ("ghc-blaze-builder" ,ghc-blaze-builder) | |
712 | ("ghc-byteable" ,ghc-byteable) | |
713 | ("ghc-case-insensitive" ,ghc-case-insensitive) | |
714 | ("ghc-cereal" ,ghc-cereal) | |
715 | ("ghc-conduit" ,ghc-conduit) | |
716 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
717 | ("ghc-cryptonite" ,ghc-cryptonite) | |
718 | ("ghc-data-default" ,ghc-data-default) | |
719 | ("ghc-http-conduit" ,ghc-http-conduit) | |
720 | ("ghc-http-types" ,ghc-http-types) | |
721 | ("ghc-lifted-base" ,ghc-lifted-base) | |
722 | ("ghc-monad-control" ,ghc-monad-control) | |
723 | ("ghc-network" ,ghc-network) | |
724 | ("ghc-old-locale" ,ghc-old-locale) | |
725 | ("ghc-safe" ,ghc-safe) | |
726 | ("ghc-scientific" ,ghc-scientific) | |
727 | ("ghc-tagged" ,ghc-tagged) | |
728 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
729 | ("ghc-utf8-string" ,ghc-utf8-string) | |
730 | ("ghc-vector" ,ghc-vector) | |
731 | ("ghc-xml-conduit" ,ghc-xml-conduit))) | |
732 | (native-inputs | |
733 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
734 | ("ghc-errors" ,ghc-errors) | |
735 | ("ghc-http-client" ,ghc-http-client) | |
736 | ("ghc-http-client-tls" ,ghc-http-client-tls) | |
737 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
738 | ("ghc-tasty" ,ghc-tasty) | |
739 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
740 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
741 | ("ghc-conduit-combinators" ,ghc-conduit-combinators))) | |
742 | (home-page "https://github.com/aristidb/aws") | |
743 | (synopsis "Amazon Web Services for Haskell") | |
744 | (description "This package attempts to provide support for using | |
745 | Amazon Web Services like S3 (storage), SQS (queuing) and others to | |
746 | Haskell programmers. The ultimate goal is to support all Amazon | |
747 | Web Services.") | |
748 | (license license:bsd-3))) | |
749 | ||
750 | (define-public ghc-base16-bytestring | |
751 | (package | |
752 | (name "ghc-base16-bytestring") | |
753 | (version "0.1.1.6") | |
754 | (source | |
755 | (origin | |
756 | (method url-fetch) | |
757 | (uri (string-append | |
758 | "https://hackage.haskell.org/package/base16-bytestring/" | |
759 | "base16-bytestring-" version ".tar.gz")) | |
b57e99f5 RV |
760 | (sha256 |
761 | (base32 | |
dddbc90c | 762 | "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs")))) |
b57e99f5 | 763 | (build-system haskell-build-system) |
dddbc90c RV |
764 | (home-page "https://github.com/bos/base16-bytestring") |
765 | (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings") | |
766 | (description | |
767 | "This package provides a Haskell library for working with base16-encoded | |
768 | data quickly and efficiently, using the ByteString type.") | |
b57e99f5 | 769 | (license license:bsd-3))) |
bbf8bf31 | 770 | |
dddbc90c | 771 | (define-public ghc-base64-bytestring |
bbf8bf31 | 772 | (package |
dddbc90c RV |
773 | (name "ghc-base64-bytestring") |
774 | (version "1.0.0.2") | |
bbf8bf31 RV |
775 | (source |
776 | (origin | |
777 | (method url-fetch) | |
dddbc90c RV |
778 | (uri (string-append |
779 | "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-" | |
780 | version | |
781 | ".tar.gz")) | |
782 | (sha256 | |
783 | (base32 "13305brzlac24pifiqd5a2z10c6k6amhpdy9cc0z5ryrkgnm8dhr")))) | |
784 | (build-system haskell-build-system) | |
785 | (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing. | |
786 | (home-page "https://github.com/bos/base64-bytestring") | |
787 | (synopsis "Base64 encoding and decoding for ByteStrings") | |
788 | (description "This library provides fast base64 encoding and decoding for | |
789 | Haskell @code{ByteString}s.") | |
790 | (license license:bsd-3))) | |
791 | ||
792 | (define-public ghc-base-compat | |
793 | (package | |
794 | (name "ghc-base-compat") | |
4daaa371 | 795 | (version "0.10.5") |
dddbc90c RV |
796 | (source |
797 | (origin | |
798 | (method url-fetch) | |
799 | (uri (string-append | |
800 | "https://hackage.haskell.org/package/base-compat/base-compat-" | |
801 | version | |
802 | ".tar.gz")) | |
bbf8bf31 RV |
803 | (sha256 |
804 | (base32 | |
4daaa371 | 805 | "0hgvlqcr852hfp52jp99snhbj550mvxxpi8qn15d8ml9aqhyl2lr")))) |
bbf8bf31 | 806 | (build-system haskell-build-system) |
e2b021df | 807 | (outputs '("out" "static" "doc")) |
bbf8bf31 | 808 | (native-inputs |
dddbc90c RV |
809 | `(("ghc-quickcheck" ,ghc-quickcheck) |
810 | ("ghc-hspec" ,ghc-hspec) | |
811 | ("hspec-discover" ,hspec-discover))) | |
812 | (home-page "https://hackage.haskell.org/package/base-compat") | |
813 | (synopsis "Haskell compiler compatibility library") | |
814 | (description "This library provides functions available in later versions | |
815 | of base to a wider range of compilers, without requiring the use of CPP | |
816 | pragmas in your code.") | |
817 | (license license:bsd-3))) | |
818 | ||
f9d78c7f TS |
819 | (define-public ghc-base-compat-batteries |
820 | (package | |
821 | (name "ghc-base-compat-batteries") | |
822 | (version "0.10.5") | |
823 | (source | |
824 | (origin | |
825 | (method url-fetch) | |
826 | (uri (string-append "https://hackage.haskell.org/package/" | |
827 | "base-compat-batteries/base-compat-batteries-" | |
828 | version ".tar.gz")) | |
829 | (sha256 | |
830 | (base32 | |
831 | "1vkhc639vqiv5p39jn1v312z32i7yk5q2lf0ap4jxl1v8p8wyp8p")))) | |
832 | (build-system haskell-build-system) | |
833 | (inputs | |
834 | `(("ghc-base-compat" ,ghc-base-compat))) | |
835 | (native-inputs | |
836 | `(("ghc-hspec" ,ghc-hspec) | |
837 | ("ghc-quickcheck" ,ghc-quickcheck) | |
838 | ("hspec-discover" ,hspec-discover))) | |
839 | (arguments | |
840 | `(#:cabal-revision | |
841 | ("1" "15sn2qc8k0hxbb2nai341kkrci98hlhzcj2ci087m0zxcg5jcdbp"))) | |
3ef91e15 | 842 | (home-page "https://hackage.haskell.org/package/base-compat-batteries") |
f9d78c7f TS |
843 | (synopsis "base-compat with extra batteries") |
844 | (description "This library provides functions available in later | |
845 | versions of @code{base} to a wider range of compilers, without requiring | |
846 | you to use CPP pragmas in your code. This package provides the same API | |
847 | as the @code{base-compat} library, but depends on compatibility | |
848 | packages (such as @code{semigroups}) to offer a wider support window | |
849 | than @code{base-compat}, which has no dependencies.") | |
850 | (license license:expat))) | |
851 | ||
dddbc90c RV |
852 | (define-public ghc-basement |
853 | (package | |
854 | (name "ghc-basement") | |
8b56c1fd | 855 | (version "0.0.11") |
dddbc90c RV |
856 | (source |
857 | (origin | |
858 | (method url-fetch) | |
859 | (uri (string-append "https://hackage.haskell.org/package/" | |
860 | "basement/basement-" version ".tar.gz")) | |
861 | (sha256 | |
862 | (base32 | |
8b56c1fd | 863 | "0srlws74yiraqaapgcjd9p5d1fwb3zr9swcz74jpjm55fls2nn37")))) |
dddbc90c | 864 | (build-system haskell-build-system) |
05f7f8be | 865 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
866 | (home-page "https://github.com/haskell-foundation/foundation") |
867 | (synopsis "Basic primitives for Foundation starter pack") | |
868 | (description | |
869 | "This package contains basic primitives for the Foundation set of | |
870 | packages.") | |
871 | (license license:bsd-3))) | |
872 | ||
873 | (define-public ghc-base-orphans | |
874 | (package | |
875 | (name "ghc-base-orphans") | |
780477fb | 876 | (version "0.8.1") |
dddbc90c RV |
877 | (source |
878 | (origin | |
879 | (method url-fetch) | |
880 | (uri (string-append | |
881 | "https://hackage.haskell.org/package/base-orphans/base-orphans-" | |
882 | version | |
883 | ".tar.gz")) | |
884 | (sha256 | |
885 | (base32 | |
780477fb | 886 | "1nwr9av27i9p72k0sn96mw3ywdczw65dy5gd5wxpabhhxlxdcas4")))) |
dddbc90c RV |
887 | (build-system haskell-build-system) |
888 | (native-inputs | |
889 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
890 | ("ghc-hspec" ,ghc-hspec) | |
891 | ("hspec-discover" ,hspec-discover))) | |
892 | (home-page "https://hackage.haskell.org/package/base-orphans") | |
893 | (synopsis "Orphan instances for backwards compatibility") | |
894 | (description "This package defines orphan instances that mimic instances | |
895 | available in later versions of base to a wider (older) range of compilers.") | |
896 | (license license:bsd-3))) | |
897 | ||
898 | (define-public ghc-base-prelude | |
899 | (package | |
900 | (name "ghc-base-prelude") | |
901 | (version "1.3") | |
902 | (source | |
903 | (origin | |
904 | (method url-fetch) | |
905 | (uri (string-append "https://hackage.haskell.org/package/" | |
906 | "base-prelude-" version "/" | |
907 | "base-prelude-" version ".tar.gz")) | |
908 | (sha256 | |
909 | (base32 | |
910 | "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73")))) | |
911 | (build-system haskell-build-system) | |
3d7ee2f8 | 912 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
913 | (home-page "https://github.com/nikita-volkov/base-prelude") |
914 | (synopsis "The most complete prelude formed solely from the Haskell's base | |
915 | package") | |
916 | (description "This Haskell package aims to reexport all the non-conflicting | |
917 | and most general definitions from the \"base\" package. | |
918 | ||
919 | This includes APIs for applicatives, arrows, monoids, foldables, traversables, | |
920 | exceptions, generics, ST, MVars and STM. | |
921 | ||
922 | This package will never have any dependencies other than \"base\". | |
923 | ||
924 | Versioning policy: | |
925 | ||
926 | The versioning policy of this package deviates from PVP in the sense | |
927 | that its exports in part are transitively determined by the version of \"base\". | |
928 | Therefore it's recommended for the users of @code{ghc-base-prelude} to specify | |
929 | the bounds of \"base\" as well.") | |
930 | (license license:expat))) | |
931 | ||
932 | (define-public ghc-base-unicode-symbols | |
933 | (package | |
934 | (name "ghc-base-unicode-symbols") | |
935 | (version "0.2.3") | |
936 | (source | |
937 | (origin | |
938 | (method url-fetch) | |
939 | (uri (string-append | |
940 | "mirror://hackage/package/base-unicode-symbols/base-unicode-symbols-" | |
941 | version | |
942 | ".tar.gz")) | |
943 | (sha256 | |
944 | (base32 | |
945 | "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf")))) | |
946 | (build-system haskell-build-system) | |
228d2901 | 947 | (home-page "https://wiki.haskell.org/Unicode-symbols") |
dddbc90c RV |
948 | (synopsis "Unicode alternatives for common functions and operators") |
949 | (description "This package defines new symbols for a number of functions, | |
950 | operators and types in the base package. All symbols are documented with | |
951 | their actual definition and information regarding their Unicode code point. | |
952 | They should be completely interchangeable with their definitions. For | |
953 | further Unicode goodness you can enable the @code{UnicodeSyntax} | |
954 | @url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exs.html#unicode-syntax, | |
955 | language extension}. This extension enables Unicode characters to be used to | |
956 | stand for certain ASCII character sequences, i.e. → instead of @code{->}, | |
957 | ∀ instead of @code{forall} and many others.") | |
958 | (license license:bsd-3))) | |
959 | ||
ec8491b0 ASM |
960 | (define-public ghc-basic-prelude |
961 | (package | |
962 | (name "ghc-basic-prelude") | |
963 | (version "0.7.0") | |
964 | (source | |
965 | (origin | |
966 | (method url-fetch) | |
967 | (uri (string-append | |
968 | "https://hackage.haskell.org/package/basic-prelude/" | |
969 | "basic-prelude-" version ".tar.gz")) | |
970 | (sha256 | |
971 | (base32 | |
972 | "0yckmnvm6i4vw0mykj4fzl4ldsf67v8d2h0vp1bakyj84n4myx8h")))) | |
973 | (build-system haskell-build-system) | |
974 | (inputs | |
975 | `(("ghc-hashable" ,ghc-hashable) | |
976 | ("ghc-unordered-containers" | |
977 | ,ghc-unordered-containers) | |
978 | ("ghc-vector" ,ghc-vector))) | |
979 | (home-page "https://github.com/snoyberg/basic-prelude#readme") | |
980 | (synopsis "Enhanced core prelude; a common foundation for alternate preludes") | |
981 | (description | |
982 | "The premise of basic-prelude is that there are a lot of very commonly | |
983 | desired features missing from the standard Prelude, such as commonly used | |
984 | operators (<$> and >=>, for instance) and imports for common datatypes | |
985 | (e.g., ByteString and Vector). At the same time, there are lots of other | |
986 | components which are more debatable, such as providing polymorphic versions | |
987 | of common functions. | |
988 | ||
989 | So basic-prelude is intended to give a common foundation for a number of | |
990 | alternate preludes. The package provides two modules: CorePrelude provides | |
991 | the common ground for other preludes to build on top of, while BasicPrelude | |
992 | exports CorePrelude together with commonly used list functions to provide a | |
993 | drop-in replacement for the standard Prelude. | |
994 | ||
995 | Users wishing to have an improved Prelude can use BasicPrelude. Developers | |
996 | wishing to create a new prelude should use CorePrelude.") | |
997 | (license license:expat))) | |
998 | ||
dddbc90c RV |
999 | (define-public ghc-bifunctors |
1000 | (package | |
1001 | (name "ghc-bifunctors") | |
0beaec66 | 1002 | (version "5.5.5") |
dddbc90c RV |
1003 | (source |
1004 | (origin | |
1005 | (method url-fetch) | |
1006 | (uri (string-append | |
1007 | "https://hackage.haskell.org/package/bifunctors/bifunctors-" | |
1008 | version | |
1009 | ".tar.gz")) | |
1010 | (sha256 | |
1011 | (base32 | |
0beaec66 | 1012 | "0rn47q8dzv0g1fyams99p4py6q0asxdc50q9k0nj497brk738xcb")))) |
dddbc90c RV |
1013 | (build-system haskell-build-system) |
1014 | (inputs | |
1015 | `(("ghc-base-orphans" ,ghc-base-orphans) | |
1016 | ("ghc-comonad" ,ghc-comonad) | |
1017 | ("ghc-th-abstraction" ,ghc-th-abstraction) | |
1018 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
1019 | ("ghc-tagged" ,ghc-tagged) | |
1020 | ("ghc-semigroups" ,ghc-semigroups))) | |
1021 | (native-inputs | |
1022 | `(("ghc-hspec" ,ghc-hspec) | |
1023 | ("hspec-discover" ,hspec-discover) | |
1024 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
1025 | (home-page "https://github.com/ekmett/bifunctors/") | |
1026 | (synopsis "Bifunctors for Haskell") | |
1027 | (description "This package provides bifunctors for Haskell.") | |
1028 | (license license:bsd-3))) | |
1029 | ||
1030 | (define-public ghc-bindings-dsl | |
1031 | (package | |
1032 | (name "ghc-bindings-dsl") | |
1033 | (version "1.0.25") | |
1034 | (source | |
1035 | (origin | |
1036 | (method url-fetch) | |
1037 | (uri (string-append "https://hackage.haskell.org/package/bindings-DSL/" | |
1038 | "bindings-DSL-" version ".tar.gz")) | |
1039 | (sha256 | |
1040 | (base32 | |
1041 | "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3")))) | |
1042 | (build-system haskell-build-system) | |
1043 | (home-page "https://github.com/jwiegley/bindings-dsl/wiki") | |
1044 | (synopsis "FFI domain specific language, on top of hsc2hs") | |
1045 | (description | |
1046 | "This is a set of macros to be used when writing Haskell FFI. They were | |
1047 | designed to be able to fully describe C interfaces, so that @code{hsc2hs} can | |
1048 | extract from them all Haskell code needed to mimic such interfaces. All | |
1049 | Haskell names used are automatically derived from C names, structures are | |
1050 | mapped to Haskell instances of @code{Storable}, and there are also macros you | |
1051 | can use with C code to help write bindings to inline functions or macro | |
1052 | functions.") | |
1053 | (license license:bsd-3))) | |
1054 | ||
64f42786 TS |
1055 | (define-public ghc-bitarray |
1056 | (package | |
1057 | (name "ghc-bitarray") | |
1058 | (version "0.0.1.1") | |
1059 | (source | |
1060 | (origin | |
1061 | (method url-fetch) | |
1062 | (uri (string-append "https://hackage.haskell.org/package/" | |
1063 | "bitarray/bitarray-" version ".tar.gz")) | |
1064 | (sha256 | |
1065 | (base32 | |
1066 | "00nqd62cbh42qqqvcl6iv1i9kbv0f0mkiygv4j70wfh5cl86yzxj")))) | |
1067 | (build-system haskell-build-system) | |
1068 | (arguments | |
1069 | `(#:cabal-revision | |
1070 | ("1" "10fk92v9afjqk43zi621jxl0n8kci0xjj32lz3vqa9xbh67zjz45"))) | |
1071 | (home-page "https://hackage.haskell.org/package/bitarray") | |
1072 | (synopsis "Mutable and immutable bit arrays") | |
1073 | (description "The package provides mutable and immutable bit arrays.") | |
1074 | (license license:bsd-3))) | |
1075 | ||
dddbc90c RV |
1076 | (define-public ghc-blaze-builder |
1077 | (package | |
1078 | (name "ghc-blaze-builder") | |
1079 | (version "0.4.1.0") | |
1080 | (source | |
1081 | (origin | |
1082 | (method url-fetch) | |
1083 | (uri (string-append | |
1084 | "https://hackage.haskell.org/package/blaze-builder/blaze-builder-" | |
1085 | version | |
1086 | ".tar.gz")) | |
1087 | (sha256 | |
1088 | (base32 | |
1089 | "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i")))) | |
1090 | (build-system haskell-build-system) | |
1091 | (arguments `(#:tests? #f)) ; FIXME: Missing test libraries. | |
1092 | (inputs | |
1093 | `(("ghc-utf8-string" ,ghc-utf8-string))) | |
1094 | (home-page "https://github.com/lpsmith/blaze-builder") | |
1095 | (synopsis "Efficient buffered output") | |
1096 | (description "This library provides an implementation of the older | |
1097 | @code{blaze-builder} interface in terms of the new builder that shipped with | |
1098 | @code{bytestring-0.10.4.0}. This implementation is mostly intended as a | |
1099 | bridge to the new builder, so that code that uses the old interface can | |
1100 | interoperate with code that uses the new implementation.") | |
1101 | (license license:bsd-3))) | |
1102 | ||
1103 | (define-public ghc-blaze-markup | |
1104 | (package | |
1105 | (name "ghc-blaze-markup") | |
7d30fcf3 | 1106 | (version "0.8.2.3") |
dddbc90c RV |
1107 | (source |
1108 | (origin | |
1109 | (method url-fetch) | |
1110 | (uri (string-append "https://hackage.haskell.org/package/" | |
1111 | "blaze-markup/blaze-markup-" | |
1112 | version ".tar.gz")) | |
1113 | (sha256 | |
1114 | (base32 | |
7d30fcf3 | 1115 | "1g9m7ansj7fdyzhz1wqkbzn5amjm50vjgjdwkbjc5qqhagnv1y3j")))) |
dddbc90c RV |
1116 | (build-system haskell-build-system) |
1117 | (arguments | |
1118 | `(#:phases | |
1119 | (modify-phases %standard-phases | |
1120 | (add-before 'configure 'update-constraints | |
1121 | (lambda _ | |
1122 | (substitute* "blaze-markup.cabal" | |
1123 | (("tasty >= 1\\.0 && < 1\\.1") | |
1124 | "tasty >= 1.0 && < 1.2"))))))) | |
1125 | (inputs | |
1126 | `(("ghc-blaze-builder" ,ghc-blaze-builder))) | |
1127 | (native-inputs | |
1128 | `(("ghc-hunit" ,ghc-hunit) | |
1129 | ("ghc-quickcheck" ,ghc-quickcheck) | |
1130 | ("ghc-tasty" ,ghc-tasty) | |
1131 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
1132 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
1133 | (home-page "https://jaspervdj.be/blaze") | |
1134 | (synopsis "Fast markup combinator library for Haskell") | |
1135 | (description "This library provides core modules of a markup combinator | |
1136 | library for Haskell.") | |
1137 | (license license:bsd-3))) | |
1138 | ||
1139 | (define-public ghc-bloomfilter | |
1140 | (package | |
1141 | (name "ghc-bloomfilter") | |
1142 | (version "2.0.1.0") | |
1143 | (source | |
1144 | (origin | |
1145 | (method url-fetch) | |
1146 | (uri (string-append "https://hackage.haskell.org/package/" | |
1147 | "bloomfilter/bloomfilter-" version ".tar.gz")) | |
1148 | (sha256 | |
1149 | (base32 | |
1150 | "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc")))) | |
1151 | (build-system haskell-build-system) | |
1152 | (native-inputs | |
1153 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
1154 | ("ghc-random" ,ghc-random) | |
1155 | ("ghc-test-framework" ,ghc-test-framework) | |
1156 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
1157 | (home-page "https://github.com/bos/bloomfilter") | |
1158 | (synopsis "Pure and impure Bloom filter implementations") | |
1159 | (description "This package provides both mutable and immutable Bloom | |
1160 | filter data types, along with a family of hash functions and an easy-to-use | |
1161 | interface.") | |
1162 | (license license:bsd-3))) | |
1163 | ||
1164 | (define-public ghc-boxes | |
1165 | (package | |
1166 | (name "ghc-boxes") | |
1167 | (version "0.1.5") | |
1168 | (source | |
1169 | (origin | |
1170 | (method url-fetch) | |
1171 | (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-" | |
1172 | version ".tar.gz")) | |
1173 | (sha256 | |
1174 | (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q")))) | |
1175 | (build-system haskell-build-system) | |
1176 | (inputs | |
1177 | `(("ghc-split" ,ghc-split) | |
1178 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
1179 | (home-page "https://hackage.haskell.org/package/boxes") | |
1180 | (synopsis "2D text pretty-printing library") | |
1181 | (description | |
1182 | "Boxes is a pretty-printing library for laying out text in two dimensions, | |
1183 | using a simple box model.") | |
1184 | (license license:bsd-3))) | |
1185 | ||
1186 | (define-public ghc-byteable | |
1187 | (package | |
1188 | (name "ghc-byteable") | |
1189 | (version "0.1.1") | |
1190 | (source (origin | |
1191 | (method url-fetch) | |
1192 | (uri (string-append "https://hackage.haskell.org/package/" | |
1193 | "byteable/byteable-" version ".tar.gz")) | |
1194 | (sha256 | |
1195 | (base32 | |
1196 | "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4")))) | |
1197 | (build-system haskell-build-system) | |
1198 | (home-page "https://github.com/vincenthz/hs-byteable") | |
1199 | (synopsis "Type class for sequence of bytes") | |
1200 | (description | |
1201 | "This package provides an abstract class to manipulate sequence of bytes. | |
1202 | The use case of this class is abstracting manipulation of types that are just | |
1203 | wrapping a bytestring with stronger and more meaniful name.") | |
1204 | (license license:bsd-3))) | |
1205 | ||
1206 | (define-public ghc-byteorder | |
1207 | (package | |
1208 | (name "ghc-byteorder") | |
1209 | (version "1.0.4") | |
1210 | (source | |
1211 | (origin | |
1212 | (method url-fetch) | |
1213 | (uri (string-append | |
1214 | "https://hackage.haskell.org/package/byteorder/byteorder-" | |
1215 | version | |
1216 | ".tar.gz")) | |
1217 | (sha256 | |
1218 | (base32 | |
1219 | "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x")))) | |
1220 | (build-system haskell-build-system) | |
1221 | (home-page | |
1222 | "http://community.haskell.org/~aslatter/code/byteorder") | |
1223 | (synopsis | |
1224 | "Exposes the native endianness of the system") | |
1225 | (description | |
1226 | "This package is for working with the native byte-ordering of the | |
1227 | system.") | |
1228 | (license license:bsd-3))) | |
1229 | ||
1230 | (define-public ghc-bytes | |
1231 | (package | |
1232 | (name "ghc-bytes") | |
1233 | (version "0.15.5") | |
1234 | (source | |
1235 | (origin | |
1236 | (method url-fetch) | |
1237 | (uri | |
1238 | (string-append "https://hackage.haskell.org/package/bytes-" | |
1239 | version "/bytes-" | |
1240 | version ".tar.gz")) | |
1241 | (file-name (string-append name "-" version ".tar.gz")) | |
1242 | (sha256 | |
1243 | (base32 | |
1244 | "063il2vrn0p88r9gzndh4ijs0mxj37khkc9ym9bqdsv7ngk3b683")))) | |
1245 | (build-system haskell-build-system) | |
1246 | (inputs `(("ghc-cereal" ,ghc-cereal) | |
1247 | ("cabal-doctest" ,cabal-doctest) | |
1248 | ("ghc-doctest" ,ghc-doctest) | |
1249 | ("ghc-scientific" ,ghc-scientific) | |
1250 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
1251 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
1252 | ("ghc-void" ,ghc-void) | |
1253 | ("ghc-vector" ,ghc-vector))) | |
1254 | (synopsis "Serialization between @code{binary} and @code{cereal}") | |
1255 | (description "This package provides a simple compatibility shim that lets | |
1256 | you work with both @code{binary} and @code{cereal} with one chunk of | |
1257 | serialization code.") | |
1258 | (home-page "https://hackage.haskell.org/package/bytes") | |
1259 | (license license:bsd-3))) | |
1260 | ||
1261 | (define-public ghc-bytestring-builder | |
1262 | (package | |
1263 | (name "ghc-bytestring-builder") | |
13ac8a7f | 1264 | (version "0.10.8.2.0") |
dddbc90c RV |
1265 | (source |
1266 | (origin | |
1267 | (method url-fetch) | |
1268 | (uri (string-append | |
1269 | "https://hackage.haskell.org/package/bytestring-builder" | |
1270 | "/bytestring-builder-" version ".tar.gz")) | |
1271 | (sha256 | |
1272 | (base32 | |
13ac8a7f | 1273 | "0grcrgwwwcvwrs9az7l4d3kf0lsqfa9qpmjzf6iyanvwn9nyzyi7")))) |
dddbc90c RV |
1274 | (build-system haskell-build-system) |
1275 | (arguments `(#:haddock? #f)) ; Package contains no documentation. | |
1276 | (home-page "https://hackage.haskell.org/package/bytestring-builder") | |
1277 | (synopsis "The new bytestring builder, packaged outside of GHC") | |
1278 | (description "This package provides the bytestring builder that is | |
1279 | debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8. | |
1280 | Compatibility package for older packages.") | |
1281 | (license license:bsd-3))) | |
1282 | ||
1283 | (define-public ghc-bytestring-handle | |
1284 | (package | |
1285 | (name "ghc-bytestring-handle") | |
1286 | (version "0.1.0.6") | |
1287 | (source | |
1288 | (origin | |
1289 | (method url-fetch) | |
1290 | (uri (string-append | |
1291 | "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-" | |
1292 | version ".tar.gz")) | |
1293 | (sha256 | |
1294 | (base32 | |
1295 | "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y")))) | |
1296 | (build-system haskell-build-system) | |
1297 | (arguments | |
853748c4 TS |
1298 | `(#:cabal-revision |
1299 | ("1" "0x11aj6w1lijh84jcdq1qgyvdnc7i9ivbyq4wf9rxicg57viisz9") | |
1300 | #:phases | |
dddbc90c RV |
1301 | (modify-phases %standard-phases |
1302 | (add-before 'configure 'update-constraints | |
1303 | (lambda _ | |
1304 | (substitute* "bytestring-handle.cabal" | |
1305 | (("QuickCheck >= 2\\.1\\.2 && < 2\\.11") | |
853748c4 | 1306 | "QuickCheck >= 2.1.2 && < 2.14"))))))) |
dddbc90c RV |
1307 | (inputs |
1308 | `(("ghc-hunit" ,ghc-hunit) | |
1309 | ("ghc-quickcheck" ,ghc-quickcheck) | |
1310 | ("ghc-test-framework" ,ghc-test-framework) | |
1311 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
1312 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
1313 | (home-page "https://hub.darcs.net/ganesh/bytestring-handle") | |
1314 | (synopsis "ByteString-backed Handles") | |
1315 | (description "ByteString-backed Handles") ; There is no description | |
1316 | (license license:bsd-3))) | |
1317 | ||
1318 | (define-public ghc-bytestring-lexing | |
1319 | (package | |
1320 | (name "ghc-bytestring-lexing") | |
1321 | (version "0.5.0.2") | |
1322 | (source | |
1323 | (origin | |
1324 | (method url-fetch) | |
1325 | (uri (string-append "https://hackage.haskell.org/package/" | |
1326 | "bytestring-lexing/bytestring-lexing-" | |
1327 | version ".tar.gz")) | |
1328 | (sha256 | |
1329 | (base32 | |
1330 | "0wrzniawhgpphc6yx1v972gyqxdbv0pizaz9bafahrshyb9svy81")))) | |
1331 | (build-system haskell-build-system) | |
1332 | (home-page "http://code.haskell.org/~wren/") | |
1333 | (synopsis "Parse and produce literals from strict or lazy bytestrings") | |
1334 | (description | |
1335 | "This package provides tools to parse and produce literals efficiently | |
1336 | from strict or lazy bytestrings.") | |
1337 | (license license:bsd-2))) | |
1338 | ||
1339 | (define-public ghc-bzlib-conduit | |
1340 | (package | |
1341 | (name "ghc-bzlib-conduit") | |
5fba8d6d | 1342 | (version "0.3.0.2") |
dddbc90c RV |
1343 | (source |
1344 | (origin | |
1345 | (method url-fetch) | |
1346 | (uri (string-append "https://hackage.haskell.org/package/bzlib-conduit/" | |
1347 | "bzlib-conduit-" version ".tar.gz")) | |
1348 | (sha256 | |
1349 | (base32 | |
5fba8d6d | 1350 | "0a21zin5plsl37hkxh2jv8cxwyjrbs2fy7n5cyrzgdaa7lmp6b7b")))) |
dddbc90c RV |
1351 | (build-system haskell-build-system) |
1352 | (inputs | |
1353 | `(("ghc-bindings-dsl" ,ghc-bindings-dsl) | |
1354 | ("ghc-conduit" ,ghc-conduit) | |
1355 | ("ghc-data-default-class" ,ghc-data-default-class) | |
1356 | ("ghc-resourcet" ,ghc-resourcet))) | |
1357 | (native-inputs | |
1358 | `(("ghc-hspec" ,ghc-hspec) | |
1359 | ("ghc-random" ,ghc-random))) | |
1360 | (home-page "https://github.com/snoyberg/bzlib-conduit") | |
1361 | (synopsis "Streaming compression/decompression via conduits") | |
1362 | (description | |
1363 | "This package provides Haskell bindings to bzlib and Conduit support for | |
1364 | streaming compression and decompression.") | |
1365 | (license license:bsd-3))) | |
1366 | ||
1367 | (define-public ghc-c2hs | |
1368 | (package | |
1369 | (name "ghc-c2hs") | |
1370 | (version "0.28.6") | |
1371 | (source | |
1372 | (origin | |
1373 | (method url-fetch) | |
1374 | (uri (string-append | |
1375 | "https://hackage.haskell.org/package/c2hs/c2hs-" | |
1376 | version | |
1377 | ".tar.gz")) | |
1378 | (sha256 | |
1379 | (base32 | |
1380 | "1nplgxfin139x12sb656f5870rpdclrhzi8mq8pry035qld15pci")))) | |
1381 | (build-system haskell-build-system) | |
1382 | (inputs | |
1383 | `(("ghc-language-c" ,ghc-language-c) | |
1384 | ("ghc-dlist" ,ghc-dlist))) | |
1385 | (native-inputs | |
1386 | `(("ghc-test-framework" ,ghc-test-framework) | |
1387 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
1388 | ("ghc-hunit" ,ghc-hunit) | |
a723d36d | 1389 | ("ghc-shelly" ,ghc-shelly))) |
dddbc90c | 1390 | (arguments |
bfebc598 | 1391 | `(#:phases |
dddbc90c RV |
1392 | (modify-phases %standard-phases |
1393 | (add-before 'check 'set-cc | |
1394 | ;; add a cc executable in the path, needed for some tests to pass | |
1395 | (lambda* (#:key inputs #:allow-other-keys) | |
1396 | (let ((gcc (assoc-ref inputs "gcc")) | |
1397 | (tmpbin (tmpnam)) | |
1398 | (curpath (getenv "PATH"))) | |
1399 | (mkdir-p tmpbin) | |
1400 | (symlink (which "gcc") (string-append tmpbin "/cc")) | |
1401 | (setenv "PATH" (string-append tmpbin ":" curpath))) | |
1402 | #t)) | |
1403 | (add-after 'check 'remove-cc | |
1404 | ;; clean the tmp dir made in 'set-cc | |
1405 | (lambda _ | |
1406 | (let* ((cc-path (which "cc")) | |
1407 | (cc-dir (dirname cc-path))) | |
1408 | (delete-file-recursively cc-dir) | |
1409 | #t)))))) | |
1410 | (home-page "https://github.com/haskell/c2hs") | |
1411 | (synopsis "Create Haskell bindings to C libraries") | |
1412 | (description "C->Haskell assists in the development of Haskell bindings to | |
1413 | C libraries. It extracts interface information from C header files and | |
1414 | generates Haskell code with foreign imports and marshaling. Unlike writing | |
1415 | foreign imports by hand (or using hsc2hs), this ensures that C functions are | |
1416 | imported with the correct Haskell types.") | |
1417 | (license license:gpl2))) | |
1418 | ||
1419 | (define-public ghc-cairo | |
1420 | (package | |
1421 | (name "ghc-cairo") | |
1422 | (version "0.13.5.0") | |
1423 | (source | |
1424 | (origin | |
1425 | (method url-fetch) | |
1426 | (uri (string-append "https://hackage.haskell.org/package/cairo/" | |
1427 | "cairo-" version ".tar.gz")) | |
1428 | (sha256 | |
1429 | (base32 | |
1430 | "1wxylv4d8120ri0vgar168ikqa9m6533ipdwi38qlmxmw20ws2j2")))) | |
1431 | (build-system haskell-build-system) | |
1432 | (arguments | |
1433 | `(#:modules ((guix build haskell-build-system) | |
1434 | (guix build utils) | |
1435 | (ice-9 match) | |
1436 | (srfi srfi-26)) | |
1437 | #:phases | |
1438 | (modify-phases %standard-phases | |
1439 | ;; FIXME: This is a copy of the standard configure phase with a tiny | |
1440 | ;; difference: this package needs the -package-db flag to be passed | |
1441 | ;; to "runhaskell" in addition to the "configure" action, because it | |
1442 | ;; depends on gtk2hs-buildtools, which provide setup hooks. Without | |
1443 | ;; this option the Setup.hs file cannot be evaluated. The | |
1444 | ;; haskell-build-system should be changed to pass "-package-db" to | |
1445 | ;; "runhaskell" in any case. | |
1446 | (replace 'configure | |
1447 | (lambda* (#:key outputs inputs tests? (configure-flags '()) | |
1448 | #:allow-other-keys) | |
1449 | (let* ((out (assoc-ref outputs "out")) | |
1450 | (name-version (strip-store-file-name out)) | |
1451 | (input-dirs (match inputs | |
1452 | (((_ . dir) ...) | |
1453 | dir) | |
1454 | (_ '()))) | |
1455 | (ghc-path (getenv "GHC_PACKAGE_PATH")) | |
1456 | (params (append `(,(string-append "--prefix=" out)) | |
1457 | `(,(string-append "--libdir=" out "/lib")) | |
1458 | `(,(string-append "--bindir=" out "/bin")) | |
1459 | `(,(string-append | |
1460 | "--docdir=" out | |
1461 | "/share/doc/" name-version)) | |
1462 | '("--libsubdir=$compiler/$pkg-$version") | |
1463 | '("--package-db=../package.conf.d") | |
1464 | '("--global") | |
1465 | `(,@(map | |
1466 | (cut string-append "--extra-include-dirs=" <>) | |
1467 | (search-path-as-list '("include") input-dirs))) | |
1468 | `(,@(map | |
1469 | (cut string-append "--extra-lib-dirs=" <>) | |
1470 | (search-path-as-list '("lib") input-dirs))) | |
1471 | (if tests? | |
1472 | '("--enable-tests") | |
1473 | '()) | |
1474 | configure-flags))) | |
1475 | (unsetenv "GHC_PACKAGE_PATH") | |
1476 | (apply invoke "runhaskell" "-package-db=../package.conf.d" | |
1477 | "Setup.hs" "configure" params) | |
1478 | (setenv "GHC_PACKAGE_PATH" ghc-path) | |
1479 | #t)))))) | |
1480 | (inputs | |
1481 | `(("ghc-utf8-string" ,ghc-utf8-string) | |
1482 | ("cairo" ,cairo))) | |
1483 | (native-inputs | |
1484 | `(("ghc-gtk2hs-buildtools" ,ghc-gtk2hs-buildtools) | |
1485 | ("pkg-config" ,pkg-config))) | |
1486 | (home-page "http://projects.haskell.org/gtk2hs/") | |
1487 | (synopsis "Haskell bindings to the Cairo vector graphics library") | |
1488 | (description | |
1489 | "Cairo is a library to render high quality vector graphics. There exist | |
1490 | various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG | |
1491 | documents, amongst others.") | |
1492 | (license license:bsd-3))) | |
1493 | ||
1494 | (define-public ghc-call-stack | |
1495 | (package | |
1496 | (name "ghc-call-stack") | |
1497 | (version "0.1.0") | |
1498 | (source | |
1499 | (origin | |
1500 | (method url-fetch) | |
1501 | (uri (string-append "https://hackage.haskell.org/package/" | |
1502 | "call-stack/call-stack-" | |
1503 | version ".tar.gz")) | |
1504 | (sha256 | |
1505 | (base32 | |
1506 | "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj")))) | |
1507 | (build-system haskell-build-system) | |
1508 | (inputs `(("ghc-nanospec" ,ghc-nanospec))) | |
1509 | (home-page "https://github.com/sol/call-stack#readme") | |
1510 | (synopsis "Use GHC call-stacks in a backward compatible way") | |
1511 | (description "This package provides a compatibility layer for using GHC | |
1512 | call stacks with different versions of the compiler.") | |
1513 | (license license:expat))) | |
1514 | ||
1515 | ;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there, | |
1516 | ;; because it depends on ghc-nanospec, which depends on ghc-hunit. | |
1517 | (define-public ghc-call-stack-boot | |
1518 | (hidden-package | |
1519 | (package | |
1520 | (inherit ghc-call-stack) | |
1521 | (arguments '(#:tests? #f)) | |
1522 | (inputs '())))) | |
1523 | ||
1524 | (define-public ghc-case-insensitive | |
1525 | (package | |
1526 | (name "ghc-case-insensitive") | |
1527 | (version "1.2.0.11") | |
534d6caa | 1528 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
1529 | (source |
1530 | (origin | |
1531 | (method url-fetch) | |
1532 | (uri (string-append | |
1533 | "https://hackage.haskell.org/package/case-insensitive/case-insensitive-" | |
1534 | version | |
1535 | ".tar.gz")) | |
1536 | (sha256 | |
1537 | (base32 | |
1538 | "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7")))) | |
1539 | (build-system haskell-build-system) | |
1540 | ;; these inputs are necessary to use this library | |
1541 | (inputs | |
1542 | `(("ghc-hashable" ,ghc-hashable))) | |
1543 | (arguments | |
1544 | `(#:tests? #f)) ; FIXME: currently missing libraries used for tests. | |
1545 | (home-page | |
1546 | "https://github.com/basvandijk/case-insensitive") | |
1547 | (synopsis "Case insensitive string comparison") | |
1548 | (description | |
1549 | "The module @code{Data.CaseInsensitive} provides the @code{CI} type | |
1550 | constructor which can be parameterised by a string-like type like: | |
1551 | @code{String}, @code{ByteString}, @code{Text}, etc. Comparisons of values of | |
1552 | the resulting type will be insensitive to cases.") | |
1553 | (license license:bsd-3))) | |
1554 | ||
6ba536a1 JS |
1555 | (define-public ghc-cborg |
1556 | (package | |
1557 | (name "ghc-cborg") | |
1558 | (version "0.2.2.0") | |
1559 | (source | |
1560 | (origin | |
1561 | (method url-fetch) | |
1562 | (uri (string-append | |
1563 | "mirror://hackage/package/cborg/cborg-" | |
1564 | version | |
1565 | ".tar.gz")) | |
1566 | (sha256 | |
1567 | (base32 | |
1568 | "1rdnvy0w17s70ikmbyrnwax5rvqh19l95sh8i7ipgxi23z1r0bp1")))) | |
1569 | (build-system haskell-build-system) | |
1570 | (inputs | |
1571 | `(("ghc-half" ,ghc-half) | |
1572 | ("ghc-primitive" ,ghc-primitive))) | |
1573 | (native-inputs | |
1574 | `(("ghc-aeson" ,ghc-aeson) | |
1575 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
1576 | ("ghc-base16-bytestring" ,ghc-base16-bytestring) | |
1577 | ("ghc-fail" ,ghc-fail) | |
1578 | ("ghc-quickcheck" ,ghc-quickcheck) | |
1579 | ("ghc-scientific" ,ghc-scientific) | |
1580 | ("ghc-tasty" ,ghc-tasty) | |
1581 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
1582 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
1583 | ("ghc-vector" ,ghc-vector))) | |
1584 | (home-page "http://hackage.haskell.org/package/cborg") | |
1585 | (synopsis "Concise Binary Object Representation") | |
1586 | (description | |
1587 | "This package (formerly binary-serialise-cbor) provides an | |
1588 | efficient implementation of the Concise Binary Object | |
1589 | Representation (CBOR), as specified by RFC 7049 at | |
1590 | https://tools.ietf.org/html/rfc7049. | |
1591 | ||
1592 | If you are looking for a library for serialisation of Haskell values, have a | |
1593 | look at the @url{https://hackage.haskell.org/package/serialise} package, which | |
1594 | is built upon this library. | |
1595 | ||
1596 | An implementation of the standard bijection between CBOR and JSON is provided | |
1597 | by the @url{https://hackage.haskell.org/package/cborg-json} package. | |
1598 | ||
1599 | Also see @code{https://hackage.haskell.org/package/cbor-tool} for a convenient | |
1600 | command-line utility for working with CBOR data.") | |
1601 | (license license:bsd-3))) | |
1602 | ||
5434fec9 JS |
1603 | (define-public ghc-cborg-json |
1604 | (package | |
1605 | (name "ghc-cborg-json") | |
1606 | (version "0.2.2.0") | |
1607 | (source | |
1608 | (origin | |
1609 | (method url-fetch) | |
1610 | (uri (string-append | |
1611 | "mirror://hackage/package/cborg-json/cborg-json-" | |
1612 | version | |
1613 | ".tar.gz")) | |
1614 | (sha256 | |
1615 | (base32 "0ysilz7rrjk94sqr3a61s98hr9qfi1xg13bskmlpc6mpgi2s4s5b")))) | |
1616 | (build-system haskell-build-system) | |
1617 | (inputs | |
1618 | `(("ghc-aeson" ,ghc-aeson) | |
1619 | ("ghc-aeson-pretty" ,ghc-aeson-pretty) | |
1620 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
1621 | ("ghc-scientific" ,ghc-scientific) | |
1622 | ("ghc-vector" ,ghc-vector) | |
1623 | ("ghc-cborg" ,ghc-cborg))) | |
1624 | (home-page "https://github.com/well-typed/cborg") | |
1625 | (synopsis "A library for encoding JSON as CBOR") | |
1626 | (description | |
1627 | "This package implements the bijection between JSON and CBOR | |
1628 | defined in the CBOR specification, RFC 7049.") | |
1629 | (license license:bsd-3))) | |
1630 | ||
dddbc90c RV |
1631 | (define-public ghc-cereal |
1632 | (package | |
1633 | (name "ghc-cereal") | |
bd95427e | 1634 | (version "0.5.8.1") |
dddbc90c RV |
1635 | (source |
1636 | (origin | |
1637 | (method url-fetch) | |
1638 | (uri (string-append | |
1639 | "https://hackage.haskell.org/package/cereal/cereal-" | |
1640 | version | |
1641 | ".tar.gz")) | |
1642 | (sha256 | |
1643 | (base32 | |
bd95427e | 1644 | "1mqvd1iwzr50az4y24332x3g3wsrzw8j1iwph02vr7jbjfn8i7id")))) |
dddbc90c RV |
1645 | (build-system haskell-build-system) |
1646 | (native-inputs | |
1647 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
1648 | ("ghc-fail" ,ghc-fail) | |
1649 | ("ghc-test-framework" ,ghc-test-framework) | |
1650 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
1651 | (home-page "https://hackage.haskell.org/package/cereal") | |
1652 | (synopsis "Binary serialization library") | |
1653 | (description "This package provides a binary serialization library, | |
1654 | similar to @code{binary}, that introduces an @code{isolate} primitive for | |
1655 | parser isolation, and labeled blocks for better error messages.") | |
1656 | (license license:bsd-3))) | |
1657 | ||
1658 | (define-public ghc-cereal-conduit | |
1659 | (package | |
1660 | (name "ghc-cereal-conduit") | |
1661 | (version "0.8.0") | |
1662 | (source | |
1663 | (origin | |
1664 | (method url-fetch) | |
1665 | (uri (string-append "https://hackage.haskell.org/package/" | |
1666 | "cereal-conduit/cereal-conduit-" | |
1667 | version ".tar.gz")) | |
1668 | (sha256 | |
1669 | (base32 | |
1670 | "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r")))) | |
1671 | (build-system haskell-build-system) | |
1672 | (inputs | |
1673 | `(("ghc-conduit" ,ghc-conduit) | |
1674 | ("ghc-resourcet" ,ghc-resourcet) | |
1675 | ("ghc-cereal" ,ghc-cereal))) | |
1676 | (native-inputs | |
1677 | `(("ghc-hunit" ,ghc-hunit))) | |
1678 | (home-page "https://github.com/snoyberg/conduit") | |
1679 | (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits") | |
1680 | (description | |
1681 | "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into | |
1682 | @code{Sources}, @code{Sinks}, and @code{Conduits}.") | |
1683 | (license license:bsd-3))) | |
1684 | ||
1685 | (define-public ghc-cgi | |
1686 | (package | |
1687 | (name "ghc-cgi") | |
b6b2c218 | 1688 | (version "3001.4.0.0") |
dddbc90c RV |
1689 | (source |
1690 | (origin | |
1691 | (method url-fetch) | |
1692 | (uri (string-append | |
1693 | "https://hackage.haskell.org/package/cgi/cgi-" | |
1694 | version | |
1695 | ".tar.gz")) | |
1696 | (sha256 | |
1697 | (base32 | |
b6b2c218 | 1698 | "1d0nh5ymkqskkp4yn0gfz4mff8i0cxyw1wws8xxp6k1mg1ywa25k")))) |
dddbc90c | 1699 | (build-system haskell-build-system) |
dddbc90c RV |
1700 | (inputs |
1701 | `(("ghc-exceptions" ,ghc-exceptions) | |
1702 | ("ghc-multipart" ,ghc-multipart) | |
1703 | ("ghc-network-uri" ,ghc-network-uri) | |
1704 | ("ghc-network" ,ghc-network))) | |
1705 | (native-inputs | |
1706 | `(("ghc-doctest" ,ghc-doctest) | |
1707 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
1708 | (home-page | |
1709 | "https://github.com/cheecheeo/haskell-cgi") | |
1710 | (synopsis "Library for writing CGI programs") | |
1711 | (description | |
1712 | "This is a Haskell library for writing CGI programs.") | |
1713 | (license license:bsd-3))) | |
1714 | ||
1715 | (define-public ghc-charset | |
1716 | (package | |
1717 | (name "ghc-charset") | |
1718 | (version "0.3.7.1") | |
1719 | (source | |
1720 | (origin | |
1721 | (method url-fetch) | |
1722 | (uri (string-append | |
1723 | "https://hackage.haskell.org/package/charset/charset-" | |
1724 | version | |
1725 | ".tar.gz")) | |
1726 | (sha256 | |
1727 | (base32 | |
1728 | "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x")))) | |
1729 | (build-system haskell-build-system) | |
35ee173c TS |
1730 | (arguments |
1731 | `(#:cabal-revision | |
1732 | ("1" "1z6nxw2g9vgsjq0g159sk8mwj68lwzxzi5iv5ynha0h85jcqxszy"))) | |
dddbc90c RV |
1733 | (inputs |
1734 | `(("ghc-semigroups" ,ghc-semigroups) | |
1735 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
1736 | (home-page "https://github.com/ekmett/charset") | |
1737 | (synopsis "Fast unicode character sets for Haskell") | |
1738 | (description "This package provides fast unicode character sets for | |
1739 | Haskell, based on complemented PATRICIA tries.") | |
1740 | (license license:bsd-3))) | |
1741 | ||
1742 | (define-public ghc-chart | |
1743 | (package | |
1744 | (name "ghc-chart") | |
6cd84b98 | 1745 | (version "1.9.1") |
dddbc90c RV |
1746 | (source |
1747 | (origin | |
1748 | (method url-fetch) | |
1749 | (uri (string-append "https://hackage.haskell.org/package/Chart/" | |
1750 | "Chart-" version ".tar.gz")) | |
1751 | (sha256 | |
1752 | (base32 | |
6cd84b98 | 1753 | "1pn735k9ifxlb9mdh8xy7wi22cxni8xyr28n8zx9w0j6vprcg89l")))) |
dddbc90c RV |
1754 | (build-system haskell-build-system) |
1755 | (inputs | |
1756 | `(("ghc-old-locale" ,ghc-old-locale) | |
1757 | ("ghc-lens" ,ghc-lens) | |
1758 | ("ghc-colour" ,ghc-colour) | |
1759 | ("ghc-data-default-class" ,ghc-data-default-class) | |
1760 | ("ghc-operational" ,ghc-operational) | |
1761 | ("ghc-vector" ,ghc-vector))) | |
1762 | (home-page "https://github.com/timbod7/haskell-chart/wiki") | |
1763 | (synopsis "Library for generating 2D charts and plots") | |
1764 | (description | |
1765 | "This package provides a library for generating 2D charts and plots, with | |
1766 | backends provided by the @code{Cairo} and @code{Diagrams} libraries.") | |
1767 | (license license:bsd-3))) | |
1768 | ||
1769 | (define-public ghc-chart-cairo | |
1770 | (package | |
1771 | (name "ghc-chart-cairo") | |
5cf9264d | 1772 | (version "1.9.1") |
dddbc90c RV |
1773 | (source |
1774 | (origin | |
1775 | (method url-fetch) | |
1776 | (uri (string-append "https://hackage.haskell.org/package/Chart-cairo/" | |
1777 | "Chart-cairo-" version ".tar.gz")) | |
1778 | (sha256 | |
1779 | (base32 | |
5cf9264d | 1780 | "0hknj4rsjf2m8p5pyq5zff8ai7v80yvmxb5c6n0bkgxs4317nbl9")))) |
dddbc90c RV |
1781 | (build-system haskell-build-system) |
1782 | (inputs | |
1783 | `(("ghc-old-locale" ,ghc-old-locale) | |
1784 | ("ghc-cairo" ,ghc-cairo) | |
1785 | ("ghc-colour" ,ghc-colour) | |
1786 | ("ghc-data-default-class" ,ghc-data-default-class) | |
1787 | ("ghc-operational" ,ghc-operational) | |
1788 | ("ghc-lens" ,ghc-lens) | |
1789 | ("ghc-chart" ,ghc-chart))) | |
1790 | (home-page "https://github.com/timbod7/haskell-chart/wiki") | |
1791 | (synopsis "Cairo backend for Charts") | |
1792 | (description "This package provides a Cairo vector graphics rendering | |
1793 | backend for the Charts library.") | |
1794 | (license license:bsd-3))) | |
1795 | ||
1796 | (define-public ghc-chasingbottoms | |
1797 | (package | |
1798 | (name "ghc-chasingbottoms") | |
1f67853e | 1799 | (version "1.3.1.7") |
dddbc90c RV |
1800 | (source |
1801 | (origin | |
1802 | (method url-fetch) | |
1803 | (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/" | |
1804 | "ChasingBottoms-" version ".tar.gz")) | |
1805 | (sha256 | |
1806 | (base32 | |
1f67853e | 1807 | "0ziiqfsvv1ypdra6kd0bhbsl852i0wqn43jkfii38yl879cdacan")))) |
dddbc90c RV |
1808 | (build-system haskell-build-system) |
1809 | (inputs | |
1810 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
1811 | ("ghc-random" ,ghc-random) | |
1812 | ("ghc-syb" ,ghc-syb))) | |
1813 | (home-page "https://hackage.haskell.org/package/ChasingBottoms") | |
1814 | (synopsis "Testing of partial and infinite values in Haskell") | |
1815 | (description | |
1816 | ;; FIXME: There should be a @comma{} in the uref text, but it is not | |
1817 | ;; rendered properly. | |
1818 | "This is a library for testing code involving bottoms or infinite values. | |
1819 | For the underlying theory and a larger example involving use of QuickCheck, | |
1820 | see the article | |
1821 | @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html, | |
1822 | \"Chasing Bottoms A Case Study in Program Verification in the Presence of | |
1823 | Partial and Infinite Values\"}.") | |
1824 | (license license:expat))) | |
1825 | ||
1826 | (define-public ghc-cheapskate | |
1827 | (package | |
1828 | (name "ghc-cheapskate") | |
5e18bb9e | 1829 | (version "0.1.1.1") |
dddbc90c RV |
1830 | (source |
1831 | (origin | |
1832 | (method url-fetch) | |
1833 | (uri (string-append | |
1834 | "https://hackage.haskell.org/package/cheapskate/cheapskate-" | |
1835 | version | |
1836 | ".tar.gz")) | |
1837 | (sha256 | |
1838 | (base32 | |
5e18bb9e | 1839 | "0qnyd8bni2rby6b02ff4bvfdhm1hwc8vzpmnms84jgrlg1lly3fm")))) |
dddbc90c RV |
1840 | (build-system haskell-build-system) |
1841 | (inputs | |
1842 | `(("ghc-blaze-html" ,ghc-blaze-html) | |
1843 | ("ghc-xss-sanitize" ,ghc-xss-sanitize) | |
1844 | ("ghc-data-default" ,ghc-data-default) | |
1845 | ("ghc-syb" ,ghc-syb) | |
1846 | ("ghc-uniplate" ,ghc-uniplate))) | |
1847 | (home-page "https://github.com/jgm/cheapskate") | |
1848 | (synopsis "Experimental markdown processor") | |
1849 | (description "Cheapskate is an experimental Markdown processor in pure | |
1850 | Haskell. It aims to process Markdown efficiently and in the most forgiving | |
1851 | possible way. It is designed to deal with any input, including garbage, with | |
1852 | linear performance. Output is sanitized by default for protection against | |
1853 | cross-site scripting (@dfn{XSS}) attacks.") | |
1854 | (license license:bsd-3))) | |
1855 | ||
1856 | (define-public ghc-chell | |
1857 | (package | |
1858 | (name "ghc-chell") | |
acdd03be | 1859 | (version "0.5") |
dddbc90c RV |
1860 | (source |
1861 | (origin | |
1862 | (method url-fetch) | |
1863 | (uri (string-append | |
1864 | "https://hackage.haskell.org/package/chell/chell-" | |
1865 | version ".tar.gz")) | |
1866 | (sha256 | |
1867 | (base32 | |
acdd03be | 1868 | "1i845isfbk0yq852am9bqmxfpfkpnlha8nfidffsv4gw2p8gg6fg")))) |
dddbc90c | 1869 | (build-system haskell-build-system) |
acdd03be TS |
1870 | (arguments |
1871 | `(#:cabal-revision | |
1872 | ("1" "1q93wrw03ix4cmnkz3lzkixcvvizw6i2ia2zifdfak1dvxnblxk0"))) | |
dddbc90c RV |
1873 | (inputs |
1874 | `(("ghc-options-bootstrap" ,ghc-options-bootstrap) | |
1875 | ("ghc-patience" ,ghc-patience) | |
1876 | ("ghc-random" ,ghc-random) | |
1877 | ("ghc-ansi-terminal" ,ghc-ansi-terminal))) | |
1878 | (home-page "https://john-millikin.com/software/chell/") | |
1879 | (synopsis "Simple and intuitive library for automated testing") | |
1880 | (description | |
1881 | "Chell is a simple and intuitive library for automated testing. | |
1882 | It natively supports assertion-based testing, and can use companion | |
1883 | libraries such as @code{chell-quickcheck} to support more complex | |
1884 | testing strategies.") | |
1885 | (license license:expat))) | |
1886 | ||
1887 | (define-public ghc-chell-quickcheck | |
1888 | (package | |
1889 | (name "ghc-chell-quickcheck") | |
e0e21831 | 1890 | (version "0.2.5.2") |
dddbc90c RV |
1891 | (source |
1892 | (origin | |
1893 | (method url-fetch) | |
1894 | (uri (string-append | |
1895 | "https://hackage.haskell.org/package/chell-quickcheck/" | |
1896 | "chell-quickcheck-" version ".tar.gz")) | |
1897 | (sha256 | |
1898 | (base32 | |
e0e21831 | 1899 | "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03")))) |
dddbc90c RV |
1900 | (build-system haskell-build-system) |
1901 | (arguments | |
1902 | `(#:phases | |
1903 | (modify-phases %standard-phases | |
1904 | (add-before 'configure 'update-constraints | |
1905 | (lambda _ | |
1906 | (substitute* "chell-quickcheck.cabal" | |
e0e21831 TS |
1907 | (("QuickCheck >= 2\\.3 && < 2\\.13") |
1908 | "QuickCheck >= 2.3 && < 2.14"))))))) | |
dddbc90c RV |
1909 | (inputs |
1910 | `(("ghc-chell" ,ghc-chell) | |
1911 | ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap) | |
1912 | ("ghc-random" ,ghc-random) | |
1913 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
1914 | (home-page "https://john-millikin.com/software/chell/") | |
1915 | (synopsis "QuickCheck support for the Chell testing library") | |
1916 | (description "More complex tests for @code{chell}.") | |
1917 | (license license:expat))) | |
1918 | ||
1919 | (define ghc-chell-quickcheck-bootstrap | |
1920 | (package | |
1921 | (name "ghc-chell-quickcheck-bootstrap") | |
e0e21831 | 1922 | (version "0.2.5.2") |
dddbc90c RV |
1923 | (source |
1924 | (origin | |
1925 | (method url-fetch) | |
1926 | (uri (string-append | |
1927 | "https://hackage.haskell.org/package/chell-quickcheck/" | |
1928 | "chell-quickcheck-" version ".tar.gz")) | |
1929 | (sha256 | |
1930 | (base32 | |
e0e21831 | 1931 | "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03")))) |
dddbc90c RV |
1932 | (build-system haskell-build-system) |
1933 | (inputs | |
1934 | `(("ghc-chell" ,ghc-chell) | |
1935 | ("ghc-random" ,ghc-random) | |
1936 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
1937 | (arguments | |
1938 | `(#:tests? #f | |
1939 | #:phases | |
1940 | (modify-phases %standard-phases | |
1941 | (add-before 'configure 'update-constraints | |
1942 | (lambda _ | |
1943 | (substitute* "chell-quickcheck.cabal" | |
e0e21831 TS |
1944 | (("QuickCheck >= 2\\.3 && < 2\\.13") |
1945 | "QuickCheck >= 2.3 && < 2.14"))))))) | |
dddbc90c RV |
1946 | (home-page "https://john-millikin.com/software/chell/") |
1947 | (synopsis "QuickCheck support for the Chell testing library") | |
1948 | (description "More complex tests for @code{chell}.") | |
1949 | (license license:expat))) | |
1950 | ||
1951 | (define-public ghc-chunked-data | |
1952 | (package | |
1953 | (name "ghc-chunked-data") | |
1954 | (version "0.3.1") | |
1955 | (source | |
1956 | (origin | |
1957 | (method url-fetch) | |
1958 | (uri (string-append "https://hackage.haskell.org/package/" | |
1959 | "chunked-data-" version "/" | |
1960 | "chunked-data-" version ".tar.gz")) | |
1961 | (sha256 | |
1962 | (base32 | |
1963 | "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p")))) | |
1964 | (build-system haskell-build-system) | |
1965 | (inputs `(("ghc-vector" ,ghc-vector) | |
1966 | ("ghc-semigroups" ,ghc-semigroups))) | |
1967 | (home-page "https://github.com/snoyberg/mono-traversable") | |
1968 | (synopsis "Typeclasses for dealing with various chunked data | |
1969 | representations for Haskell") | |
1970 | (description "This Haskell package was originally present in | |
1971 | classy-prelude.") | |
1972 | (license license:expat))) | |
1973 | ||
1974 | (define-public ghc-clock | |
1975 | (package | |
1976 | (name "ghc-clock") | |
0841b6f2 | 1977 | (version "0.8") |
dddbc90c RV |
1978 | (source |
1979 | (origin | |
1980 | (method url-fetch) | |
1981 | (uri (string-append | |
1982 | "https://hackage.haskell.org/package/" | |
1983 | "clock/" | |
1984 | "clock-" version ".tar.gz")) | |
1985 | (sha256 | |
0841b6f2 | 1986 | (base32 "0539w9bjw6xbfv9v6aq9hijszxqdnqhilwpbwpql1400ji95r8q8")))) |
dddbc90c RV |
1987 | (build-system haskell-build-system) |
1988 | (inputs | |
1989 | `(("ghc-tasty" ,ghc-tasty) | |
1990 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
1991 | (home-page "https://hackage.haskell.org/package/clock") | |
1992 | (synopsis "High-resolution clock for Haskell") | |
1993 | (description "A package for convenient access to high-resolution clock and | |
1994 | timer functions of different operating systems via a unified API.") | |
1995 | (license license:bsd-3))) | |
1996 | ||
1997 | ;; This package builds `clock` without tests, since the tests rely on tasty | |
1998 | ;; and tasty-quickcheck, which in turn require clock to build. | |
1999 | (define-public ghc-clock-bootstrap | |
2000 | (package | |
2001 | (inherit ghc-clock) | |
2002 | (name "ghc-clock-bootstrap") | |
2003 | (arguments '(#:tests? #f)) | |
2004 | (inputs '()) | |
2005 | (properties '((hidden? #t))))) | |
2006 | ||
2007 | (define-public ghc-cmark | |
2008 | (package | |
2009 | (name "ghc-cmark") | |
6bdd36c0 | 2010 | (version "0.6") |
dddbc90c RV |
2011 | (source (origin |
2012 | (method url-fetch) | |
6bdd36c0 | 2013 | ;; XXX As of version 0.6, this package bundles libcmark 0.28.0. |
dddbc90c RV |
2014 | ;; See cbits/cmark_version.h. |
2015 | (uri (string-append "https://hackage.haskell.org/package/" | |
2016 | "cmark/cmark-" version ".tar.gz")) | |
2017 | (sha256 | |
2018 | (base32 | |
6bdd36c0 | 2019 | "1p41z6z8dqxk62287lvhhg4ayy9laai9ljh4azsnzb029v6mbv0d")))) |
dddbc90c RV |
2020 | (build-system haskell-build-system) |
2021 | (native-inputs | |
2022 | `(("ghc-hunit" ,ghc-hunit))) | |
2023 | (home-page "https://github.com/jgm/commonmark-hs") | |
2024 | (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer") | |
2025 | (description | |
2026 | "This package provides Haskell bindings for | |
2027 | @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for | |
2028 | CommonMark, a fully specified variant of Markdown. It includes bundled libcmark | |
2029 | sources, and does not require prior installation of the C library.") | |
2030 | (license license:bsd-3))) | |
2031 | ||
2032 | (define-public ghc-cmark-gfm | |
2033 | (package | |
2034 | (name "ghc-cmark-gfm") | |
24fc8dae | 2035 | (version "0.2.0") |
dddbc90c RV |
2036 | (source |
2037 | (origin | |
2038 | (method url-fetch) | |
2039 | (uri (string-append "https://hackage.haskell.org/package/" | |
2040 | "cmark-gfm/cmark-gfm-" | |
2041 | version ".tar.gz")) | |
2042 | (sha256 | |
2043 | (base32 | |
24fc8dae | 2044 | "03xflrkyw84qv3yjly5iks9311bqv5cmrmsylr763v4ph0fn7rjq")))) |
dddbc90c RV |
2045 | (build-system haskell-build-system) |
2046 | (native-inputs | |
2047 | `(("ghc-hunit" ,ghc-hunit))) | |
2048 | (home-page "https://github.com/kivikakk/cmark-gfm-hs") | |
2049 | (synopsis | |
2050 | "Fast, accurate GitHub Flavored Markdown parser and renderer") | |
2051 | (description | |
2052 | "This package provides Haskell bindings for libcmark-gfm, the reference | |
2053 | parser for GitHub Flavored Markdown, a fully specified variant of Markdown. | |
2054 | It includes sources for libcmark-gfm and does not require prior installation | |
2055 | of the C library.") | |
2056 | (license license:bsd-3))) | |
2057 | ||
2058 | (define-public ghc-cmdargs | |
2059 | (package | |
2060 | (name "ghc-cmdargs") | |
2061 | (version "0.10.20") | |
2062 | (source | |
2063 | (origin | |
2064 | (method url-fetch) | |
2065 | (uri (string-append | |
2066 | "https://hackage.haskell.org/package/cmdargs/cmdargs-" | |
2067 | version ".tar.gz")) | |
2068 | (sha256 | |
2069 | (base32 | |
2070 | "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf")))) | |
2071 | (build-system haskell-build-system) | |
3e545443 | 2072 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
2073 | (home-page |
2074 | "http://community.haskell.org/~ndm/cmdargs/") | |
2075 | (synopsis "Command line argument processing") | |
2076 | (description | |
2077 | "This library provides an easy way to define command line parsers.") | |
2078 | (license license:bsd-3))) | |
2079 | ||
2080 | (define-public ghc-code-page | |
2081 | (package | |
2082 | (name "ghc-code-page") | |
f6bb6519 | 2083 | (version "0.2") |
dddbc90c RV |
2084 | (source |
2085 | (origin | |
2086 | (method url-fetch) | |
2087 | (uri (string-append | |
2088 | "https://hackage.haskell.org/package/code-page/code-page-" | |
2089 | version ".tar.gz")) | |
2090 | (sha256 | |
2091 | (base32 | |
f6bb6519 | 2092 | "0i0qbrbhvrwkbikqb7hh7yxaipaavwzvyrw211d0vkz99f62mqxz")))) |
dddbc90c RV |
2093 | (build-system haskell-build-system) |
2094 | (home-page "https://github.com/RyanGlScott/code-page") | |
2095 | (synopsis "Windows code page library for Haskell") | |
2096 | (description "A cross-platform library with functions for adjusting | |
2097 | code pages on Windows. On all other operating systems, the library does | |
2098 | nothing.") | |
2099 | (license license:bsd-3))) | |
2100 | ||
2101 | (define-public ghc-colour | |
2102 | (package | |
2103 | (name "ghc-colour") | |
bc9d1af9 | 2104 | (version "2.3.5") |
dddbc90c RV |
2105 | (source |
2106 | (origin | |
2107 | (method url-fetch) | |
2108 | (uri (string-append | |
2109 | "https://hackage.haskell.org/package/colour/colour-" | |
2110 | version ".tar.gz")) | |
2111 | (sha256 | |
2112 | (base32 | |
bc9d1af9 | 2113 | "1rq4l46jx4lpdppy71wf7m1n7pw2jwy788rm35ycwzb1g4clg39v")))) |
dddbc90c RV |
2114 | (arguments |
2115 | ;; The tests for this package have the following dependency cycle: | |
2116 | ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour. | |
2117 | `(#:tests? #f)) | |
2118 | (build-system haskell-build-system) | |
228d2901 | 2119 | (home-page "https://wiki.haskell.org/Colour") |
dddbc90c RV |
2120 | (synopsis "Model for human colour perception") |
2121 | (description | |
2122 | "This package provides a data type for colours and transparency. | |
2123 | Colours can be blended and composed. Various colour spaces are | |
2124 | supported. A module of colour names (\"Data.Colour.Names\") is provided.") | |
2125 | (license license:expat))) | |
2126 | ||
2127 | (define-public ghc-comonad | |
2128 | (package | |
2129 | (name "ghc-comonad") | |
1a825512 | 2130 | (version "5.0.5") |
dddbc90c RV |
2131 | (source |
2132 | (origin | |
2133 | (method url-fetch) | |
2134 | (uri (string-append | |
2135 | "https://hackage.haskell.org/package/comonad/comonad-" | |
2136 | version | |
2137 | ".tar.gz")) | |
2138 | (sha256 | |
2139 | (base32 | |
1a825512 | 2140 | "1l7snp2mszgnjgd0nc9kzfyd13vla0rlazqi03rwx2akcxk14n3c")))) |
dddbc90c RV |
2141 | (build-system haskell-build-system) |
2142 | (native-inputs | |
2143 | `(("cabal-doctest" ,cabal-doctest) | |
2144 | ("ghc-doctest" ,ghc-doctest))) | |
2145 | (inputs | |
2146 | `(("ghc-contravariant" ,ghc-contravariant) | |
2147 | ("ghc-distributive" ,ghc-distributive) | |
2148 | ("ghc-semigroups" ,ghc-semigroups) | |
2149 | ("ghc-tagged" ,ghc-tagged) | |
2150 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
2151 | (home-page "https://github.com/ekmett/comonad/") | |
2152 | (synopsis "Comonads for Haskell") | |
2153 | (description "This library provides @code{Comonad}s for Haskell.") | |
2154 | (license license:bsd-3))) | |
2155 | ||
2156 | (define-public ghc-concatenative | |
2157 | (package | |
2158 | (name "ghc-concatenative") | |
2159 | (version "1.0.1") | |
2160 | (source (origin | |
2161 | (method url-fetch) | |
2162 | (uri (string-append | |
2163 | "https://hackage.haskell.org/package/concatenative/concatenative-" | |
2164 | version ".tar.gz")) | |
2165 | (sha256 | |
2166 | (base32 | |
2167 | "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd")))) | |
2168 | (build-system haskell-build-system) | |
2169 | (home-page | |
2170 | "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty") | |
2171 | (synopsis "Library for postfix control flow") | |
2172 | (description | |
2173 | "Concatenative gives Haskell Factor-style combinators and arrows for | |
2174 | postfix notation. For more information on stack based languages, see | |
2175 | @uref{https://concatenative.org}.") | |
2176 | (license license:bsd-3))) | |
2177 | ||
2178 | (define-public ghc-concurrent-extra | |
2179 | (package | |
2180 | (name "ghc-concurrent-extra") | |
2181 | (version "0.7.0.12") | |
2182 | (source | |
2183 | (origin | |
2184 | (method url-fetch) | |
2185 | (uri (string-append "https://hackage.haskell.org/package/" | |
2186 | "concurrent-extra/concurrent-extra-" | |
2187 | version ".tar.gz")) | |
2188 | (sha256 | |
2189 | (base32 | |
2190 | "1y8xk460fvnw0idzdiylmm874sjny4q9jxb1js9fjz8lw2wns3h4")))) | |
2191 | (build-system haskell-build-system) | |
2192 | (arguments | |
2193 | ;; XXX: The ReadWriteLock 'stressTest' fails. | |
2194 | `(#:tests? #f)) | |
2195 | (inputs | |
2196 | `(("ghc-unbounded-delays" ,ghc-unbounded-delays))) | |
2197 | (native-inputs | |
2198 | `(("ghc-async" ,ghc-async) | |
2199 | ("ghc-hunit" ,ghc-hunit) | |
2200 | ("ghc-random" ,ghc-random) | |
2201 | ("ghc-test-framework" ,ghc-test-framework) | |
2202 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
2203 | (home-page "https://github.com/basvandijk/concurrent-extra") | |
2204 | (synopsis "Extra concurrency primitives") | |
2205 | (description "This Haskell library offers (among other things) the | |
2206 | following selection of synchronisation primitives: | |
2207 | ||
2208 | @itemize | |
2209 | @item @code{Broadcast}: Wake multiple threads by broadcasting a value. | |
2210 | @item @code{Event}: Wake multiple threads by signalling an event. | |
2211 | @item @code{Lock}: Enforce exclusive access to a resource. Also known | |
2212 | as a binary semaphore or mutex. The package additionally provides an | |
2213 | alternative that works in the STM monad. | |
2214 | @item @code{RLock}: A lock which can be acquired multiple times by the | |
2215 | same thread. Also known as a reentrant mutex. | |
2216 | @item @code{ReadWriteLock}: Multiple-reader, single-writer locks. Used | |
2217 | to protect shared resources which may be concurrently read, but only | |
2218 | sequentially written. | |
2219 | @item @code{ReadWriteVar}: Concurrent read, sequential write variables. | |
2220 | @end itemize | |
2221 | ||
2222 | Please consult the API documentation of the individual modules for more | |
2223 | detailed information. | |
2224 | ||
2225 | This package was inspired by the concurrency libraries of Java and | |
2226 | Python.") | |
2227 | (license license:bsd-3))) | |
2228 | ||
2229 | (define-public ghc-concurrent-output | |
2230 | (package | |
2231 | (name "ghc-concurrent-output") | |
4fce0a4a | 2232 | (version "1.10.11") |
dddbc90c RV |
2233 | (source |
2234 | (origin | |
2235 | (method url-fetch) | |
2236 | (uri (string-append | |
2237 | "mirror://hackage/package/concurrent-output/concurrent-output-" | |
2238 | version | |
2239 | ".tar.gz")) | |
2240 | (sha256 | |
2241 | (base32 | |
4fce0a4a | 2242 | "1d1aaqg5814k59b0iws3fh06p3g2siaj922gkhs75qgncj0my2p3")))) |
dddbc90c RV |
2243 | (build-system haskell-build-system) |
2244 | (inputs | |
2245 | `(("ghc-async" ,ghc-async) | |
2246 | ("ghc-exceptions" ,ghc-exceptions) | |
2247 | ("ghc-ansi-terminal" ,ghc-ansi-terminal) | |
2248 | ("ghc-terminal-size" ,ghc-terminal-size))) | |
2249 | (home-page | |
2250 | "https://hackage.haskell.org/package/concurrent-output") | |
2251 | (synopsis | |
2252 | "Ungarble output from several threads or commands") | |
2253 | (description | |
2254 | "Lets multiple threads and external processes concurrently output to the | |
2255 | console, without it getting all garbled up. | |
2256 | ||
2257 | Built on top of that is a way of defining multiple output regions, which are | |
2258 | automatically laid out on the screen and can be individually updated by | |
2259 | concurrent threads. Can be used for progress displays etc.") | |
2260 | (license license:bsd-2))) | |
2261 | ||
2262 | (define-public ghc-conduit | |
2263 | (package | |
2264 | (name "ghc-conduit") | |
1ac981d4 | 2265 | (version "1.3.1.1") |
dddbc90c RV |
2266 | (source (origin |
2267 | (method url-fetch) | |
2268 | (uri (string-append "https://hackage.haskell.org/package/" | |
2269 | "conduit/conduit-" version ".tar.gz")) | |
2270 | (sha256 | |
2271 | (base32 | |
1ac981d4 | 2272 | "18izjgff4pmrknc8py06yvg3g6x27nx0rzmlwjxcflwm5v4szpw4")))) |
dddbc90c | 2273 | (build-system haskell-build-system) |
20e5edb1 | 2274 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
2275 | (inputs |
2276 | `(("ghc-exceptions" ,ghc-exceptions) | |
2277 | ("ghc-lifted-base" ,ghc-lifted-base) | |
2278 | ("ghc-mono-traversable" ,ghc-mono-traversable) | |
2279 | ("ghc-mmorph" ,ghc-mmorph) | |
2280 | ("ghc-resourcet" ,ghc-resourcet) | |
2281 | ("ghc-silently" ,ghc-silently) | |
2282 | ("ghc-transformers-base" ,ghc-transformers-base) | |
2283 | ("ghc-unliftio" ,ghc-unliftio) | |
2284 | ("ghc-unliftio-core" ,ghc-unliftio-core) | |
2285 | ("ghc-vector" ,ghc-vector) | |
2286 | ("ghc-void" ,ghc-void))) | |
2287 | (native-inputs | |
2288 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
2289 | ("ghc-hspec" ,ghc-hspec) | |
2290 | ("ghc-safe" ,ghc-safe) | |
2291 | ("ghc-split" ,ghc-split))) | |
2292 | (home-page "https://github.com/snoyberg/conduit") | |
2293 | (synopsis "Streaming data library ") | |
2294 | (description | |
2295 | "The conduit package is a solution to the streaming data problem, | |
2296 | allowing for production, transformation, and consumption of streams of data | |
2297 | in constant memory. It is an alternative to lazy I/O which guarantees | |
2298 | deterministic resource handling, and fits in the same general solution | |
2299 | space as enumerator/iteratee and pipes.") | |
2300 | (license license:expat))) | |
2301 | ||
2302 | (define-public ghc-conduit-algorithms | |
2303 | (package | |
2304 | (name "ghc-conduit-algorithms") | |
503b74ae | 2305 | (version "0.0.11.0") |
dddbc90c RV |
2306 | (source |
2307 | (origin | |
2308 | (method url-fetch) | |
2309 | (uri (string-append "https://hackage.haskell.org/package/" | |
2310 | "conduit-algorithms/conduit-algorithms-" | |
2311 | version ".tar.gz")) | |
2312 | (sha256 | |
2313 | (base32 | |
503b74ae | 2314 | "0c1jwz30kkvimx7lb61782yk0kyfamrf5bqc3g1h7g51lk8bbv9i")))) |
dddbc90c RV |
2315 | (build-system haskell-build-system) |
2316 | (inputs | |
2317 | `(("ghc-async" ,ghc-async) | |
2318 | ("ghc-bzlib-conduit" ,ghc-bzlib-conduit) | |
2319 | ("ghc-conduit" ,ghc-conduit) | |
2320 | ("ghc-conduit-combinators" ,ghc-conduit-combinators) | |
2321 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
503b74ae | 2322 | ("ghc-conduit-zstd" ,ghc-conduit-zstd) |
dddbc90c RV |
2323 | ("ghc-exceptions" ,ghc-exceptions) |
2324 | ("ghc-lzma-conduit" ,ghc-lzma-conduit) | |
2325 | ("ghc-monad-control" ,ghc-monad-control) | |
2326 | ("ghc-pqueue" ,ghc-pqueue) | |
2327 | ("ghc-resourcet" ,ghc-resourcet) | |
2328 | ("ghc-stm-conduit" ,ghc-stm-conduit) | |
2329 | ("ghc-streaming-commons" ,ghc-streaming-commons) | |
2330 | ("ghc-unliftio-core" ,ghc-unliftio-core) | |
2331 | ("ghc-vector" ,ghc-vector))) | |
2332 | (native-inputs | |
2333 | `(("ghc-hunit" ,ghc-hunit) | |
2334 | ("ghc-test-framework" ,ghc-test-framework) | |
2335 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
2336 | ("ghc-test-framework-th" ,ghc-test-framework-th))) | |
2337 | (home-page "https://github.com/luispedro/conduit-algorithms#readme") | |
2338 | (synopsis "Conduit-based algorithms") | |
2339 | (description | |
2340 | "This package provides algorithms on @code{Conduits}, including higher | |
2341 | level asynchronous processing and some other utilities.") | |
2342 | (license license:expat))) | |
2343 | ||
2344 | (define-public ghc-conduit-combinators | |
2345 | (package | |
2346 | (name "ghc-conduit-combinators") | |
2347 | (version "1.3.0") | |
2348 | (source | |
2349 | (origin | |
2350 | (method url-fetch) | |
2351 | (uri (string-append "https://hackage.haskell.org/package/" | |
2352 | "conduit-combinators-" version "/" | |
2353 | "conduit-combinators-" version ".tar.gz")) | |
2354 | (sha256 | |
2355 | (base32 | |
2356 | "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp")))) | |
2357 | (build-system haskell-build-system) | |
2358 | (inputs `(("ghc-conduit" ,ghc-conduit) | |
2359 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
2360 | ("ghc-transformers-base" ,ghc-transformers-base) | |
2361 | ("ghc-primitive" ,ghc-primitive) | |
2362 | ("ghc-vector" ,ghc-vector) | |
2363 | ("ghc-void" ,ghc-void) | |
2364 | ("ghc-mwc-random" ,ghc-mwc-random) | |
2365 | ("ghc-unix-compat" ,ghc-unix-compat) | |
2366 | ("ghc-base16-bytestring" ,ghc-base16-bytestring) | |
2367 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
2368 | ("ghc-resourcet" ,ghc-resourcet) | |
2369 | ("ghc-monad-control" ,ghc-monad-control) | |
2370 | ("ghc-chunked-data" ,ghc-chunked-data) | |
2371 | ("ghc-mono-traversable" ,ghc-mono-traversable))) | |
2372 | (native-inputs `(("ghc-hspec" ,ghc-hspec) | |
2373 | ("ghc-silently" ,ghc-silently) | |
2374 | ("ghc-safe" ,ghc-safe) | |
2375 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
2376 | (home-page "https://github.com/snoyberg/mono-traversable") | |
2377 | (synopsis "Commonly used conduit functions, for both chunked and | |
2378 | unchunked data") | |
2379 | (description "This Haskell package provides a replacement for Data.Conduit.List, | |
2380 | as well as a convenient Conduit module.") | |
2381 | (license license:expat))) | |
2382 | ||
2383 | (define-public ghc-conduit-extra | |
2384 | (package | |
2385 | (name "ghc-conduit-extra") | |
151774d9 | 2386 | (version "1.3.4") |
dddbc90c RV |
2387 | (source |
2388 | (origin | |
2389 | (method url-fetch) | |
2390 | (uri (string-append "https://hackage.haskell.org/package/" | |
2391 | "conduit-extra/conduit-extra-" | |
2392 | version ".tar.gz")) | |
2393 | (sha256 | |
2394 | (base32 | |
151774d9 | 2395 | "1d853d39vj5pb8yxfcsnjwdzqzkm34ixzbnba8bslpihb7182wxi")))) |
dddbc90c RV |
2396 | (build-system haskell-build-system) |
2397 | (inputs | |
2398 | `(("ghc-conduit" ,ghc-conduit) | |
2399 | ("ghc-exceptions" ,ghc-exceptions) | |
2400 | ("ghc-monad-control" ,ghc-monad-control) | |
2401 | ("ghc-transformers-base" ,ghc-transformers-base) | |
2402 | ("ghc-typed-process" ,ghc-typed-process) | |
2403 | ("ghc-async" ,ghc-async) | |
2404 | ("ghc-attoparsec" ,ghc-attoparsec) | |
2405 | ("ghc-blaze-builder" ,ghc-blaze-builder) | |
2406 | ("ghc-network" ,ghc-network) | |
2407 | ("ghc-primitive" ,ghc-primitive) | |
2408 | ("ghc-resourcet" ,ghc-resourcet) | |
2409 | ("ghc-streaming-commons" ,ghc-streaming-commons) | |
2410 | ("ghc-hspec" ,ghc-hspec) | |
2411 | ("ghc-bytestring-builder" ,ghc-bytestring-builder) | |
2412 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
2413 | (native-inputs | |
2414 | `(("hspec-discover" ,hspec-discover))) | |
2415 | (home-page "https://github.com/snoyberg/conduit") | |
2416 | (synopsis "Conduit adapters for common libraries") | |
2417 | (description | |
2418 | "The @code{conduit} package itself maintains relative small dependencies. | |
2419 | The purpose of this package is to collect commonly used utility functions | |
2420 | wrapping other library dependencies, without depending on heavier-weight | |
2421 | dependencies. The basic idea is that this package should only depend on | |
2422 | @code{haskell-platform} packages and @code{conduit}.") | |
2423 | (license license:expat))) | |
2424 | ||
b59c3518 TS |
2425 | (define-public ghc-conduit-zstd |
2426 | (package | |
2427 | (name "ghc-conduit-zstd") | |
2428 | (version "0.0.1.1") | |
2429 | (source | |
2430 | (origin | |
2431 | (method url-fetch) | |
2432 | (uri (string-append "https://hackage.haskell.org/package/" | |
2433 | "conduit-zstd/conduit-zstd-" version ".tar.gz")) | |
2434 | (sha256 | |
2435 | (base32 | |
2436 | "04h7w2903hgw4gjcx2pg29yinnmfapawvc19hd3r57rr12fzb0c6")))) | |
2437 | (build-system haskell-build-system) | |
2438 | (inputs | |
2439 | `(("ghc-conduit" ,ghc-conduit) | |
2440 | ("ghc-zstd" ,ghc-zstd))) | |
2441 | (native-inputs | |
2442 | `(("ghc-hunit" ,ghc-hunit) | |
2443 | ("ghc-conduit-combinators" ,ghc-conduit-combinators) | |
2444 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
2445 | ("ghc-test-framework" ,ghc-test-framework) | |
2446 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
2447 | ("ghc-test-framework-th" ,ghc-test-framework-th))) | |
2448 | (home-page "https://github.com/luispedro/conduit-zstd#readme") | |
2449 | (synopsis "Conduit-based ZStd Compression") | |
2450 | (description "Zstandard compression packaged as a conduit. This is | |
2451 | a very thin wrapper around the | |
2452 | @url{https://github.com/facebookexperimental/hs-zstd/, official hs-zstd | |
2453 | interface}.") | |
2454 | (license license:expat))) | |
2455 | ||
dddbc90c RV |
2456 | (define-public ghc-configurator |
2457 | (package | |
2458 | (name "ghc-configurator") | |
2459 | (version "0.3.0.0") | |
2460 | (source | |
2461 | (origin | |
2462 | (method url-fetch) | |
2463 | (uri (string-append "https://hackage.haskell.org/package/" | |
2464 | "configurator/configurator-" | |
2465 | version ".tar.gz")) | |
2466 | (sha256 | |
2467 | (base32 | |
2468 | "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf")))) | |
2469 | (build-system haskell-build-system) | |
2470 | (inputs | |
2471 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
2472 | ("ghc-hashable" ,ghc-hashable) | |
2473 | ("ghc-unix-compat" ,ghc-unix-compat) | |
2474 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
2475 | (native-inputs | |
2476 | `(("ghc-hunit" ,ghc-hunit) | |
2477 | ("ghc-test-framework" ,ghc-test-framework) | |
2478 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
702a1012 | 2479 | (home-page "https://github.com/bos/configurator") |
dddbc90c RV |
2480 | (synopsis "Configuration management") |
2481 | (description | |
2482 | "This package provides a configuration management library for programs | |
2483 | and daemons. The features include: | |
2484 | ||
2485 | @enumerate | |
2486 | @item Automatic, dynamic reloading in response to modifications to | |
2487 | configuration files. | |
2488 | @item A simple, but flexible, configuration language, supporting several of | |
2489 | the most commonly needed types of data, along with interpolation of strings | |
2490 | from the configuration or the system environment (e.g. @code{$(HOME)}). | |
2491 | @item Subscription-based notification of changes to configuration properties. | |
2492 | @item An @code{import} directive allows the configuration of a complex | |
2493 | application to be split across several smaller files, or common configuration | |
2494 | data to be shared across several applications. | |
2495 | @end enumerate\n") | |
2496 | (license license:bsd-3))) | |
2497 | ||
2498 | (define-public ghc-connection | |
2499 | (package | |
2500 | (name "ghc-connection") | |
6ee0d258 | 2501 | (version "0.3.1") |
dddbc90c RV |
2502 | (source (origin |
2503 | (method url-fetch) | |
2504 | (uri (string-append "https://hackage.haskell.org/package/" | |
2505 | "connection/connection-" | |
2506 | version ".tar.gz")) | |
2507 | (sha256 | |
2508 | (base32 | |
6ee0d258 | 2509 | "1nbmafhlg0wy4aa3p7amjddbamdz6avzrxn4py3lvhrjqn4raxax")))) |
dddbc90c RV |
2510 | (build-system haskell-build-system) |
2511 | (inputs | |
2512 | `(("ghc-byteable" ,ghc-byteable) | |
2513 | ("ghc-data-default-class" ,ghc-data-default-class) | |
2514 | ("ghc-network" ,ghc-network) | |
2515 | ("ghc-tls" ,ghc-tls) | |
2516 | ("ghc-socks" ,ghc-socks) | |
2517 | ("ghc-x509" ,ghc-x509) | |
2518 | ("ghc-x509-store" ,ghc-x509-store) | |
2519 | ("ghc-x509-system" ,ghc-x509-system) | |
2520 | ("ghc-x509-validation" ,ghc-x509-validation))) | |
2521 | (home-page "https://github.com/vincenthz/hs-connection") | |
2522 | (synopsis "Simple and easy network connections API") | |
2523 | (description | |
2524 | "This package provides a simple network library for all your connection | |
2525 | needs. It provides a very simple API to create sockets to a destination with | |
2526 | the choice of SSL/TLS, and SOCKS.") | |
2527 | (license license:bsd-3))) | |
2528 | ||
2529 | (define-public ghc-constraints | |
2530 | (package | |
2531 | (name "ghc-constraints") | |
2532 | (version "0.10.1") | |
2533 | (source | |
2534 | (origin | |
2535 | (method url-fetch) | |
2536 | (uri (string-append | |
2537 | "https://hackage.haskell.org/package/constraints/constraints-" | |
2538 | version ".tar.gz")) | |
2539 | (sha256 | |
2540 | (base32 | |
2541 | "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q")))) | |
2542 | (build-system haskell-build-system) | |
2543 | (inputs | |
2544 | `(("ghc-hashable" ,ghc-hashable) | |
2545 | ("ghc-semigroups" ,ghc-semigroups) | |
2546 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
2547 | (native-inputs | |
2548 | `(("ghc-hspec" ,ghc-hspec) | |
2549 | ("hspec-discover" ,hspec-discover))) | |
2550 | (home-page "https://github.com/ekmett/constraints/") | |
2551 | (synopsis "Constraint manipulation") | |
2552 | (description | |
2553 | "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}. | |
2554 | They stopped crashing the compiler in GHC 7.6. This package provides | |
2555 | a vocabulary for working with them.") | |
2556 | (license license:bsd-3))) | |
2557 | ||
2558 | (define-public ghc-contravariant | |
2559 | (package | |
2560 | (name "ghc-contravariant") | |
e7b35ff0 | 2561 | (version "1.5.2") |
dddbc90c RV |
2562 | (source |
2563 | (origin | |
2564 | (method url-fetch) | |
2565 | (uri (string-append | |
2566 | "https://hackage.haskell.org/package/contravariant/contravariant-" | |
2567 | version | |
2568 | ".tar.gz")) | |
2569 | (sha256 | |
2570 | (base32 | |
e7b35ff0 | 2571 | "0366gl62wwwdbl9i6kqy60asf60876k55v91la6bmhnwwcj2q9n4")))) |
dddbc90c RV |
2572 | (build-system haskell-build-system) |
2573 | (inputs | |
2574 | `(("ghc-void" ,ghc-void) | |
2575 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
2576 | ("ghc-statevar" ,ghc-statevar) | |
2577 | ("ghc-semigroups" ,ghc-semigroups))) | |
2578 | (home-page | |
2579 | "https://github.com/ekmett/contravariant/") | |
2580 | (synopsis "Contravariant functors") | |
2581 | (description "Contravariant functors for Haskell.") | |
2582 | (license license:bsd-3))) | |
2583 | ||
2584 | (define-public ghc-contravariant-extras | |
2585 | (package | |
2586 | (name "ghc-contravariant-extras") | |
2587 | (version "0.3.4") | |
2588 | (source | |
2589 | (origin | |
2590 | (method url-fetch) | |
2591 | (uri (string-append "https://hackage.haskell.org/package/" | |
2592 | "contravariant-extras-" version "/" | |
2593 | "contravariant-extras-" version ".tar.gz")) | |
2594 | (sha256 | |
2595 | (base32 | |
2596 | "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n")))) | |
2597 | (build-system haskell-build-system) | |
f3aca086 TS |
2598 | (arguments |
2599 | `(#:cabal-revision | |
2600 | ("1" "1h2955ahga6i4fn7k8v66l03v77p6fhsac6ck8gpabkc08ij60wp"))) | |
dddbc90c RV |
2601 | (inputs |
2602 | `(("ghc-tuple-th" ,ghc-tuple-th) | |
2603 | ("ghc-contravariant" ,ghc-contravariant) | |
2604 | ("ghc-base-prelude" ,ghc-base-prelude) | |
2605 | ("ghc-semigroups" ,ghc-semigroups))) | |
2606 | (home-page "https://github.com/nikita-volkov/contravariant-extras") | |
2607 | (synopsis "Extras for the @code{ghc-contravariant} Haskell package") | |
2608 | (description "This Haskell package provides extras for the | |
2609 | @code{ghc-contravariant} package.") | |
2610 | (license license:expat))) | |
2611 | ||
7f2a5650 CH |
2612 | (define-public ghc-control-monad-free |
2613 | (package | |
2614 | (name "ghc-control-monad-free") | |
2615 | (version "0.6.2") | |
2616 | (source | |
2617 | (origin | |
2618 | (method url-fetch) | |
2619 | (uri (string-append | |
2620 | "https://hackage.haskell.org/" | |
2621 | "package/control-monad-free/control-monad-free-" | |
2622 | version | |
2623 | ".tar.gz")) | |
2624 | (sha256 | |
2625 | (base32 | |
2626 | "1habgf7byffqf1rqjkzpihvdhclaafgqsqpfpwp3fgpj5ayk1j33")))) | |
2627 | (build-system haskell-build-system) | |
2628 | (home-page "https://github.com/pepeiborra/control-monad-free") | |
2629 | (synopsis "Free monads and monad transformers") | |
2630 | (description | |
2631 | "This package provides datatypes to construct Free monads, Free monad | |
2632 | transformers, and useful instances. In addition it provides the constructs to | |
2633 | avoid quadratic complexity of left associative bind, as explained in: | |
2634 | ||
2635 | @itemize @bullet | |
2636 | @item | |
2637 | Janis Voigtlander, @cite{Asymptotic Improvement of Computations over | |
2638 | Free Monads, MPC'08} | |
2639 | @end itemize") | |
2640 | (license license:public-domain))) | |
2641 | ||
dddbc90c RV |
2642 | (define-public ghc-convertible |
2643 | (package | |
2644 | (name "ghc-convertible") | |
2645 | (version "1.1.1.0") | |
2646 | (source | |
2647 | (origin | |
2648 | (method url-fetch) | |
2649 | (uri (string-append "https://hackage.haskell.org/package/convertible/" | |
2650 | "convertible-" version ".tar.gz")) | |
2651 | (sha256 | |
2652 | (base32 | |
2653 | "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9")))) | |
2654 | (build-system haskell-build-system) | |
2655 | (inputs | |
2656 | `(("ghc-old-time" ,ghc-old-time) | |
2657 | ("ghc-old-locale" ,ghc-old-locale))) | |
2658 | (home-page "https://hackage.haskell.org/package/convertible") | |
2659 | (synopsis "Typeclasses and instances for converting between types") | |
2660 | (description | |
2661 | "This package provides a typeclass with a single function that is | |
2662 | designed to help convert between different types: numeric values, dates and | |
2663 | times, and the like. The conversions perform bounds checking and return a | |
2664 | pure @code{Either} value. This means that you need not remember which specific | |
2665 | function performs the conversion you desire.") | |
2666 | (license license:bsd-3))) | |
2667 | ||
0ff9a717 CH |
2668 | (define-public ghc-csv |
2669 | (package | |
2670 | (name "ghc-csv") | |
2671 | (version "0.1.2") | |
2672 | (source | |
2673 | (origin | |
2674 | (method url-fetch) | |
2675 | (uri (string-append | |
2676 | "https://hackage.haskell.org/package/csv/csv-" | |
2677 | version | |
2678 | ".tar.gz")) | |
2679 | (sha256 | |
2680 | (base32 | |
2681 | "00767ai09wm7f0yzmpqck3cpgxncpr9djnmmz5l17ajz69139x4c")))) | |
2682 | (build-system haskell-build-system) | |
2683 | (home-page "http://hackage.haskell.org/package/csv") | |
2684 | (synopsis "CSV loader and dumper") | |
2685 | (description | |
2686 | "This library parses and dumps documents that are formatted according to | |
2687 | RFC 4180, @cite{The common Format and MIME Type for Comma-Separated | |
2688 | Values (CSV) Files}. This format is used, among many other things, as a | |
2689 | lingua franca for spreadsheets, and for certain web services.") | |
2690 | (license license:expat))) | |
2691 | ||
dddbc90c RV |
2692 | (define-public ghc-data-accessor |
2693 | (package | |
2694 | (name "ghc-data-accessor") | |
6dcca515 | 2695 | (version "0.2.2.8") |
dddbc90c RV |
2696 | (source |
2697 | (origin | |
2698 | (method url-fetch) | |
2699 | (uri (string-append | |
2700 | "mirror://hackage/package/data-accessor/data-accessor-" | |
2701 | version ".tar.gz")) | |
2702 | (sha256 | |
6dcca515 | 2703 | (base32 "1fq4gygxbz0bd0mzgvc1sl3m4gjnsv8nbgpnmdpa29zj5lb9agxc")))) |
dddbc90c | 2704 | (build-system haskell-build-system) |
228d2901 | 2705 | (home-page "https://wiki.haskell.org/Record_access") |
dddbc90c RV |
2706 | (synopsis |
2707 | "Haskell utilities for accessing and manipulating fields of records") | |
2708 | (description "This package provides Haskell modules for accessing and | |
2709 | manipulating fields of records.") | |
2710 | (license license:bsd-3))) | |
2711 | ||
2712 | (define-public ghc-data-accessor-transformers | |
2713 | (package | |
2714 | (name "ghc-data-accessor-transformers") | |
2715 | (version "0.2.1.7") | |
2716 | (source | |
2717 | (origin | |
2718 | (method url-fetch) | |
2719 | (uri (string-append | |
2720 | "mirror://hackage/package/data-accessor-transformers/" | |
2721 | "data-accessor-transformers-" version ".tar.gz")) | |
2722 | (sha256 | |
2723 | (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10")))) | |
2724 | (build-system haskell-build-system) | |
2725 | (inputs `(("ghc-data-accessor" ,ghc-data-accessor))) | |
228d2901 | 2726 | (home-page "https://wiki.haskell.org/Record_access") |
dddbc90c RV |
2727 | (synopsis "Use Accessor to access state in transformers State monad") |
2728 | (description "This package provides Haskell modules to allow use of | |
2729 | Accessor to access state in transformers State monad.") | |
2730 | (license license:bsd-3))) | |
2731 | ||
2732 | (define-public ghc-data-default | |
2733 | (package | |
2734 | (name "ghc-data-default") | |
2735 | (version "0.7.1.1") | |
2736 | (source | |
2737 | (origin | |
2738 | (method url-fetch) | |
2739 | (uri (string-append | |
2740 | "https://hackage.haskell.org/package/data-default/data-default-" | |
2741 | version | |
2742 | ".tar.gz")) | |
2743 | (sha256 | |
2744 | (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh")))) | |
2745 | (build-system haskell-build-system) | |
2746 | (inputs | |
2747 | `(("ghc-data-default-class" | |
2748 | ,ghc-data-default-class) | |
2749 | ("ghc-data-default-instances-base" | |
2750 | ,ghc-data-default-instances-base) | |
2751 | ("ghc-data-default-instances-containers" | |
2752 | ,ghc-data-default-instances-containers) | |
2753 | ("ghc-data-default-instances-dlist" | |
2754 | ,ghc-data-default-instances-dlist) | |
2755 | ("ghc-data-default-instances-old-locale" | |
2756 | ,ghc-data-default-instances-old-locale))) | |
2757 | (home-page "https://hackage.haskell.org/package/data-default") | |
2758 | (synopsis "Types with default values") | |
2759 | (description | |
2760 | "This package defines a class for types with a default value, and | |
2761 | provides instances for types from the base, containers, dlist and old-locale | |
2762 | packages.") | |
2763 | (license license:bsd-3))) | |
2764 | ||
2765 | (define-public ghc-data-default-class | |
2766 | (package | |
2767 | (name "ghc-data-default-class") | |
2768 | (version "0.1.2.0") | |
2769 | (source | |
2770 | (origin | |
2771 | (method url-fetch) | |
2772 | (uri (string-append | |
2773 | "https://hackage.haskell.org/package/data-default-class/" | |
2774 | "data-default-class-" version ".tar.gz")) | |
2775 | (sha256 | |
2776 | (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag")))) | |
2777 | (build-system haskell-build-system) | |
2778 | (home-page "https://hackage.haskell.org/package/data-default-class") | |
2779 | (synopsis "Types with default values") | |
2780 | (description | |
2781 | "This package defines a class for types with default values.") | |
2782 | (license license:bsd-3))) | |
2783 | ||
2784 | (define-public ghc-data-default-instances-base | |
2785 | (package | |
2786 | (name "ghc-data-default-instances-base") | |
2787 | (version "0.1.0.1") | |
2788 | (source | |
2789 | (origin | |
2790 | (method url-fetch) | |
2791 | (uri (string-append | |
2792 | "https://hackage.haskell.org/package/" | |
2793 | "data-default-instances-base/" | |
2794 | "data-default-instances-base-" version ".tar.gz")) | |
2795 | (sha256 | |
2796 | (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4")))) | |
2797 | (build-system haskell-build-system) | |
2798 | (inputs | |
2799 | `(("ghc-data-default-class" ,ghc-data-default-class))) | |
2800 | (home-page "https://hackage.haskell.org/package/data-default-instances-base") | |
2801 | (synopsis "Default instances for types in base") | |
2802 | (description | |
2803 | "This package provides default instances for types from the base | |
2804 | package.") | |
2805 | (license license:bsd-3))) | |
2806 | ||
2807 | (define-public ghc-data-default-instances-containers | |
2808 | (package | |
2809 | (name "ghc-data-default-instances-containers") | |
2810 | (version "0.0.1") | |
2811 | (source | |
2812 | (origin | |
2813 | (method url-fetch) | |
2814 | (uri (string-append | |
2815 | "https://hackage.haskell.org/package/" | |
2816 | "data-default-instances-containers/" | |
2817 | "data-default-instances-containers-" version ".tar.gz")) | |
2818 | (sha256 | |
2819 | (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5")))) | |
2820 | (build-system haskell-build-system) | |
2821 | (inputs | |
2822 | `(("ghc-data-default-class" ,ghc-data-default-class))) | |
2823 | (home-page "https://hackage.haskell.org/package/data-default-instances-containers") | |
2824 | (synopsis "Default instances for types in containers") | |
2825 | (description "Provides default instances for types from the containers | |
2826 | package.") | |
2827 | (license license:bsd-3))) | |
2828 | ||
2829 | (define-public ghc-data-default-instances-dlist | |
2830 | (package | |
2831 | (name "ghc-data-default-instances-dlist") | |
2832 | (version "0.0.1") | |
2833 | (source | |
2834 | (origin | |
2835 | (method url-fetch) | |
2836 | (uri (string-append | |
2837 | "https://hackage.haskell.org/package/" | |
2838 | "data-default-instances-dlist/" | |
2839 | "data-default-instances-dlist-" version ".tar.gz")) | |
2840 | (sha256 | |
2841 | (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x")))) | |
2842 | (build-system haskell-build-system) | |
2843 | (inputs | |
2844 | `(("ghc-data-default-class" ,ghc-data-default-class) | |
2845 | ("ghc-dlist" ,ghc-dlist))) | |
2846 | (home-page "https://hackage.haskell.org/package/data-default-instances-dlist") | |
2847 | (synopsis "Default instances for types in dlist") | |
2848 | (description "Provides default instances for types from the dlist | |
2849 | package.") | |
2850 | (license license:bsd-3))) | |
2851 | ||
2852 | (define-public ghc-data-default-instances-old-locale | |
2853 | (package | |
2854 | (name "ghc-data-default-instances-old-locale") | |
2855 | (version "0.0.1") | |
2856 | (source | |
2857 | (origin | |
2858 | (method url-fetch) | |
2859 | (uri (string-append | |
2860 | "https://hackage.haskell.org/package/" | |
2861 | "data-default-instances-old-locale/" | |
2862 | "data-default-instances-old-locale-" version ".tar.gz")) | |
2863 | (sha256 | |
2864 | (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0")))) | |
2865 | (build-system haskell-build-system) | |
2866 | (inputs | |
2867 | `(("ghc-data-default-class" ,ghc-data-default-class) | |
2868 | ("ghc-old-locale" ,ghc-old-locale))) | |
2869 | (home-page | |
2870 | "https://hackage.haskell.org/package/data-default-instances-old-locale") | |
2871 | (synopsis "Default instances for types in old-locale") | |
2872 | (description "Provides Default instances for types from the old-locale | |
2873 | package.") | |
2874 | (license license:bsd-3))) | |
2875 | ||
82c36002 JS |
2876 | (define-public ghc-data-fix |
2877 | (package | |
2878 | (name "ghc-data-fix") | |
2879 | (version "0.2.0") | |
2880 | (source | |
2881 | (origin | |
2882 | (method url-fetch) | |
2883 | (uri (string-append | |
2884 | "mirror://hackage/package/data-fix/" | |
2885 | "data-fix-" version ".tar.gz")) | |
2886 | (sha256 | |
2887 | (base32 "14hk6hq5hdb3l5bhmzhw086jpzlvp9qbw9dzw30wlz5jbh2ihmvy")))) | |
2888 | (build-system haskell-build-system) | |
2889 | (home-page "https://github.com/spell-music/data-fix") | |
2890 | (synopsis "Fixpoint data types") | |
2891 | (description | |
2892 | "Fixpoint types and recursion schemes. If you define your AST as | |
2893 | fixpoint type, you get fold and unfold operations for free. | |
2894 | ||
2895 | Thanks for contribution to: Matej Kollar, Herbert Valerio Riedel") | |
2896 | (license license:bsd-3))) | |
2897 | ||
dddbc90c RV |
2898 | (define-public ghc-data-hash |
2899 | (package | |
2900 | (name "ghc-data-hash") | |
2901 | (version "0.2.0.1") | |
2902 | (source | |
2903 | (origin | |
2904 | (method url-fetch) | |
2905 | (uri (string-append "https://hackage.haskell.org/package/data-hash" | |
2906 | "/data-hash-" version ".tar.gz")) | |
2907 | (sha256 | |
2908 | (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi")))) | |
2909 | (build-system haskell-build-system) | |
2910 | (inputs | |
2911 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
2912 | ("ghc-test-framework" ,ghc-test-framework) | |
2913 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
2914 | (home-page "https://hackage.haskell.org/package/data-hash") | |
2915 | (synopsis "Combinators for building fast hashing functions") | |
2916 | (description | |
2917 | "This package provides combinators for building fast hashing functions. | |
2918 | It includes hashing functions for all basic Haskell98 types.") | |
2919 | (license license:bsd-3))) | |
2920 | ||
2921 | (define-public ghc-data-ordlist | |
2922 | (package | |
2923 | (name "ghc-data-ordlist") | |
2924 | (version "0.4.7.0") | |
2925 | (source | |
2926 | (origin | |
2927 | (method url-fetch) | |
2928 | (uri (string-append | |
2929 | "https://hackage.haskell.org/package/data-ordlist/data-ordlist-" | |
2930 | version ".tar.gz")) | |
2931 | (sha256 | |
2932 | (base32 | |
2933 | "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g")))) | |
2934 | (build-system haskell-build-system) | |
2935 | (home-page "https://hackage.haskell.org/package/data-ordlist") | |
2936 | (synopsis "Set and bag operations on ordered lists") | |
2937 | (description | |
2938 | "This module provides set and multiset operations on ordered lists.") | |
2939 | (license license:bsd-3))) | |
2940 | ||
d05f32d6 JS |
2941 | (define-public ghc-dbus |
2942 | (package | |
2943 | (name "ghc-dbus") | |
2944 | (version "1.2.7") | |
2945 | (source | |
2946 | (origin | |
2947 | (method url-fetch) | |
2948 | (uri | |
2949 | (string-append | |
2950 | "mirror://hackage/package/dbus/dbus-" | |
2951 | version ".tar.gz")) | |
2952 | (sha256 | |
2953 | (base32 | |
2954 | "0ypkjlw9fn65g7p28kb3p82glk7qs7p7vyffccw7qxa3z57s12w5")))) | |
2955 | (build-system haskell-build-system) | |
2956 | (inputs | |
2957 | `(("ghc-cereal" ,ghc-cereal) | |
2958 | ("ghc-conduit" ,ghc-conduit) | |
2959 | ("ghc-exceptions" ,ghc-exceptions) | |
2960 | ("ghc-lens" ,ghc-lens) | |
2961 | ("ghc-network" ,ghc-network) | |
2962 | ("ghc-random" ,ghc-random) | |
2963 | ("ghc-split" ,ghc-split) | |
2964 | ("ghc-th-lift" ,ghc-th-lift) | |
2965 | ("ghc-vector" ,ghc-vector) | |
2966 | ("ghc-xml-conduit" ,ghc-xml-conduit) | |
2967 | ("ghc-xml-types" ,ghc-xml-types))) | |
2968 | (native-inputs | |
2969 | `(("ghc-extra" ,ghc-extra) | |
2970 | ("ghc-quickcheck" ,ghc-quickcheck) | |
2971 | ("ghc-resourcet" ,ghc-resourcet) | |
2972 | ("ghc-tasty" ,ghc-tasty) | |
2973 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
2974 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
2975 | ;; FIXME - Some tests try to talk to network. | |
2976 | (arguments `(#:tests? #f)) | |
2977 | (home-page "https://github.com/rblaze/haskell-dbus") | |
2978 | (synopsis "Client library for the D-Bus IPC system") | |
2979 | (description | |
2980 | "D-Bus is a simple, message-based protocol for inter-process | |
2981 | communication, which allows applications to interact with other parts | |
2982 | of the machine and the user's session using remote procedure | |
2983 | calls. D-Bus is a essential part of the modern Linux desktop, where | |
2984 | it replaces earlier protocols such as CORBA and DCOP. This library | |
2985 | is an implementation of the D-Bus protocol in Haskell. It can be used | |
2986 | to add D-Bus support to Haskell applications, without the awkward | |
2987 | interfaces common to foreign bindings.") | |
2988 | (license license:asl2.0))) | |
2989 | ||
9b3b327a CH |
2990 | (define-public ghc-decimal |
2991 | (package | |
2992 | (name "ghc-decimal") | |
2993 | (version "0.5.1") | |
2994 | (source | |
2995 | (origin | |
2996 | (method url-fetch) | |
2997 | (uri (string-append | |
2998 | "https://hackage.haskell.org/package/Decimal/Decimal-" | |
2999 | version | |
3000 | ".tar.gz")) | |
3001 | (sha256 | |
3002 | (base32 | |
3003 | "0k7kh05mr2f54w1lpgq1nln0h8k6s6h99dyp5jzsb9cfbb3aap2p")))) | |
3004 | (build-system haskell-build-system) | |
3005 | (native-inputs | |
3006 | `(("ghc-hunit" ,ghc-hunit) | |
3007 | ("ghc-quickcheck" ,ghc-quickcheck) | |
3008 | ("ghc-test-framework" ,ghc-test-framework) | |
3009 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
3010 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
3011 | (home-page "https://github.com/PaulJohnson/Haskell-Decimal") | |
3012 | (synopsis "Decimal numbers with variable precision") | |
3013 | (description | |
3014 | "A decimal number has an integer mantissa and a negative exponent. | |
3015 | The exponent can be interpreted as the number of decimal places in the | |
3016 | value.") | |
3017 | (license license:bsd-3))) | |
3018 | ||
dddbc90c RV |
3019 | (define-public ghc-deepseq-generics |
3020 | (package | |
3021 | (name "ghc-deepseq-generics") | |
3022 | (version "0.2.0.0") | |
3023 | (source (origin | |
3024 | (method url-fetch) | |
3025 | (uri (string-append "https://hackage.haskell.org/package/" | |
3026 | "deepseq-generics/deepseq-generics-" | |
3027 | version ".tar.gz")) | |
3028 | (sha256 | |
3029 | (base32 | |
3030 | "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh")))) | |
3031 | (build-system haskell-build-system) | |
3032 | (arguments | |
3033 | `(#:cabal-revision | |
490ceae4 | 3034 | ("4" "0928s2qnbqsjzrm94x88rvmvbigfmhcyp4m73gw6asinp2qg1kii"))) |
dddbc90c RV |
3035 | (native-inputs |
3036 | `(("ghc-hunit" ,ghc-hunit) | |
3037 | ("ghc-test-framework" ,ghc-test-framework) | |
3038 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
3039 | (home-page "https://github.com/hvr/deepseq-generics") | |
3040 | (synopsis "Generic RNF implementation") | |
3041 | (description | |
3042 | "This package provides a @code{GHC.Generics}-based | |
3043 | @code{Control.DeepSeq.Generics.genericRnf} function which can be used for | |
3044 | providing an @code{rnf} implementation.") | |
3045 | (license license:bsd-3))) | |
3046 | ||
e924e17e TS |
3047 | (define-public ghc-dense-linear-algebra |
3048 | (package | |
3049 | (name "ghc-dense-linear-algebra") | |
3050 | (version "0.1.0.0") | |
3051 | (source | |
3052 | (origin | |
3053 | (method url-fetch) | |
3054 | (uri (string-append "https://hackage.haskell.org/package/" | |
3055 | "dense-linear-algebra/dense-linear-algebra-" | |
3056 | version ".tar.gz")) | |
3057 | (sha256 | |
3058 | (base32 | |
3059 | "1m7jjxahqxj7ilic3r9806mwp5rnnsmn8vvipkmk40xl65wplxzp")))) | |
3060 | (build-system haskell-build-system) | |
3061 | (inputs | |
3062 | `(("ghc-math-functions" ,ghc-math-functions) | |
3063 | ("ghc-primitive" ,ghc-primitive) | |
3064 | ("ghc-vector" ,ghc-vector) | |
3065 | ("ghc-vector-algorithms" ,ghc-vector-algorithms) | |
3066 | ("ghc-vector-th-unbox" ,ghc-vector-th-unbox) | |
3067 | ("ghc-vector-binary-instances" ,ghc-vector-binary-instances))) | |
3068 | (native-inputs | |
3069 | `(("ghc-hspec" ,ghc-hspec) | |
3070 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
50153437 | 3071 | (home-page "https://hackage.haskell.org/package/dense-linear-algebra") |
e924e17e TS |
3072 | (synopsis "Simple and incomplete implementation of linear algebra") |
3073 | (description "This library is simply a collection of linear-algebra | |
3074 | related modules split from the statistics library.") | |
3075 | (license license:bsd-2))) | |
3076 | ||
dddbc90c RV |
3077 | (define-public ghc-descriptive |
3078 | (package | |
3079 | (name "ghc-descriptive") | |
3080 | (version "0.9.5") | |
3081 | (source | |
3082 | (origin | |
3083 | (method url-fetch) | |
3084 | (uri (string-append | |
3085 | "https://hackage.haskell.org/package/descriptive/descriptive-" | |
3086 | version | |
3087 | ".tar.gz")) | |
3088 | (sha256 | |
3089 | (base32 | |
3090 | "0y5693zm2kvqjilybbmrcv1g6n6x2p6zjgi0k0axjw1sdhh1g237")))) | |
3091 | (build-system haskell-build-system) | |
3092 | (inputs | |
3093 | `(("ghc-aeson" ,ghc-aeson) | |
3094 | ("ghc-bifunctors" ,ghc-bifunctors) | |
3095 | ("ghc-scientific" ,ghc-scientific) | |
3096 | ("ghc-vector" ,ghc-vector))) | |
3097 | (native-inputs | |
3098 | `(("ghc-hunit" ,ghc-hunit) | |
3099 | ("ghc-hspec" ,ghc-hspec))) | |
3100 | (home-page | |
3101 | "https://github.com/chrisdone/descriptive") | |
3102 | (synopsis | |
3103 | "Self-describing consumers/parsers: forms, cmd-line args, JSON, etc.") | |
3104 | (description | |
3105 | "This package provides datatypes and functions for creating consumers | |
3106 | and parsers with useful semantics.") | |
3107 | (license license:bsd-3))) | |
3108 | ||
1859c94a TS |
3109 | (define-public ghc-diagrams-core |
3110 | (package | |
3111 | (name "ghc-diagrams-core") | |
3112 | (version "1.4.2") | |
3113 | (source | |
3114 | (origin | |
3115 | (method url-fetch) | |
3116 | (uri (string-append "https://hackage.haskell.org/package/" | |
3117 | "diagrams-core/diagrams-core-" version ".tar.gz")) | |
3118 | (sha256 | |
3119 | (base32 | |
3120 | "0qgb43vy23g4fxh3nmxfq6jyp34imqvkhgflaa6rz0iq6d60gl43")))) | |
3121 | (build-system haskell-build-system) | |
3122 | (inputs | |
3123 | `(("ghc-unordered-containers" ,ghc-unordered-containers) | |
3124 | ("ghc-semigroups" ,ghc-semigroups) | |
3125 | ("ghc-monoid-extras" ,ghc-monoid-extras) | |
3126 | ("ghc-dual-tree" ,ghc-dual-tree) | |
3127 | ("ghc-lens" ,ghc-lens) | |
3128 | ("ghc-linear" ,ghc-linear) | |
3129 | ("ghc-adjunctions" ,ghc-adjunctions) | |
3130 | ("ghc-distributive" ,ghc-distributive) | |
3131 | ("ghc-profunctors" ,ghc-profunctors))) | |
3132 | (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/") | |
3133 | (synopsis "Core libraries for diagrams embedded domain-specific language") | |
3134 | (description "This package provides the core modules underlying | |
3135 | diagrams, an embedded domain-specific language for compositional, | |
3136 | declarative drawing.") | |
3137 | (license license:bsd-3))) | |
3138 | ||
f9f1a630 TS |
3139 | (define-public ghc-diagrams-lib |
3140 | (package | |
3141 | (name "ghc-diagrams-lib") | |
3142 | (version "1.4.2.3") | |
3143 | (source | |
3144 | (origin | |
3145 | (method url-fetch) | |
3146 | (uri (string-append "https://hackage.haskell.org/package/" | |
3147 | "diagrams-lib/diagrams-lib-" version ".tar.gz")) | |
3148 | (sha256 | |
3149 | (base32 | |
3150 | "175yzi5kw4yd8ykdkpf64q85c7j3p89l90m3h6qcsx9ipv6av9r5")))) | |
3151 | (build-system haskell-build-system) | |
3152 | (inputs | |
3153 | `(("ghc-semigroups" ,ghc-semigroups) | |
3154 | ("ghc-monoid-extras" ,ghc-monoid-extras) | |
3155 | ("ghc-dual-tree" ,ghc-dual-tree) | |
3156 | ("ghc-diagrams-core" ,ghc-diagrams-core) | |
3157 | ("ghc-diagrams-solve" ,ghc-diagrams-solve) | |
3158 | ("ghc-active" ,ghc-active) | |
3159 | ("ghc-colour" ,ghc-colour) | |
3160 | ("ghc-data-default-class" ,ghc-data-default-class) | |
3161 | ("ghc-fingertree" ,ghc-fingertree) | |
3162 | ("ghc-intervals" ,ghc-intervals) | |
3163 | ("ghc-lens" ,ghc-lens) | |
3164 | ("ghc-tagged" ,ghc-tagged) | |
3165 | ("ghc-optparse-applicative" ,ghc-optparse-applicative) | |
3166 | ("ghc-juicypixels" ,ghc-juicypixels) | |
3167 | ("ghc-hashable" ,ghc-hashable) | |
3168 | ("ghc-linear" ,ghc-linear) | |
3169 | ("ghc-adjunctions" ,ghc-adjunctions) | |
3170 | ("ghc-distributive" ,ghc-distributive) | |
3171 | ("ghc-fsnotify" ,ghc-fsnotify) | |
3172 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
3173 | ("ghc-profunctors" ,ghc-profunctors) | |
3174 | ("ghc-exceptions" ,ghc-exceptions) | |
3175 | ("ghc-cereal" ,ghc-cereal))) | |
3176 | (native-inputs | |
3177 | `(("ghc-tasty" ,ghc-tasty) | |
3178 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
3179 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
3180 | ("ghc-numeric-extras" ,ghc-numeric-extras))) | |
3181 | (arguments | |
3182 | `(#:cabal-revision | |
3183 | ("3" "157y2qdsh0aczs81vzlm377mks976mpv6y3aqnchwsnr7apzp8ai"))) | |
3184 | (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/") | |
3185 | (synopsis "Embedded domain-specific language for declarative graphics") | |
3186 | (description "Diagrams is a flexible, extensible embedded | |
3187 | domain-specific language (EDSL) for creating graphics of many types. | |
3188 | Graphics can be created in arbitrary vector spaces and rendered with | |
3189 | multiple backends. This package provides a standard library of | |
3190 | primitives and operations for creating diagrams.") | |
3191 | (license license:bsd-3))) | |
3192 | ||
fd33ffa0 TS |
3193 | (define-public ghc-diagrams-solve |
3194 | (package | |
3195 | (name "ghc-diagrams-solve") | |
3196 | (version "0.1.1") | |
3197 | (source | |
3198 | (origin | |
3199 | (method url-fetch) | |
3200 | (uri (string-append "https://hackage.haskell.org/package/" | |
3201 | "diagrams-solve/diagrams-solve-" | |
3202 | version ".tar.gz")) | |
3203 | (sha256 | |
3204 | (base32 | |
3205 | "17agchqkmj14b17sw50kzxq4hm056g5d8yy0wnqn5w8h1d0my7x4")))) | |
3206 | (build-system haskell-build-system) | |
3207 | (native-inputs | |
3208 | `(("ghc-tasty" ,ghc-tasty) | |
3209 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
3210 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
3211 | (arguments | |
3212 | `(#:cabal-revision | |
3213 | ("5" "1yl8cs05fzqcz49p601am1ij66m9pa70yamhfxgcvya2pf8nimlf"))) | |
3214 | (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/") | |
3215 | (synopsis "Pure Haskell solver routines used by diagrams") | |
3216 | (description "This library provides Pure Haskell solver routines for | |
3217 | use by the | |
3218 | @url{https://archives.haskell.org/projects.haskell.org/diagrams/, | |
3219 | diagrams framework}. It currently includes routines for finding real | |
3220 | roots of low-degree (@math{n < 5}) polynomials, and solving tridiagonal | |
3221 | and cyclic tridiagonal linear systems.") | |
3222 | (license license:bsd-3))) | |
3223 | ||
74be1cb7 TS |
3224 | (define-public ghc-diagrams-svg |
3225 | (package | |
3226 | (name "ghc-diagrams-svg") | |
3227 | (version "1.4.2") | |
3228 | (source | |
3229 | (origin | |
3230 | (method url-fetch) | |
3231 | (uri (string-append "https://hackage.haskell.org/package/" | |
3232 | "diagrams-svg/diagrams-svg-" version ".tar.gz")) | |
3233 | (sha256 | |
3234 | (base32 | |
3235 | "1lnyxx45yawqas7hmvvannwaa3ycf1l9g40lsl2m8sl2ja6vcmal")))) | |
3236 | (build-system haskell-build-system) | |
3237 | (inputs | |
3238 | `(("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
3239 | ("ghc-colour" ,ghc-colour) | |
3240 | ("ghc-diagrams-core" ,ghc-diagrams-core) | |
3241 | ("ghc-diagrams-lib" ,ghc-diagrams-lib) | |
3242 | ("ghc-monoid-extras" ,ghc-monoid-extras) | |
3243 | ("ghc-svg-builder" ,ghc-svg-builder) | |
3244 | ("ghc-juicypixels" ,ghc-juicypixels) | |
3245 | ("ghc-split" ,ghc-split) | |
3246 | ("ghc-lens" ,ghc-lens) | |
3247 | ("ghc-hashable" ,ghc-hashable) | |
3248 | ("ghc-optparse-applicative" ,ghc-optparse-applicative) | |
3249 | ("ghc-semigroups" ,ghc-semigroups))) | |
3250 | (arguments | |
3251 | `(#:cabal-revision | |
3252 | ("2" "15sn85xaachw4cj56w61bjcwrbf4qmnkfl8mbgdapxi5k0y4f2qv"))) | |
3253 | (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/") | |
3254 | (synopsis "Scalable Vector Grpahics backend for the diagrams framework") | |
3255 | (description "This package provides a modular backend for rendering | |
3256 | diagrams created with the diagrams embedded domain-specific | |
3257 | language (EDSL) to Scalable Vector Graphics (SVG) files.") | |
3258 | (license license:bsd-3))) | |
3259 | ||
4eb9a167 TS |
3260 | (define-public ghc-dictionary-sharing |
3261 | (package | |
3262 | (name "ghc-dictionary-sharing") | |
3263 | (version "0.1.0.0") | |
3264 | (source | |
3265 | (origin | |
3266 | (method url-fetch) | |
3267 | (uri (string-append "https://hackage.haskell.org/package/" | |
3268 | "dictionary-sharing/dictionary-sharing-" | |
3269 | version ".tar.gz")) | |
3270 | (sha256 | |
3271 | (base32 | |
3272 | "00aspv943qdqhlk39mbk00kb1dsa5r0caj8sslrn81fnsn252fwc")))) | |
3273 | (build-system haskell-build-system) | |
3274 | (arguments | |
3275 | `(#:cabal-revision | |
3276 | ("3" "1mn7jcc7h3b8f1pn9zigqp6mc2n0qb66lms5qnrx4zswdv5w9439"))) | |
3277 | (home-page "https://hackage.haskell.org/package/dictionary-sharing") | |
3278 | (synopsis "Sharing/memoization of class members") | |
3279 | (description "This library provides tools for ensuring that class | |
3280 | members are shared.") | |
3281 | (license license:bsd-3))) | |
3282 | ||
dddbc90c RV |
3283 | (define-public ghc-diff |
3284 | (package | |
3285 | (name "ghc-diff") | |
3286 | (version "0.3.4") | |
3287 | (source (origin | |
3288 | (method url-fetch) | |
3289 | (uri (string-append "https://hackage.haskell.org/package/" | |
3290 | "Diff/Diff-" version ".tar.gz")) | |
a531ff94 | 3291 | (patches (search-patches "ghc-diff-swap-cover-args.patch")) |
dddbc90c RV |
3292 | (sha256 |
3293 | (base32 | |
3294 | "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp")))) | |
3295 | (build-system haskell-build-system) | |
3296 | (native-inputs | |
3297 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
3298 | ("ghc-test-framework" ,ghc-test-framework) | |
3299 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
3300 | (home-page "https://hub.darcs.net/sterlingclover/Diff") | |
3301 | (synopsis "O(ND) diff algorithm in Haskell") | |
3302 | (description | |
3303 | "This package provides an implementation of the standard diff algorithm, | |
3304 | and utilities for pretty printing.") | |
3305 | (license license:bsd-3))) | |
3306 | ||
3307 | (define-public ghc-disk-free-space | |
3308 | (package | |
3309 | (name "ghc-disk-free-space") | |
3310 | (version "0.1.0.1") | |
3311 | (source | |
3312 | (origin | |
3313 | (method url-fetch) | |
3314 | (uri (string-append "https://hackage.haskell.org/package/" | |
3315 | "disk-free-space/disk-free-space-" | |
3316 | version ".tar.gz")) | |
3317 | (sha256 | |
3318 | (base32 | |
3319 | "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi")))) | |
3320 | (build-system haskell-build-system) | |
3321 | (home-page "https://github.com/redneb/disk-free-space") | |
3322 | (synopsis "Retrieve information about disk space usage") | |
3323 | (description "A cross-platform library for retrieving information about | |
3324 | disk space usage.") | |
3325 | (license license:bsd-3))) | |
3326 | ||
3327 | (define-public ghc-distributive | |
3328 | (package | |
3329 | (name "ghc-distributive") | |
78215a14 | 3330 | (version "0.6.2") |
dddbc90c RV |
3331 | (source |
3332 | (origin | |
3333 | (method url-fetch) | |
3334 | (uri (string-append | |
3335 | "https://hackage.haskell.org/package/distributive/distributive-" | |
3336 | version | |
3337 | ".tar.gz")) | |
3338 | (sha256 | |
3339 | (base32 | |
78215a14 | 3340 | "1j93zkfffm6s16kgr0j0z87y5ds28rw0r2gyc5ncwcylvrqy4kl2")))) |
dddbc90c | 3341 | (build-system haskell-build-system) |
dddbc90c RV |
3342 | (inputs |
3343 | `(("ghc-tagged" ,ghc-tagged) | |
3344 | ("ghc-base-orphans" ,ghc-base-orphans) | |
3345 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
3346 | ("ghc-semigroups" ,ghc-semigroups) | |
3347 | ("ghc-generic-deriving" ,ghc-generic-deriving))) | |
3348 | (native-inputs | |
3349 | `(("cabal-doctest" ,cabal-doctest) | |
3350 | ("ghc-doctest" ,ghc-doctest) | |
3351 | ("ghc-hspec" ,ghc-hspec) | |
3352 | ("hspec-discover" ,hspec-discover))) | |
3353 | (home-page "https://github.com/ekmett/distributive/") | |
3354 | (synopsis "Distributive functors for Haskell") | |
3355 | (description "This package provides distributive functors for Haskell. | |
3356 | Dual to @code{Traversable}.") | |
3357 | (license license:bsd-3))) | |
3358 | ||
3359 | (define-public ghc-dlist | |
3360 | (package | |
3361 | (name "ghc-dlist") | |
197ddf33 | 3362 | (version "0.8.0.7") |
dddbc90c RV |
3363 | (source |
3364 | (origin | |
3365 | (method url-fetch) | |
3366 | (uri (string-append | |
3367 | "https://hackage.haskell.org/package/dlist/dlist-" | |
3368 | version | |
3369 | ".tar.gz")) | |
3370 | (sha256 | |
197ddf33 | 3371 | (base32 "0b5spkzvj2kx8pk86xz0djkxs13j7dryf5fl16dk4mlp1wh6mh53")))) |
dddbc90c RV |
3372 | (build-system haskell-build-system) |
3373 | (inputs | |
3374 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
3375 | (home-page "https://github.com/spl/dlist") | |
3376 | (synopsis "Difference lists") | |
3377 | (description | |
3378 | "Difference lists are a list-like type supporting O(1) append. This is | |
3379 | particularly useful for efficient logging and pretty printing (e.g. with the | |
3380 | Writer monad), where list append quickly becomes too expensive.") | |
3381 | (license license:bsd-3))) | |
3382 | ||
3383 | (define-public ghc-doctemplates | |
3384 | (package | |
3385 | (name "ghc-doctemplates") | |
3386 | (version "0.2.2.1") | |
3387 | (source | |
3388 | (origin | |
3389 | (method url-fetch) | |
3390 | (uri (string-append "https://hackage.haskell.org/package/" | |
3391 | "doctemplates/doctemplates-" | |
3392 | version ".tar.gz")) | |
3393 | (sha256 | |
3394 | (base32 | |
3395 | "1gyckfg3kgvzhxw14i7iwrw0crygvsp86sy53bbr1yn7bxbgn33b")))) | |
3396 | (build-system haskell-build-system) | |
3397 | (inputs | |
3398 | `(("ghc-aeson" ,ghc-aeson) | |
3399 | ("ghc-blaze-markup" ,ghc-blaze-markup) | |
3400 | ("ghc-blaze-html" ,ghc-blaze-html) | |
3401 | ("ghc-vector" ,ghc-vector) | |
3402 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
3403 | ("ghc-scientific" ,ghc-scientific))) | |
3404 | (native-inputs | |
3405 | `(("ghc-hspec" ,ghc-hspec))) | |
3406 | (home-page "https://github.com/jgm/doctemplates#readme") | |
3407 | (synopsis "Pandoc-style document templates") | |
3408 | (description | |
3409 | "This package provides a simple text templating system used by pandoc.") | |
3410 | (license license:bsd-3))) | |
3411 | ||
3412 | (define-public ghc-doctest | |
3413 | (package | |
3414 | (name "ghc-doctest") | |
232eab1d | 3415 | (version "0.16.3") |
dddbc90c RV |
3416 | (source |
3417 | (origin | |
3418 | (method url-fetch) | |
3419 | (uri (string-append | |
3420 | "https://hackage.haskell.org/package/doctest/doctest-" | |
3421 | version | |
3422 | ".tar.gz")) | |
3423 | (sha256 | |
3424 | (base32 | |
232eab1d | 3425 | "1y1l7aa80qkib1z8lsizgg7fpfdmdwhxvi5m255a42jdkjgn5sfg")))) |
dddbc90c RV |
3426 | (build-system haskell-build-system) |
3427 | (arguments `(#:tests? #f)) ; FIXME: missing test framework | |
3428 | (inputs | |
232eab1d | 3429 | `(("ghc-base-compat" ,ghc-base-compat) |
dddbc90c | 3430 | ("ghc-code-page" ,ghc-code-page) |
232eab1d CH |
3431 | ("ghc-paths" ,ghc-paths) |
3432 | ("ghc-syb" ,ghc-syb))) | |
3433 | (native-inputs | |
3434 | `(("ghc-hunit" ,ghc-hunit) | |
dddbc90c | 3435 | ("ghc-quickcheck" ,ghc-quickcheck) |
232eab1d CH |
3436 | ("ghc-hspec" ,ghc-hspec) |
3437 | ("ghc-hspec-core" ,ghc-hspec-core) | |
3438 | ("ghc-mockery" ,ghc-mockery) | |
3439 | ("ghc-setenv" ,ghc-setenv) | |
dddbc90c | 3440 | ("ghc-silently" ,ghc-silently) |
232eab1d | 3441 | ("ghc-stringbuilder" ,ghc-stringbuilder))) |
dddbc90c RV |
3442 | (home-page |
3443 | "https://github.com/sol/doctest#readme") | |
3444 | (synopsis "Test interactive Haskell examples") | |
3445 | (description "The doctest program checks examples in source code comments. | |
3446 | It is modeled after doctest for Python, see | |
3447 | @uref{https://docs.python.org/library/doctest.html, the Doctest website}.") | |
3448 | (license license:expat))) | |
3449 | ||
2b2c8911 JS |
3450 | (define-public ghc-dotgen |
3451 | (package | |
3452 | (name "ghc-dotgen") | |
3453 | (version "0.4.2") | |
3454 | (source | |
3455 | (origin | |
3456 | (method url-fetch) | |
3457 | (uri (string-append | |
3458 | "mirror://hackage/package/dotgen/dotgen-" | |
3459 | version | |
3460 | ".tar.gz")) | |
3461 | (sha256 | |
3462 | (base32 | |
3463 | "148q93qsmqgr5pzdwvpjqfd6bdm1pwzcp2rblfwswx2x8c5f43fg")))) | |
3464 | (build-system haskell-build-system) | |
3465 | (home-page "https://github.com/ku-fpg/dotgen") | |
3466 | (synopsis | |
3467 | "Simple interface for building .dot graph files") | |
3468 | (description | |
3469 | "This package provides a simple interface for building .dot graph | |
3470 | files, for input into the dot and graphviz tools. It includes a | |
3471 | monadic interface for building graphs.") | |
3472 | (license license:bsd-3))) | |
3473 | ||
dddbc90c RV |
3474 | (define-public ghc-double-conversion |
3475 | (package | |
3476 | (name "ghc-double-conversion") | |
3477 | (version "2.0.2.0") | |
3478 | (source | |
3479 | (origin | |
3480 | (method url-fetch) | |
3481 | (uri (string-append "https://hackage.haskell.org/package/" | |
3482 | "double-conversion/double-conversion-" | |
3483 | version ".tar.gz")) | |
3484 | (sha256 | |
3485 | (base32 | |
3486 | "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4")))) | |
3487 | (build-system haskell-build-system) | |
3488 | (native-inputs | |
3489 | `(("ghc-hunit" ,ghc-hunit) | |
3490 | ("ghc-test-framework" ,ghc-test-framework) | |
3491 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
3492 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
3493 | (home-page "https://github.com/bos/double-conversion") | |
3494 | (synopsis "Fast conversion between double precision floating point and text") | |
3495 | (description | |
3496 | "This package provides a library that performs fast, accurate conversion | |
3497 | between double precision floating point and text.") | |
3498 | (license license:bsd-3))) | |
3499 | ||
577a78b7 TS |
3500 | (define-public ghc-dual-tree |
3501 | (package | |
3502 | (name "ghc-dual-tree") | |
3503 | (version "0.2.2.1") | |
3504 | (source | |
3505 | (origin | |
3506 | (method url-fetch) | |
3507 | (uri (string-append "https://hackage.haskell.org/package/" | |
3508 | "dual-tree/dual-tree-" version ".tar.gz")) | |
3509 | (sha256 | |
3510 | (base32 | |
3511 | "17kdfnf0df0z5pkiifxrlmyd1xd7hjjaazd2kzyajl0gd00vbszx")))) | |
3512 | (build-system haskell-build-system) | |
3513 | (inputs | |
3514 | `(("ghc-semigroups" ,ghc-semigroups) | |
3515 | ("ghc-newtype-generics" ,ghc-newtype-generics) | |
3516 | ("ghc-monoid-extras" ,ghc-monoid-extras))) | |
3517 | (native-inputs | |
3518 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
3519 | ("ghc-testing-feat" ,ghc-testing-feat))) | |
3520 | (home-page "https://hackage.haskell.org/package/dual-tree") | |
3521 | (synopsis "Rose trees with cached and accumulating monoidal annotations") | |
3522 | (description "Rose (@math{n}-ary) trees with both upwards- (i.e. | |
3523 | cached) and downwards-traveling (i.e. accumulating) monoidal | |
3524 | annotations. This is used as the core data structure underlying the | |
3525 | @url{https://archives.haskell.org/projects.haskell.org/diagrams/, | |
3526 | diagrams framework}, but potentially has other applications as well.") | |
3527 | (license license:bsd-3))) | |
3528 | ||
dddbc90c RV |
3529 | (define-public ghc-easy-file |
3530 | (package | |
3531 | (name "ghc-easy-file") | |
3532 | (version "0.2.2") | |
3533 | (source | |
3534 | (origin | |
3535 | (method url-fetch) | |
3536 | (uri (string-append | |
3537 | "https://hackage.haskell.org/package/easy-file/easy-file-" | |
3538 | version | |
3539 | ".tar.gz")) | |
3540 | (sha256 | |
3541 | (base32 | |
3542 | "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj")))) | |
3543 | (build-system haskell-build-system) | |
3544 | (home-page | |
3545 | "https://github.com/kazu-yamamoto/easy-file") | |
3546 | (synopsis "File handling library for Haskell") | |
3547 | (description "This library provides file handling utilities for Haskell.") | |
3548 | (license license:bsd-3))) | |
3549 | ||
3550 | (define-public ghc-easyplot | |
3551 | (package | |
3552 | (name "ghc-easyplot") | |
3553 | (version "1.0") | |
3554 | (source | |
3555 | (origin | |
3556 | (method url-fetch) | |
3557 | (uri (string-append | |
3558 | "https://hackage.haskell.org/package/easyplot/easyplot-" | |
3559 | version ".tar.gz")) | |
3560 | (sha256 | |
3561 | (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk")))) | |
3562 | (build-system haskell-build-system) | |
3563 | (propagated-inputs `(("gnuplot" ,gnuplot))) | |
3564 | (arguments | |
3565 | `(#:phases (modify-phases %standard-phases | |
3566 | (add-after 'unpack 'fix-setup-suffix | |
3567 | (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t))))) | |
3568 | (home-page "https://hub.darcs.net/scravy/easyplot") | |
3569 | (synopsis "Haskell plotting library based on gnuplot") | |
3570 | (description "This package provides a plotting library for | |
3571 | Haskell, using gnuplot for rendering.") | |
3572 | (license license:expat))) | |
3573 | ||
3574 | (define-public ghc-echo | |
3575 | (package | |
3576 | (name "ghc-echo") | |
3577 | (version "0.1.3") | |
3578 | (source | |
3579 | (origin | |
3580 | (method url-fetch) | |
3581 | (uri (string-append | |
3582 | "https://hackage.haskell.org/package/echo/echo-" | |
3583 | version ".tar.gz")) | |
3584 | (sha256 | |
3585 | (base32 | |
3586 | "1vw5ykpwhr39wc0hhcgq3r8dh59zq6ib4zxbz1qd2wl21wqhfkvh")))) | |
3587 | (build-system haskell-build-system) | |
3588 | (arguments | |
3589 | `(#:cabal-revision | |
3590 | ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l"))) | |
3591 | (home-page "https://github.com/RyanGlScott/echo") | |
3592 | (synopsis "Echo terminal input portably") | |
3593 | (description "The @code{base} library exposes the @code{hGetEcho} and | |
3594 | @code{hSetEcho} functions for querying and setting echo status, but | |
3595 | unfortunately, neither function works with MinTTY consoles on Windows. | |
3596 | This library provides an alternative interface which works with both | |
3597 | MinTTY and other consoles.") | |
3598 | (license license:bsd-3))) | |
3599 | ||
3600 | (define-public ghc-edisonapi | |
3601 | (package | |
3602 | (name "ghc-edisonapi") | |
3603 | (version "1.3.1") | |
3604 | (source | |
3605 | (origin | |
3606 | (method url-fetch) | |
3607 | (uri (string-append "https://hackage.haskell.org/package/EdisonAPI" | |
3608 | "/EdisonAPI-" version ".tar.gz")) | |
3609 | (sha256 | |
3610 | (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm")))) | |
3611 | (build-system haskell-build-system) | |
3612 | (home-page "http://rwd.rdockins.name/edison/home/") | |
3613 | (synopsis "Library of efficient, purely-functional data structures (API)") | |
3614 | (description | |
3615 | "Edison is a library of purely functional data structures written by | |
3616 | Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic | |
3617 | value EDiSon (Efficient Data Structures). Edison provides several families of | |
3618 | abstractions, each with multiple implementations. The main abstractions | |
3619 | provided by Edison are: Sequences such as stacks, queues, and dequeues; | |
3620 | Collections such as sets, bags and heaps; and Associative Collections such as | |
3621 | finite maps and priority queues where the priority and element are distinct.") | |
3622 | (license license:expat))) | |
3623 | ||
3624 | (define-public ghc-edisoncore | |
3625 | (package | |
3626 | (name "ghc-edisoncore") | |
3627 | (version "1.3.2.1") | |
3628 | (source | |
3629 | (origin | |
3630 | (method url-fetch) | |
3631 | (uri (string-append "https://hackage.haskell.org/package/EdisonCore" | |
3632 | "/EdisonCore-" version ".tar.gz")) | |
3633 | (sha256 | |
3634 | (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk")))) | |
3635 | (build-system haskell-build-system) | |
3636 | (inputs | |
3637 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
3638 | ("ghc-edisonapi" ,ghc-edisonapi))) | |
3639 | (home-page "http://rwd.rdockins.name/edison/home/") | |
3640 | (synopsis "Library of efficient, purely-functional data structures") | |
3641 | (description | |
3642 | "This package provides the core Edison data structure implementations, | |
3643 | including multiple sequence, set, bag, and finite map concrete implementations | |
3644 | with various performance characteristics.") | |
3645 | (license license:expat))) | |
3646 | ||
3647 | (define-public ghc-edit-distance | |
3648 | (package | |
3649 | (name "ghc-edit-distance") | |
3650 | (version "0.2.2.1") | |
3651 | (source | |
3652 | (origin | |
3653 | (method url-fetch) | |
3654 | (uri (string-append "https://hackage.haskell.org/package/edit-distance" | |
3655 | "/edit-distance-" version ".tar.gz")) | |
3656 | (sha256 | |
3657 | (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y")))) | |
3658 | (build-system haskell-build-system) | |
3659 | (arguments | |
3660 | `(#:phases | |
3661 | (modify-phases %standard-phases | |
3662 | (add-before 'configure 'update-constraints | |
3663 | (lambda _ | |
3664 | (substitute* "edit-distance.cabal" | |
3665 | (("QuickCheck >= 2\\.4 && <2\\.9") | |
d7d143e5 | 3666 | "QuickCheck >= 2.4 && < 2.14"))))))) |
dddbc90c RV |
3667 | (inputs |
3668 | `(("ghc-random" ,ghc-random) | |
3669 | ("ghc-test-framework" ,ghc-test-framework) | |
3670 | ("ghc-quickcheck" ,ghc-quickcheck) | |
3671 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
3672 | (home-page "https://github.com/phadej/edit-distance") | |
3673 | (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances") | |
3674 | (description | |
3675 | "This package provides optimized functions to determine the edit | |
3676 | distances for fuzzy matching, including Levenshtein and restricted | |
3677 | Damerau-Levenshtein algorithms.") | |
3678 | (license license:bsd-3))) | |
3679 | ||
3ebae41f TS |
3680 | (define-public ghc-edit-distance-vector |
3681 | (package | |
3682 | (name "ghc-edit-distance-vector") | |
3683 | (version "1.0.0.4") | |
3684 | (source | |
3685 | (origin | |
3686 | (method url-fetch) | |
3687 | (uri (string-append "https://hackage.haskell.org/package/" | |
3688 | "edit-distance-vector/edit-distance-vector-" | |
3689 | version ".tar.gz")) | |
3690 | (sha256 | |
3691 | (base32 | |
3692 | "07qgc8dyi9kkzkd3xcd78wdlljy0xwhz65b4r2qg2piidpcdvpxp")))) | |
3693 | (build-system haskell-build-system) | |
3694 | (inputs | |
3695 | `(("ghc-vector" ,ghc-vector))) | |
3696 | (native-inputs | |
3697 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
3698 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances))) | |
3699 | (home-page "https://github.com/thsutton/edit-distance-vector") | |
3700 | (synopsis "Calculate edit distances and edit scripts between vectors") | |
3701 | (description "This package provides implementation of the | |
3702 | Wagner-Fischer dynamic programming algorithm to find the optimal edit | |
3703 | script and cost between two sequences. The implementation in this | |
3704 | package is specialised to sequences represented with @code{Data.Vector} | |
3705 | but is otherwise agnostic to: | |
3706 | @itemize | |
3707 | @item The type of values in the vectors; | |
3708 | @item The type representing edit operations; and | |
3709 | @item The type representing the cost of operations. | |
3710 | @end itemize") | |
3711 | (license license:bsd-3)) ) | |
3712 | ||
dddbc90c RV |
3713 | (define-public ghc-either |
3714 | (package | |
3715 | (name "ghc-either") | |
a3fd4dc7 | 3716 | (version "5.0.1.1") |
dddbc90c RV |
3717 | (source |
3718 | (origin | |
3719 | (method url-fetch) | |
3720 | (uri (string-append "https://hackage.haskell.org/package/" | |
3721 | "either-" version "/" | |
3722 | "either-" version ".tar.gz")) | |
3723 | (sha256 | |
3724 | (base32 | |
a3fd4dc7 | 3725 | "09yzki8ss56xhy9vggdw1rls86b2kf55hjl5wi0vbv02d8fxahq2")))) |
dddbc90c RV |
3726 | (build-system haskell-build-system) |
3727 | (inputs `(("ghc-bifunctors" ,ghc-bifunctors) | |
3728 | ("ghc-exceptions" ,ghc-exceptions) | |
3729 | ("ghc-free" ,ghc-free) | |
3730 | ("ghc-monad-control" ,ghc-monad-control) | |
3731 | ("ghc-manodrandom" ,ghc-monadrandom) | |
3732 | ("ghc-mmorph" ,ghc-mmorph) | |
3733 | ("ghc-profunctors" ,ghc-profunctors) | |
3734 | ("ghc-semigroups" ,ghc-semigroups) | |
3735 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
3736 | ("ghc-transformers-base" ,ghc-transformers-base))) | |
3737 | (native-inputs | |
3738 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
3739 | ("ghc-test-framework" ,ghc-test-framework) | |
3740 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
3741 | (home-page "https://github.com/ekmett/either") | |
3742 | (synopsis "Provides an either monad transformer for Haskell") | |
3743 | (description "This Haskell package provides an either monad transformer.") | |
3744 | (license license:bsd-3))) | |
3745 | ||
3746 | (define-public ghc-email-validate | |
3747 | (package | |
3748 | (name "ghc-email-validate") | |
a4fe1c64 | 3749 | (version "2.3.2.12") |
dddbc90c RV |
3750 | (source |
3751 | (origin | |
3752 | (method url-fetch) | |
3753 | (uri (string-append | |
3754 | "https://hackage.haskell.org/package/" | |
3755 | "email-validate/email-validate-" | |
3756 | version | |
3757 | ".tar.gz")) | |
3758 | (sha256 | |
3759 | (base32 | |
a4fe1c64 | 3760 | "0ar3cfjia3x11chb7w60mi7hp5djanms883ddk875l6lifr2lyqf")))) |
dddbc90c RV |
3761 | (build-system haskell-build-system) |
3762 | (inputs | |
3763 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
3764 | ("ghc-hspec" ,ghc-hspec) | |
3765 | ("ghc-quickcheck" ,ghc-quickcheck) | |
3766 | ("ghc-doctest" ,ghc-doctest))) | |
3767 | (home-page | |
3768 | "https://github.com/Porges/email-validate-hs") | |
3769 | (synopsis "Email address validator for Haskell") | |
3770 | (description | |
3771 | "This Haskell package provides a validator that can validate an email | |
3772 | address string against RFC 5322.") | |
3773 | (license license:bsd-3))) | |
3774 | ||
3775 | (define-public ghc-enclosed-exceptions | |
3776 | (package | |
3777 | (name "ghc-enclosed-exceptions") | |
3778 | (version "1.0.3") | |
3779 | (source (origin | |
3780 | (method url-fetch) | |
3781 | (uri (string-append "https://hackage.haskell.org/package/" | |
3782 | "enclosed-exceptions/enclosed-exceptions-" | |
3783 | version ".tar.gz")) | |
3784 | (sha256 | |
3785 | (base32 | |
3786 | "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg")))) | |
3787 | (build-system haskell-build-system) | |
3788 | ;; FIXME: one of the tests blocks forever: | |
3789 | ;; "thread blocked indefinitely in an MVar operation" | |
3790 | (arguments '(#:tests? #f)) | |
3791 | (inputs | |
3792 | `(("ghc-lifted-base" ,ghc-lifted-base) | |
3793 | ("ghc-monad-control" ,ghc-monad-control) | |
3794 | ("ghc-async" ,ghc-async) | |
3795 | ("ghc-transformers-base" ,ghc-transformers-base))) | |
3796 | (native-inputs | |
3797 | `(("ghc-hspec" ,ghc-hspec) | |
3798 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
3799 | (home-page "https://github.com/jcristovao/enclosed-exceptions") | |
3800 | (synopsis "Catch all exceptions from within an enclosed computation") | |
3801 | (description | |
3802 | "This library implements a technique to catch all exceptions raised | |
3803 | within an enclosed computation, while remaining responsive to (external) | |
3804 | asynchronous exceptions.") | |
3805 | (license license:expat))) | |
3806 | ||
3807 | (define-public ghc-equivalence | |
3808 | (package | |
3809 | (name "ghc-equivalence") | |
801cf5b1 | 3810 | (version "0.3.5") |
dddbc90c RV |
3811 | (source |
3812 | (origin | |
3813 | (method url-fetch) | |
3814 | (uri (string-append "https://hackage.haskell.org/package/equivalence" | |
3815 | "/equivalence-" version ".tar.gz")) | |
3816 | (sha256 | |
801cf5b1 | 3817 | (base32 "167njzd1cf32aa7br90rjafrxy6hw3fxkk8awifqbxjrcwm5maqp")))) |
dddbc90c RV |
3818 | (build-system haskell-build-system) |
3819 | (inputs | |
3820 | `(("ghc-stmonadtrans" ,ghc-stmonadtrans) | |
3821 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
801cf5b1 TS |
3822 | ("ghc-fail" ,ghc-fail) |
3823 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
dddbc90c RV |
3824 | (home-page "https://github.com/pa-ba/equivalence") |
3825 | (synopsis "Maintaining an equivalence relation implemented as union-find") | |
3826 | (description | |
3827 | "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@: | |
3828 | Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM | |
3829 | 22(2), 1975) in order to maintain an equivalence relation. This | |
3830 | implementation is a port of the @code{union-find} package using the @code{ST} | |
3831 | monad transformer (instead of the IO monad).") | |
3832 | (license license:bsd-3))) | |
3833 | ||
3834 | (define-public ghc-erf | |
3835 | (package | |
3836 | (name "ghc-erf") | |
3837 | (version "2.0.0.0") | |
3838 | (source | |
3839 | (origin | |
3840 | (method url-fetch) | |
3841 | (uri (string-append "https://hackage.haskell.org/package/" | |
3842 | "erf-" version "/" | |
3843 | "erf-" version ".tar.gz")) | |
3844 | (sha256 | |
3845 | (base32 | |
3846 | "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14")))) | |
3847 | (build-system haskell-build-system) | |
3848 | (home-page "https://hackage.haskell.org/package/erf") | |
3849 | (synopsis "The error function, erf, and related functions for Haskell") | |
3850 | (description "This Haskell library provides a type class for the | |
3851 | error function, erf, and related functions. Instances for Float and | |
3852 | Double.") | |
3853 | (license license:bsd-3))) | |
3854 | ||
3855 | (define-public ghc-errorcall-eq-instance | |
3856 | (package | |
3857 | (name "ghc-errorcall-eq-instance") | |
3858 | (version "0.3.0") | |
3859 | (source | |
3860 | (origin | |
3861 | (method url-fetch) | |
3862 | (uri (string-append "https://hackage.haskell.org/package/" | |
3863 | "errorcall-eq-instance/errorcall-eq-instance-" | |
3864 | version ".tar.gz")) | |
3865 | (sha256 | |
3866 | (base32 | |
3867 | "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm")))) | |
3868 | (build-system haskell-build-system) | |
3869 | (inputs | |
3870 | `(("ghc-base-orphans" ,ghc-base-orphans))) | |
3871 | (native-inputs | |
3872 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
3873 | ("ghc-hspec" ,ghc-hspec) | |
3874 | ("hspec-discover" ,hspec-discover))) | |
3ef91e15 | 3875 | (home-page "https://hackage.haskell.org/package/errorcall-eq-instance") |
dddbc90c RV |
3876 | (synopsis "Orphan Eq instance for ErrorCall") |
3877 | (description | |
3878 | "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}. | |
3879 | This package provides an orphan instance.") | |
3880 | (license license:expat))) | |
3881 | ||
3882 | (define-public ghc-errors | |
3883 | (package | |
3884 | (name "ghc-errors") | |
3885 | (version "2.3.0") | |
3886 | (source | |
3887 | (origin | |
3888 | (method url-fetch) | |
3889 | (uri (string-append "https://hackage.haskell.org/package/" | |
3890 | "errors-" version "/" | |
3891 | "errors-" version ".tar.gz")) | |
3892 | (sha256 | |
3893 | (base32 | |
3894 | "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7")))) | |
3895 | (build-system haskell-build-system) | |
3896 | (inputs | |
3897 | `(("ghc-exceptions" ,ghc-exceptions) | |
3898 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
3899 | ("ghc-unexceptionalio" ,ghc-unexceptionalio) | |
3900 | ("ghc-safe" ,ghc-safe))) | |
3901 | (home-page "https://github.com/gabriel439/haskell-errors-library") | |
3902 | (synopsis "Error handling library for Haskell") | |
3903 | (description "This library encourages an error-handling style that | |
3904 | directly uses the type system, rather than out-of-band exceptions.") | |
3905 | (license license:bsd-3))) | |
3906 | ||
3907 | (define-public ghc-esqueleto | |
2648b604 TS |
3908 | (package |
3909 | (name "ghc-esqueleto") | |
2f6ad77b | 3910 | (version "3.3.1.1") |
2648b604 TS |
3911 | (source |
3912 | (origin | |
3913 | (method url-fetch) | |
3914 | (uri (string-append "https://hackage.haskell.org/package/" | |
3915 | "esqueleto/esqueleto-" version ".tar.gz")) | |
3916 | (sha256 | |
3917 | (base32 | |
2f6ad77b | 3918 | "1qi28ma8j5kfygjxnixlazxsyrkdqv8ljz3icwqi5dlscsnj6v3v")))) |
2648b604 TS |
3919 | (build-system haskell-build-system) |
3920 | (arguments | |
3921 | `(#:haddock? #f ; Haddock reports an internal error. | |
3922 | #:phases | |
3923 | (modify-phases %standard-phases | |
3924 | ;; This package normally runs tests for the MySQL, PostgreSQL, and | |
3925 | ;; SQLite backends. Since we only have Haskell packages for | |
3926 | ;; SQLite, we remove the other two test suites. FIXME: Add the | |
3927 | ;; other backends and run all three test suites. | |
3928 | (add-before 'configure 'remove-non-sqlite-test-suites | |
3929 | (lambda _ | |
3930 | (use-modules (ice-9 rdelim)) | |
3931 | (with-atomic-file-replacement "esqueleto.cabal" | |
3932 | (lambda (in out) | |
3933 | (let loop ((line (read-line in 'concat)) (deleting? #f)) | |
3934 | (cond | |
3935 | ((eof-object? line) #t) | |
3936 | ((string-every char-set:whitespace line) | |
3937 | (unless deleting? (display line out)) | |
3938 | (loop (read-line in 'concat) #f)) | |
3939 | ((member line '("test-suite mysql\n" | |
3940 | "test-suite postgresql\n")) | |
3941 | (loop (read-line in 'concat) #t)) | |
3942 | (else | |
3943 | (unless deleting? (display line out)) | |
3944 | (loop (read-line in 'concat) deleting?))))))))))) | |
3945 | (inputs | |
3946 | `(("ghc-blaze-html" ,ghc-blaze-html) | |
3947 | ("ghc-conduit" ,ghc-conduit) | |
3948 | ("ghc-monad-logger" ,ghc-monad-logger) | |
3949 | ("ghc-persistent" ,ghc-persistent) | |
3950 | ("ghc-resourcet" ,ghc-resourcet) | |
3951 | ("ghc-tagged" ,ghc-tagged) | |
3952 | ("ghc-unliftio" ,ghc-unliftio) | |
3953 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
3954 | (native-inputs | |
3955 | `(("ghc-hspec" ,ghc-hspec) | |
3956 | ("ghc-persistent-sqlite" ,ghc-persistent-sqlite) | |
3957 | ("ghc-persistent-template" ,ghc-persistent-template))) | |
3958 | (home-page "https://github.com/bitemyapp/esqueleto") | |
3959 | (synopsis "Type-safe embedded domain specific language for SQL queries") | |
3960 | (description "This library provides a type-safe embedded domain specific | |
dddbc90c RV |
3961 | language (EDSL) for SQL queries that works with SQL backends as provided by |
3962 | @code{ghc-persistent}. Its language closely resembles SQL, so you don't have | |
3963 | to learn new concepts, just new syntax, and it's fairly easy to predict the | |
3964 | generated SQL and optimize it for your backend.") | |
2648b604 | 3965 | (license license:bsd-3))) |
dddbc90c RV |
3966 | |
3967 | (define-public ghc-exactprint | |
3968 | (package | |
3969 | (name "ghc-exactprint") | |
50614014 | 3970 | (version "0.6.1") |
dddbc90c RV |
3971 | (source |
3972 | (origin | |
3973 | (method url-fetch) | |
3974 | (uri (string-append | |
3975 | "https://hackage.haskell.org/package/" | |
3976 | "ghc-exactprint/ghc-exactprint-" version ".tar.gz")) | |
3977 | (sha256 | |
3978 | (base32 | |
50614014 | 3979 | "12nqpqmi9c57a3hgpfy8q073zryz66ylmcvf29hyffpj7vmmnvhl")))) |
dddbc90c RV |
3980 | (build-system haskell-build-system) |
3981 | (inputs | |
3982 | `(("ghc-paths" ,ghc-paths) | |
3983 | ("ghc-syb" ,ghc-syb) | |
3984 | ("ghc-free" ,ghc-free))) | |
3985 | (native-inputs | |
3986 | `(("ghc-hunit" ,ghc-hunit) | |
3987 | ("ghc-diff" ,ghc-diff) | |
3988 | ("ghc-silently" ,ghc-silently) | |
3989 | ("ghc-filemanip" ,ghc-filemanip))) | |
3990 | (home-page | |
3ef91e15 | 3991 | "https://hackage.haskell.org/package/ghc-exactprint") |
dddbc90c RV |
3992 | (synopsis "ExactPrint for GHC") |
3993 | (description | |
3994 | "Using the API Annotations available from GHC 7.10.2, this library | |
3995 | provides a means to round-trip any code that can be compiled by GHC, currently | |
3996 | excluding @file{.lhs} files.") | |
3997 | (license license:bsd-3))) | |
3998 | ||
3999 | (define-public ghc-exceptions | |
4000 | (package | |
4001 | (name "ghc-exceptions") | |
46d3e65b | 4002 | (version "0.10.3") |
dddbc90c RV |
4003 | (source |
4004 | (origin | |
4005 | (method url-fetch) | |
4006 | (uri (string-append | |
4007 | "https://hackage.haskell.org/package/exceptions/exceptions-" | |
4008 | version | |
4009 | ".tar.gz")) | |
4010 | (sha256 | |
4011 | (base32 | |
46d3e65b | 4012 | "1w25j4ys5s6v239vbqlbipm9fdwxl1j2ap2lzms7f7rgnik5ir24")))) |
dddbc90c RV |
4013 | (build-system haskell-build-system) |
4014 | (native-inputs | |
4015 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
4016 | ("ghc-test-framework" ,ghc-test-framework) | |
4017 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
4018 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
4019 | (inputs | |
4020 | `(("ghc-transformers-compat" ,ghc-transformers-compat))) | |
4021 | (home-page "https://github.com/ekmett/exceptions/") | |
4022 | (synopsis "Extensible optionally-pure exceptions") | |
4023 | (description "This library provides extensible optionally-pure exceptions | |
4024 | for Haskell.") | |
4025 | (license license:bsd-3))) | |
4026 | ||
4027 | (define-public ghc-executable-path | |
4028 | (package | |
4029 | (name "ghc-executable-path") | |
4030 | (version "0.0.3.1") | |
4031 | (source (origin | |
4032 | (method url-fetch) | |
4033 | (uri (string-append "https://hackage.haskell.org/package/" | |
4034 | "executable-path/executable-path-" | |
4035 | version ".tar.gz")) | |
4036 | (sha256 | |
4037 | (base32 | |
4038 | "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww")))) | |
4039 | (build-system haskell-build-system) | |
4040 | (home-page "https://hackage.haskell.org/package/executable-path") | |
4041 | (synopsis "Find out the full path of the executable") | |
4042 | (description | |
4043 | "The documentation of @code{System.Environment.getProgName} says that | |
4044 | \"However, this is hard-to-impossible to implement on some non-Unix OSes, so | |
4045 | instead, for maximum portability, we just return the leafname of the program | |
4046 | as invoked.\" This library tries to provide the missing path.") | |
4047 | (license license:public-domain))) | |
4048 | ||
4049 | (define-public ghc-extensible-exceptions | |
4050 | (package | |
4051 | (name "ghc-extensible-exceptions") | |
4052 | (version "0.1.1.4") | |
4053 | (source | |
4054 | (origin | |
4055 | (method url-fetch) | |
4056 | (uri (string-append "https://hackage.haskell.org/package/" | |
4057 | "extensible-exceptions/extensible-exceptions-" | |
4058 | version ".tar.gz")) | |
4059 | (sha256 | |
4060 | (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc")))) | |
4061 | (build-system haskell-build-system) | |
4062 | (home-page "https://hackage.haskell.org/package/extensible-exceptions") | |
4063 | (synopsis "Extensible exceptions for Haskell") | |
4064 | (description | |
4065 | "This package provides extensible exceptions for both new and old | |
4066 | versions of GHC (i.e., < 6.10).") | |
4067 | (license license:bsd-3))) | |
4068 | ||
4069 | (define-public ghc-extra | |
4070 | (package | |
4071 | (name "ghc-extra") | |
0cec5c4e | 4072 | (version "1.6.21") |
dddbc90c RV |
4073 | (source |
4074 | (origin | |
4075 | (method url-fetch) | |
4076 | (uri (string-append | |
4077 | "https://hackage.haskell.org/package/extra/extra-" | |
4078 | version | |
4079 | ".tar.gz")) | |
4080 | (sha256 | |
4081 | (base32 | |
0cec5c4e | 4082 | "1gjx98w4w61g043k6rzc8i34cbxpcigi8lb6i7pp1vwp8w8jm5vl")))) |
dddbc90c RV |
4083 | (build-system haskell-build-system) |
4084 | (inputs | |
4085 | `(("ghc-clock" ,ghc-clock) | |
10650c44 | 4086 | ("ghc-semigroups" ,ghc-semigroups) |
b431f6c9 ASM |
4087 | ("ghc-quickcheck" ,ghc-quickcheck) |
4088 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances))) | |
dddbc90c RV |
4089 | (home-page "https://github.com/ndmitchell/extra") |
4090 | (synopsis "Extra Haskell functions") | |
4091 | (description "This library provides extra functions for the standard | |
4092 | Haskell libraries. Most functions are simple additions, filling out missing | |
4093 | functionality. A few functions are available in later versions of GHC, but | |
4094 | this package makes them available back to GHC 7.2.") | |
4095 | (license license:bsd-3))) | |
4096 | ||
4097 | (define-public ghc-fail | |
4098 | (package | |
4099 | (name "ghc-fail") | |
4100 | (version "4.9.0.0") | |
4101 | (source | |
4102 | (origin | |
4103 | (method url-fetch) | |
4104 | (uri (string-append "https://hackage.haskell.org/package/fail/fail-" | |
4105 | version ".tar.gz")) | |
4106 | (sha256 | |
4107 | (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d")))) | |
4108 | (build-system haskell-build-system) | |
4109 | (arguments `(#:haddock? #f)) ; Package contains no documentation. | |
4110 | (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail") | |
4111 | (synopsis "Forward-compatible MonadFail class") | |
4112 | (description | |
4113 | "This package contains the @code{Control.Monad.Fail} module providing the | |
4114 | @uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail} | |
4115 | class that became available in | |
4116 | @uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for | |
4117 | older @code{base} package versions. This package turns into an empty package | |
4118 | when used with GHC versions which already provide the | |
4119 | @code{Control.Monad.Fail} module.") | |
4120 | (license license:bsd-3))) | |
4121 | ||
4122 | (define-public ghc-fast-logger | |
4123 | (package | |
4124 | (name "ghc-fast-logger") | |
d443a52a | 4125 | (version "2.4.17") |
dddbc90c RV |
4126 | (source |
4127 | (origin | |
4128 | (method url-fetch) | |
4129 | (uri (string-append | |
4130 | "https://hackage.haskell.org/package/fast-logger/fast-logger-" | |
4131 | version | |
4132 | ".tar.gz")) | |
4133 | (sha256 | |
4134 | (base32 | |
d443a52a | 4135 | "02mxb1ckvx1s2r2m11l5i2l5rdl7232p0f61af6773haykjp0qxk")))) |
dddbc90c RV |
4136 | (build-system haskell-build-system) |
4137 | (inputs | |
4138 | `(("ghc-auto-update" ,ghc-auto-update) | |
4139 | ("ghc-easy-file" ,ghc-easy-file) | |
d443a52a TS |
4140 | ("ghc-unix-time" ,ghc-unix-time) |
4141 | ("ghc-unix-compat" ,ghc-unix-compat))) | |
dddbc90c RV |
4142 | (native-inputs |
4143 | `(("hspec-discover" ,hspec-discover) | |
4144 | ("ghc-hspec" ,ghc-hspec))) | |
4145 | (home-page "https://hackage.haskell.org/package/fast-logger") | |
4146 | (synopsis "Fast logging system") | |
4147 | (description "This library provides a fast logging system for Haskell.") | |
4148 | (license license:bsd-3))) | |
4149 | ||
4150 | (define-public ghc-feed | |
4151 | (package | |
4152 | (name "ghc-feed") | |
a41c16dc | 4153 | (version "1.2.0.1") |
dddbc90c RV |
4154 | (source |
4155 | (origin | |
4156 | (method url-fetch) | |
4157 | (uri (string-append "https://hackage.haskell.org/package/" | |
4158 | "feed/feed-" version ".tar.gz")) | |
4159 | (sha256 | |
4160 | (base32 | |
a41c16dc | 4161 | "004lwdng4slj6yl8mgscr3cgj0zzc8hzkf4450dby2l6cardg4w0")))) |
dddbc90c | 4162 | (build-system haskell-build-system) |
dddbc90c RV |
4163 | (inputs |
4164 | `(("ghc-base-compat" ,ghc-base-compat) | |
4165 | ("ghc-old-locale" ,ghc-old-locale) | |
4166 | ("ghc-old-time" ,ghc-old-time) | |
4167 | ("ghc-safe" ,ghc-safe) | |
4168 | ("ghc-time-locale-compat" ,ghc-time-locale-compat) | |
4169 | ("ghc-utf8-string" ,ghc-utf8-string) | |
4170 | ("ghc-xml-conduit" ,ghc-xml-conduit) | |
4171 | ("ghc-xml-types" ,ghc-xml-types))) | |
4172 | (native-inputs | |
4173 | `(("ghc-hunit" ,ghc-hunit) | |
a41c16dc | 4174 | ("ghc-markdown-unlit" ,ghc-markdown-unlit) |
dddbc90c RV |
4175 | ("ghc-test-framework" ,ghc-test-framework) |
4176 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
4177 | (home-page "https://github.com/bergmark/feed") | |
4178 | (synopsis "Haskell package for handling various syndication formats") | |
4179 | (description "This Haskell package includes tools for generating and | |
4180 | consuming feeds in both RSS (Really Simple Syndication) and Atom format.") | |
4181 | (license license:bsd-3))) | |
4182 | ||
4183 | (define-public ghc-fgl | |
4184 | (package | |
4185 | (name "ghc-fgl") | |
17482b26 | 4186 | (version "5.7.0.1") |
534d6caa | 4187 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
4188 | (source |
4189 | (origin | |
4190 | (method url-fetch) | |
4191 | (uri (string-append | |
4192 | "https://hackage.haskell.org/package/fgl/fgl-" | |
4193 | version | |
4194 | ".tar.gz")) | |
4195 | (sha256 | |
4196 | (base32 | |
17482b26 | 4197 | "04793yh778ck3kz1z2svnfdwwls2kisbnky4lzvf4zjfgpv7mkpz")))) |
dddbc90c RV |
4198 | (build-system haskell-build-system) |
4199 | (arguments | |
4200 | `(#:phases | |
4201 | (modify-phases %standard-phases | |
4202 | (add-before 'configure 'update-constraints | |
4203 | (lambda _ | |
4204 | (substitute* "fgl.cabal" | |
17482b26 TS |
4205 | (("QuickCheck >= 2\\.8 && < 2\\.13") |
4206 | "QuickCheck >= 2.8 && < 2.14") | |
4207 | (("hspec >= 2\\.1 && < 2\\.7") | |
4208 | "hspec >= 2.1 && < 2.8"))))))) | |
dddbc90c RV |
4209 | (inputs |
4210 | `(("ghc-hspec" ,ghc-hspec) | |
4211 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
4212 | (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell") | |
4213 | (synopsis | |
4214 | "Martin Erwig's Functional Graph Library") | |
4215 | (description "The functional graph library, FGL, is a collection of type | |
4216 | and function definitions to address graph problems. The basis of the library | |
4217 | is an inductive definition of graphs in the style of algebraic data types that | |
4218 | encourages inductive, recursive definitions of graph algorithms.") | |
4219 | (license license:bsd-3))) | |
4220 | ||
4221 | (define-public ghc-fgl-arbitrary | |
4222 | (package | |
4223 | (name "ghc-fgl-arbitrary") | |
4224 | (version "0.2.0.3") | |
4225 | (source | |
4226 | (origin | |
4227 | (method url-fetch) | |
4228 | (uri (string-append | |
4229 | "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-" | |
4230 | version ".tar.gz")) | |
4231 | (sha256 | |
4232 | (base32 | |
4233 | "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm")))) | |
4234 | (build-system haskell-build-system) | |
4235 | (arguments | |
4236 | `(#:phases | |
4237 | (modify-phases %standard-phases | |
4238 | (add-before 'configure 'update-constraints | |
4239 | (lambda _ | |
4240 | (substitute* "fgl-arbitrary.cabal" | |
4241 | (("QuickCheck >= 2\\.3 && < 2\\.10") | |
4a0ffae5 | 4242 | "QuickCheck >= 2.3 && < 2.14") |
dddbc90c | 4243 | (("hspec >= 2\\.1 && < 2\\.5") |
4a0ffae5 | 4244 | "hspec >= 2.1 && < 2.8"))))))) |
dddbc90c RV |
4245 | (inputs |
4246 | `(("ghc-fgl" ,ghc-fgl) | |
4247 | ("ghc-quickcheck" ,ghc-quickcheck) | |
4248 | ("ghc-hspec" ,ghc-hspec))) | |
4249 | (home-page "https://hackage.haskell.org/package/fgl-arbitrary") | |
4250 | (synopsis "QuickCheck support for fgl") | |
4251 | (description | |
4252 | "Provides Arbitrary instances for fgl graphs to avoid adding a | |
4253 | QuickCheck dependency for fgl whilst still making the instances | |
4254 | available to others. Also available are non-fgl-specific functions | |
4255 | for generating graph-like data structures.") | |
4256 | (license license:bsd-3))) | |
4257 | ||
4258 | (define-public ghc-file-embed | |
4259 | (package | |
4260 | (name "ghc-file-embed") | |
b5920d50 | 4261 | (version "0.0.11") |
dddbc90c RV |
4262 | (source |
4263 | (origin | |
4264 | (method url-fetch) | |
4265 | (uri (string-append "https://hackage.haskell.org/package/file-embed/" | |
4266 | "file-embed-" version ".tar.gz")) | |
4267 | (sha256 | |
4268 | (base32 | |
b5920d50 | 4269 | "0l6dkwccbzzyx8rcav03lya2334dgi3vfwk96h7l93l0fc4x19gf")))) |
dddbc90c RV |
4270 | (build-system haskell-build-system) |
4271 | (home-page "https://github.com/snoyberg/file-embed") | |
4272 | (synopsis "Use Template Haskell to embed file contents directly") | |
4273 | (description | |
4274 | "This package allows you to use Template Haskell to read a file or all | |
4275 | the files in a directory, and turn them into @code{(path, bytestring)} pairs | |
4276 | embedded in your Haskell code.") | |
4277 | (license license:bsd-3))) | |
4278 | ||
4279 | (define-public ghc-filemanip | |
4280 | (package | |
4281 | (name "ghc-filemanip") | |
4282 | (version "0.3.6.3") | |
4283 | (source (origin | |
4284 | (method url-fetch) | |
4285 | (uri (string-append "https://hackage.haskell.org/package/" | |
4286 | "filemanip/filemanip-" version ".tar.gz")) | |
4287 | (sha256 | |
4288 | (base32 | |
4289 | "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8")))) | |
4290 | (build-system haskell-build-system) | |
4291 | (inputs | |
4292 | `(("ghc-unix-compat" ,ghc-unix-compat))) | |
4293 | (home-page "https://github.com/bos/filemanip") | |
4294 | (synopsis "File and directory manipulation for Haskell") | |
4295 | (description | |
4296 | "This package provides a Haskell library for working with files and | |
4297 | directories. It includes code for pattern matching, finding files, modifying | |
4298 | file contents, and more.") | |
4299 | (license license:bsd-3))) | |
4300 | ||
bb62932a KM |
4301 | (define-public ghc-filepath-bytestring |
4302 | (package | |
4303 | (name "ghc-filepath-bytestring") | |
4304 | (version "1.4.2.1.1") | |
4305 | (source | |
4306 | (origin | |
4307 | (method url-fetch) | |
4308 | (uri (string-append | |
4309 | "https://hackage.haskell.org/package/filepath-bytestring/" | |
4310 | "filepath-bytestring-" version ".tar.gz")) | |
4311 | (sha256 | |
4312 | (base32 | |
4313 | "06shdskjj391hb9295slm9gg2rbn5fdq5v6fg0mgn3yl5dv8q5dx")))) | |
4314 | (build-system haskell-build-system) | |
4315 | (native-inputs | |
4316 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
3ef91e15 | 4317 | (home-page "https://hackage.haskell.org/package/filepath-bytestring") |
bb62932a KM |
4318 | (synopsis "Library for manipulating RawFilePaths in a cross-platform way") |
4319 | (description "This package provides a drop-in replacement for the standard | |
4320 | @code{filepath} library, operating on @code{RawFilePath} values rather than | |
4321 | @code{FilePath} values to get the speed benefits of using @code{ByteStrings}.") | |
4322 | (license license:bsd-3))) | |
4323 | ||
dddbc90c RV |
4324 | (define-public ghc-findbin |
4325 | (package | |
4326 | (name "ghc-findbin") | |
4327 | (version "0.0.5") | |
4328 | (source | |
4329 | (origin | |
4330 | (method url-fetch) | |
4331 | (uri (string-append | |
4332 | "https://hackage.haskell.org/package/FindBin/FindBin-" | |
4333 | version ".tar.gz")) | |
4334 | (sha256 | |
4335 | (base32 | |
4336 | "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717")))) | |
4337 | (build-system haskell-build-system) | |
4338 | (home-page "https://github.com/audreyt/findbin") | |
4339 | (synopsis "Get the absolute path of the running program") | |
4340 | (description | |
4341 | "This module locates the full directory of the running program, to allow | |
4342 | the use of paths relative to it. FindBin supports invocation of Haskell | |
4343 | programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as | |
4344 | an executable.") | |
4345 | (license license:bsd-3))) | |
4346 | ||
4347 | (define-public ghc-fingertree | |
4348 | (package | |
4349 | (name "ghc-fingertree") | |
aac14fdc | 4350 | (version "0.1.4.2") |
dddbc90c RV |
4351 | (source |
4352 | (origin | |
4353 | (method url-fetch) | |
4354 | (uri (string-append | |
4355 | "https://hackage.haskell.org/package/fingertree/fingertree-" | |
4356 | version ".tar.gz")) | |
4357 | (sha256 | |
4358 | (base32 | |
aac14fdc | 4359 | "0zvandj8fysck7ygpn0dw5bhrhmj1s63i326nalxbfkh2ls4iacm")))) |
dddbc90c RV |
4360 | (build-system haskell-build-system) |
4361 | (native-inputs | |
4362 | `(("ghc-hunit" ,ghc-hunit) | |
4363 | ("ghc-quickcheck" ,ghc-quickcheck) | |
4364 | ("ghc-test-framework" ,ghc-test-framework) | |
4365 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
4366 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
4367 | (home-page "https://hackage.haskell.org/package/fingertree") | |
4368 | (synopsis "Generic finger-tree structure") | |
4369 | (description "This library provides finger trees, a general sequence | |
4370 | representation with arbitrary annotations, for use as a base for | |
4371 | implementations of various collection types. It includes examples, as | |
4372 | described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a | |
4373 | simple general-purpose data structure\".") | |
4374 | (license license:bsd-3))) | |
4375 | ||
4376 | (define-public ghc-fixed | |
4377 | (package | |
4378 | (name "ghc-fixed") | |
099dda5b | 4379 | (version "0.3") |
dddbc90c RV |
4380 | (source |
4381 | (origin | |
4382 | (method url-fetch) | |
4383 | (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-" | |
4384 | version ".tar.gz")) | |
4385 | (sha256 | |
4386 | (base32 | |
099dda5b | 4387 | "10l2sh179xarb774q92cff2gkb20rsrlilfwp1fk61rzmz9yn64j")))) |
dddbc90c RV |
4388 | (build-system haskell-build-system) |
4389 | (home-page "https://github.com/ekmett/fixed") | |
4390 | (synopsis "Signed 15.16 precision fixed point arithmetic") | |
4391 | (description | |
4392 | "This package provides functions for signed 15.16 precision fixed point | |
4393 | arithmetic.") | |
4394 | (license license:bsd-3))) | |
4395 | ||
f169f713 JS |
4396 | (define-public ghc-fmlist |
4397 | (package | |
4398 | (name "ghc-fmlist") | |
fe9b83a6 | 4399 | (version "0.9.3") |
f169f713 JS |
4400 | (source |
4401 | (origin | |
4402 | (method url-fetch) | |
4403 | (uri | |
4404 | (string-append | |
4405 | "https://hackage.haskell.org/package/fmlist/fmlist-" | |
4406 | version ".tar.gz")) | |
4407 | (sha256 | |
4408 | (base32 | |
fe9b83a6 | 4409 | "1w9nhm2zybdx4c1lalkajwqr8wcs731lfjld2r8gknd7y96x8pwf")))) |
f169f713 JS |
4410 | (build-system haskell-build-system) |
4411 | (home-page "https://github.com/sjoerdvisscher/fmlist") | |
4412 | (synopsis "FoldMap lists") | |
4413 | (description "FoldMap lists are lists represented by their | |
4414 | @code{foldMap} function. FoldMap lists have @math{O(1)} cons, snoc and | |
4415 | append, just like DLists, but other operations might have favorable | |
4416 | performance characteristics as well. These wild claims are still | |
4417 | completely unverified though.") | |
4418 | (license license:bsd-3))) | |
4419 | ||
dddbc90c RV |
4420 | (define-public ghc-foldl |
4421 | (package | |
4422 | (name "ghc-foldl") | |
26c4104f | 4423 | (version "1.4.5") |
dddbc90c RV |
4424 | (source |
4425 | (origin | |
4426 | (method url-fetch) | |
4427 | (uri (string-append "https://hackage.haskell.org/package/" | |
4428 | "foldl-" version "/" | |
4429 | "foldl-" version ".tar.gz")) | |
4430 | (sha256 | |
4431 | (base32 | |
26c4104f | 4432 | "19qjmzc7gaxfwgqbgy0kq4vhbxvh3qjnwsxnc7pzwws2if5bv80b")))) |
dddbc90c | 4433 | (build-system haskell-build-system) |
b3c79a83 | 4434 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
4435 | (inputs `(("ghc-mwc-randam" ,ghc-mwc-random) |
4436 | ("ghc-primitive" ,ghc-primitive) | |
4437 | ("ghc-vector" ,ghc-vector) | |
4438 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
4439 | ("ghc-hashable" ,ghc-hashable) | |
4440 | ("ghc-contravariant" ,ghc-contravariant) | |
4441 | ("ghc-semigroups" ,ghc-semigroups) | |
4442 | ("ghc-profunctors" ,ghc-profunctors) | |
4443 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
4444 | ("ghc-comonad" ,ghc-comonad) | |
4445 | ("ghc-vector-builder" ,ghc-vector-builder))) | |
4446 | (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library") | |
4447 | (synopsis "Composable, streaming, and efficient left folds for Haskell") | |
4448 | (description "This Haskell library provides strict left folds that stream | |
4449 | in constant memory, and you can combine folds using @code{Applicative} style | |
4450 | to derive new folds. Derived folds still traverse the container just once | |
4451 | and are often as efficient as hand-written folds.") | |
4452 | (license license:bsd-3))) | |
4453 | ||
4454 | (define-public ghc-foundation | |
4455 | (package | |
4456 | (name "ghc-foundation") | |
0a702df9 | 4457 | (version "0.0.25") |
dddbc90c RV |
4458 | (source |
4459 | (origin | |
4460 | (method url-fetch) | |
4461 | (uri (string-append "https://hackage.haskell.org/package/" | |
4462 | "foundation/foundation-" version ".tar.gz")) | |
4463 | (sha256 | |
4464 | (base32 | |
0a702df9 | 4465 | "0q6kx57ygmznlpf8n499hid4x6mj3180paijx0a8dgi9hh7man61")))) |
dddbc90c | 4466 | (build-system haskell-build-system) |
59cd7518 TS |
4467 | (arguments |
4468 | `(#:phases | |
4469 | (modify-phases %standard-phases | |
4470 | ;; This test is broken. For details, see | |
4471 | ;; https://github.com/haskell-foundation/foundation/issues/530 | |
4472 | (add-after 'unpack 'patch-tests | |
4473 | (lambda _ | |
4474 | (substitute* "tests/Test/Foundation/Number.hs" | |
4475 | ((", testDividible proxy") "")) | |
4476 | #t))))) | |
6a7fb828 | 4477 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
4478 | (inputs `(("ghc-basement" ,ghc-basement))) |
4479 | (home-page "https://github.com/haskell-foundation/foundation") | |
4480 | (synopsis "Alternative prelude with batteries and no dependencies") | |
4481 | (description | |
4482 | "This package provides a custom prelude with no dependencies apart from | |
4483 | the base package. | |
4484 | ||
4485 | Foundation has the following goals: | |
4486 | ||
4487 | @enumerate | |
4488 | @item provide a base like sets of modules that provide a consistent set of | |
4489 | features and bugfixes across multiple versions of GHC (unlike base). | |
4490 | @item provide a better and more efficient prelude than base's prelude. | |
4491 | @item be self-sufficient: no external dependencies apart from base; | |
4492 | @item provide better data-types: packed unicode string by default, arrays; | |
4493 | @item Numerical classes that better represent mathematical things (no more | |
4494 | all-in-one @code{Num}); | |
4495 | @item I/O system with less lazy IO. | |
4496 | @end enumerate\n") | |
4497 | (license license:bsd-3))) | |
4498 | ||
4499 | (define-public ghc-free | |
4500 | (package | |
4501 | (name "ghc-free") | |
4081565d | 4502 | (version "5.1.2") |
dddbc90c RV |
4503 | (source |
4504 | (origin | |
4505 | (method url-fetch) | |
4506 | (uri (string-append | |
4507 | "https://hackage.haskell.org/package/free/free-" | |
4508 | version | |
4509 | ".tar.gz")) | |
4510 | (sha256 | |
4511 | (base32 | |
4081565d | 4512 | "0vlf3f2ckl3cr7z2zl8c9c8qkdlfgvmh04gxkp2fg0z9dz80nlyb")))) |
dddbc90c | 4513 | (build-system haskell-build-system) |
91769cee | 4514 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
4515 | (inputs |
4516 | `(("ghc-prelude-extras" ,ghc-prelude-extras) | |
4517 | ("ghc-profunctors" ,ghc-profunctors) | |
4518 | ("ghc-exceptions" ,ghc-exceptions) | |
4519 | ("ghc-bifunctors" ,ghc-bifunctors) | |
4520 | ("ghc-comonad" ,ghc-comonad) | |
4521 | ("ghc-distributive" ,ghc-distributive) | |
4522 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
4523 | ("ghc-semigroups" ,ghc-semigroups) | |
4524 | ("ghc-transformers-base" ,ghc-transformers-base) | |
4525 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
4526 | (home-page "https://github.com/ekmett/free/") | |
4527 | (synopsis "Unrestricted monads for Haskell") | |
4528 | (description "This library provides free monads, which are useful for many | |
4529 | tree-like structures and domain specific languages. If @code{f} is a | |
4530 | @code{Functor} then the free @code{Monad} on @code{f} is the type of trees | |
4531 | whose nodes are labeled with the constructors of @code{f}. The word \"free\" | |
4532 | is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free | |
4533 | f} makes no constraining assumptions beyond those given by @code{f} and the | |
4534 | definition of @code{Monad}.") | |
4535 | (license license:bsd-3))) | |
4536 | ||
4537 | (define-public ghc-fsnotify | |
4538 | (package | |
4539 | (name "ghc-fsnotify") | |
4540 | (version "0.3.0.1") | |
4541 | (source (origin | |
4542 | (method url-fetch) | |
4543 | (uri (string-append | |
4544 | "https://hackage.haskell.org/package/fsnotify/" | |
4545 | "fsnotify-" version ".tar.gz")) | |
4546 | (sha256 | |
4547 | (base32 | |
4548 | "19bdbz9wb9jvln6yg6qm0hz0w84bypvkxf0wjhgrgd52f9gidlny")))) | |
4549 | (build-system haskell-build-system) | |
4550 | (inputs | |
4551 | `(("ghc-async" ,ghc-async) | |
4552 | ("ghc-unix-compat" ,ghc-unix-compat) | |
4553 | ("ghc-hinotify" ,ghc-hinotify) | |
4554 | ("ghc-tasty" ,ghc-tasty) | |
4555 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
4556 | ("ghc-random" ,ghc-random) | |
4557 | ("ghc-shelly" ,ghc-shelly) | |
4558 | ("ghc-temporary" ,ghc-temporary))) | |
4559 | (home-page "https://github.com/haskell-fswatch/hfsnotify") | |
4560 | (synopsis "Cross platform library for file change notification.") | |
4561 | (description "Cross platform library for file creation, modification, and | |
4562 | deletion notification. This library builds upon existing libraries for platform | |
4563 | specific Windows, Mac, and Linux file system event notification.") | |
4564 | (license license:bsd-3))) | |
4565 | ||
4566 | (define-public ghc-generic-deriving | |
4567 | (package | |
4568 | (name "ghc-generic-deriving") | |
55c1e6be | 4569 | (version "1.12.4") |
dddbc90c RV |
4570 | (source |
4571 | (origin | |
4572 | (method url-fetch) | |
4573 | (uri (string-append | |
4574 | "https://hackage.haskell.org/package/generic-deriving/generic-deriving-" | |
4575 | version | |
4576 | ".tar.gz")) | |
4577 | (sha256 | |
4578 | (base32 | |
55c1e6be | 4579 | "0vdg9qdq35jl3m11a87wk8cq1y71qm4i1g1b2pxki0wk70yw20a4")))) |
dddbc90c | 4580 | (build-system haskell-build-system) |
32bb6b41 | 4581 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
4582 | (inputs |
4583 | `(("ghc-th-abstraction" ,ghc-th-abstraction))) | |
4584 | (native-inputs | |
4585 | `(("ghc-hspec" ,ghc-hspec) | |
4586 | ("hspec-discover" ,hspec-discover))) | |
4587 | (home-page "https://hackage.haskell.org/package/generic-deriving") | |
4588 | (synopsis "Generalise the deriving mechanism to arbitrary classes") | |
4589 | (description "This package provides functionality for generalising the | |
4590 | deriving mechanism in Haskell to arbitrary classes.") | |
4591 | (license license:bsd-3))) | |
4592 | ||
89e9082e JS |
4593 | (define-public ghc-generic-random |
4594 | (package | |
4595 | (name "ghc-generic-random") | |
4596 | (version "1.2.0.0") | |
4597 | (source | |
4598 | (origin | |
4599 | (method url-fetch) | |
4600 | (uri (string-append | |
4601 | "https://hackage.haskell.org/package/generic-random/" | |
4602 | "generic-random-" version ".tar.gz")) | |
4603 | (sha256 | |
4604 | (base32 "130lmblycxnpqbsl7vf6a90zccibnvcb5zaclfajcn3by39007lv")))) | |
4605 | (build-system haskell-build-system) | |
4606 | (inputs `(("ghc-quickcheck" ,ghc-quickcheck))) | |
4607 | (native-inputs | |
4608 | `(("ghc-inspection-testing" ,ghc-inspection-testing))) | |
4609 | (arguments | |
4610 | `(#:cabal-revision | |
4611 | ("1" "1d0hx41r7yq2a86ydnfh2fv540ah8cz05l071s2z4wxcjw0ymyn4"))) | |
4612 | (home-page | |
4613 | "https://github.com/lysxia/generic-random") | |
4614 | (synopsis | |
4615 | "Generic random generators for QuickCheck") | |
4616 | (description | |
4617 | "Derive instances of @code{Arbitrary} for QuickCheck, with various options | |
4618 | to customize implementations. | |
4619 | ||
4620 | Automating the arbitrary boilerplate also ensures that when a type changes to | |
4621 | have more or fewer constructors, then the generator either fixes itself to | |
4622 | generate that new case (when using the uniform distribution) or causes a | |
4623 | compilation error so you remember to fix it (when using an explicit | |
4624 | distribution). | |
4625 | ||
4626 | This package also offers a simple (optional) strategy to ensure termination | |
4627 | for recursive types: make @code{Test.QuickCheck.Gen}'s size parameter decrease | |
4628 | at every recursive call; when it reaches zero, sample directly from a | |
4629 | trivially terminating generator given explicitly (@code{genericArbitraryRec} | |
4630 | and @code{withBaseCase}) or implicitly (@code{genericArbitrary'}).") | |
4631 | (license license:expat))) | |
4632 | ||
23e4b264 JS |
4633 | (define-public ghc-generic-random-1.3.0.1 |
4634 | (package | |
4635 | (inherit ghc-generic-random) | |
4636 | (version "1.3.0.1") | |
4637 | (source | |
4638 | (origin | |
4639 | (method url-fetch) | |
4640 | (uri (string-append | |
4641 | "https://hackage.haskell.org/package/generic-random/" | |
4642 | "generic-random-" version ".tar.gz")) | |
4643 | (sha256 | |
4644 | (base32 "0d9w7xcmsb31b95fr9d5jwbsajcl1yi4347dlbw4bybil2vjwd7k")))) | |
4645 | (arguments '()))) | |
4646 | ||
dddbc90c RV |
4647 | (define-public ghc-generics-sop |
4648 | (package | |
4649 | (name "ghc-generics-sop") | |
3ed40e10 | 4650 | (version "0.4.0.1") |
dddbc90c RV |
4651 | (source |
4652 | (origin | |
4653 | (method url-fetch) | |
4654 | (uri (string-append "https://hackage.haskell.org/package/" | |
4655 | "generics-sop-" version "/" | |
4656 | "generics-sop-" version ".tar.gz")) | |
4657 | (sha256 | |
4658 | (base32 | |
3ed40e10 | 4659 | "160knr2phnzh2gldfv954lz029jzc7y8kz5xpmbf4z3vb5ngm6fw")))) |
dddbc90c | 4660 | (build-system haskell-build-system) |
80e0a085 | 4661 | (outputs '("out" "static" "doc")) |
3ed40e10 TS |
4662 | (inputs |
4663 | `(("ghc-sop-core" ,ghc-sop-core) | |
4664 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
dddbc90c RV |
4665 | (home-page "https://github.com/well-typed/generics-sop") |
4666 | (synopsis "Generic Programming using True Sums of Products for Haskell") | |
4667 | (description "This Haskell package supports the definition of generic | |
4668 | functions. Datatypes are viewed in a uniform, structured way: the choice | |
4669 | between constructors is represented using an n-ary sum, and the arguments of | |
4670 | each constructor are represented using an n-ary product.") | |
4671 | (license license:bsd-3))) | |
4672 | ||
4673 | (define-public ghc-geniplate-mirror | |
4674 | (package | |
4675 | (name "ghc-geniplate-mirror") | |
4676 | (version "0.7.6") | |
4677 | (source | |
4678 | (origin | |
4679 | (method url-fetch) | |
4680 | (uri (string-append "https://hackage.haskell.org/package" | |
4681 | "/geniplate-mirror" | |
4682 | "/geniplate-mirror-" version ".tar.gz")) | |
4683 | (sha256 | |
4684 | (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb")))) | |
4685 | (build-system haskell-build-system) | |
74a7dd7f TS |
4686 | (arguments |
4687 | `(#:cabal-revision | |
4688 | ("2" "03fg4vfm1wgq4mylggawdx0bfvbbjmdn700sqx7v3hk1bx0kjfzh"))) | |
dddbc90c RV |
4689 | (home-page "https://github.com/danr/geniplate") |
4690 | (synopsis "Use Template Haskell to generate Uniplate-like functions") | |
4691 | (description | |
4692 | "Use Template Haskell to generate Uniplate-like functions. This is a | |
4693 | maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate, | |
4694 | geniplate} package, written by Lennart Augustsson.") | |
4695 | (license license:bsd-3))) | |
4696 | ||
4697 | (define-public ghc-genvalidity | |
4698 | (package | |
4699 | (name "ghc-genvalidity") | |
920f44a1 | 4700 | (version "0.8.0.0") |
dddbc90c RV |
4701 | (source |
4702 | (origin | |
4703 | (method url-fetch) | |
4704 | (uri (string-append | |
4705 | "https://hackage.haskell.org/package/genvalidity/genvalidity-" | |
4706 | version | |
4707 | ".tar.gz")) | |
4708 | (sha256 | |
4709 | (base32 | |
920f44a1 | 4710 | "0w38aq9hfyymidncgkrs6yvja7j573d9sap5qfg5rz910fhsij9a")))) |
dddbc90c RV |
4711 | (build-system haskell-build-system) |
4712 | (inputs | |
4713 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
4714 | ("ghc-validity" ,ghc-validity))) | |
4715 | (native-inputs | |
4716 | `(("ghc-hspec" ,ghc-hspec) | |
4717 | ("hspec-discover" ,hspec-discover) | |
4718 | ("ghc-hspec-core" ,ghc-hspec-core))) | |
4719 | (home-page | |
4720 | "https://github.com/NorfairKing/validity") | |
4721 | (synopsis | |
4722 | "Testing utilities for the @code{validity} library") | |
4723 | (description | |
4724 | "This package provides testing utilities that are useful in conjunction | |
4725 | with the @code{Validity} typeclass.") | |
4726 | (license license:expat))) | |
4727 | ||
4728 | (define-public ghc-genvalidity-property | |
4729 | (package | |
4730 | (name "ghc-genvalidity-property") | |
e4ede35b | 4731 | (version "0.4.0.0") |
dddbc90c RV |
4732 | (source |
4733 | (origin | |
4734 | (method url-fetch) | |
4735 | (uri (string-append | |
4736 | "https://hackage.haskell.org/package/" | |
4737 | "genvalidity-property/genvalidity-property-" | |
4738 | version | |
4739 | ".tar.gz")) | |
4740 | (sha256 | |
4741 | (base32 | |
e4ede35b | 4742 | "0zayycx62226w54rvkxwhvqhznsr33dk3ds55yyqrfqbnhvph1s9")))) |
dddbc90c RV |
4743 | (build-system haskell-build-system) |
4744 | (inputs | |
4745 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
4746 | ("ghc-genvalidity" ,ghc-genvalidity) | |
4747 | ("ghc-hspec" ,ghc-hspec) | |
4748 | ("hspec-discover" ,hspec-discover) | |
4749 | ("ghc-validity" ,ghc-validity))) | |
4750 | (native-inputs `(("ghc-doctest" ,ghc-doctest))) | |
4751 | (home-page | |
4752 | "https://github.com/NorfairKing/validity") | |
4753 | (synopsis | |
4754 | "Standard properties for functions on @code{Validity} types") | |
4755 | (description | |
4756 | "This package supplements the @code{Validity} typeclass with standard | |
4757 | properties for functions operating on them.") | |
4758 | (license license:expat))) | |
4759 | ||
e71fb573 TS |
4760 | (define-public ghc-getopt-generics |
4761 | (package | |
4762 | (name "ghc-getopt-generics") | |
4763 | (version "0.13.0.4") | |
4764 | (source | |
4765 | (origin | |
4766 | (method url-fetch) | |
4767 | (uri (string-append "https://hackage.haskell.org/package/" | |
4768 | "getopt-generics/getopt-generics-" | |
4769 | version ".tar.gz")) | |
4770 | (sha256 | |
4771 | (base32 | |
4772 | "1rszkcn1rg38wf35538ljk5bbqjc57y9sb3a0al7qxm82gy8yigr")))) | |
4773 | (build-system haskell-build-system) | |
4774 | (inputs | |
4775 | `(("ghc-base-compat" ,ghc-base-compat) | |
4776 | ("ghc-base-orphans" ,ghc-base-orphans) | |
4777 | ("ghc-generics-sop" ,ghc-generics-sop) | |
4778 | ("ghc-tagged" ,ghc-tagged))) | |
4779 | (native-inputs | |
4780 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
4781 | ("ghc-hspec" ,ghc-hspec) | |
4782 | ("ghc-safe" ,ghc-safe) | |
4783 | ("ghc-silently" ,ghc-silently) | |
4784 | ("hspec-discover" ,hspec-discover))) | |
4785 | (home-page "https://github.com/soenkehahn/getopt-generics") | |
4786 | (synopsis "Create command line interfaces with ease") | |
4787 | (description "This library provides tools to create command line | |
4788 | interfaces with ease.") | |
4789 | (license license:bsd-3))) | |
4790 | ||
dddbc90c RV |
4791 | (define-public ghc-gitrev |
4792 | (package | |
4793 | (name "ghc-gitrev") | |
4794 | (version "1.3.1") | |
4795 | (source | |
4796 | (origin | |
4797 | (method url-fetch) | |
4798 | (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-" | |
4799 | version ".tar.gz")) | |
4800 | (sha256 | |
4801 | (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8")))) | |
4802 | (build-system haskell-build-system) | |
4803 | (inputs `(("ghc-base-compat" ,ghc-base-compat))) | |
4804 | (home-page "https://github.com/acfoltzer/gitrev") | |
4805 | (synopsis "Compile git revision info into Haskell projects") | |
4806 | (description | |
4807 | "This package provides some handy Template Haskell splices for including | |
4808 | the current git hash and branch in the code of your project. This is useful | |
4809 | for including in panic messages, @command{--version} output, or diagnostic | |
4810 | info for more informative bug reports.") | |
4811 | (license license:bsd-3))) | |
4812 | ||
4813 | (define-public ghc-glob | |
4814 | (package | |
4815 | (name "ghc-glob") | |
b900f486 | 4816 | (version "0.10.0") |
dddbc90c RV |
4817 | (source |
4818 | (origin | |
4819 | (method url-fetch) | |
4820 | (uri (string-append "https://hackage.haskell.org/package/" | |
4821 | "Glob-" version "/" | |
4822 | "Glob-" version ".tar.gz")) | |
4823 | (sha256 | |
4824 | (base32 | |
b900f486 | 4825 | "0953f91f62ncna402vsrfzdcyxhdpjna3bgdw017kad0dfymacs7")))) |
dddbc90c RV |
4826 | (build-system haskell-build-system) |
4827 | (inputs | |
4828 | `(("ghc-dlist" ,ghc-dlist) | |
4829 | ("ghc-semigroups" ,ghc-semigroups) | |
4830 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
4831 | (native-inputs | |
4832 | `(("ghc-hunit" ,ghc-hunit) | |
4833 | ("ghc-quickcheck" ,ghc-quickcheck) | |
4834 | ("ghc-test-framework" ,ghc-test-framework) | |
4835 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
4836 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
4837 | (home-page "http://iki.fi/matti.niemenmaa/glob/") | |
4838 | (synopsis "Haskell library matching glob patterns against file paths") | |
4839 | (description "This package provides a Haskell library for @dfn{globbing}: | |
4840 | matching patterns against file paths.") | |
4841 | (license license:bsd-3))) | |
4842 | ||
4843 | (define-public ghc-gluraw | |
4844 | (package | |
4845 | (name "ghc-gluraw") | |
4846 | (version "2.0.0.4") | |
4847 | (source | |
4848 | (origin | |
4849 | (method url-fetch) | |
4850 | (uri (string-append | |
4851 | "https://hackage.haskell.org/package/GLURaw/GLURaw-" | |
4852 | version | |
4853 | ".tar.gz")) | |
4854 | (sha256 | |
4855 | (base32 | |
4856 | "1i2xi35n5z0d372px9mh6cyhgg1m0cfaiy3fnspkf6kbn9fgsqxq")))) | |
4857 | (build-system haskell-build-system) | |
4858 | (inputs | |
4859 | `(("ghc-openglraw" ,ghc-openglraw))) | |
228d2901 | 4860 | (home-page "https://wiki.haskell.org/Opengl") |
dddbc90c RV |
4861 | (synopsis "Raw Haskell bindings GLU") |
4862 | (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL | |
4863 | utility library. It is basically a 1:1 mapping of GLU's C API, intended as a | |
4864 | basis for a nicer interface.") | |
4865 | (license license:bsd-3))) | |
4866 | ||
4867 | (define-public ghc-glut | |
4868 | (package | |
4869 | (name "ghc-glut") | |
8284bd09 | 4870 | (version "2.7.0.15") |
dddbc90c RV |
4871 | (source |
4872 | (origin | |
4873 | (method url-fetch) | |
4874 | (uri (string-append | |
4875 | "https://hackage.haskell.org/package/GLUT/GLUT-" | |
4876 | version | |
4877 | ".tar.gz")) | |
4878 | (sha256 | |
4879 | (base32 | |
8284bd09 | 4880 | "0271vnf6wllhxjwy0m348x90kv27aybxcbqkkglmd5w4cpwjg5g9")))) |
dddbc90c RV |
4881 | (build-system haskell-build-system) |
4882 | (inputs | |
4883 | `(("ghc-statevar" ,ghc-statevar) | |
4884 | ("ghc-opengl" ,ghc-opengl) | |
4885 | ("ghc-openglraw" ,ghc-openglraw) | |
4886 | ("freeglut" ,freeglut))) | |
228d2901 | 4887 | (home-page "https://wiki.haskell.org/Opengl") |
dddbc90c RV |
4888 | (synopsis "Haskell bindings for the OpenGL Utility Toolkit") |
4889 | (description "This library provides Haskell bindings for the OpenGL | |
4890 | Utility Toolkit, a window system-independent toolkit for writing OpenGL | |
4891 | programs.") | |
4892 | (license license:bsd-3))) | |
4893 | ||
4894 | (define-public ghc-gnuplot | |
4895 | (package | |
4896 | (name "ghc-gnuplot") | |
d34860c7 | 4897 | (version "0.5.6") |
dddbc90c RV |
4898 | (source |
4899 | (origin | |
4900 | (method url-fetch) | |
4901 | (uri (string-append | |
4902 | "mirror://hackage/package/gnuplot/gnuplot-" | |
4903 | version ".tar.gz")) | |
4904 | (sha256 | |
d34860c7 | 4905 | (base32 "1g6xgnlkh17avivn1rlq7l2nvs26dvrbx4rkfld0bf6kyqaqwrgp")))) |
dddbc90c RV |
4906 | (build-system haskell-build-system) |
4907 | (inputs | |
4908 | `(("ghc-temporary" ,ghc-temporary) | |
4909 | ("ghc-utility-ht" ,ghc-utility-ht) | |
4910 | ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers) | |
4911 | ("ghc-data-accessor" ,ghc-data-accessor) | |
4912 | ("ghc-semigroups" ,ghc-semigroups) | |
4913 | ("gnuplot" ,gnuplot))) | |
4914 | (arguments | |
4915 | `(#:phases | |
4916 | (modify-phases %standard-phases | |
4917 | (add-before 'configure 'fix-path-to-gnuplot | |
4918 | (lambda* (#:key inputs #:allow-other-keys) | |
4919 | (let ((gnuplot (assoc-ref inputs "gnuplot"))) | |
4920 | (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs" | |
4921 | (("(gnuplotName = ).*$" all cmd) | |
4922 | (string-append cmd "\"" gnuplot "/bin/gnuplot\""))))))))) | |
228d2901 | 4923 | (home-page "https://wiki.haskell.org/Gnuplot") |
dddbc90c RV |
4924 | (synopsis "2D and 3D plots using gnuplot") |
4925 | (description "This package provides a Haskell module for creating 2D and | |
4926 | 3D plots using gnuplot.") | |
4927 | (license license:bsd-3))) | |
4928 | ||
4929 | (define-public ghc-graphviz | |
4930 | (package | |
4931 | (name "ghc-graphviz") | |
c264bd42 | 4932 | (version "2999.20.0.3") |
dddbc90c RV |
4933 | (source (origin |
4934 | (method url-fetch) | |
4935 | (uri (string-append "https://hackage.haskell.org/package/" | |
4936 | "graphviz/graphviz-" version ".tar.gz")) | |
4937 | (sha256 | |
4938 | (base32 | |
c264bd42 | 4939 | "04k26zw61nfv1pkd00iaq89pgsaiym0sf4cbzkmm2k2fj5xa587g")))) |
dddbc90c | 4940 | (build-system haskell-build-system) |
c264bd42 TS |
4941 | (arguments |
4942 | `(#:phases | |
4943 | (modify-phases %standard-phases | |
4944 | (add-before 'configure 'update-constraints | |
4945 | (lambda _ | |
4946 | (substitute* "graphviz.cabal" | |
4947 | (("QuickCheck >= 2\\.3 && < 2\\.13") | |
4948 | "QuickCheck >= 2.3 && < 2.14") | |
4949 | (("hspec >= 2\\.1 && < 2\\.7") | |
4950 | "hspec >= 2.1 && < 2.8"))))))) | |
dddbc90c RV |
4951 | (inputs |
4952 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
4953 | ("ghc-colour" ,ghc-colour) | |
4954 | ("ghc-dlist" ,ghc-dlist) | |
4955 | ("ghc-fgl" ,ghc-fgl) | |
4956 | ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary) | |
4957 | ("ghc-polyparse" ,ghc-polyparse) | |
4958 | ("ghc-temporary" ,ghc-temporary) | |
4959 | ("ghc-wl-pprint-text" ,ghc-wl-pprint-text))) | |
4960 | (native-inputs | |
4961 | `(("ghc-hspec" ,ghc-hspec) | |
4962 | ("graphviz" ,graphviz) | |
4963 | ("hspec-discover" ,hspec-discover))) | |
4964 | (home-page "https://hackage.haskell.org/package/graphviz") | |
4965 | (synopsis "Bindings to Graphviz for graph visualisation") | |
4966 | (description | |
4967 | "This library provides bindings for the Dot language used by | |
4968 | the @uref{https://graphviz.org/, Graphviz} suite of programs for | |
4969 | visualising graphs, as well as functions to call those programs. | |
4970 | Main features of the graphviz library include: | |
4971 | ||
4972 | @enumerate | |
4973 | @item Almost complete coverage of all Graphviz attributes and syntax | |
4974 | @item Support for specifying clusters | |
4975 | @item The ability to use a custom node type | |
4976 | @item Functions for running a Graphviz layout tool with all specified output types | |
4977 | @item Generate and parse Dot code with two options: strict and liberal | |
4978 | @item Functions to convert FGL graphs and other graph-like data structures | |
4979 | @item Round-trip support for passing an FGL graph through Graphviz to augment node | |
4980 | and edge labels with positional information, etc. | |
4981 | @end enumerate\n") | |
4982 | (license license:bsd-3))) | |
4983 | ||
f3e18645 TS |
4984 | (define-public ghc-groups |
4985 | (package | |
4986 | (name "ghc-groups") | |
4987 | (version "0.4.1.0") | |
4988 | (source | |
4989 | (origin | |
4990 | (method url-fetch) | |
4991 | (uri (string-append "https://hackage.haskell.org/package/" | |
4992 | "groups/groups-" version ".tar.gz")) | |
4993 | (sha256 | |
4994 | (base32 | |
4995 | "0ggkygkyxw5ga4cza82bjvdraavl294k0h6b62d2px7z3nvqhifx")))) | |
4996 | (build-system haskell-build-system) | |
4997 | (home-page "https://hackage.haskell.org/package/groups") | |
4998 | (synopsis "Haskell 98 groups") | |
4999 | (description "This package provides Haskell 98 groups. A group is a | |
5000 | monoid with invertibility.") | |
5001 | (license license:bsd-3))) | |
5002 | ||
dddbc90c RV |
5003 | (define-public ghc-gtk2hs-buildtools |
5004 | (package | |
5005 | (name "ghc-gtk2hs-buildtools") | |
b79b43d4 | 5006 | (version "0.13.5.4") |
dddbc90c RV |
5007 | (source |
5008 | (origin | |
5009 | (method url-fetch) | |
5010 | (uri (string-append "https://hackage.haskell.org/package/" | |
5011 | "gtk2hs-buildtools/gtk2hs-buildtools-" | |
5012 | version ".tar.gz")) | |
5013 | (sha256 | |
5014 | (base32 | |
b79b43d4 | 5015 | "1flxsacxwmabzzalhn8558kmj95z01c0lmikrn56nxh7p62nxm25")))) |
dddbc90c RV |
5016 | (build-system haskell-build-system) |
5017 | (inputs | |
5018 | `(("ghc-random" ,ghc-random) | |
5019 | ("ghc-hashtables" ,ghc-hashtables))) | |
5020 | (native-inputs | |
5021 | `(("ghc-alex" ,ghc-alex) | |
5022 | ("ghc-happy" ,ghc-happy))) | |
5023 | (home-page "http://projects.haskell.org/gtk2hs/") | |
5024 | (synopsis "Tools to build the Gtk2Hs suite of user interface libraries") | |
5025 | (description | |
5026 | "This package provides a set of helper programs necessary to build the | |
5027 | Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool | |
5028 | that is used to generate FFI declarations, a tool to build a type hierarchy | |
5029 | that mirrors the C type hierarchy of GObjects found in glib, and a generator | |
5030 | for signal declarations that are used to call back from C to Haskell. These | |
5031 | tools are not needed to actually run Gtk2Hs programs.") | |
5032 | (license license:gpl2))) | |
5033 | ||
5034 | (define-public ghc-hackage-security | |
5035 | (package | |
5036 | (name "ghc-hackage-security") | |
5037 | (version "0.5.3.0") | |
5038 | (source | |
5039 | (origin | |
5040 | (method url-fetch) | |
5041 | (uri (string-append "https://hackage.haskell.org/package/" | |
5042 | "hackage-security/hackage-security-" | |
5043 | version ".tar.gz")) | |
5044 | (sha256 | |
5045 | (base32 | |
5046 | "08bwawc7ramgdh54vcly2m9pvfchp0ahhs8117jajni6x4bnx66v")))) | |
5047 | (build-system haskell-build-system) | |
5048 | (arguments | |
034380f3 TS |
5049 | `(#:cabal-revision |
5050 | ("6" "1xs2nkzlvkdz8g27yzfxbjdbdadfmgiydnlpn5dm77cg18r495ay") | |
5051 | #:tests? #f)) ; Tests fail because of framework updates. | |
dddbc90c RV |
5052 | (inputs |
5053 | `(("ghc-base16-bytestring" ,ghc-base16-bytestring) | |
5054 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
5055 | ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256) | |
5056 | ("ghc-ed25519" ,ghc-ed25519) | |
5057 | ("ghc-network" ,ghc-network) | |
5058 | ("ghc-network-uri" ,ghc-network-uri) | |
5059 | ("ghc-tar" ,ghc-tar) | |
5060 | ("ghc-zlib" ,ghc-zlib))) | |
5061 | (native-inputs | |
5062 | `(("ghc-network-uri" ,ghc-network-uri) | |
5063 | ("ghc-quickcheck" ,ghc-quickcheck) | |
5064 | ("ghc-tar" ,ghc-tar) | |
5065 | ("ghc-tasty" ,ghc-tasty) | |
5066 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
5067 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
5068 | ("ghc-temporary" ,ghc-temporary) | |
5069 | ("ghc-zlib" ,ghc-zlib))) | |
5070 | (home-page "https://github.com/haskell/hackage-security") | |
5071 | (synopsis "Hackage security library") | |
5072 | (description "This Hackage security library provides both server and | |
5073 | client utilities for securing @uref{http://hackage.haskell.org/, the | |
5074 | Hackage package server}. It is based on | |
5075 | @uref{http://theupdateframework.com/, The Update Framework}, a set of | |
5076 | recommendations developed by security researchers at various universities | |
5077 | in the US as well as developers on the @uref{https://www.torproject.org/, | |
5078 | Tor project}.") | |
5079 | (license license:bsd-3))) | |
5080 | ||
5081 | (define-public ghc-haddock | |
5082 | (package | |
5083 | (name "ghc-haddock") | |
b0d34d23 | 5084 | (version "2.22.0") |
dddbc90c RV |
5085 | (source |
5086 | (origin | |
5087 | (method url-fetch) | |
5088 | (uri (string-append | |
5089 | "https://hackage.haskell.org/package/haddock/haddock-" | |
5090 | version | |
5091 | ".tar.gz")) | |
5092 | (sha256 | |
5093 | (base32 | |
b0d34d23 | 5094 | "1k42z2zh550rl93c8pa9cg2xsanp6wvb031xvan6cmngnplmdib6")))) |
dddbc90c RV |
5095 | (build-system haskell-build-system) |
5096 | (arguments | |
5097 | `(#:phases | |
5098 | (modify-phases %standard-phases | |
b0d34d23 TS |
5099 | ;; The release tarball for 2.22.0 is missing the test data for |
5100 | ;; the Hoogle test, causing it to fail. This is fixed in the | |
5101 | ;; next release, but for now we disable it. | |
5102 | (add-before 'configure 'remove-hoogle-test | |
dddbc90c RV |
5103 | (lambda _ |
5104 | (use-modules (ice-9 rdelim)) | |
5105 | (with-atomic-file-replacement "haddock.cabal" | |
5106 | (lambda (in out) | |
5107 | (let loop ((line (read-line in 'concat)) (deleting? #f)) | |
5108 | (cond | |
5109 | ((eof-object? line) #t) | |
5110 | ((string-every char-set:whitespace line) | |
5111 | (unless deleting? (display line out)) | |
5112 | (loop (read-line in 'concat) #f)) | |
b0d34d23 | 5113 | ((string=? line "test-suite hoogle-test\n") |
dddbc90c RV |
5114 | (loop (read-line in 'concat) #t)) |
5115 | (else | |
5116 | (unless deleting? (display line out)) | |
b0d34d23 TS |
5117 | (loop (read-line in 'concat) deleting?)))))))) |
5118 | (add-before 'check 'add-haddock-to-path | |
5119 | (lambda _ | |
5120 | (setenv "PATH" (string-append (getcwd) "/dist/build/haddock" | |
5121 | ":" (getenv "PATH"))) | |
5122 | #t))))) | |
dddbc90c RV |
5123 | (inputs `(("ghc-haddock-api" ,ghc-haddock-api))) |
5124 | (native-inputs | |
b0d34d23 TS |
5125 | `(("ghc-haddock-test" ,ghc-haddock-test) |
5126 | ("ghc-hspec" ,ghc-hspec))) | |
dddbc90c RV |
5127 | (home-page "https://www.haskell.org/haddock/") |
5128 | (synopsis | |
5129 | "Documentation-generation tool for Haskell libraries") | |
5130 | (description | |
5131 | "Haddock is a documentation-generation tool for Haskell libraries.") | |
5132 | (license license:bsd-3))) | |
5133 | ||
5134 | (define-public ghc-haddock-api | |
5135 | (package | |
5136 | (name "ghc-haddock-api") | |
1b84d8ef | 5137 | (version "2.22.0") |
dddbc90c RV |
5138 | (source |
5139 | (origin | |
5140 | (method url-fetch) | |
5141 | (uri (string-append | |
5142 | "https://hackage.haskell.org/package/haddock-api/haddock-api-" | |
5143 | version | |
5144 | ".tar.gz")) | |
1b84d8ef | 5145 | (patches (search-patches "ghc-haddock-api-fix-haddock.patch")) |
dddbc90c RV |
5146 | (sha256 |
5147 | (base32 | |
1b84d8ef | 5148 | "149q4zlf4m7wcrr4af2n2flh0jxjsypshbc229vsj1m0kmz4z014")))) |
dddbc90c RV |
5149 | (build-system haskell-build-system) |
5150 | (arguments | |
5151 | `(#:phases | |
5152 | (modify-phases %standard-phases | |
5153 | (add-before 'configure 'update-constraints | |
5154 | (lambda _ | |
5155 | (substitute* "haddock-api.cabal" | |
1b84d8ef TS |
5156 | (("QuickCheck \\^>= 2\\.11") |
5157 | "QuickCheck ^>= 2.13") | |
5158 | (("hspec >= 2\\.4\\.4 && < 2\\.6") | |
5159 | "hspec >= 2.4.4 && < 2.8"))))))) | |
dddbc90c RV |
5160 | (inputs |
5161 | `(("ghc-paths" ,ghc-paths) | |
5162 | ("ghc-haddock-library" ,ghc-haddock-library))) | |
5163 | (native-inputs | |
5164 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
5165 | ("ghc-hspec" ,ghc-hspec) | |
5166 | ("hspec-discover" ,hspec-discover))) | |
5167 | (home-page "https://www.haskell.org/haddock/") | |
5168 | (synopsis "API for documentation-generation tool Haddock") | |
5169 | (description "This package provides an API to Haddock, the | |
5170 | documentation-generation tool for Haskell libraries.") | |
5171 | (license license:bsd-3))) | |
5172 | ||
5173 | (define-public ghc-haddock-library | |
5174 | (package | |
5175 | (name "ghc-haddock-library") | |
10707d57 | 5176 | (version "1.7.0") |
dddbc90c RV |
5177 | (source |
5178 | (origin | |
5179 | (method url-fetch) | |
5180 | (uri (string-append | |
5181 | "https://hackage.haskell.org/package/haddock-library/haddock-library-" | |
5182 | version | |
5183 | ".tar.gz")) | |
5184 | (sha256 | |
5185 | (base32 | |
10707d57 | 5186 | "04fhcjk0pvsaqvsgp2w06cv2qvshq1xs1bwc157q4lmkgr57khp7")))) |
dddbc90c RV |
5187 | (build-system haskell-build-system) |
5188 | (arguments | |
5189 | `(#:phases | |
5190 | (modify-phases %standard-phases | |
10707d57 TS |
5191 | ;; Since there is no revised Cabal file upstream, we have to |
5192 | ;; patch it manually. | |
dddbc90c RV |
5193 | (add-before 'configure 'relax-test-suite-dependencies |
5194 | (lambda _ | |
5195 | (substitute* "haddock-library.cabal" | |
10707d57 TS |
5196 | (("hspec\\s*>= 2.4.4 && < 2.6") "hspec") |
5197 | (("QuickCheck\\s*\\^>= 2.11") "QuickCheck")) | |
dddbc90c RV |
5198 | #t))))) |
5199 | (native-inputs | |
5200 | `(("ghc-base-compat" ,ghc-base-compat) | |
5201 | ("ghc-hspec" ,ghc-hspec) | |
5202 | ("ghc-optparse-applicative" ,ghc-optparse-applicative) | |
5203 | ("ghc-quickcheck" ,ghc-quickcheck) | |
5204 | ("ghc-tree-diff" ,ghc-tree-diff) | |
5205 | ("hspec-discover" ,hspec-discover))) | |
5206 | (home-page "https://www.haskell.org/haddock/") | |
5207 | (synopsis "Library exposing some functionality of Haddock") | |
5208 | (description | |
5209 | "Haddock is a documentation-generation tool for Haskell libraries. These | |
5210 | modules expose some functionality of it without pulling in the GHC dependency. | |
5211 | Please note that the API is likely to change so specify upper bounds in your | |
5212 | project if you can't release often. For interacting with Haddock itself, see | |
5213 | the ‘haddock’ package.") | |
5214 | (license license:bsd-3))) | |
5215 | ||
b0d34d23 TS |
5216 | ;; This package is needed for testing 'ghc-haddock'. It is no longer |
5217 | ;; published to Hackage, but it is maintained in the Haddock Git | |
5218 | ;; repository. | |
5219 | (define ghc-haddock-test | |
5220 | (package | |
5221 | (name "ghc-haddock-test") | |
5222 | (version "2.22.0") | |
5223 | (source | |
5224 | (origin | |
5225 | (method git-fetch) | |
5226 | (uri (git-reference | |
b0e7b699 | 5227 | (url "https://github.com/haskell/haddock") |
b0d34d23 TS |
5228 | (commit (string-append "haddock-" version "-release")))) |
5229 | (file-name (git-file-name name version)) | |
5230 | (sha256 | |
5231 | (base32 | |
5232 | "1ywxmqqan10gs0ppybdmdgsmvkzkpw7yirj2rw4qylg3x49a9zca")))) | |
5233 | (build-system haskell-build-system) | |
5234 | (arguments | |
5235 | `(#:phases | |
5236 | (modify-phases %standard-phases | |
5237 | (add-after 'unpack 'change-directory | |
5238 | (lambda _ | |
5239 | (chdir "haddock-test")))))) | |
5240 | (inputs | |
5241 | `(("ghc-syb" ,ghc-syb) | |
5242 | ("ghc-xml" ,ghc-xml))) | |
228d2901 | 5243 | (home-page "https://www.haskell.org/haddock/") |
b0d34d23 TS |
5244 | (synopsis "Test utilities for Haddock") |
5245 | (description "This package provides test utilities for Haddock.") | |
5246 | (license license:bsd-3) | |
5247 | (properties '((hidden? #t))))) | |
5248 | ||
dddbc90c RV |
5249 | (define-public ghc-half |
5250 | (package | |
5251 | (name "ghc-half") | |
5252 | (version "0.3") | |
5253 | (source | |
5254 | (origin | |
5255 | (method url-fetch) | |
5256 | (uri (string-append | |
5257 | "https://hackage.haskell.org/package/half/half-" | |
5258 | version ".tar.gz")) | |
5259 | (sha256 | |
5260 | (base32 | |
5261 | "14r0nx8hm5fic9gz0ybjjw4kyc758zfgvhhwvzsshpx5caq6zch6")))) | |
5262 | (build-system haskell-build-system) | |
5263 | (native-inputs | |
5264 | `(("ghc-hspec" ,ghc-hspec) | |
5265 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
5266 | (home-page "https://github.com/ekmett/half") | |
5267 | (synopsis "Half-precision floating-point computations") | |
5268 | (description "This library provides a half-precision floating-point | |
5269 | computation library for Haskell.") | |
5270 | (license license:bsd-3))) | |
5271 | ||
5272 | (define-public ghc-happy | |
5273 | (package | |
5274 | (name "ghc-happy") | |
90e7b0e4 | 5275 | (version "1.19.12") |
dddbc90c RV |
5276 | (source |
5277 | (origin | |
5278 | (method url-fetch) | |
5279 | (uri (string-append | |
5280 | "https://hackage.haskell.org/package/happy/happy-" | |
5281 | version | |
5282 | ".tar.gz")) | |
5283 | (sha256 | |
5284 | (base32 | |
90e7b0e4 | 5285 | "03xlmq6qmdx4zvzw8bp33kd9g7yvcq5cz4wg50xilw812kj276pv")))) |
dddbc90c RV |
5286 | (build-system haskell-build-system) |
5287 | (arguments | |
5288 | `(#:phases | |
5289 | (modify-phases %standard-phases | |
5290 | (add-after 'unpack 'skip-test-issue93 | |
5291 | (lambda _ | |
5292 | ;; Tests run out of memory on a system with 2GB of available RAM, | |
5293 | ;; in 'issue93.a.hs' and 'issue93.n.hs'. | |
5294 | (substitute* "tests/Makefile" | |
5295 | ((" issue93.y ") " ")) | |
5296 | #t))))) | |
5297 | (home-page "https://hackage.haskell.org/package/happy") | |
5298 | (synopsis "Parser generator for Haskell") | |
5299 | (description "Happy is a parser generator for Haskell. Given a grammar | |
5300 | specification in BNF, Happy generates Haskell code to parse the grammar. | |
5301 | Happy works in a similar way to the yacc tool for C.") | |
5302 | (license license:bsd-3))) | |
5303 | ||
5304 | (define-public ghc-hashable | |
5305 | (package | |
5306 | (name "ghc-hashable") | |
5307 | (version "1.2.7.0") | |
534d6caa | 5308 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
5309 | (source |
5310 | (origin | |
5311 | (method url-fetch) | |
5312 | (uri (string-append | |
5313 | "https://hackage.haskell.org/package/hashable/hashable-" | |
5314 | version | |
5315 | ".tar.gz")) | |
5316 | (sha256 | |
5317 | (base32 | |
5318 | "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc")))) | |
5319 | (build-system haskell-build-system) | |
65a16a45 TS |
5320 | (arguments |
5321 | `(#:cabal-revision | |
5322 | ("1" "197063dpl0wn67dp7a06yc2hxp81n24ykk7klbjx0fndm5n87dh3"))) | |
dddbc90c RV |
5323 | (inputs |
5324 | `(("ghc-random" ,ghc-random))) | |
5325 | (native-inputs | |
5326 | `(("ghc-test-framework" ,ghc-test-framework) | |
5327 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
5328 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
5329 | ("ghc-hunit" ,ghc-hunit) | |
5330 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
5331 | (home-page "https://github.com/tibbe/hashable") | |
5332 | (synopsis "Class for types that can be converted to a hash value") | |
5333 | (description | |
5334 | "This package defines a class, @code{Hashable}, for types that can be | |
5335 | converted to a hash value. This class exists for the benefit of hashing-based | |
5336 | data structures. The package provides instances for basic types and a way to | |
5337 | combine hash values.") | |
5338 | (license license:bsd-3))) | |
5339 | ||
5340 | (define-public ghc-hashable-bootstrap | |
5341 | (package | |
5342 | (inherit ghc-hashable) | |
5343 | (name "ghc-hashable-bootstrap") | |
65a16a45 TS |
5344 | (arguments |
5345 | `(#:tests? #f | |
5346 | ,@(package-arguments ghc-hashable))) | |
dddbc90c RV |
5347 | (native-inputs '()) |
5348 | (properties '((hidden? #t))))) | |
5349 | ||
5350 | (define-public ghc-hashable-time | |
5351 | (package | |
5352 | (name "ghc-hashable-time") | |
f5051e31 | 5353 | (version "0.2.0.2") |
dddbc90c RV |
5354 | (source |
5355 | (origin | |
5356 | (method url-fetch) | |
5357 | (uri (string-append | |
5358 | "https://hackage.haskell.org/package/hashable-time/hashable-time-" | |
5359 | version | |
5360 | ".tar.gz")) | |
5361 | (sha256 | |
5362 | (base32 | |
f5051e31 | 5363 | "1q7y4plqqwy5286hhx2fygn12h8lqk0y047b597sbdckskxzfqgs")))) |
dddbc90c RV |
5364 | (build-system haskell-build-system) |
5365 | (arguments | |
5366 | `(#:cabal-revision | |
f5051e31 | 5367 | ("2" "006phc5y9rrvsshdcmjmhxzxh8dpgs685mpqbkjm9c40xb1ydjbz"))) |
dddbc90c | 5368 | (inputs `(("ghc-hashable" ,ghc-hashable))) |
3b02036e | 5369 | (home-page "https://hackage.haskell.org/package/hashable-time") |
dddbc90c RV |
5370 | (synopsis "Hashable instances for Data.Time") |
5371 | (description | |
5372 | "This package provides @code{Hashable} instances for types in | |
5373 | @code{Data.Time}.") | |
5374 | (license license:bsd-3))) | |
5375 | ||
5376 | (define-public ghc-hashtables | |
5377 | (package | |
5378 | (name "ghc-hashtables") | |
19edf0d0 | 5379 | (version "1.2.3.4") |
dddbc90c RV |
5380 | (source |
5381 | (origin | |
5382 | (method url-fetch) | |
5383 | (uri (string-append | |
5384 | "https://hackage.haskell.org/package/hashtables/hashtables-" | |
5385 | version ".tar.gz")) | |
5386 | (sha256 | |
19edf0d0 | 5387 | (base32 "1rjmxnr30g4hygiywkpz5p9sanh0abs7ap4zc1kgd8zv04kycp0j")))) |
dddbc90c RV |
5388 | (build-system haskell-build-system) |
5389 | (inputs | |
5390 | `(("ghc-hashable" ,ghc-hashable) | |
5391 | ("ghc-primitive" ,ghc-primitive) | |
5392 | ("ghc-vector" ,ghc-vector))) | |
5393 | (home-page "https://github.com/gregorycollins/hashtables") | |
5394 | (synopsis "Haskell Mutable hash tables in the ST monad") | |
5395 | (description "This package provides a Haskell library including a | |
5396 | couple of different implementations of mutable hash tables in the ST | |
5397 | monad, as well as a typeclass abstracting their common operations, and | |
5398 | a set of wrappers to use the hash tables in the IO monad.") | |
5399 | (license license:bsd-3))) | |
5400 | ||
dd26713e JS |
5401 | (define-public ghc-haskeline-0.8 |
5402 | (package | |
5403 | (name "ghc-haskeline") | |
5404 | (version "0.8.0.0") | |
5405 | (source | |
5406 | (origin | |
5407 | (method url-fetch) | |
5408 | (uri (string-append | |
5409 | "https://hackage.haskell.org/package/haskeline/haskeline-" | |
5410 | version | |
5411 | ".tar.gz")) | |
5412 | (sha256 | |
5413 | (base32 | |
5414 | "0gqsa5s0drim9m42hv4wrq61mnvcdylxysfxfw3acncwilfrn9pb")))) | |
5415 | (build-system haskell-build-system) | |
5416 | (inputs `(("ghc-exceptions" ,ghc-exceptions))) | |
5417 | (native-inputs `(("ghc-hunit" ,ghc-hunit))) | |
5418 | ;; FIXME: Tests failing | |
5419 | (arguments `(#:tests? #f)) | |
5420 | (home-page "https://github.com/judah/haskeline") | |
5421 | (synopsis | |
5422 | "Command-line interface for user input, written in Haskell") | |
5423 | (description | |
5424 | "Haskeline provides a user interface for line input in command-line | |
5425 | programs. This library is similar in purpose to readline, but since it is | |
5426 | written in Haskell it is (hopefully) more easily used in other Haskell | |
5427 | programs. | |
5428 | ||
5429 | Haskeline runs both on POSIX-compatible systems and on Windows.") | |
5430 | (license license:bsd-3))) | |
5431 | ||
dddbc90c RV |
5432 | (define-public ghc-haskell-lexer |
5433 | (package | |
5434 | (name "ghc-haskell-lexer") | |
5435 | (version "1.0.2") | |
5436 | (source | |
5437 | (origin | |
5438 | (method url-fetch) | |
5439 | (uri (string-append | |
5440 | "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-" | |
5441 | version ".tar.gz")) | |
5442 | (sha256 | |
5443 | (base32 "1wyxd8x33x4v5vxyzkhm610pl86gbkc8y439092fr1735q9g7kfq")))) | |
5444 | (build-system haskell-build-system) | |
3ef91e15 | 5445 | (home-page "https://hackage.haskell.org/package/haskell-lexer") |
dddbc90c RV |
5446 | (synopsis "Fully compliant Haskell 98 lexer") |
5447 | (description | |
5448 | "This package provides a fully compliant Haskell 98 lexer.") | |
5449 | (license license:bsd-3))) | |
5450 | ||
5451 | (define-public ghc-haskell-src | |
5452 | (package | |
5453 | (name "ghc-haskell-src") | |
5454 | (version "1.0.3.0") | |
5455 | (source | |
5456 | (origin | |
5457 | (method url-fetch) | |
5458 | (uri (string-append | |
5459 | "https://hackage.haskell.org/package/haskell-src/haskell-src-" | |
5460 | version | |
5461 | ".tar.gz")) | |
5462 | (sha256 | |
5463 | (base32 | |
5464 | "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l")))) | |
5465 | (build-system haskell-build-system) | |
5466 | (inputs | |
5467 | `(("ghc-happy" ,ghc-happy) | |
5468 | ("ghc-syb" ,ghc-syb))) | |
5469 | (home-page | |
5470 | "https://hackage.haskell.org/package/haskell-src") | |
5471 | (synopsis | |
5472 | "Support for manipulating Haskell source code") | |
5473 | (description | |
5474 | "The @code{haskell-src} package provides support for manipulating Haskell | |
5475 | source code. The package provides a lexer, parser and pretty-printer, and a | |
5476 | definition of a Haskell abstract syntax tree (AST). Common uses of this | |
5477 | package are to parse or generate Haskell 98 code.") | |
5478 | (license license:bsd-3))) | |
5479 | ||
5480 | (define-public ghc-haskell-src-exts | |
5481 | (package | |
5482 | (name "ghc-haskell-src-exts") | |
37a05591 | 5483 | (version "1.21.1") |
dddbc90c RV |
5484 | (source |
5485 | (origin | |
5486 | (method url-fetch) | |
5487 | (uri (string-append | |
5488 | "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-" | |
5489 | version | |
5490 | ".tar.gz")) | |
5491 | (sha256 | |
5492 | (base32 | |
37a05591 | 5493 | "0q1y8n3d82gid9bcx8wxsqqmj9mq11fg3gp5yzpfbw958dhi3j9f")))) |
dddbc90c | 5494 | (build-system haskell-build-system) |
cad59e53 | 5495 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
5496 | (inputs |
5497 | `(("cpphs" ,cpphs) | |
5498 | ("ghc-happy" ,ghc-happy) | |
5499 | ("ghc-pretty-show" ,ghc-pretty-show))) | |
5500 | (native-inputs | |
5501 | `(("ghc-smallcheck" ,ghc-smallcheck) | |
5502 | ("ghc-tasty" ,ghc-tasty) | |
5503 | ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck) | |
5504 | ("ghc-tasty-golden" ,ghc-tasty-golden))) | |
5505 | (home-page "https://github.com/haskell-suite/haskell-src-exts") | |
5506 | (synopsis "Library for manipulating Haskell source") | |
5507 | (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an | |
5508 | extension of the standard @code{haskell-src} package, and handles most | |
5509 | registered syntactic extensions to Haskell. All extensions implemented in GHC | |
5510 | are supported. Apart from these standard extensions, it also handles regular | |
5511 | patterns as per the HaRP extension as well as HSX-style embedded XML syntax.") | |
5512 | (license license:bsd-3))) | |
5513 | ||
5514 | (define-public ghc-haskell-src-exts-util | |
5515 | (package | |
5516 | (name "ghc-haskell-src-exts-util") | |
77355bdf | 5517 | (version "0.2.5") |
dddbc90c RV |
5518 | (source |
5519 | (origin | |
5520 | (method url-fetch) | |
5521 | (uri (string-append "https://hackage.haskell.org/package/" | |
5522 | "haskell-src-exts-util/haskell-src-exts-util-" | |
5523 | version ".tar.gz")) | |
5524 | (sha256 | |
5525 | (base32 | |
77355bdf | 5526 | "0fvqi72m74p7q5sbpy8m2chm8a1lgy10mfrcxcz8wrh59vngj0n8")))) |
dddbc90c RV |
5527 | (build-system haskell-build-system) |
5528 | (inputs | |
5529 | `(("ghc-data-default" ,ghc-data-default) | |
5530 | ("ghc-haskell-src-exts" ,ghc-haskell-src-exts) | |
5531 | ("ghc-semigroups" ,ghc-semigroups) | |
5532 | ("ghc-uniplate" ,ghc-uniplate))) | |
5533 | (home-page "https://github.com/pepeiborra/haskell-src-exts-util") | |
5534 | (synopsis "Helper functions for working with haskell-src-exts trees") | |
5535 | (description | |
5536 | "This package provides helper functions for working with | |
5537 | @code{haskell-src-exts} trees.") | |
5538 | (license license:bsd-3))) | |
5539 | ||
5540 | (define-public ghc-haskell-src-meta | |
5541 | (package | |
5542 | (name "ghc-haskell-src-meta") | |
e94b3c72 | 5543 | (version "0.8.3") |
dddbc90c RV |
5544 | (source (origin |
5545 | (method url-fetch) | |
5546 | (uri (string-append "https://hackage.haskell.org/package/" | |
5547 | "haskell-src-meta/haskell-src-meta-" | |
5548 | version ".tar.gz")) | |
5549 | (sha256 | |
5550 | (base32 | |
e94b3c72 | 5551 | "17znnaqj2hnnfyc9p9xjzbs97h2jh1h4f4qbw648y3xa14wx5ra9")))) |
dddbc90c RV |
5552 | (build-system haskell-build-system) |
5553 | (inputs | |
5554 | `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts) | |
5555 | ("ghc-syb" ,ghc-syb) | |
5556 | ("ghc-th-orphans" ,ghc-th-orphans))) | |
5557 | (native-inputs | |
5558 | `(("ghc-hunit" ,ghc-hunit) | |
e94b3c72 TS |
5559 | ("ghc-tasty" ,ghc-tasty) |
5560 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
dddbc90c RV |
5561 | (home-page "https://hackage.haskell.org/package/haskell-src-meta") |
5562 | (synopsis "Parse source to template-haskell abstract syntax") | |
5563 | (description | |
5564 | "This package provides tools to parse Haskell sources to the | |
5565 | template-haskell abstract syntax.") | |
5566 | (license license:bsd-3))) | |
5567 | ||
5568 | (define-public ghc-hasktags | |
5569 | (package | |
5570 | (name "ghc-hasktags") | |
5571 | (version "0.71.2") | |
5572 | (source | |
5573 | (origin | |
5574 | (method url-fetch) | |
5575 | (uri (string-append | |
5576 | "https://hackage.haskell.org/package/hasktags/hasktags-" | |
5577 | version | |
5578 | ".tar.gz")) | |
5579 | (sha256 | |
5580 | (base32 | |
5581 | "1s2k9qrgy1jily96img2pmn7g35mwnnfiw6si3aw32jfhg5zsh1c")))) | |
5582 | (build-system haskell-build-system) | |
5583 | (inputs | |
5584 | `(("ghc-system-filepath" ,ghc-system-filepath) | |
5585 | ("ghc-optparse-applicative" ,ghc-optparse-applicative))) | |
5586 | (native-inputs | |
5587 | `(("ghc-json" ,ghc-json) | |
5588 | ("ghc-utf8-string" ,ghc-utf8-string) | |
5589 | ("ghc-microlens-platform" ,ghc-microlens-platform) | |
5590 | ("ghc-hunit" ,ghc-hunit))) | |
702a1012 | 5591 | (home-page "https://github.com/MarcWeber/hasktags") |
dddbc90c RV |
5592 | (synopsis "Make @code{Ctags} and @code{Etags} files for Haskell programs") |
5593 | (description | |
5594 | "This package provides a means of generating tag files for Emacs and | |
5595 | Vim.") | |
5596 | (license license:bsd-3))) | |
5597 | ||
5598 | (define-public ghc-hex | |
5599 | (package | |
5600 | (name "ghc-hex") | |
5601 | (version "0.1.2") | |
5602 | (source | |
5603 | (origin | |
5604 | (method url-fetch) | |
5605 | (uri (string-append "https://hackage.haskell.org/package/" | |
5606 | "hex-" version "/" | |
5607 | "hex-" version ".tar.gz")) | |
5608 | (sha256 | |
5609 | (base32 | |
5610 | "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj")))) | |
5611 | (build-system haskell-build-system) | |
5612 | (home-page "https://hackage.haskell.org/package/hex") | |
5613 | (synopsis "Convert strings into hexadecimal and back") | |
7230f6d5 TGR |
5614 | (description "This package converts between bytestrings and their |
5615 | hexadecimal string representation.") | |
dddbc90c RV |
5616 | (license license:bsd-3))) |
5617 | ||
5618 | (define-public ghc-highlighting-kate | |
5619 | (package | |
5620 | (name "ghc-highlighting-kate") | |
5621 | (version "0.6.4") | |
5622 | (source (origin | |
5623 | (method url-fetch) | |
5624 | (uri (string-append "https://hackage.haskell.org/package/" | |
5625 | "highlighting-kate/highlighting-kate-" | |
5626 | version ".tar.gz")) | |
5627 | (sha256 | |
5628 | (base32 | |
5629 | "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q")))) | |
5630 | (build-system haskell-build-system) | |
5631 | (inputs | |
5632 | `(("ghc-diff" ,ghc-diff) | |
5633 | ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin))) | |
5634 | (native-inputs | |
5635 | `(("ghc-blaze-html" ,ghc-blaze-html) | |
5636 | ("ghc-utf8-string" ,ghc-utf8-string))) | |
5637 | (home-page "https://github.com/jgm/highlighting-kate") | |
5638 | (synopsis "Syntax highlighting library") | |
5639 | (description | |
5640 | "Highlighting-kate is a syntax highlighting library with support for | |
5641 | nearly one hundred languages. The syntax parsers are automatically generated | |
5642 | from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax | |
5643 | supported by Kate can be added. An (optional) command-line program is | |
5644 | provided, along with a utility for generating new parsers from Kate XML syntax | |
5645 | descriptions.") | |
5646 | (license license:gpl2+))) | |
5647 | ||
5648 | (define-public ghc-hindent | |
5649 | (package | |
5650 | (name "ghc-hindent") | |
f545f894 | 5651 | (version "5.3.1") |
dddbc90c RV |
5652 | (source |
5653 | (origin | |
5654 | (method url-fetch) | |
5655 | (uri (string-append | |
5656 | "https://hackage.haskell.org/package/hindent/hindent-" | |
5657 | version | |
5658 | ".tar.gz")) | |
5659 | (sha256 | |
5660 | (base32 | |
f545f894 | 5661 | "008s8zm9qs972b7v5kkmr8l3i9kc6zm7yj33mkw6dv69b7h3c01l")))) |
dddbc90c RV |
5662 | (build-system haskell-build-system) |
5663 | (arguments | |
5664 | `(#:modules ((guix build haskell-build-system) | |
5665 | (guix build utils) | |
5666 | (guix build emacs-utils)) | |
5667 | #:imported-modules (,@%haskell-build-system-modules | |
5668 | (guix build emacs-utils)) | |
5669 | #:phases | |
5670 | (modify-phases %standard-phases | |
5671 | (add-after 'install 'emacs-install | |
5672 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
5673 | (let* ((out (assoc-ref outputs "out")) | |
5674 | (elisp-file "elisp/hindent.el") | |
d53e87cf | 5675 | (dest (string-append out "/share/emacs/site-lisp")) |
dddbc90c RV |
5676 | (emacs (string-append (assoc-ref inputs "emacs") |
5677 | "/bin/emacs"))) | |
5678 | (make-file-writable elisp-file) | |
5679 | (emacs-substitute-variables elisp-file | |
5680 | ("hindent-process-path" | |
5681 | (string-append out "/bin/hindent"))) | |
5682 | (install-file elisp-file dest) | |
5683 | (emacs-generate-autoloads "hindent" dest))))))) | |
5684 | (inputs | |
5685 | `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts) | |
5686 | ("ghc-monad-loops" ,ghc-monad-loops) | |
5687 | ("ghc-utf8-string" ,ghc-utf8-string) | |
5688 | ("ghc-exceptions" ,ghc-exceptions) | |
5689 | ("ghc-yaml" ,ghc-yaml) | |
5690 | ("ghc-unix-compat" ,ghc-unix-compat) | |
5691 | ("ghc-path" ,ghc-path) | |
5692 | ("ghc-path-io" ,ghc-path-io) | |
5693 | ("ghc-optparse-applicative" ,ghc-optparse-applicative))) | |
5694 | (native-inputs | |
5695 | `(("ghc-hspec" ,ghc-hspec) | |
5696 | ("ghc-diff" ,ghc-diff) | |
5697 | ("emacs" ,emacs-minimal))) | |
5698 | (home-page | |
5699 | "https://github.com/commercialhaskell/hindent") | |
5700 | (synopsis "Extensible Haskell pretty printer") | |
5701 | (description | |
5702 | "This package provides automatic formatting for Haskell files. Both a | |
5703 | library and an executable.") | |
5704 | (license license:bsd-3))) | |
5705 | ||
5706 | (define-public ghc-hinotify | |
5707 | (package | |
5708 | (name "ghc-hinotify") | |
c2342abb | 5709 | (version "0.4") |
dddbc90c RV |
5710 | (source (origin |
5711 | (method url-fetch) | |
5712 | (uri (string-append | |
5713 | "https://hackage.haskell.org/package/hinotify/" | |
5714 | "hinotify-" version ".tar.gz")) | |
5715 | (sha256 | |
5716 | (base32 | |
c2342abb | 5717 | "1x1lm685ws2q0z0ibwq6x3l72xh67mj06s36xiga3al48d92q63x")))) |
dddbc90c RV |
5718 | (build-system haskell-build-system) |
5719 | (inputs | |
5720 | `(("ghc-async" ,ghc-async))) | |
5721 | (home-page "https://github.com/kolmodin/hinotify.git") | |
5722 | (synopsis "Haskell binding to inotify") | |
5723 | (description "This library provides a wrapper to the Linux kernel's inotify | |
5724 | feature, allowing applications to subscribe to notifications when a file is | |
5725 | accessed or modified.") | |
5726 | (license license:bsd-3))) | |
5727 | ||
5728 | (define-public ghc-hmatrix | |
5729 | (package | |
5730 | (name "ghc-hmatrix") | |
65e29ed1 | 5731 | (version "0.20.0.0") |
dddbc90c RV |
5732 | (source |
5733 | (origin | |
5734 | (method url-fetch) | |
5735 | (uri (string-append | |
5736 | "https://hackage.haskell.org/package/hmatrix/hmatrix-" | |
5737 | version ".tar.gz")) | |
5738 | (sha256 | |
65e29ed1 | 5739 | (base32 "1sqy1aci5zfagkb34mz3xdil7cl96z4b4cx28cha54vc5sx1lhpg")))) |
dddbc90c | 5740 | (build-system haskell-build-system) |
54a5fd07 TS |
5741 | (arguments |
5742 | `(#:extra-directories ("lapack"))) | |
dddbc90c RV |
5743 | (inputs |
5744 | `(("ghc-random" ,ghc-random) | |
5745 | ("ghc-split" ,ghc-split) | |
5746 | ("ghc-storable-complex" ,ghc-storable-complex) | |
5747 | ("ghc-semigroups" ,ghc-semigroups) | |
5748 | ("ghc-vector" ,ghc-vector) | |
5749 | ;;("openblas" ,openblas) | |
5750 | ("lapack" ,lapack))) | |
5751 | ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which | |
5752 | ;; disables inclusion of the LAPACK functions. | |
5753 | ;; (arguments `(#:configure-flags '("--flags=openblas"))) | |
5754 | (home-page "https://github.com/albertoruiz/hmatrix") | |
5755 | (synopsis "Haskell numeric linear algebra library") | |
5756 | (description "The HMatrix package provices a Haskell library for | |
5757 | dealing with linear systems, matrix decompositions, and other | |
5758 | numerical computations based on BLAS and LAPACK.") | |
5759 | (license license:bsd-3))) | |
5760 | ||
5761 | (define-public ghc-hmatrix-gsl | |
5762 | (package | |
5763 | (name "ghc-hmatrix-gsl") | |
5764 | (version "0.19.0.1") | |
5765 | (source | |
5766 | (origin | |
5767 | (method url-fetch) | |
5768 | (uri (string-append | |
5769 | "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-" | |
5770 | version ".tar.gz")) | |
5771 | (sha256 | |
5772 | (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm")))) | |
5773 | (build-system haskell-build-system) | |
54a5fd07 TS |
5774 | (arguments |
5775 | `(#:extra-directories ("gsl"))) | |
dddbc90c RV |
5776 | (inputs |
5777 | `(("ghc-hmatrix" ,ghc-hmatrix) | |
5778 | ("ghc-vector" ,ghc-vector) | |
5779 | ("ghc-random" ,ghc-random) | |
5780 | ("gsl" ,gsl))) | |
5781 | (native-inputs `(("pkg-config" ,pkg-config))) | |
5782 | (home-page "https://github.com/albertoruiz/hmatrix") | |
5783 | (synopsis "Haskell GSL binding") | |
5784 | (description "This Haskell library provides a purely functional | |
5785 | interface to selected numerical computations, internally implemented | |
5786 | using GSL.") | |
5787 | (license license:gpl3+))) | |
5788 | ||
5789 | (define-public ghc-hmatrix-gsl-stats | |
5790 | (package | |
5791 | (name "ghc-hmatrix-gsl-stats") | |
e9b359f5 | 5792 | (version "0.4.1.8") |
dddbc90c RV |
5793 | (source |
5794 | (origin | |
5795 | (method url-fetch) | |
5796 | (uri | |
5797 | (string-append | |
5798 | "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-" | |
5799 | version ".tar.gz")) | |
5800 | (sha256 | |
e9b359f5 | 5801 | (base32 "1cq049sj3q5r06x7i35hqrkf2jc4p4kfi9zv0jmi2vp7w4644i5q")))) |
dddbc90c RV |
5802 | (build-system haskell-build-system) |
5803 | (inputs | |
5804 | `(("ghc-vector" ,ghc-vector) | |
5805 | ("ghc-storable-complex" ,ghc-storable-complex) | |
5806 | ("ghc-hmatrix" ,ghc-hmatrix) | |
5807 | ("gsl" ,gsl))) | |
5808 | (native-inputs `(("pkg-config" ,pkg-config))) | |
5809 | (home-page "http://code.haskell.org/hmatrix-gsl-stats") | |
5810 | (synopsis "GSL Statistics interface for Haskell") | |
5811 | (description "This Haskell library provides a purely functional | |
5812 | interface for statistics based on hmatrix and GSL.") | |
5813 | (license license:bsd-3))) | |
5814 | ||
5815 | (define-public ghc-hmatrix-special | |
5816 | (package | |
5817 | (name "ghc-hmatrix-special") | |
5818 | (version "0.19.0.0") | |
5819 | (source | |
5820 | (origin | |
5821 | (method url-fetch) | |
5822 | (uri | |
5823 | (string-append | |
5824 | "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-" | |
5825 | version ".tar.gz")) | |
5826 | (sha256 | |
5827 | (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz")))) | |
5828 | (build-system haskell-build-system) | |
5829 | (inputs | |
5830 | `(("ghc-hmatrix" ,ghc-hmatrix) | |
5831 | ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl))) | |
5832 | (home-page "https://github.com/albertoruiz/hmatrix") | |
5833 | (synopsis "Haskell interface to GSL special functions") | |
5834 | (description "This library provides an interface to GSL special | |
5835 | functions for Haskell.") | |
5836 | (license license:gpl3+))) | |
5837 | ||
5838 | (define-public ghc-hostname | |
5839 | (package | |
5840 | (name "ghc-hostname") | |
5841 | (version "1.0") | |
5842 | (source | |
5843 | (origin | |
5844 | (method url-fetch) | |
5845 | (uri (string-append "https://hackage.haskell.org/package/hostname/" | |
5846 | "hostname-" version ".tar.gz")) | |
5847 | (sha256 | |
5848 | (base32 | |
5849 | "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv")))) | |
5850 | (build-system haskell-build-system) | |
5851 | (home-page "https://hackage.haskell.org/package/hostname") | |
5852 | (synopsis "Hostname in Haskell") | |
5853 | (description "Network.HostName is a simple package providing a means to | |
5854 | determine the hostname.") | |
5855 | (license license:bsd-3))) | |
5856 | ||
5857 | (define-public ghc-hourglass | |
5858 | (package | |
5859 | (name "ghc-hourglass") | |
5860 | (version "0.2.12") | |
5861 | (source (origin | |
5862 | (method url-fetch) | |
5863 | (uri (string-append "https://hackage.haskell.org/package/" | |
5864 | "hourglass/hourglass-" version ".tar.gz")) | |
5865 | (sha256 | |
5866 | (base32 | |
5867 | "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4")))) | |
5868 | (build-system haskell-build-system) | |
5869 | (inputs | |
5870 | `(("ghc-old-locale" ,ghc-old-locale))) | |
5871 | (native-inputs | |
5872 | `(("ghc-tasty" ,ghc-tasty) | |
5873 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
5874 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
5875 | (home-page "https://github.com/vincenthz/hs-hourglass") | |
5876 | (synopsis "Simple time-related library for Haskell") | |
5877 | (description | |
5878 | "This is a simple time library providing a simple but powerful and | |
5879 | performant API. The backbone of the library are the @code{Timeable} and | |
5880 | @code{Time} type classes. Each @code{Timeable} instances can be converted to | |
5881 | a type that has a @code{Time} instances, and thus are different | |
5882 | representations of current time.") | |
5883 | (license license:bsd-3))) | |
5884 | ||
5885 | (define-public ghc-hpack | |
5886 | (package | |
5887 | (name "ghc-hpack") | |
06344a3a | 5888 | (version "0.31.2") |
dddbc90c RV |
5889 | (source |
5890 | (origin | |
5891 | (method url-fetch) | |
5892 | (uri (string-append "https://hackage.haskell.org/package/hpack/" | |
5893 | "hpack-" version ".tar.gz")) | |
06344a3a | 5894 | (patches (search-patches "ghc-hpack-fix-tests.patch")) |
dddbc90c RV |
5895 | (sha256 |
5896 | (base32 | |
06344a3a | 5897 | "1l2d6185lawwhsj70swxkvcacm0hvcn9qsrlx4ph4gs6k578603g")))) |
dddbc90c RV |
5898 | (build-system haskell-build-system) |
5899 | (inputs | |
5900 | `(("ghc-aeson" ,ghc-aeson) | |
5901 | ("ghc-bifunctors" ,ghc-bifunctors) | |
5902 | ("ghc-cryptonite" ,ghc-cryptonite) | |
5903 | ("ghc-glob" ,ghc-glob) | |
5904 | ("ghc-http-client" ,ghc-http-client) | |
5905 | ("ghc-http-client-tls" ,ghc-http-client-tls) | |
5906 | ("ghc-http-types" ,ghc-http-types) | |
06344a3a | 5907 | ("ghc-infer-license" ,ghc-infer-license) |
dddbc90c RV |
5908 | ("ghc-scientific" ,ghc-scientific) |
5909 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
5910 | ("ghc-vector" ,ghc-vector) | |
5911 | ("ghc-yaml" ,ghc-yaml))) | |
5912 | (native-inputs | |
5913 | `(("ghc-hspec" ,ghc-hspec) | |
5914 | ("ghc-hunit" ,ghc-hunit) | |
5915 | ("ghc-interpolate" ,ghc-interpolate) | |
5916 | ("ghc-mockery" ,ghc-mockery) | |
5917 | ("ghc-quickcheck" ,ghc-quickcheck) | |
5918 | ("ghc-temporary" ,ghc-temporary) | |
5919 | ("hspec-discover" ,hspec-discover))) | |
5920 | (home-page "https://github.com/sol/hpack") | |
5921 | (synopsis "Tools for an alternative Haskell package format") | |
5922 | (description | |
5923 | "Hpack is a format for Haskell packages. It is an alternative to the | |
5924 | Cabal package format and follows different design principles. Hpack packages | |
5925 | are described in a file named @code{package.yaml}. Both @code{cabal2nix} and | |
5926 | @code{stack} support @code{package.yaml} natively. For other build tools the | |
5927 | @code{hpack} executable can be used to generate a @code{.cabal} file from | |
5928 | @code{package.yaml}.") | |
5929 | (license license:expat))) | |
5930 | ||
e16f7de8 CH |
5931 | (define-public ghc-hspec-megaparsec |
5932 | (package | |
5933 | (name "ghc-hspec-megaparsec") | |
5934 | (version "2.0.1") | |
5935 | (source | |
5936 | (origin | |
5937 | (method url-fetch) | |
5938 | (uri (string-append | |
5939 | "https://hackage.haskell.org/" | |
5940 | "package/hspec-megaparsec/hspec-megaparsec-" | |
5941 | version | |
5942 | ".tar.gz")) | |
5943 | (sha256 | |
5944 | (base32 | |
5945 | "0w8nn2rh01lkiwsiyqh3gviklhfmy0245rakj94dmliyljw8skfg")))) | |
5946 | (build-system haskell-build-system) | |
5947 | (inputs | |
5948 | `(("ghc-hspec-expectations" ,ghc-hspec-expectations) | |
5949 | ("ghc-megaparsec" ,ghc-megaparsec))) | |
5950 | (native-inputs | |
5951 | `(("ghc-hspec" ,ghc-hspec))) | |
5952 | (home-page "https://github.com/mrkkrp/hspec-megaparsec") | |
5953 | (synopsis "Utility functions for testing Megaparsec parsers with Hspec") | |
5954 | (description | |
5955 | "Provides a small set of helper functions for testing Megaparsec parsers | |
5956 | with Hspec.") | |
5957 | (license license:bsd-3))) | |
5958 | ||
dddbc90c RV |
5959 | (define-public ghc-hs-bibutils |
5960 | (package | |
5961 | (name "ghc-hs-bibutils") | |
ebcb4f23 | 5962 | (version "6.7.0.0") |
dddbc90c RV |
5963 | (source |
5964 | (origin | |
5965 | (method url-fetch) | |
5966 | (uri (string-append | |
5967 | "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-" | |
5968 | version ".tar.gz")) | |
5969 | (sha256 | |
5970 | (base32 | |
ebcb4f23 | 5971 | "1qfyssl76lm4g09yxr3y10kmf8cnzls46g5h0ijk0wpk9wlhbln5")))) |
dddbc90c RV |
5972 | (build-system haskell-build-system) |
5973 | (inputs `(("ghc-syb" ,ghc-syb))) | |
5974 | (home-page "https://hackage.haskell.org/package/hs-bibutils") | |
5975 | (synopsis "Haskell bindings to bibutils") | |
5976 | (description | |
5977 | "This package provides Haskell bindings to @code{bibutils}, a library | |
5978 | that interconverts between various bibliography formats using a common | |
5979 | MODS-format XML intermediate.") | |
5980 | (license license:gpl2+))) | |
5981 | ||
5982 | (define-public ghc-hslogger | |
5983 | (package | |
5984 | (name "ghc-hslogger") | |
e5ccc5f7 | 5985 | (version "1.2.12") |
dddbc90c RV |
5986 | (source |
5987 | (origin | |
5988 | (method url-fetch) | |
5989 | (uri (string-append "https://hackage.haskell.org/package/" | |
5990 | "hslogger-" version "/" "hslogger-" | |
5991 | version ".tar.gz")) | |
5992 | (sha256 (base32 | |
e5ccc5f7 | 5993 | "0ykcsk7wqygvrg60r5kpl6xfinr706al8pfyk5wj67wjs24lqypr")))) |
dddbc90c RV |
5994 | (build-system haskell-build-system) |
5995 | (inputs | |
5996 | `(("ghc-network" ,ghc-network) | |
5997 | ("ghc-old-locale" ,ghc-old-locale))) | |
5998 | (native-inputs | |
5999 | `(("ghc-hunit" ,ghc-hunit))) | |
6000 | (home-page "https://software.complete.org/hslogger") | |
6001 | (synopsis "Logging framework for Haskell, similar to Python's logging module") | |
6002 | (description "Hslogger lets each log message have a priority and source be | |
6003 | associated with it. The programmer can then define global handlers that route | |
6004 | or filter messages based on the priority and source. It also has a syslog | |
6005 | handler built in.") | |
6006 | (license license:bsd-3))) | |
6007 | ||
6008 | (define-public ghc-hslua | |
6009 | (package | |
6010 | (name "ghc-hslua") | |
cc784d7b | 6011 | (version "1.0.3.2") |
dddbc90c RV |
6012 | (source (origin |
6013 | (method url-fetch) | |
6014 | (uri (string-append "https://hackage.haskell.org/package/" | |
6015 | "hslua/hslua-" version ".tar.gz")) | |
6016 | (sha256 | |
6017 | (base32 | |
cc784d7b | 6018 | "183bgl5jcx5y2r94lviqfw0a5w9089nxjd1z40k8vx9y2h60pm6j")))) |
dddbc90c RV |
6019 | (build-system haskell-build-system) |
6020 | (arguments | |
54a5fd07 TS |
6021 | `(#:configure-flags '("-fsystem-lua") |
6022 | #:extra-directories ("lua"))) | |
dddbc90c RV |
6023 | (inputs |
6024 | `(("lua" ,lua) | |
6025 | ("ghc-exceptions" ,ghc-exceptions) | |
6026 | ("ghc-fail" ,ghc-fail))) | |
6027 | (native-inputs | |
6028 | `(("ghc-tasty" ,ghc-tasty) | |
6029 | ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure) | |
6030 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
6031 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
6032 | ("ghc-quickcheck" ,ghc-quickcheck) | |
6033 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances))) | |
6034 | (home-page "https://hackage.haskell.org/package/hslua") | |
6035 | (synopsis "Lua language interpreter embedding in Haskell") | |
6036 | (description | |
6037 | "The Scripting.Lua module is a wrapper of the Lua language interpreter as | |
6038 | described in @url{https://www.lua.org/}.") | |
6039 | (license license:expat))) | |
6040 | ||
ff303e4e TS |
6041 | (define-public ghc-hslua-module-system |
6042 | (package | |
6043 | (name "ghc-hslua-module-system") | |
6044 | (version "0.2.1") | |
6045 | (source | |
6046 | (origin | |
6047 | (method url-fetch) | |
6048 | (uri (string-append "https://hackage.haskell.org/package/" | |
6049 | "hslua-module-system/hslua-module-system-" | |
6050 | version ".tar.gz")) | |
6051 | (sha256 | |
6052 | (base32 | |
6053 | "1m7wz3g5c34pyizqw5mllzhsy2vziddhlbhjfwdvd7nhd3p4v3hh")))) | |
6054 | (build-system haskell-build-system) | |
6055 | (inputs | |
6056 | `(("ghc-exceptions" ,ghc-exceptions) | |
6057 | ("ghc-hslua" ,ghc-hslua) | |
6058 | ("ghc-temporary" ,ghc-temporary))) | |
6059 | (native-inputs | |
6060 | `(("ghc-tasty" ,ghc-tasty) | |
6061 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
6062 | (home-page "https://github.com/hslua/hslua-module-system") | |
6063 | (synopsis "Lua module wrapper around Haskell's System module") | |
6064 | (description "This library provides access to system information and | |
6065 | functionality to Lua scripts via Haskell's @code{System} module. Intended | |
6066 | usage for this package is to preload it by adding the loader function to | |
6067 | @code{package.preload}. Note that the Lua @code{package} library must have | |
6068 | already been loaded before the loader can be added.") | |
6069 | (license license:expat))) | |
6070 | ||
dddbc90c RV |
6071 | (define-public ghc-hslua-module-text |
6072 | (package | |
6073 | (name "ghc-hslua-module-text") | |
ecaf0b0c | 6074 | (version "0.2.1") |
dddbc90c RV |
6075 | (source |
6076 | (origin | |
6077 | (method url-fetch) | |
6078 | (uri (string-append "https://hackage.haskell.org/package/" | |
6079 | "hslua-module-text/hslua-module-text-" | |
6080 | version ".tar.gz")) | |
6081 | (sha256 | |
6082 | (base32 | |
ecaf0b0c | 6083 | "1ikdwvvxhbd5wmfr85dzs2ccamh9rbbpgy899z7s1vlv5q1dj0hk")))) |
dddbc90c | 6084 | (build-system haskell-build-system) |
dddbc90c RV |
6085 | (inputs |
6086 | `(("ghc-hslua" ,ghc-hslua))) | |
6087 | (native-inputs | |
6088 | `(("ghc-tasty" ,ghc-tasty) | |
6089 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
6090 | (home-page "https://github.com/hslua/hslua-module-text") | |
6091 | (synopsis "Lua module for text") | |
6092 | (description | |
6093 | "This package provides a UTF-8 aware subset of Lua's @code{string} module | |
6094 | for Haskell. The functions provided by this module are @code{upper}, | |
6095 | @code{lower}, @code{len}, @code{reverse}, and @code{sub}.") | |
6096 | (license license:expat))) | |
6097 | ||
fac520bf TS |
6098 | (define-public ghc-hsyaml |
6099 | (package | |
6100 | (name "ghc-hsyaml") | |
6101 | (version "0.1.2.0") | |
6102 | (source | |
6103 | (origin | |
6104 | (method url-fetch) | |
6105 | (uri (string-append "https://hackage.haskell.org/package/" | |
6106 | "HsYAML/HsYAML-" version ".tar.gz")) | |
6107 | (sha256 | |
6108 | (base32 | |
6109 | "1pajfhj16559v64ixm8j7bvxdqmxg6c3c0z3wz7in8ckswgzfp54")))) | |
6110 | (build-system haskell-build-system) | |
6111 | (arguments | |
6112 | `(#:cabal-revision | |
6113 | ("1" "0j6qmmcz5yqh89hs2cq453maix50q61vl2h0ahj5lg02bygn42cf"))) | |
6114 | (home-page "https://github.com/haskell-hvr/HsYAML") | |
6115 | (synopsis "Pure Haskell YAML 1.2 parser") | |
6116 | (description "This library provides a | |
6117 | @url{http://yaml.org/spec/1.2/spec.html, YAML 1.2} parser implementation | |
6118 | for Haskell. Its features include: | |
6119 | ||
6120 | @itemize | |
6121 | @item Pure Haskell implementation with small dependency footprint and | |
6122 | emphasis on strict compliance with the YAML 1.2 specification. | |
6123 | ||
6124 | @item Direct decoding to native Haskell types via (aeson-inspired) | |
6125 | typeclass-based API (see @code{Data.YAML}). | |
6126 | ||
6127 | @item Support for constructing custom YAML node graph | |
6128 | representation (including support for cyclic YAML data structures). | |
6129 | ||
6130 | @item Support for the standard (untyped) @emph{Failsafe}, (strict) | |
6131 | @emph{JSON}, and (flexible) @emph{Core} ``schemas'' providing implicit | |
6132 | typing rules as defined in the YAML 1.2 specification (including support | |
6133 | for user-defined custom schemas). | |
6134 | ||
6135 | @item Event-based API resembling LibYAML's Event-based API (see | |
6136 | @code{Data.YAML.Event}). | |
6137 | ||
6138 | @item Low-level API access to lexical token-based scanner (see | |
6139 | @code{Data.YAML.Token}). | |
6140 | @end itemize") | |
6141 | (license license:gpl2+))) | |
6142 | ||
dddbc90c RV |
6143 | (define-public ghc-http-api-data |
6144 | (package | |
6145 | (name "ghc-http-api-data") | |
a57236eb | 6146 | (version "0.4.1") |
dddbc90c RV |
6147 | (source |
6148 | (origin | |
6149 | (method url-fetch) | |
6150 | (uri (string-append "https://hackage.haskell.org/package/" | |
6151 | "http-api-data-" version "/" | |
6152 | "http-api-data-" version ".tar.gz")) | |
6153 | (sha256 | |
6154 | (base32 | |
a57236eb | 6155 | "1ps4bvln43gz72dr9mc3c9n1rn38c4rz6m49vxzz9nz6jz1978rv")))) |
dddbc90c | 6156 | (build-system haskell-build-system) |
dddbc90c RV |
6157 | (inputs `(("ghc-attoparsec" ,ghc-attoparsec) |
6158 | ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601) | |
a57236eb | 6159 | ("ghc-cookie" ,ghc-cookie) |
dddbc90c RV |
6160 | ("ghc-hashable" ,ghc-hashable) |
6161 | ("ghc-http-types" ,ghc-http-types) | |
a57236eb | 6162 | ("ghc-time-compat" ,ghc-time-compat) |
dddbc90c | 6163 | ("ghc-unordered-containers" ,ghc-unordered-containers) |
dddbc90c | 6164 | ("ghc-uuid-types" ,ghc-uuid-types))) |
a57236eb TS |
6165 | (native-inputs |
6166 | `(("cabal-doctest" ,cabal-doctest) | |
6167 | ("ghc-nats" ,ghc-nats) | |
6168 | ("ghc-hunit" ,ghc-hunit) | |
6169 | ("ghc-hspec" ,ghc-hspec) | |
6170 | ("ghc-quickcheck" ,ghc-quickcheck) | |
6171 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
6172 | ("ghc-doctest" ,ghc-doctest) | |
6173 | ("hspec-discover" ,hspec-discover))) | |
dddbc90c RV |
6174 | (home-page "https://github.com/fizruk/http-api-data") |
6175 | (synopsis "Convert to/from HTTP API data like URL pieces, headers and | |
6176 | query parameters") | |
6177 | (description "This Haskell package defines typeclasses used for converting | |
6178 | Haskell data types to and from HTTP API data.") | |
6179 | (license license:bsd-3))) | |
6180 | ||
6181 | (define-public ghc-ieee754 | |
6182 | (package | |
6183 | (name "ghc-ieee754") | |
6184 | (version "0.8.0") | |
6185 | (source (origin | |
6186 | (method url-fetch) | |
6187 | (uri (string-append | |
6188 | "https://hackage.haskell.org/package/ieee754/" | |
6189 | "ieee754-" version ".tar.gz")) | |
6190 | (sha256 | |
6191 | (base32 | |
6192 | "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f")))) | |
6193 | (build-system haskell-build-system) | |
6194 | (home-page "https://github.com/patperry/hs-ieee754") | |
6195 | (synopsis "Utilities for dealing with IEEE floating point numbers") | |
6196 | (description "Utilities for dealing with IEEE floating point numbers, | |
6197 | ported from the Tango math library; approximate and exact equality comparisons | |
6198 | for general types.") | |
6199 | (license license:bsd-3))) | |
6200 | ||
6201 | (define-public ghc-ifelse | |
6202 | (package | |
6203 | (name "ghc-ifelse") | |
6204 | (version "0.85") | |
6205 | (source | |
6206 | (origin | |
6207 | (method url-fetch) | |
6208 | (uri (string-append "https://hackage.haskell.org/package/" | |
6209 | "IfElse/IfElse-" version ".tar.gz")) | |
6210 | (sha256 | |
6211 | (base32 | |
6212 | "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa")))) | |
6213 | (build-system haskell-build-system) | |
3ef91e15 | 6214 | (home-page "https://hackage.haskell.org/package/IfElse") |
dddbc90c RV |
6215 | (synopsis "Monadic control flow with anaphoric variants") |
6216 | (description "This library provides functions for control flow inside of | |
6217 | monads with anaphoric variants on @code{if} and @code{when} and a C-like | |
6218 | @code{switch} function.") | |
6219 | (license license:bsd-3))) | |
6220 | ||
6221 | (define-public ghc-indents | |
6222 | (package | |
6223 | (name "ghc-indents") | |
d66473fb | 6224 | (version "0.5.0.1") |
dddbc90c RV |
6225 | (source (origin |
6226 | (method url-fetch) | |
6227 | (uri (string-append | |
6228 | "https://hackage.haskell.org/package/indents/indents-" | |
6229 | version ".tar.gz")) | |
6230 | (sha256 | |
6231 | (base32 | |
d66473fb | 6232 | "0dpcwiz0dwn5aqdsc50plfaawh86adhf7jx5dsmhn5q5nz32qn51")))) |
dddbc90c RV |
6233 | (build-system haskell-build-system) |
6234 | ;; This package needs an older version of tasty. | |
6235 | (arguments '(#:tests? #f)) | |
6236 | (inputs | |
6237 | `(("ghc-concatenative" ,ghc-concatenative))) | |
6238 | (native-inputs | |
6239 | `(("ghc-tasty" ,ghc-tasty) | |
6240 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
6241 | (home-page "http://patch-tag.com/r/salazar/indents") | |
6242 | (synopsis "Indentation sensitive parser-combinators for parsec") | |
6243 | (description | |
6244 | "This library provides functions for use in parsing indentation sensitive | |
6245 | contexts. It parses blocks of lines all indented to the same level as well as | |
6246 | lines continued at an indented level below.") | |
6247 | (license license:bsd-3))) | |
6248 | ||
1f656b17 TS |
6249 | (define-public ghc-infer-license |
6250 | (package | |
6251 | (name "ghc-infer-license") | |
6252 | (version "0.2.0") | |
6253 | (source | |
6254 | (origin | |
6255 | (method url-fetch) | |
6256 | (uri (string-append "https://hackage.haskell.org/package/" | |
6257 | "infer-license/infer-license-" version ".tar.gz")) | |
6258 | (sha256 | |
6259 | (base32 | |
6260 | "0wlfm6bf55kfvm74xar9lmjg5v1103rs9m3grw1rq5bmcmhzxrhj")))) | |
6261 | (build-system haskell-build-system) | |
6262 | (inputs | |
6263 | `(("ghc-text-metrics" ,ghc-text-metrics))) | |
6264 | (native-inputs | |
6265 | `(("ghc-hspec" ,ghc-hspec) | |
6266 | ("hspec-discover" ,hspec-discover))) | |
3ef91e15 | 6267 | (home-page "https://hackage.haskell.org/package/infer-license") |
1f656b17 TS |
6268 | (synopsis "Infer software license from a given license file") |
6269 | (description "This library provides tools to infer a software | |
6270 | license from a given license file.") | |
6271 | (license license:expat))) | |
6272 | ||
dddbc90c RV |
6273 | (define-public ghc-inline-c |
6274 | (package | |
6275 | (name "ghc-inline-c") | |
55ec98f2 | 6276 | (version "0.7.0.1") |
dddbc90c RV |
6277 | (source |
6278 | (origin | |
6279 | (method url-fetch) | |
6280 | (uri (string-append "https://hackage.haskell.org/package/inline-c/" | |
6281 | "inline-c-" version ".tar.gz")) | |
6282 | (sha256 | |
6283 | (base32 | |
55ec98f2 | 6284 | "19scbviwiv1fbsdcjji3dscjg7w0xa8r97xwkqqrwm7zhvrg5wns")))) |
dddbc90c RV |
6285 | (build-system haskell-build-system) |
6286 | (inputs | |
6287 | `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) | |
6288 | ("ghc-cryptohash" ,ghc-cryptohash) | |
6289 | ("ghc-hashable" ,ghc-hashable) | |
6290 | ("ghc-parsers" ,ghc-parsers) | |
6291 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
6292 | ("ghc-vector" ,ghc-vector))) | |
6293 | (native-inputs | |
6294 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
6295 | ("ghc-hspec" ,ghc-hspec) | |
6296 | ("ghc-raw-strings-qq" ,ghc-raw-strings-qq) | |
6297 | ("ghc-regex-posix" ,ghc-regex-posix))) | |
3ef91e15 | 6298 | (home-page "https://hackage.haskell.org/package/inline-c") |
dddbc90c RV |
6299 | (synopsis "Write Haskell source files including C code inline") |
6300 | (description | |
6301 | "inline-c lets you seamlessly call C libraries and embed high-performance | |
6302 | inline C code in Haskell modules. Haskell and C can be freely intermixed in | |
6303 | the same source file, and data passed to and from code in either language with | |
6304 | minimal overhead. No FFI required.") | |
6305 | (license license:expat))) | |
6306 | ||
6307 | (define-public ghc-inline-c-cpp | |
6308 | (package | |
6309 | (name "ghc-inline-c-cpp") | |
cae58e56 | 6310 | (version "0.3.0.3") |
dddbc90c RV |
6311 | (source |
6312 | (origin | |
6313 | (method url-fetch) | |
6314 | (uri (string-append "https://hackage.haskell.org/package/inline-c-cpp/" | |
6315 | "inline-c-cpp-" version ".tar.gz")) | |
6316 | (sha256 | |
6317 | (base32 | |
cae58e56 | 6318 | "1sxwx9dh60qfpa72dymj015zwd6prhb70x5mkabqzi7nhg3aakln")))) |
dddbc90c RV |
6319 | (build-system haskell-build-system) |
6320 | (inputs | |
6321 | `(("ghc-inline-c" ,ghc-inline-c) | |
6322 | ("ghc-safe-exceptions" ,ghc-safe-exceptions))) | |
6323 | (native-inputs | |
6324 | `(("ghc-hspec" ,ghc-hspec))) | |
6325 | (home-page "https://hackage.haskell.org/package/inline-c-cpp") | |
6326 | (synopsis "Lets you embed C++ code into Haskell") | |
6327 | (description | |
6328 | "This package provides utilities to inline C++ code into Haskell using | |
6329 | @code{inline-c}.") | |
6330 | (license license:expat))) | |
6331 | ||
6332 | (define-public ghc-integer-logarithms | |
6333 | (package | |
6334 | (name "ghc-integer-logarithms") | |
86a704db | 6335 | (version "1.0.3") |
dddbc90c RV |
6336 | (source |
6337 | (origin | |
6338 | (method url-fetch) | |
6339 | (uri (string-append "https://hackage.haskell.org/package/" | |
6340 | "integer-logarithms/integer-logarithms-" | |
6341 | version ".tar.gz")) | |
6342 | (sha256 | |
6343 | (base32 | |
86a704db | 6344 | "05pc5hws66csvcvfswlwcr2fplwn1lbssvwifjxkbbwqhq0n5qjs")))) |
dddbc90c RV |
6345 | (build-system haskell-build-system) |
6346 | (arguments | |
6347 | `(#:phases | |
6348 | (modify-phases %standard-phases | |
6349 | (add-before 'configure 'update-constraints | |
6350 | (lambda _ | |
6351 | (substitute* "integer-logarithms.cabal" | |
6352 | (("tasty >= 0\\.10 && < 1\\.1") | |
6353 | "tasty >= 0.10 && < 1.2"))))))) | |
6354 | (native-inputs | |
6355 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
6356 | ("ghc-smallcheck" ,ghc-smallcheck) | |
6357 | ("ghc-tasty" ,ghc-tasty) | |
6358 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
6359 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
6360 | ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck))) | |
6361 | (home-page "https://github.com/Bodigrim/integer-logarithms") | |
6362 | (synopsis "Integer logarithms") | |
6363 | (description | |
6364 | "This package provides the following modules: | |
6365 | @code{Math.NumberTheory.Logarithms} and | |
6366 | @code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package, | |
6367 | @code{GHC.Integer.Logarithms.Compat} and | |
6368 | @code{Math.NumberTheory.Power.Natural}, as well as some additional functions | |
6369 | in migrated modules.") | |
6370 | (license license:expat))) | |
6371 | ||
6372 | (define-public ghc-integer-logarithms-bootstrap | |
6373 | (package | |
6374 | (inherit ghc-integer-logarithms) | |
6375 | (name "ghc-integer-logarithms-bootstrap") | |
6376 | (arguments `(#:tests? #f)) | |
6377 | (native-inputs '()) | |
799d8d3c | 6378 | (properties '((hidden? #t))))) |
dddbc90c RV |
6379 | |
6380 | (define-public ghc-interpolate | |
6381 | (package | |
6382 | (name "ghc-interpolate") | |
6383 | (version "0.2.0") | |
6384 | (source | |
6385 | (origin | |
6386 | (method url-fetch) | |
6387 | (uri (string-append "https://hackage.haskell.org/package/interpolate/" | |
6388 | "interpolate-" version ".tar.gz")) | |
6389 | (sha256 | |
6390 | (base32 | |
6391 | "1gkaj98yz363v38fv78sqby236mp8yqwqcilx7kr2b9z0w3204bf")))) | |
6392 | (build-system haskell-build-system) | |
6393 | (inputs | |
6394 | `(("ghc-haskell-src-meta" ,ghc-haskell-src-meta))) | |
6395 | (native-inputs | |
6396 | `(("ghc-base-compat" ,ghc-base-compat) | |
6397 | ("ghc-hspec" ,ghc-hspec) | |
6398 | ("ghc-quickcheck" ,ghc-quickcheck) | |
6399 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
6400 | ("hspec-discover" ,hspec-discover))) | |
6401 | (home-page "https://github.com/sol/interpolate") | |
6402 | (synopsis "String interpolation library") | |
6403 | (description "This package provides a string interpolation library for | |
6404 | Haskell.") | |
6405 | (license license:expat))) | |
6406 | ||
6407 | (define-public ghc-intervalmap | |
6408 | (package | |
6409 | (name "ghc-intervalmap") | |
e4946e32 | 6410 | (version "0.6.1.1") |
dddbc90c RV |
6411 | (source |
6412 | (origin | |
6413 | (method url-fetch) | |
6414 | (uri (string-append "https://hackage.haskell.org/package/IntervalMap/" | |
6415 | "IntervalMap-" version ".tar.gz")) | |
6416 | (sha256 | |
6417 | (base32 | |
e4946e32 | 6418 | "0vdlvxvhf7vjyv0mfn6jaj2i2gclqv8419ck32s2jxfcmki5m5g8")))) |
dddbc90c RV |
6419 | (build-system haskell-build-system) |
6420 | (native-inputs | |
6421 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
6422 | (home-page "http://www.chr-breitkopf.de/comp/IntervalMap") | |
6423 | (synopsis "Containers for intervals, with efficient search") | |
6424 | (description | |
6425 | "This package provides ordered containers of intervals, with efficient | |
6426 | search for all keys containing a point or overlapping an interval. See the | |
6427 | example code on the home page for a quick introduction.") | |
6428 | (license license:bsd-3))) | |
6429 | ||
f7ca1fa8 TS |
6430 | (define-public ghc-intervals |
6431 | (package | |
6432 | (name "ghc-intervals") | |
6433 | (version "0.8.1") | |
6434 | (source | |
6435 | (origin | |
6436 | (method url-fetch) | |
6437 | (uri (string-append "https://hackage.haskell.org/package/" | |
6438 | "intervals/intervals-" version ".tar.gz")) | |
6439 | (sha256 | |
6440 | (base32 | |
6441 | "00vyxf3ba9d7aas3npfapr53w71fslgh69fczjb25axr66fvzqww")))) | |
6442 | (build-system haskell-build-system) | |
6443 | (inputs | |
6444 | `(("ghc-distributive" ,ghc-distributive))) | |
6445 | (native-inputs | |
6446 | `(("cabal-doctest" ,cabal-doctest) | |
6447 | ("ghc-doctest" ,ghc-doctest) | |
6448 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
6449 | (arguments | |
6450 | `(#:cabal-revision | |
6451 | ("4" "1qx3q0v13l1zaln9zdk8chxpxhshbz5x0vqm0qda7d1kpv7h6a7r"))) | |
6452 | (home-page "https://github.com/ekmett/intervals") | |
6453 | (synopsis "Interval arithmetic") | |
6454 | (description "This library provides | |
6455 | @code{Numeric.Interval.Interval}, which represets a closed, convex set | |
6456 | of floating point values.") | |
6457 | (license license:bsd-3))) | |
6458 | ||
dddbc90c RV |
6459 | (define-public ghc-invariant |
6460 | (package | |
6461 | (name "ghc-invariant") | |
d3a0e0b4 | 6462 | (version "0.5.3") |
dddbc90c RV |
6463 | (source |
6464 | (origin | |
6465 | (method url-fetch) | |
6466 | (uri (string-append | |
6467 | "https://hackage.haskell.org/package/invariant/invariant-" | |
6468 | version ".tar.gz")) | |
6469 | (sha256 | |
6470 | (base32 | |
d3a0e0b4 | 6471 | "03245nhcqxx6b0yw81fzqaqd7cgllmx8awzhvs2xv7ys73pmsgnp")))) |
dddbc90c RV |
6472 | (build-system haskell-build-system) |
6473 | (inputs | |
6474 | `(("ghc-bifunctors" ,ghc-bifunctors) | |
6475 | ("ghc-comonad" ,ghc-comonad) | |
6476 | ("ghc-contravariant" ,ghc-contravariant) | |
6477 | ("ghc-profunctors" ,ghc-profunctors) | |
6478 | ("ghc-semigroups" ,ghc-semigroups) | |
6479 | ("ghc-statevar" ,ghc-statevar) | |
6480 | ("ghc-tagged" ,ghc-tagged) | |
6481 | ("ghc-th-abstraction" ,ghc-th-abstraction) | |
6482 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
6483 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
6484 | (native-inputs | |
6485 | `(("ghc-hspec" ,ghc-hspec) | |
6486 | ("ghc-quickcheck" ,ghc-quickcheck) | |
6487 | ("hspec-discover" ,hspec-discover))) | |
6488 | (home-page "https://github.com/nfrisby/invariant-functors") | |
6489 | (synopsis "Haskell98 invariant functors") | |
6490 | (description "Haskell98 invariant functors (also known as exponential | |
6491 | functors). For more information, see Edward Kmett's article | |
6492 | @uref{http://comonad.com/reader/2008/rotten-bananas/, Rotten Bananas}.") | |
6493 | (license license:bsd-2))) | |
6494 | ||
6495 | (define-public ghc-io-streams | |
6496 | (package | |
6497 | (name "ghc-io-streams") | |
59e98d75 | 6498 | (version "1.5.1.0") |
dddbc90c RV |
6499 | (source |
6500 | (origin | |
6501 | (method url-fetch) | |
6502 | (uri (string-append "https://hackage.haskell.org/package/" | |
6503 | "io-streams/io-streams-" version ".tar.gz")) | |
6504 | (sha256 | |
6505 | (base32 | |
59e98d75 | 6506 | "1c7byr943x41nxpc3bnz152fvfbmakafq2958wyf9qiyp2pz18la")))) |
dddbc90c RV |
6507 | (build-system haskell-build-system) |
6508 | (inputs | |
6509 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
6510 | ("ghc-bytestring-builder" ,ghc-bytestring-builder) | |
6511 | ("ghc-network" ,ghc-network) | |
6512 | ("ghc-primitive" ,ghc-primitive) | |
6513 | ("ghc-vector" ,ghc-vector) | |
6514 | ("ghc-zlib-bindings" ,ghc-zlib-bindings))) | |
6515 | (native-inputs | |
6516 | `(("ghc-hunit" ,ghc-hunit) | |
6517 | ("ghc-quickcheck" ,ghc-quickcheck) | |
6518 | ("ghc-test-framework" ,ghc-test-framework) | |
6519 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
6520 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
6521 | ("ghc-zlib" ,ghc-zlib))) | |
3ef91e15 | 6522 | (home-page "https://hackage.haskell.org/package/io-streams") |
dddbc90c RV |
6523 | (synopsis "Simple and composable stream I/O") |
6524 | (description "This library contains simple and easy-to-use | |
6525 | primitives for I/O using streams.") | |
6526 | (license license:bsd-3))) | |
6527 | ||
6528 | (define-public ghc-io-streams-haproxy | |
6529 | (package | |
6530 | (name "ghc-io-streams-haproxy") | |
1a4fbc36 | 6531 | (version "1.0.1.0") |
dddbc90c RV |
6532 | (source |
6533 | (origin | |
6534 | (method url-fetch) | |
6535 | (uri (string-append "https://hackage.haskell.org/package/" | |
6536 | "io-streams-haproxy/io-streams-haproxy-" | |
6537 | version ".tar.gz")) | |
6538 | (sha256 | |
6539 | (base32 | |
1a4fbc36 | 6540 | "1dcn5hd4fiwyq7m01r6fi93vfvygca5s6mz87c78m0zyj29clkmp")))) |
dddbc90c RV |
6541 | (build-system haskell-build-system) |
6542 | (inputs | |
6543 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
6544 | ("ghc-io-streams" ,ghc-io-streams) | |
6545 | ("ghc-network" ,ghc-network))) | |
6546 | (native-inputs | |
6547 | `(("ghc-hunit" ,ghc-hunit) | |
6548 | ("ghc-test-framework" ,ghc-test-framework) | |
6549 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
dddbc90c RV |
6550 | (home-page "http://snapframework.com/") |
6551 | (synopsis "HAProxy protocol 1.5 support for io-streams") | |
6552 | (description "HAProxy protocol version 1.5 support | |
6553 | (see @uref{http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt}) | |
6554 | for applications using io-streams. The proxy protocol allows information | |
6555 | about a networked peer (like remote address and port) to be propagated | |
6556 | through a forwarding proxy that is configured to speak this protocol.") | |
6557 | (license license:bsd-3))) | |
6558 | ||
6559 | (define-public ghc-iproute | |
6560 | (package | |
6561 | (name "ghc-iproute") | |
ec25d536 | 6562 | (version "1.7.7") |
dddbc90c RV |
6563 | (source |
6564 | (origin | |
6565 | (method url-fetch) | |
6566 | (uri (string-append | |
6567 | "https://hackage.haskell.org/package/iproute/iproute-" | |
6568 | version | |
6569 | ".tar.gz")) | |
6570 | (sha256 | |
6571 | (base32 | |
ec25d536 | 6572 | "0gab5930nvzrpvisx3x43ydnp2rd4fbmy9cq1zpgqy1adx5gx8z6")))) |
dddbc90c RV |
6573 | (build-system haskell-build-system) |
6574 | (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder, | |
6575 | ; exported by ghc-byteorder. Doctest issue. | |
6576 | (inputs | |
6577 | `(("ghc-appar" ,ghc-appar) | |
6578 | ("ghc-byteorder" ,ghc-byteorder) | |
6579 | ("ghc-network" ,ghc-network) | |
6580 | ("ghc-safe" ,ghc-safe))) | |
6581 | (home-page "https://www.mew.org/~kazu/proj/iproute/") | |
6582 | (synopsis "IP routing table") | |
6583 | (description "IP Routing Table is a tree of IP ranges to search one of | |
6584 | them on the longest match base. It is a kind of TRIE with one way branching | |
6585 | removed. Both IPv4 and IPv6 are supported.") | |
6586 | (license license:bsd-3))) | |
6587 | ||
4828e54e TS |
6588 | (define-public ghc-ipynb |
6589 | (package | |
6590 | (name "ghc-ipynb") | |
6591 | (version "0.1") | |
6592 | (source | |
6593 | (origin | |
6594 | (method url-fetch) | |
6595 | (uri (string-append "https://hackage.haskell.org/package/" | |
6596 | "ipynb/ipynb-" version ".tar.gz")) | |
6597 | (sha256 | |
6598 | (base32 | |
6599 | "0daadhzil4q573mqb0rpvjzm0vpkzgzqcimw480qpvlh6rhppwj5")))) | |
6600 | (build-system haskell-build-system) | |
6601 | (inputs | |
6602 | `(("ghc-unordered-containers" ,ghc-unordered-containers) | |
6603 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
6604 | ("ghc-aeson" ,ghc-aeson) | |
6605 | ("ghc-semigroups" ,ghc-semigroups))) | |
6606 | (native-inputs | |
6607 | `(("ghc-tasty" ,ghc-tasty) | |
6608 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
6609 | ("ghc-aeson-diff" ,ghc-aeson-diff) | |
6610 | ("ghc-microlens-aeson" ,ghc-microlens-aeson) | |
6611 | ("ghc-microlens" ,ghc-microlens) | |
6612 | ("ghc-vector" ,ghc-vector))) | |
6613 | (home-page "https://hackage.haskell.org/package/ipynb") | |
6614 | (synopsis "Data structure for working with Jupyter notebooks") | |
6615 | (description "This library defines a data structure for representing | |
6616 | Jupyter notebooks, along with @code{ToJSON} and @code{FromJSON} | |
6617 | instances for conversion to and from JSON .ipynb files.") | |
6618 | (license license:bsd-3))) | |
6619 | ||
dddbc90c RV |
6620 | (define-public ghc-iwlib |
6621 | (package | |
6622 | (name "ghc-iwlib") | |
6623 | (version "0.1.0") | |
6624 | (source | |
6625 | (origin | |
6626 | (method url-fetch) | |
6627 | (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-" | |
6628 | version ".tar.gz")) | |
6629 | (sha256 | |
6630 | (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz")))) | |
6631 | (build-system haskell-build-system) | |
54a5fd07 TS |
6632 | (arguments |
6633 | `(#:extra-directories ("wireless-tools"))) | |
dddbc90c RV |
6634 | (inputs |
6635 | `(("wireless-tools" ,wireless-tools))) | |
6636 | (home-page "https://github.com/jaor/iwlib") | |
6637 | (synopsis "Haskell binding to the iw wireless networking library") | |
6638 | (description | |
6639 | "IWlib is a thin Haskell binding to the iw C library. It provides | |
6640 | information about the current wireless network connections, and adapters on | |
6641 | supported systems.") | |
6642 | (license license:bsd-3))) | |
6643 | ||
6644 | (define-public ghc-json | |
6645 | (package | |
6646 | (name "ghc-json") | |
0ad3d574 | 6647 | (version "0.9.3") |
dddbc90c RV |
6648 | (source |
6649 | (origin | |
6650 | (method url-fetch) | |
6651 | (uri (string-append "https://hackage.haskell.org/package/json/" | |
6652 | "json-" version ".tar.gz")) | |
6653 | (sha256 | |
6654 | (base32 | |
0ad3d574 | 6655 | "1z8s3mfg76p2flqqd2wqsi96l5bg8k8w8m58zlv81pw3k7h1vbwb")))) |
dddbc90c RV |
6656 | (build-system haskell-build-system) |
6657 | (inputs | |
6658 | `(("ghc-syb" ,ghc-syb))) | |
6659 | (home-page "https://hackage.haskell.org/package/json") | |
6660 | (synopsis "Serializes Haskell data to and from JSON") | |
6661 | (description "This package provides a parser and pretty printer for | |
6662 | converting between Haskell values and JSON. | |
6663 | JSON (JavaScript Object Notation) is a lightweight data-interchange format.") | |
6664 | (license license:bsd-3))) | |
6665 | ||
6666 | (define-public ghc-juicypixels | |
6667 | (package | |
6668 | (name "ghc-juicypixels") | |
b50b6004 | 6669 | (version "3.3.4") |
dddbc90c RV |
6670 | (source (origin |
6671 | (method url-fetch) | |
6672 | (uri (string-append "https://hackage.haskell.org/package/" | |
6673 | "JuicyPixels/JuicyPixels-" | |
6674 | version ".tar.gz")) | |
6675 | (sha256 | |
6676 | (base32 | |
b50b6004 | 6677 | "0qacrnz2qcykj3f6c4k2p8qd31pa2slpv3ykfblgizrfh3401q6x")))) |
dddbc90c | 6678 | (build-system haskell-build-system) |
a023e7d0 | 6679 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
6680 | (inputs |
6681 | `(("ghc-zlib" ,ghc-zlib) | |
6682 | ("ghc-vector" ,ghc-vector) | |
6683 | ("ghc-primitive" ,ghc-primitive) | |
6684 | ("ghc-mmap" ,ghc-mmap))) | |
6685 | (home-page "https://github.com/Twinside/Juicy.Pixels") | |
6686 | (synopsis "Picture loading and serialization library") | |
6687 | (description | |
6688 | "This library can load and store images in PNG, Bitmap, JPEG, Radiance, | |
6689 | TIFF and GIF formats.") | |
6690 | (license license:bsd-3))) | |
6691 | ||
6692 | (define-public ghc-kan-extensions | |
6693 | (package | |
6694 | (name "ghc-kan-extensions") | |
6695 | (version "5.2") | |
6696 | (source | |
6697 | (origin | |
6698 | (method url-fetch) | |
6699 | (uri (string-append | |
6700 | "https://hackage.haskell.org/package/kan-extensions/kan-extensions-" | |
6701 | version | |
6702 | ".tar.gz")) | |
6703 | (sha256 | |
6704 | (base32 | |
6705 | "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb")))) | |
6706 | (build-system haskell-build-system) | |
6707 | (inputs | |
6708 | `(("ghc-adjunctions" ,ghc-adjunctions) | |
6709 | ("ghc-comonad" ,ghc-comonad) | |
6710 | ("ghc-contravariant" ,ghc-contravariant) | |
6711 | ("ghc-distributive" ,ghc-distributive) | |
6712 | ("ghc-free" ,ghc-free) | |
6713 | ("ghc-invariant" ,ghc-invariant) | |
6714 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
6715 | ("ghc-tagged" ,ghc-tagged) | |
6716 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
6717 | (home-page "https://github.com/ekmett/kan-extensions/") | |
6718 | (synopsis "Kan extensions library") | |
6719 | (description "This library provides Kan extensions, Kan lifts, various | |
6720 | forms of the Yoneda lemma, and (co)density (co)monads for Haskell.") | |
6721 | (license license:bsd-3))) | |
6722 | ||
6723 | (define-public ghc-language-c | |
6724 | (package | |
6725 | (name "ghc-language-c") | |
4e1cf651 | 6726 | (version "0.8.3") |
dddbc90c RV |
6727 | (source |
6728 | (origin | |
6729 | (method url-fetch) | |
6730 | (uri (string-append "https://hackage.haskell.org/package/" | |
6731 | "language-c/language-c-" version ".tar.gz")) | |
6732 | (sha256 | |
6733 | (base32 | |
4e1cf651 | 6734 | "0bi02jdirkys8v7flf39vrpla2a74z1z0sdhy9lb9v7cmcc6rmpk")))) |
dddbc90c RV |
6735 | (build-system haskell-build-system) |
6736 | (inputs `(("ghc-syb" ,ghc-syb))) | |
6737 | (native-inputs | |
6738 | `(("ghc-happy" ,ghc-happy) | |
6739 | ("ghc-alex" ,ghc-alex))) | |
6740 | (home-page "https://visq.github.io/language-c/") | |
6741 | (synopsis "Analysis and generation of C code") | |
6742 | (description | |
6743 | "Language C is a Haskell library for the analysis and generation of C code. | |
6744 | It features a complete, well-tested parser and pretty printer for all of C99 | |
6745 | and a large set of GNU extensions.") | |
6746 | (license license:bsd-3))) | |
6747 | ||
6748 | (define-public ghc-language-glsl | |
6749 | (package | |
6750 | (name "ghc-language-glsl") | |
6751 | (version "0.3.0") | |
6752 | (source | |
6753 | (origin | |
6754 | (method url-fetch) | |
6755 | (uri (string-append "https://hackage.haskell.org/package/" | |
6756 | "language-glsl/language-glsl-" version ".tar.gz")) | |
6757 | (sha256 | |
6758 | (base32 | |
6759 | "0hdg67ainlqpjjghg3qin6fg4p783m0zmjqh4rd5gyizwiplxkp1")))) | |
6760 | (build-system haskell-build-system) | |
6761 | (inputs `(("ghc-prettyclass" ,ghc-prettyclass))) | |
6762 | (arguments | |
6763 | `(#:tests? #f | |
6764 | #:cabal-revision | |
6765 | ("1" "10ac9pk4jy75k03j1ns4b5136l4kw8krr2d2nw2fdmpm5jzyghc5"))) | |
3ef91e15 | 6766 | (home-page "https://hackage.haskell.org/package/language-glsl") |
dddbc90c RV |
6767 | (synopsis "GLSL abstract syntax tree, parser, and pretty-printer") |
6768 | (description "This package is a Haskell library for the | |
6769 | representation, parsing, and pretty-printing of GLSL 1.50 code.") | |
6770 | (license license:bsd-3))) | |
6771 | ||
6772 | (define-public ghc-language-haskell-extract | |
6773 | (package | |
6774 | (name "ghc-language-haskell-extract") | |
6775 | (version "0.2.4") | |
6776 | (source | |
6777 | (origin | |
6778 | (method url-fetch) | |
6779 | (uri (string-append "https://hackage.haskell.org/package/" | |
6780 | "language-haskell-extract-" version "/" | |
6781 | "language-haskell-extract-" version ".tar.gz")) | |
6782 | (sha256 | |
6783 | (base32 | |
6784 | "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl")))) | |
6785 | (build-system haskell-build-system) | |
6786 | (inputs | |
6787 | `(("ghc-regex-posix" ,ghc-regex-posix))) | |
6788 | (home-page "https://github.com/finnsson/template-helper") | |
6789 | (synopsis "Haskell module to automatically extract functions from | |
6790 | the local code") | |
6791 | (description "This package contains helper functions on top of | |
6792 | Template Haskell. | |
6793 | ||
6794 | For example, @code{functionExtractor} extracts all functions after a | |
6795 | regexp-pattern, which can be useful if you wish to extract all functions | |
6796 | beginning with @code{test} (for a test framework) or all functions beginning | |
6797 | with @code{wc} (for a web service).") | |
6798 | (license license:bsd-3))) | |
6799 | ||
6800 | (define-public ghc-lens | |
6801 | (package | |
6802 | (name "ghc-lens") | |
262e6323 | 6803 | (version "4.17.1") |
dddbc90c RV |
6804 | (source |
6805 | (origin | |
6806 | (method url-fetch) | |
6807 | (uri (string-append "https://hackage.haskell.org/package/lens/lens-" | |
6808 | version ".tar.gz")) | |
6809 | (sha256 | |
6810 | (base32 | |
262e6323 | 6811 | "1gpkc53l2cggnfrgg5k4ih82rycjbdvpj9pnbi5cq8ms0dbvs4a7")))) |
dddbc90c | 6812 | (build-system haskell-build-system) |
b35361e9 | 6813 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
6814 | (inputs |
6815 | `(("ghc-base-orphans" ,ghc-base-orphans) | |
6816 | ("ghc-bifunctors" ,ghc-bifunctors) | |
6817 | ("ghc-distributive" ,ghc-distributive) | |
6818 | ("ghc-exceptions" ,ghc-exceptions) | |
6819 | ("ghc-free" ,ghc-free) | |
6820 | ("ghc-kan-extensions" ,ghc-kan-extensions) | |
6821 | ("ghc-parallel" ,ghc-parallel) | |
6822 | ("ghc-reflection" ,ghc-reflection) | |
6823 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
6824 | ("ghc-vector" ,ghc-vector) | |
6825 | ("ghc-call-stack" ,ghc-call-stack) | |
6826 | ("ghc-comonad" ,ghc-comonad) | |
6827 | ("ghc-contravariant" ,ghc-contravariant) | |
6828 | ("ghc-hashable" ,ghc-hashable) | |
6829 | ("ghc-profunctors" ,ghc-profunctors) | |
6830 | ("ghc-semigroups" ,ghc-semigroups) | |
6831 | ("ghc-tagged" ,ghc-tagged) | |
6832 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
6833 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
6834 | ("ghc-void" ,ghc-void) | |
6835 | ("ghc-generic-deriving" ,ghc-generic-deriving) | |
6836 | ("ghc-nats" ,ghc-nats) | |
6837 | ("ghc-simple-reflect" ,ghc-simple-reflect) | |
6838 | ("hlint" ,hlint))) | |
6839 | (native-inputs | |
6840 | `(("cabal-doctest" ,cabal-doctest) | |
6841 | ("ghc-doctest" ,ghc-doctest) | |
6842 | ("ghc-hunit" ,ghc-hunit) | |
6843 | ("ghc-test-framework" ,ghc-test-framework) | |
6844 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
6845 | ("ghc-test-framework-th" ,ghc-test-framework-th) | |
6846 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
6847 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
6848 | (home-page "https://github.com/ekmett/lens/") | |
6849 | (synopsis "Lenses, Folds and Traversals") | |
6850 | (description "This library provides @code{Control.Lens}. The combinators | |
6851 | in @code{Control.Lens} provide a highly generic toolbox for composing families | |
6852 | of getters, folds, isomorphisms, traversals, setters and lenses and their | |
6853 | indexed variants.") | |
6854 | (license license:bsd-3))) | |
6855 | ||
bcd35444 JS |
6856 | (define-public ghc-lens-family-core |
6857 | (package | |
6858 | (name "ghc-lens-family-core") | |
6859 | (version "1.2.3") | |
6860 | (source | |
6861 | (origin | |
6862 | (method url-fetch) | |
6863 | (uri (string-append | |
6864 | "mirror://hackage/package/lens-family-core/lens-family-core-" | |
6865 | version | |
6866 | ".tar.gz")) | |
6867 | (sha256 | |
6868 | (base32 | |
6869 | "009rf10pj1cb50v44cc1pq7qvfrmkkk9dikahs9qmvbvgl3mykwi")))) | |
6870 | (build-system haskell-build-system) | |
6871 | (home-page | |
6872 | "http://hackage.haskell.org/package/lens-family-core") | |
6873 | (synopsis "Haskell 98 Lens Families") | |
6874 | (description | |
6875 | "This package provides first class functional references. In addition to | |
6876 | the usual operations of getting, setting and composition, plus integration | |
6877 | with the state monad, lens families provide some unique features: | |
6878 | ||
6879 | @itemize | |
6880 | @item Polymorphic updating | |
6881 | @item Traversals | |
6882 | @item Cast projection functions to read-only lenses | |
6883 | @item Cast @code{toList} functions to read-only traversals | |
6884 | @item Cast semantic editor combinators to modify-only traversals | |
6885 | @end itemize | |
6886 | ||
6887 | For optimal first-class support use the lens-family package with rank 2/rank N | |
6888 | polymorphism. @code{Lens.Family.Clone} allows for first-class support of | |
6889 | lenses and traversals for those who require Haskell 98.") | |
6890 | (license license:bsd-3))) | |
6891 | ||
dddbc90c RV |
6892 | (define-public ghc-libffi |
6893 | (package | |
6894 | (name "ghc-libffi") | |
6895 | (version "0.1") | |
6896 | (source | |
6897 | (origin | |
6898 | (method url-fetch) | |
6899 | (uri (string-append "https://hackage.haskell.org/package/" | |
6900 | "libffi/libffi-" version ".tar.gz")) | |
6901 | (sha256 | |
6902 | (base32 | |
6903 | "0g7jnhng3j7z5517aaqga0144aamibsbpgm3yynwyfzkq1kp0f28")))) | |
6904 | (build-system haskell-build-system) | |
6905 | (native-inputs `(("pkg-config" ,pkg-config))) | |
6906 | (inputs `(("libffi" ,libffi))) | |
3ef91e15 | 6907 | (home-page "https://hackage.haskell.org/package/libffi") |
dddbc90c RV |
6908 | (synopsis "Haskell binding to libffi") |
6909 | (description | |
6910 | "A binding to libffi, allowing C functions of types only known at runtime | |
6911 | to be called from Haskell.") | |
6912 | (license license:bsd-3))) | |
6913 | ||
6914 | (define-public ghc-libmpd | |
6915 | (package | |
6916 | (name "ghc-libmpd") | |
bbf9845f | 6917 | (version "0.9.0.10") |
dddbc90c RV |
6918 | (source |
6919 | (origin | |
6920 | (method url-fetch) | |
6921 | (uri (string-append | |
6922 | "mirror://hackage/package/libmpd/libmpd-" | |
6923 | version | |
6924 | ".tar.gz")) | |
6925 | (sha256 | |
6926 | (base32 | |
bbf9845f | 6927 | "0vy287mn1vk8kvij5i3hc0p02l886cpsq5dds7kl6g520si3abkb")))) |
dddbc90c RV |
6928 | (build-system haskell-build-system) |
6929 | ;; Tests fail on i686. | |
6930 | ;; See https://github.com/vimus/libmpd-haskell/issues/112 | |
6931 | (arguments `(#:tests? #f)) | |
6932 | (inputs | |
6933 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
6934 | ("ghc-old-locale" ,ghc-old-locale) | |
6935 | ("ghc-data-default-class" ,ghc-data-default-class) | |
6936 | ("ghc-network" ,ghc-network) | |
bbf9845f | 6937 | ("ghc-safe-exceptions" ,ghc-safe-exceptions) |
dddbc90c RV |
6938 | ("ghc-utf8-string" ,ghc-utf8-string))) |
6939 | (native-inputs | |
6940 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
6941 | ("ghc-hspec" ,ghc-hspec) | |
6942 | ("hspec-discover" ,hspec-discover))) | |
6943 | (home-page "https://github.com/vimus/libmpd-haskell") | |
6944 | (synopsis "Haskell client library for the Music Player Daemon") | |
6945 | (description "This package provides a pure Haskell client library for the | |
6946 | Music Player Daemon.") | |
6947 | (license license:expat))) | |
6948 | ||
e34df1c3 TS |
6949 | (define-public ghc-lib-parser |
6950 | (package | |
6951 | (name "ghc-lib-parser") | |
6952 | (version "8.8.0.20190424") | |
6953 | (source | |
6954 | (origin | |
6955 | (method url-fetch) | |
6956 | (uri (string-append "https://hackage.haskell.org/package/" | |
6957 | "ghc-lib-parser/ghc-lib-parser-" version ".tar.gz")) | |
6958 | (sha256 | |
6959 | (base32 | |
6960 | "12gsh994pr13bsybwlravmi21la66dyw74pk74yfw2pnz682wv10")))) | |
6961 | (build-system haskell-build-system) | |
7e62ebb3 | 6962 | (outputs '("out" "static" "doc")) ; documentation is 39M |
e34df1c3 TS |
6963 | (native-inputs |
6964 | `(("ghc-alex" ,ghc-alex) | |
6965 | ("ghc-happy" ,ghc-happy))) | |
6966 | (home-page "https://github.com/digital-asset/ghc-lib") | |
6967 | (synopsis "The GHC API, decoupled from GHC versions") | |
6968 | (description "This library implements the GHC API. It is like the | |
6969 | compiler-provided @code{ghc} package, but it can be loaded on many | |
6970 | compiler versions.") | |
6971 | (license license:bsd-3))) | |
6972 | ||
dddbc90c RV |
6973 | (define-public ghc-libxml |
6974 | (package | |
6975 | (name "ghc-libxml") | |
6976 | (version "0.1.1") | |
6977 | (source | |
6978 | (origin | |
6979 | (method url-fetch) | |
6980 | (uri (string-append "https://hackage.haskell.org/package/libxml/" | |
6981 | "libxml-" version ".tar.gz")) | |
6982 | (sha256 | |
6983 | (base32 | |
6984 | "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi")))) | |
6985 | (build-system haskell-build-system) | |
6986 | (inputs | |
6987 | `(("libxml2" ,libxml2))) | |
6988 | (arguments | |
6989 | `(#:configure-flags | |
6990 | `(,(string-append "--extra-include-dirs=" | |
6991 | (assoc-ref %build-inputs "libxml2") | |
6992 | "/include/libxml2")))) | |
6993 | (home-page "https://hackage.haskell.org/package/libxml") | |
6994 | (synopsis "Haskell bindings to libxml2") | |
6995 | (description | |
6996 | "This library provides minimal Haskell binding to libxml2.") | |
6997 | (license license:bsd-3))) | |
6998 | ||
0c2d6fc2 TS |
6999 | (define-public ghc-libyaml |
7000 | (package | |
7001 | (name "ghc-libyaml") | |
7002 | (version "0.1.1.0") | |
7003 | (source | |
7004 | (origin | |
7005 | (method url-fetch) | |
7006 | (uri (string-append "https://hackage.haskell.org/package/" | |
7007 | "libyaml/libyaml-" version ".tar.gz")) | |
7008 | (sha256 | |
7009 | (base32 | |
7010 | "0psznm9c3yjsyj9aj8m2svvv9m2v0x90hnwarcx5sbswyi3l00va")) | |
7011 | (modules '((guix build utils))) | |
7012 | (snippet | |
7013 | ;; Delete bundled LibYAML. | |
7014 | '(begin | |
7015 | (delete-file-recursively "libyaml_src") | |
7016 | #t)))) | |
7017 | (build-system haskell-build-system) | |
7018 | (arguments | |
54a5fd07 TS |
7019 | `(#:configure-flags `("--flags=system-libyaml") |
7020 | #:extra-directories ("libyaml"))) | |
0c2d6fc2 TS |
7021 | (inputs |
7022 | `(("ghc-conduit" ,ghc-conduit) | |
7023 | ("ghc-resourcet" ,ghc-resourcet) | |
1b35d303 | 7024 | ("libyaml" ,libyaml))) |
0c2d6fc2 TS |
7025 | (home-page "https://github.com/snoyberg/yaml#readme") |
7026 | (synopsis "Low-level, streaming YAML interface.") | |
7027 | (description "This package provides a Haskell wrapper over the | |
7028 | LibYAML C library.") | |
7029 | (license license:bsd-3))) | |
7030 | ||
dddbc90c RV |
7031 | (define-public ghc-lifted-async |
7032 | (package | |
7033 | (name "ghc-lifted-async") | |
b5b6d7ea | 7034 | (version "0.10.0.4") |
dddbc90c RV |
7035 | (source |
7036 | (origin | |
7037 | (method url-fetch) | |
7038 | (uri (string-append | |
7039 | "https://hackage.haskell.org/package/lifted-async/lifted-async-" | |
7040 | version ".tar.gz")) | |
7041 | (sha256 | |
7042 | (base32 | |
b5b6d7ea | 7043 | "0cwl1d0wjpdk0v1l1qxiqiksmak950c8gx169c1q77cg0z18ijf9")))) |
dddbc90c RV |
7044 | (build-system haskell-build-system) |
7045 | (inputs | |
7046 | `(("ghc-async" ,ghc-async) | |
7047 | ("ghc-lifted-base" ,ghc-lifted-base) | |
7048 | ("ghc-transformers-base" ,ghc-transformers-base) | |
7049 | ("ghc-monad-control" ,ghc-monad-control) | |
7050 | ("ghc-constraints" ,ghc-constraints) | |
7051 | ("ghc-hunit" ,ghc-hunit) | |
7052 | ("ghc-tasty" ,ghc-tasty) | |
7053 | ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure) | |
7054 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
7055 | ("ghc-tasty-th" ,ghc-tasty-th))) | |
7056 | (home-page "https://github.com/maoe/lifted-async") | |
7057 | (synopsis "Run lifted IO operations asynchronously and wait for their results") | |
7058 | (description | |
7059 | "This package provides IO operations from @code{async} package lifted to any | |
7060 | instance of @code{MonadBase} or @code{MonadBaseControl}.") | |
7061 | (license license:bsd-3))) | |
7062 | ||
7063 | (define-public ghc-lifted-base | |
7064 | (package | |
7065 | (name "ghc-lifted-base") | |
7066 | (version "0.2.3.12") | |
7067 | (source | |
7068 | (origin | |
7069 | (method url-fetch) | |
7070 | (uri (string-append | |
7071 | "https://hackage.haskell.org/package/lifted-base/lifted-base-" | |
7072 | version | |
7073 | ".tar.gz")) | |
7074 | (sha256 | |
7075 | (base32 | |
7076 | "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61")))) | |
7077 | (build-system haskell-build-system) | |
7078 | (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries. | |
7079 | (inputs | |
7080 | `(("ghc-transformers-base" ,ghc-transformers-base) | |
7081 | ("ghc-monad-control" ,ghc-monad-control) | |
7082 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
7083 | ("ghc-hunit" ,ghc-hunit))) | |
7084 | (home-page "https://github.com/basvandijk/lifted-base") | |
7085 | (synopsis "Lifted IO operations from the base library") | |
7086 | (description "Lifted-base exports IO operations from the @code{base} | |
7087 | library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}. | |
7088 | Note that not all modules from @code{base} are converted yet. The package | |
7089 | includes a copy of the @code{monad-peel} test suite written by Anders | |
7090 | Kaseorg.") | |
7091 | (license license:bsd-3))) | |
7092 | ||
7093 | (define-public ghc-linear | |
7094 | (package | |
7095 | (name "ghc-linear") | |
86526f37 | 7096 | (version "1.20.9") |
dddbc90c RV |
7097 | (source |
7098 | (origin | |
7099 | (method url-fetch) | |
7100 | (uri (string-append "https://hackage.haskell.org/package/linear/" | |
7101 | "linear-" version ".tar.gz")) | |
7102 | (sha256 | |
7103 | (base32 | |
86526f37 | 7104 | "0h7yqigq593n7wsl7nz6a5f137wznm7y679wsii0ph0zsc4v5af5")))) |
dddbc90c RV |
7105 | (build-system haskell-build-system) |
7106 | (inputs | |
7107 | `(("ghc-adjunctions" ,ghc-adjunctions) | |
7108 | ("ghc-base-orphans" ,ghc-base-orphans) | |
7109 | ("ghc-bytes" ,ghc-bytes) | |
7110 | ("ghc-cereal" ,ghc-cereal) | |
7111 | ("ghc-distributive" ,ghc-distributive) | |
7112 | ("ghc-hashable" ,ghc-hashable) | |
7113 | ("ghc-lens" ,ghc-lens) | |
7114 | ("ghc-reflection" ,ghc-reflection) | |
7115 | ("ghc-semigroups" ,ghc-semigroups) | |
7116 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
7117 | ("ghc-tagged" ,ghc-tagged) | |
7118 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
7119 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
7120 | ("ghc-vector" ,ghc-vector) | |
7121 | ("ghc-void" ,ghc-void))) | |
7122 | (native-inputs | |
7123 | `(("cabal-doctest" ,cabal-doctest) | |
7124 | ("ghc-doctest" ,ghc-doctest) | |
7125 | ("ghc-simple-reflect" ,ghc-simple-reflect) | |
7126 | ("ghc-test-framework" ,ghc-test-framework) | |
7127 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
7128 | ("ghc-hunit" ,ghc-hunit))) | |
702a1012 | 7129 | (home-page "https://github.com/ekmett/linear/") |
dddbc90c RV |
7130 | (synopsis "Linear algebra library for Haskell") |
7131 | (description | |
7132 | "This package provides types and combinators for linear algebra on free | |
7133 | vector spaces.") | |
7134 | (license license:bsd-3))) | |
1307e4c7 JS |
7135 | |
7136 | (define-public ghc-listlike | |
7137 | (package | |
7138 | (name "ghc-listlike") | |
7139 | (version "4.6.2") | |
7140 | (source | |
7141 | (origin | |
7142 | (method url-fetch) | |
7143 | (uri | |
7144 | (string-append | |
7145 | "https://hackage.haskell.org/package/ListLike/ListLike-" | |
7146 | version ".tar.gz")) | |
7147 | (sha256 | |
7148 | (base32 | |
7149 | "0m65x8yaq7q50gznln8mga2wrc8cvjx6gw9rim8s7xqcrx6y5zjh")))) | |
7150 | (build-system haskell-build-system) | |
7151 | (inputs | |
7152 | `(("ghc-vector" ,ghc-vector) | |
7153 | ("ghc-dlist" ,ghc-dlist) | |
7154 | ("ghc-fmlist" ,ghc-fmlist) | |
7155 | ("ghc-hunit" ,ghc-hunit) | |
7156 | ("ghc-quickcheck" ,ghc-quickcheck) | |
7157 | ("ghc-random" ,ghc-random) | |
7158 | ("ghc-utf8-string" ,ghc-utf8-string))) | |
7159 | (home-page "https://github.com/JohnLato/listlike") | |
7160 | (synopsis "Generic support for list-like structures") | |
7161 | (description "The ListLike module provides a common interface to the | |
7162 | various Haskell types that are list-like. Predefined interfaces include | |
7163 | standard Haskell lists, Arrays, ByteStrings, and lazy ByteStrings. | |
7164 | Custom types can easily be made ListLike instances as well. | |
7165 | ||
7166 | ListLike also provides for String-like types, such as String and | |
7167 | ByteString, for types that support input and output, and for types that | |
7168 | can handle infinite lists.") | |
7169 | (license license:bsd-3))) | |
dddbc90c | 7170 | |
84436be0 J |
7171 | (define-public ghc-llvm-hs-pure |
7172 | (package | |
7173 | (name "ghc-llvm-hs-pure") | |
7174 | (version "9.0.0") | |
7175 | (source | |
7176 | (origin | |
7177 | (method url-fetch) | |
7178 | (uri (string-append "https://hackage.haskell.org/package/llvm-hs-pure/" | |
7179 | "llvm-hs-pure-" version ".tar.gz")) | |
7180 | (sha256 | |
7181 | (base32 | |
7182 | "0pxb5ah8r5pzpz2ibqw3g9g1isigb4z7pbzfrwr8kmcjn74ab3kf")))) | |
7183 | (build-system haskell-build-system) | |
7184 | (inputs | |
7185 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
7186 | ("ghc-fail" ,ghc-fail) | |
7187 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
7188 | (native-inputs | |
7189 | `(("ghc-tasty" ,ghc-tasty) | |
7190 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
7191 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
7192 | (home-page "https://github.com/llvm-hs/llvm-hs/") | |
7193 | (synopsis "Pure Haskell LLVM functionality (no FFI)") | |
7194 | (description "llvm-hs-pure is a set of pure Haskell types and functions | |
7195 | for interacting with LLVM. It includes an algebraic datatype (ADT) to represent | |
7196 | LLVM IR. The llvm-hs package builds on this one with FFI bindings to LLVM, but | |
7197 | llvm-hs-pure does not require LLVM to be available.") | |
7198 | (license license:bsd-3))) | |
7199 | ||
e3ee8023 J |
7200 | (define-public ghc-llvm-hs |
7201 | (package | |
7202 | (name "ghc-llvm-hs") | |
7203 | (version "9.0.1") | |
7204 | (source | |
7205 | (origin | |
7206 | (method url-fetch) | |
7207 | (uri (string-append "https://hackage.haskell.org/package/llvm-hs/llvm-hs-" | |
7208 | version ".tar.gz")) | |
7209 | (sha256 | |
7210 | (base32 | |
7211 | "0723xgh45h9cyxmmjsvxnsp8bpn1ljy4qgh7a7vqq3sj9d6wzq00")))) | |
7212 | (build-system haskell-build-system) | |
7213 | (inputs | |
7214 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
7215 | ("ghc-exceptions" ,ghc-exceptions) | |
7216 | ("ghc-utf8-string" ,ghc-utf8-string) | |
7217 | ("ghc-llvm-hs-pure" ,ghc-llvm-hs-pure) | |
7218 | ("llvm" ,llvm-9))) | |
7219 | (native-inputs | |
7220 | `(("ghc-tasty" ,ghc-tasty) | |
7221 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
7222 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
7223 | ("ghc-quickcheck" ,ghc-quickcheck) | |
7224 | ("ghc-temporary" ,ghc-temporary) | |
7225 | ("ghc-pretty-show" ,ghc-pretty-show) | |
7226 | ("ghc-temporary" ,ghc-temporary))) | |
7227 | (home-page "https://github.com/llvm-hs/llvm-hs/") | |
7228 | (synopsis "General purpose LLVM bindings for Haskell") | |
7229 | (description "llvm-hs is a set of Haskell bindings for LLVM. Unlike other | |
7230 | current Haskell bindings, it uses an algebraic datatype (ADT) to represent LLVM | |
7231 | IR, and so offers two advantages: it handles almost all of the stateful | |
7232 | complexities of using the LLVM API to build IR; and it supports moving IR not | |
7233 | only from Haskell into LLVM C++ objects, but the other direction - from LLVM C++ | |
7234 | into Haskell.") | |
7235 | (license license:bsd-3))) | |
7236 | ||
dddbc90c RV |
7237 | (define-public ghc-logging-facade |
7238 | (package | |
7239 | (name "ghc-logging-facade") | |
7240 | (version "0.3.0") | |
7241 | (source (origin | |
7242 | (method url-fetch) | |
7243 | (uri (string-append "https://hackage.haskell.org/package/" | |
7244 | "logging-facade/logging-facade-" | |
7245 | version ".tar.gz")) | |
7246 | (sha256 | |
7247 | (base32 | |
7248 | "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf")))) | |
7249 | (build-system haskell-build-system) | |
7250 | (native-inputs | |
7251 | `(("ghc-hspec" ,ghc-hspec) | |
7252 | ("hspec-discover" ,hspec-discover))) | |
7253 | (home-page "https://hackage.haskell.org/package/logging-facade") | |
7254 | (synopsis "Simple logging abstraction that allows multiple back-ends") | |
7255 | (description | |
7256 | "This package provides a simple logging abstraction that allows multiple | |
7257 | back-ends.") | |
7258 | (license license:expat))) | |
7259 | ||
7260 | (define-public ghc-logict | |
7261 | (package | |
7262 | (name "ghc-logict") | |
79d9326f | 7263 | (version "0.7.0.2") |
dddbc90c RV |
7264 | (source |
7265 | (origin | |
7266 | (method url-fetch) | |
7267 | (uri (string-append | |
7268 | "https://hackage.haskell.org/package/logict/logict-" | |
7269 | version | |
7270 | ".tar.gz")) | |
7271 | (sha256 | |
7272 | (base32 | |
79d9326f | 7273 | "1xfgdsxg0lp8m0a2cb83rcxrnnc37asfikay2kydi933anh9ihfc")))) |
dddbc90c | 7274 | (build-system haskell-build-system) |
79d9326f TS |
7275 | (native-inputs |
7276 | `(("ghc-tasty" ,ghc-tasty) | |
7277 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
dddbc90c RV |
7278 | (home-page "http://code.haskell.org/~dolio/") |
7279 | (synopsis "Backtracking logic-programming monad") | |
7280 | (description "This library provides a continuation-based, backtracking, | |
7281 | logic programming monad. An adaptation of the two-continuation implementation | |
7282 | found in the paper \"Backtracking, Interleaving, and Terminating Monad | |
7283 | Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf, | |
7284 | online}.") | |
7285 | (license license:bsd-3))) | |
7286 | ||
27baf2a1 CH |
7287 | (define-public ghc-lucid |
7288 | (package | |
7289 | (name "ghc-lucid") | |
7290 | (version "2.9.12") | |
7291 | (source | |
7292 | (origin | |
7293 | (method url-fetch) | |
7294 | (uri (string-append | |
7295 | "https://hackage.haskell.org/package/lucid/lucid-" | |
7296 | version | |
7297 | ".tar.gz")) | |
7298 | (sha256 | |
7299 | (base32 | |
7300 | "156wniydd1hlb7rygbm95zln8ky8lai8rn2apkkv0rax9cdw6jrh")))) | |
7301 | (build-system haskell-build-system) | |
7302 | (inputs | |
7303 | `(("ghc-blaze-builder" ,ghc-blaze-builder) | |
7304 | ("ghc-hashable" ,ghc-hashable) | |
7305 | ("ghc-mmorph" ,ghc-mmorph) | |
7306 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
7307 | (native-inputs | |
7308 | `(("ghc-hunit" ,ghc-hunit) | |
7309 | ("ghc-hspec" ,ghc-hspec) | |
7310 | ("ghc-bifunctors" ,ghc-bifunctors))) | |
7311 | (arguments | |
7312 | `(#:cabal-revision | |
7313 | ("1" | |
7314 | "1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9"))) | |
7315 | (home-page "https://github.com/chrisdone/lucid") | |
7316 | (synopsis "Haskell DSL for rendering HTML") | |
7317 | (description "Clear to write, read and edit Haskell DSL for HTML. | |
7318 | ||
7319 | @itemize @bullet | |
7320 | @item | |
7321 | Names are consistent, and do not conflict with base or are keywords | |
7322 | (all have suffix @code{-}). | |
7323 | @item | |
7324 | Same combinator can be used for attributes and elements | |
7325 | (e.g. @code{style_}). | |
7326 | @end itemize") | |
7327 | (license license:bsd-3))) | |
7328 | ||
dddbc90c RV |
7329 | (define-public ghc-lzma |
7330 | (package | |
7331 | (name "ghc-lzma") | |
7332 | (version "0.0.0.3") | |
7333 | (source | |
7334 | (origin | |
7335 | (method url-fetch) | |
7336 | (uri (string-append "https://hackage.haskell.org/package/lzma/" | |
7337 | "lzma-" version ".tar.gz")) | |
7338 | (sha256 | |
7339 | (base32 | |
7340 | "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg")))) | |
7341 | (build-system haskell-build-system) | |
7342 | (arguments | |
7343 | '(#:tests? #f ; requires older versions of QuickCheck and tasty. | |
7344 | #:cabal-revision | |
7345 | ("3" "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m"))) | |
7346 | (native-inputs | |
7347 | `(("ghc-hunit" ,ghc-hunit) | |
7348 | ("ghc-quickcheck" ,ghc-quickcheck) | |
7349 | ("ghc-tasty" ,ghc-tasty) | |
7350 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
7351 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
7352 | (home-page "https://github.com/hvr/lzma") | |
7353 | (synopsis "LZMA/XZ compression and decompression") | |
7354 | (description | |
7355 | "This package provides a pure interface for compressing and | |
7356 | decompressing LZMA streams of data represented as lazy @code{ByteString}s. A | |
7357 | monadic incremental interface is provided as well.") | |
7358 | (license license:bsd-3))) | |
7359 | ||
7360 | (define-public ghc-lzma-conduit | |
7361 | (package | |
7362 | (name "ghc-lzma-conduit") | |
7363 | (version "1.2.1") | |
7364 | (source | |
7365 | (origin | |
7366 | (method url-fetch) | |
7367 | (uri (string-append "https://hackage.haskell.org/package/lzma-conduit/" | |
7368 | "lzma-conduit-" version ".tar.gz")) | |
7369 | (sha256 | |
7370 | (base32 | |
7371 | "0hm72da7xk9l3zxjh274yg444vf405djxqbkf3q3p2qhicmxlmg9")))) | |
7372 | (build-system haskell-build-system) | |
7373 | (inputs | |
7374 | `(("ghc-conduit" ,ghc-conduit) | |
7375 | ("ghc-lzma" ,ghc-lzma) | |
7376 | ("ghc-resourcet" ,ghc-resourcet))) | |
7377 | (native-inputs | |
7378 | `(("ghc-base-compat" ,ghc-base-compat) | |
7379 | ("ghc-test-framework" ,ghc-test-framework) | |
7380 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
7381 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
7382 | ("ghc-hunit" ,ghc-hunit) | |
7383 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
7384 | (home-page "https://github.com/alphaHeavy/lzma-conduit") | |
7385 | (synopsis "Conduit interface for lzma/xz compression") | |
7386 | (description | |
7387 | "This package provides a @code{Conduit} interface for the LZMA | |
7388 | compression algorithm used in the @code{.xz} file format.") | |
7389 | (license license:bsd-3))) | |
7390 | ||
e405912c KM |
7391 | (define-public ghc-magic |
7392 | (package | |
7393 | (name "ghc-magic") | |
7394 | (version "1.1") | |
7395 | (source | |
7396 | (origin | |
7397 | (method url-fetch) | |
7398 | (uri (string-append | |
7399 | "https://hackage.haskell.org/package/magic/magic-" | |
7400 | version ".tar.gz")) | |
7401 | (sha256 | |
7402 | (base32 | |
7403 | "10p0gjjjwr1dda7hahwrwn5njbfhl67arq3v3nf1jr3vymlkn75j")))) | |
7404 | (build-system haskell-build-system) | |
3ef91e15 | 7405 | (home-page "https://hackage.haskell.org/package/magic") |
e405912c KM |
7406 | (synopsis "Interface to C file/magic library") |
7407 | (description | |
7408 | "This package provides a full-featured binding to the C libmagic library. | |
7409 | With it, you can determine the type of a file by examining its contents rather | |
7410 | than its name.") | |
7411 | (license license:bsd-3))) | |
7412 | ||
bcfe9dba JS |
7413 | (define-public ghc-managed |
7414 | (package | |
7415 | (name "ghc-managed") | |
7416 | (version "1.0.6") | |
7417 | (source | |
7418 | (origin | |
7419 | (method url-fetch) | |
7420 | (uri (string-append | |
7421 | "mirror://hackage/package/managed/managed-" | |
7422 | version | |
7423 | ".tar.gz")) | |
7424 | (sha256 | |
7425 | (base32 | |
7426 | "1kbrw99yh5x5blykmx2n88mplbbi4ss1ij5j17b7asw6q0ihm9zi")))) | |
7427 | (build-system haskell-build-system) | |
7428 | (home-page "http://hackage.haskell.org/package/managed") | |
7429 | (synopsis "Monad for managed values") | |
7430 | (description | |
7431 | "In Haskell you very often acquire values using the with... idiom using | |
7432 | functions of type (a -> IO r) -> IO r. This idiom forms a Monad, which is a | |
7433 | special case of the ContT monad (from transformers) or the Codensity | |
7434 | monad (from kan-extensions). The main purpose behind this package is to | |
7435 | provide a restricted form of these monads specialized to this unusually common | |
7436 | case. | |
7437 | ||
7438 | The reason this package defines a specialized version of these types | |
7439 | is to: | |
7440 | ||
7441 | @itemize | |
7442 | @item be more beginner-friendly, | |
7443 | @item simplify inferred types and error messages, and: | |
7444 | @item provide some additional type class instances that would otherwise be | |
7445 | orphan instances | |
7446 | @end itemize") | |
7447 | (license license:bsd-3))) | |
7448 | ||
dddbc90c RV |
7449 | (define-public ghc-markdown-unlit |
7450 | (package | |
7451 | (name "ghc-markdown-unlit") | |
7452 | (version "0.5.0") | |
7453 | (source (origin | |
7454 | (method url-fetch) | |
7455 | (uri (string-append | |
7456 | "mirror://hackage/package/markdown-unlit/" | |
7457 | "markdown-unlit-" version ".tar.gz")) | |
7458 | (sha256 | |
7459 | (base32 | |
7460 | "1gy79vr85vcp13rdjh0hz7zv6daqqffww4j0cqn2lpjjh9xhsbg7")))) | |
7461 | (build-system haskell-build-system) | |
7462 | (inputs | |
7463 | `(("ghc-base-compat" ,ghc-base-compat) | |
7464 | ("ghc-hspec" ,ghc-hspec) | |
7465 | ("ghc-quickcheck" ,ghc-quickcheck) | |
7466 | ("ghc-silently" ,ghc-silently) | |
7467 | ("ghc-stringbuilder" ,ghc-stringbuilder) | |
7468 | ("ghc-temporary" ,ghc-temporary) | |
7469 | ("hspec-discover" ,hspec-discover))) | |
7470 | (home-page "https://github.com/sol/markdown-unlit#readme") | |
7471 | (synopsis "Literate Haskell support for Markdown") | |
7472 | (description "This package allows you to have a README.md that at the | |
7473 | same time is a literate Haskell program.") | |
7474 | (license license:expat))) | |
7475 | ||
7476 | (define-public ghc-math-functions | |
7477 | (package | |
7478 | (name "ghc-math-functions") | |
b45de2bf | 7479 | (version "0.3.3.0") |
dddbc90c RV |
7480 | (source |
7481 | (origin | |
7482 | (method url-fetch) | |
7483 | (uri (string-append "https://hackage.haskell.org/package/" | |
7484 | "math-functions-" version "/" | |
7485 | "math-functions-" version ".tar.gz")) | |
7486 | (sha256 | |
7487 | (base32 | |
b45de2bf | 7488 | "1s5nbs40sc3r4z08n0j8bw40cy0zkp03fjjn3p27zkd4fvm9kib3")))) |
dddbc90c RV |
7489 | (build-system haskell-build-system) |
7490 | (arguments `(#:tests? #f)) ; FIXME: 1 test fails. | |
7491 | (inputs | |
b45de2bf TS |
7492 | `(("ghc-data-default-class" ,ghc-data-default-class) |
7493 | ("ghc-vector" ,ghc-vector) | |
dddbc90c RV |
7494 | ("ghc-vector-th-unbox" ,ghc-vector-th-unbox))) |
7495 | (native-inputs | |
7496 | `(("ghc-hunit" ,ghc-hunit) | |
7497 | ("ghc-quickcheck" ,ghc-quickcheck) | |
7498 | ("ghc-erf" ,ghc-erf) | |
7499 | ("ghc-test-framework" ,ghc-test-framework) | |
7500 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
7501 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
7502 | (home-page "https://github.com/bos/math-functions") | |
7503 | (synopsis "Special functions and Chebyshev polynomials for Haskell") | |
7504 | (description "This Haskell library provides implementations of | |
7505 | special mathematical functions and Chebyshev polynomials. These | |
7506 | functions are often useful in statistical and numerical computing.") | |
7507 | (license license:bsd-3))) | |
7508 | ||
7509 | (define-public ghc-megaparsec | |
7510 | (package | |
7511 | (name "ghc-megaparsec") | |
03b0c92e | 7512 | (version "7.0.5") |
dddbc90c RV |
7513 | (source |
7514 | (origin | |
7515 | (method url-fetch) | |
7516 | (uri (string-append "https://hackage.haskell.org/package/" | |
7517 | "megaparsec/megaparsec-" | |
7518 | version ".tar.gz")) | |
7519 | (sha256 | |
7520 | (base32 | |
03b0c92e | 7521 | "0bqx1icbmk8s7wmbcdzsgnlh607c7kzg8l80cp02dxr5valjxp7j")))) |
dddbc90c | 7522 | (build-system haskell-build-system) |
dddbc90c RV |
7523 | (inputs |
7524 | `(("ghc-case-insensitive" ,ghc-case-insensitive) | |
7525 | ("ghc-parser-combinators" ,ghc-parser-combinators) | |
7526 | ("ghc-scientific" ,ghc-scientific))) | |
7527 | (native-inputs | |
7528 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
7529 | ("ghc-hspec" ,ghc-hspec) | |
7530 | ("ghc-hspec-expectations" ,ghc-hspec-expectations) | |
7531 | ("hspec-discover" ,hspec-discover))) | |
7532 | (home-page "https://github.com/mrkkrp/megaparsec") | |
7533 | (synopsis "Monadic parser combinators") | |
7534 | (description | |
7535 | "This is an industrial-strength monadic parser combinator library. | |
7536 | Megaparsec is a feature-rich package that strikes a nice balance between | |
7537 | speed, flexibility, and quality of parse errors.") | |
7538 | (license license:bsd-2))) | |
7539 | ||
7540 | (define-public ghc-memory | |
7541 | (package | |
7542 | (name "ghc-memory") | |
d2c7d336 | 7543 | (version "0.14.18") |
dddbc90c RV |
7544 | (source (origin |
7545 | (method url-fetch) | |
7546 | (uri (string-append "https://hackage.haskell.org/package/" | |
7547 | "memory/memory-" version ".tar.gz")) | |
7548 | (sha256 | |
7549 | (base32 | |
d2c7d336 | 7550 | "01rmq3vagxzjmm96qnfxk4f0516cn12bp5m8inn8h5r918bqsigm")))) |
dddbc90c RV |
7551 | (build-system haskell-build-system) |
7552 | (inputs | |
7553 | `(("ghc-basement" ,ghc-basement) | |
7554 | ("ghc-foundation" ,ghc-foundation))) | |
7555 | (native-inputs | |
7556 | `(("ghc-tasty" ,ghc-tasty) | |
7557 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
7558 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
7559 | (home-page "https://github.com/vincenthz/hs-memory") | |
7560 | (synopsis "Memory abstractions for Haskell") | |
7561 | (description | |
7562 | "This package provides memory abstractions, such as chunk of memory, | |
7563 | polymorphic byte array management and manipulation functions. It contains a | |
7564 | polymorphic byte array abstraction and functions similar to strict ByteString, | |
7565 | different type of byte array abstraction, raw memory IO operations (memory | |
7566 | set, memory copy, ..) and more") | |
7567 | (license license:bsd-3))) | |
7568 | ||
7569 | (define-public ghc-memotrie | |
7570 | (package | |
7571 | (name "ghc-memotrie") | |
7572 | (version "0.6.9") | |
7573 | (source | |
7574 | (origin | |
7575 | (method url-fetch) | |
7576 | (uri (string-append | |
7577 | "https://hackage.haskell.org/package/MemoTrie/MemoTrie-" | |
7578 | version | |
7579 | ".tar.gz")) | |
7580 | (sha256 | |
7581 | (base32 | |
7582 | "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x")))) | |
7583 | (build-system haskell-build-system) | |
7584 | (inputs | |
7585 | `(("ghc-newtype-generics" ,ghc-newtype-generics))) | |
7586 | (home-page "https://github.com/conal/MemoTrie") | |
7587 | (synopsis "Trie-based memo functions") | |
7588 | (description "This package provides a functional library for creating | |
7589 | efficient memo functions using tries.") | |
7590 | (license license:bsd-3))) | |
7591 | ||
7592 | (define-public ghc-microlens | |
7593 | (package | |
7594 | (name "ghc-microlens") | |
82478c58 | 7595 | (version "0.4.10") |
dddbc90c RV |
7596 | (source |
7597 | (origin | |
7598 | (method url-fetch) | |
7599 | (uri (string-append "https://hackage.haskell.org/package/" | |
7600 | "microlens-" version "/" | |
7601 | "microlens-" version ".tar.gz")) | |
7602 | (sha256 | |
7603 | (base32 | |
82478c58 | 7604 | "1v277yyy4p9q57xr2lfp6qs24agglfczmcabrapxrzci3jfshmcw")))) |
dddbc90c RV |
7605 | (build-system haskell-build-system) |
7606 | (home-page | |
7607 | "https://github.com/aelve/microlens") | |
7608 | (synopsis "Provides a tiny lens Haskell library with no dependencies") | |
7609 | (description "This Haskell package provides a lens library, just like | |
7610 | @code{ghc-lens}, but smaller. It provides essential lenses and | |
7611 | traversals (like @code{_1} and @code{_Just}), as well as ones which are simply | |
7612 | nice to have (like @code{each}, @code{at}, and @code{ix}), and some | |
7613 | combinators (like @code{failing} and @code{singular}), but everything else is | |
7614 | stripped. As the result, this package has no dependencies.") | |
7615 | (license license:bsd-3))) | |
7616 | ||
1cd3333e TS |
7617 | (define-public ghc-microlens-aeson |
7618 | (package | |
7619 | (name "ghc-microlens-aeson") | |
7620 | (version "2.3.0.4") | |
7621 | (source | |
7622 | (origin | |
7623 | (method url-fetch) | |
7624 | (uri (string-append "https://hackage.haskell.org/package/" | |
7625 | "microlens-aeson/microlens-aeson-" | |
7626 | version ".tar.gz")) | |
b4a00fec | 7627 | (patches (search-patches "ghc-microlens-aeson-fix-tests.patch")) |
1cd3333e TS |
7628 | (sha256 |
7629 | (base32 | |
7630 | "0w630kk5bnily1qh41081gqgbwmslrh5ad21899gwnb2r3jripyw")))) | |
7631 | (build-system haskell-build-system) | |
7632 | (inputs | |
7633 | `(("ghc-aeson" ,ghc-aeson) | |
7634 | ("ghc-attoparsec" ,ghc-attoparsec) | |
7635 | ("ghc-hashable" ,ghc-hashable) | |
7636 | ("ghc-microlens" ,ghc-microlens) | |
7637 | ("ghc-scientific" ,ghc-scientific) | |
7638 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
7639 | ("ghc-vector" ,ghc-vector))) | |
7640 | (native-inputs | |
7641 | `(("ghc-tasty" ,ghc-tasty) | |
7642 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
7643 | (home-page "https://github.com/fosskers/microlens-aeson") | |
7644 | (synopsis "Law-abiding lenses for Aeson, using microlens") | |
7645 | (description "This library provides law-abiding lenses for Aeson, using | |
7646 | microlens.") | |
7647 | (license license:expat))) | |
7648 | ||
dddbc90c RV |
7649 | (define-public ghc-microlens-ghc |
7650 | (package | |
7651 | (name "ghc-microlens-ghc") | |
027beb55 | 7652 | (version "0.4.10") |
dddbc90c RV |
7653 | (source |
7654 | (origin | |
7655 | (method url-fetch) | |
7656 | (uri (string-append | |
7657 | "https://hackage.haskell.org/package/microlens-ghc/microlens-ghc-" | |
7658 | version | |
7659 | ".tar.gz")) | |
7660 | (sha256 | |
7661 | (base32 | |
027beb55 | 7662 | "102dbrdsdadxbbhvx8avv1wbk84767a7lkb8ckp3zxk9g7qlly33")))) |
dddbc90c RV |
7663 | (build-system haskell-build-system) |
7664 | (inputs `(("ghc-microlens" ,ghc-microlens))) | |
7665 | (home-page "https://github.com/monadfix/microlens") | |
7666 | (synopsis "Use @code{microlens} with GHC libraries like @code{array}") | |
7667 | (description "This library provides everything that @code{microlens} | |
7668 | provides plus instances to make @code{each}, @code{at}, and @code{ix} | |
7669 | usable with arrays, @code{ByteString}, and containers. This package is | |
7670 | a part of the @uref{http://hackage.haskell.org/package/microlens, | |
7671 | microlens} family; see the readme | |
7672 | @uref{https://github.com/aelve/microlens#readme, on Github}.") | |
7673 | (license license:bsd-3))) | |
7674 | ||
7675 | (define-public ghc-microlens-mtl | |
7676 | (package | |
7677 | (name "ghc-microlens-mtl") | |
7678 | (version "0.1.11.1") | |
7679 | (source | |
7680 | (origin | |
7681 | (method url-fetch) | |
7682 | (uri (string-append | |
7683 | "https://hackage.haskell.org/package/microlens-mtl/microlens-mtl-" | |
7684 | version | |
7685 | ".tar.gz")) | |
7686 | (sha256 | |
7687 | (base32 | |
7688 | "0l6z1gkzwcpv89bxf5vgfrjb6gq2pj7sjjc53nvi5b9alx34zryk")))) | |
7689 | (build-system haskell-build-system) | |
7690 | (inputs | |
7691 | `(("ghc-microlens" ,ghc-microlens) | |
7692 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
7693 | (home-page "https://github.com/monadfix/microlens") | |
7694 | (synopsis | |
7695 | "@code{microlens} support for Reader/Writer/State from mtl") | |
7696 | (description | |
7697 | "This package contains functions (like @code{view} or @code{+=}) which | |
7698 | work on @code{MonadReader}, @code{MonadWriter}, and @code{MonadState} from the | |
7699 | mtl package. This package is a part of the | |
7700 | @uref{http://hackage.haskell.org/package/microlens, microlens} family; see the | |
7701 | readme @uref{https://github.com/aelve/microlens#readme, on Github}.") | |
7702 | (license license:bsd-3))) | |
7703 | ||
7704 | (define-public ghc-microlens-platform | |
7705 | (package | |
7706 | (name "ghc-microlens-platform") | |
85decc1f | 7707 | (version "0.3.11") |
dddbc90c RV |
7708 | (source |
7709 | (origin | |
7710 | (method url-fetch) | |
7711 | (uri (string-append | |
7712 | "https://hackage.haskell.org/package/" | |
7713 | "microlens-platform/microlens-platform-" version ".tar.gz")) | |
7714 | (sha256 | |
7715 | (base32 | |
85decc1f | 7716 | "18950lxgmsg5ksvyyi3zs1smjmb1qf1q73a3p3g44bh21miz0xwb")))) |
dddbc90c RV |
7717 | (build-system haskell-build-system) |
7718 | (inputs | |
7719 | `(("ghc-hashable" ,ghc-hashable) | |
7720 | ("ghc-microlens" ,ghc-microlens) | |
7721 | ("ghc-microlens-ghc" ,ghc-microlens-ghc) | |
7722 | ("ghc-microlens-mtl" ,ghc-microlens-mtl) | |
7723 | ("ghc-microlens-th" ,ghc-microlens-th) | |
7724 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
7725 | ("ghc-vector" ,ghc-vector))) | |
7726 | (home-page "https://github.com/monadfix/microlens") | |
7727 | (synopsis "Feature-complete microlens") | |
7728 | (description | |
7729 | "This package exports a module which is the recommended starting point | |
7730 | for using @uref{http://hackage.haskell.org/package/microlens, microlens} if | |
7731 | you aren't trying to keep your dependencies minimal. By importing | |
7732 | @code{Lens.Micro.Platform} you get all functions and instances from | |
7733 | @uref{http://hackage.haskell.org/package/microlens, microlens}, | |
7734 | @uref{http://hackage.haskell.org/package/microlens-th, microlens-th}, | |
7735 | @uref{http://hackage.haskell.org/package/microlens-mtl, microlens-mtl}, | |
7736 | @uref{http://hackage.haskell.org/package/microlens-ghc, microlens-ghc}, as | |
7737 | well as instances for @code{Vector}, @code{Text}, and @code{HashMap}. The | |
7738 | minor and major versions of @code{microlens-platform} are incremented whenever | |
7739 | the minor and major versions of any other @code{microlens} package are | |
7740 | incremented, so you can depend on the exact version of | |
7741 | @code{microlens-platform} without specifying the version of @code{microlens} | |
7742 | you need. This package is a part of the | |
7743 | @uref{http://hackage.haskell.org/package/microlens, microlens} family; see the | |
7744 | readme @uref{https://github.com/aelve/microlens#readme, on Github}.") | |
7745 | (license license:bsd-3))) | |
7746 | ||
7747 | (define-public ghc-microlens-th | |
7748 | (package | |
7749 | (name "ghc-microlens-th") | |
7ae52867 | 7750 | (version "0.4.2.3") |
dddbc90c RV |
7751 | (source |
7752 | (origin | |
7753 | (method url-fetch) | |
7754 | (uri (string-append "https://hackage.haskell.org/package/" | |
7755 | "microlens-th-" version "/" | |
7756 | "microlens-th-" version ".tar.gz")) | |
7757 | (sha256 | |
7758 | (base32 | |
7ae52867 | 7759 | "13qw0pwcgd6f6i39rwgqwcwk1d4da5x7wv3gna7gdlxaq331h41j")))) |
dddbc90c | 7760 | (build-system haskell-build-system) |
7ae52867 TS |
7761 | (arguments |
7762 | `(#:cabal-revision | |
7763 | ("1" "167in7b1qhgrspx81bdm2jyg9qji66sk7id282c0s99kmp0d01n6"))) | |
dddbc90c RV |
7764 | (inputs `(("ghc-microlens" ,ghc-microlens) |
7765 | ("ghc-th-abstraction" ,ghc-th-abstraction))) | |
7766 | (home-page | |
7767 | "https://github.com/aelve/microlens") | |
7768 | (synopsis "Automatic generation of record lenses for | |
7769 | @code{ghc-microlens}") | |
7770 | (description "This Haskell package lets you automatically generate lenses | |
7771 | for data types; code was extracted from the lens package, and therefore | |
7772 | generated lenses are fully compatible with ones generated by lens (and can be | |
7773 | used both from lens and microlens).") | |
7774 | (license license:bsd-3))) | |
7775 | ||
7776 | (define-public ghc-missingh | |
7777 | (package | |
7778 | (name "ghc-missingh") | |
641207cb | 7779 | (version "1.4.1.0") |
dddbc90c RV |
7780 | (source |
7781 | (origin | |
7782 | (method url-fetch) | |
7783 | (uri (string-append "https://hackage.haskell.org/package/MissingH/" | |
7784 | "MissingH-" version ".tar.gz")) | |
7785 | (sha256 | |
7786 | (base32 | |
641207cb | 7787 | "1jp0vk6w9a7fzrbxfhx773105jp2s1n50klq9ak6spfl7bgx5v29")))) |
dddbc90c RV |
7788 | (build-system haskell-build-system) |
7789 | ;; Tests require the unmaintained testpack package, which depends on the | |
7790 | ;; outdated QuickCheck version 2.7, which can no longer be built with | |
7791 | ;; recent versions of GHC and Haskell libraries. | |
7792 | (arguments '(#:tests? #f)) | |
7793 | (inputs | |
7794 | `(("ghc-network" ,ghc-network) | |
7795 | ("ghc-hunit" ,ghc-hunit) | |
7796 | ("ghc-regex-compat" ,ghc-regex-compat) | |
7797 | ("ghc-hslogger" ,ghc-hslogger) | |
7798 | ("ghc-random" ,ghc-random) | |
7799 | ("ghc-old-time" ,ghc-old-time) | |
7800 | ("ghc-old-locale" ,ghc-old-locale))) | |
7801 | (native-inputs | |
7802 | `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance) | |
7803 | ("ghc-quickcheck" ,ghc-quickcheck) | |
7804 | ("ghc-hunit" ,ghc-hunit))) | |
f1841ccf TGR |
7805 | ;; ‘Official’ <http://software.complete.org/missingh> redirects to a 404. |
7806 | (home-page "https://github.com/haskell-hvr/missingh") | |
dddbc90c RV |
7807 | (synopsis "Large utility library") |
7808 | (description | |
7809 | "MissingH is a library of all sorts of utility functions for Haskell | |
7810 | programmers. It is written in pure Haskell and thus should be extremely | |
7811 | portable and easy to use.") | |
7812 | (license license:bsd-3))) | |
7813 | ||
7814 | (define-public ghc-mmap | |
7815 | (package | |
7816 | (name "ghc-mmap") | |
7817 | (version "0.5.9") | |
7818 | (source (origin | |
7819 | (method url-fetch) | |
7820 | (uri (string-append "https://hackage.haskell.org/package/" | |
7821 | "mmap/mmap-" version ".tar.gz")) | |
7822 | (sha256 | |
7823 | (base32 | |
7824 | "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q")))) | |
7825 | (build-system haskell-build-system) | |
7826 | (home-page "https://hackage.haskell.org/package/mmap") | |
7827 | (synopsis "Memory mapped files for Haskell") | |
7828 | (description | |
7829 | "This library provides a wrapper to @code{mmap}, allowing files or | |
7830 | devices to be lazily loaded into memory as strict or lazy @code{ByteStrings}, | |
7831 | @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to | |
7832 | do on-demand loading.") | |
7833 | (license license:bsd-3))) | |
7834 | ||
7835 | (define-public ghc-mmorph | |
7836 | (package | |
7837 | (name "ghc-mmorph") | |
e0389704 | 7838 | (version "1.1.3") |
dddbc90c RV |
7839 | (source |
7840 | (origin | |
7841 | (method url-fetch) | |
7842 | (uri (string-append | |
7843 | "https://hackage.haskell.org/package/mmorph/mmorph-" | |
7844 | version | |
7845 | ".tar.gz")) | |
7846 | (sha256 | |
7847 | (base32 | |
e0389704 | 7848 | "0rfsy9n9mlinpmqi2s17fhc67fzma2ig5fbmh6m5m830canzf8vr")))) |
dddbc90c RV |
7849 | (build-system haskell-build-system) |
7850 | (inputs | |
7851 | `(("ghc-transformers-compat" ,ghc-transformers-compat))) | |
7852 | (home-page "https://hackage.haskell.org/package/mmorph") | |
7853 | (synopsis "Monad morphisms") | |
7854 | (description | |
7855 | "This library provides monad morphism utilities, most commonly used for | |
7856 | manipulating monad transformer stacks.") | |
7857 | (license license:bsd-3))) | |
7858 | ||
7859 | (define-public ghc-mockery | |
7860 | (package | |
7861 | (name "ghc-mockery") | |
7862 | (version "0.3.5") | |
7863 | (source (origin | |
7864 | (method url-fetch) | |
7865 | (uri (string-append "https://hackage.haskell.org/package/" | |
7866 | "mockery/mockery-" version ".tar.gz")) | |
7867 | (sha256 | |
7868 | (base32 | |
7869 | "09ypgm3z69gq8mj6y66ss58kbjnk15r8frwcwbqcfbfksfnfv8dp")))) | |
7870 | (build-system haskell-build-system) | |
7871 | (inputs | |
7872 | `(("ghc-temporary" ,ghc-temporary) | |
7873 | ("ghc-logging-facade" ,ghc-logging-facade) | |
7874 | ("ghc-base-compat" ,ghc-base-compat))) | |
7875 | (native-inputs | |
7876 | `(("ghc-hspec" ,ghc-hspec) | |
7877 | ("hspec-discover" ,hspec-discover))) | |
7878 | (home-page "https://hackage.haskell.org/package/mockery") | |
7879 | (synopsis "Support functions for automated testing") | |
7880 | (description | |
7881 | "The mockery package provides support functions for automated testing.") | |
7882 | (license license:expat))) | |
7883 | ||
7884 | (define-public ghc-monad-control | |
7885 | (package | |
7886 | (name "ghc-monad-control") | |
7887 | (version "1.0.2.3") | |
7888 | (source | |
7889 | (origin | |
7890 | (method url-fetch) | |
7891 | (uri (string-append | |
7892 | "https://hackage.haskell.org/package/monad-control" | |
7893 | "/monad-control-" version ".tar.gz")) | |
7894 | (sha256 | |
7895 | (base32 | |
7896 | "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c")))) | |
7897 | (build-system haskell-build-system) | |
7898 | (inputs | |
7899 | `(("ghc-transformers-base" ,ghc-transformers-base) | |
7900 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
7901 | (home-page "https://github.com/basvandijk/monad-control") | |
7902 | (synopsis "Monad transformers to lift control operations like exception | |
7903 | catching") | |
7904 | (description "This package defines the type class @code{MonadBaseControl}, | |
7905 | a subset of @code{MonadBase} into which generic control operations such as | |
7906 | @code{catch} can be lifted from @code{IO} or any other base monad.") | |
7907 | (license license:bsd-3))) | |
7908 | ||
7909 | (define-public ghc-monad-logger | |
7910 | (package | |
7911 | (name "ghc-monad-logger") | |
26980aae | 7912 | (version "0.3.30") |
dddbc90c RV |
7913 | (source |
7914 | (origin | |
7915 | (method url-fetch) | |
7916 | (uri (string-append "https://hackage.haskell.org/package/" | |
7917 | "monad-logger-" version "/" | |
7918 | "monad-logger-" version ".tar.gz")) | |
7919 | (sha256 | |
7920 | (base32 | |
26980aae | 7921 | "102l0v75hbvkmrypiyg4ybb6rbc7nij5nxs1aihmqfdpg04rkkp7")))) |
dddbc90c RV |
7922 | (build-system haskell-build-system) |
7923 | (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat) | |
7924 | ("ghc-stm-chans" ,ghc-stm-chans) | |
7925 | ("ghc-lifted-base" ,ghc-lifted-base) | |
7926 | ("ghc-resourcet" ,ghc-resourcet) | |
7927 | ("ghc-conduit" ,ghc-conduit) | |
7928 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
7929 | ("ghc-fast-logger" ,ghc-fast-logger) | |
7930 | ("ghc-transformers-base" ,ghc-transformers-base) | |
7931 | ("ghc-monad-control" ,ghc-monad-control) | |
7932 | ("ghc-monad-loops" ,ghc-monad-loops) | |
7933 | ("ghc-blaze-builder" ,ghc-blaze-builder) | |
7934 | ("ghc-exceptions" ,ghc-exceptions))) | |
7935 | (home-page "https://github.com/kazu-yamamoto/logger") | |
7936 | (synopsis "Provides a class of monads which can log messages for Haskell") | |
7937 | (description "This Haskell package uses a monad transformer approach | |
7938 | for logging. | |
7939 | ||
7940 | This package provides Template Haskell functions for determining source | |
7941 | code locations of messages.") | |
7942 | (license license:expat))) | |
7943 | ||
7944 | (define-public ghc-monad-loops | |
7945 | (package | |
7946 | (name "ghc-monad-loops") | |
7947 | (version "0.4.3") | |
7948 | (source | |
7949 | (origin | |
7950 | (method url-fetch) | |
7951 | (uri (string-append "https://hackage.haskell.org/package/" | |
7952 | "monad-loops-" version "/" | |
7953 | "monad-loops-" version ".tar.gz")) | |
7954 | (sha256 | |
7955 | (base32 | |
7956 | "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky")))) | |
7957 | (build-system haskell-build-system) | |
7958 | (native-inputs `(("ghc-tasty" ,ghc-tasty) | |
7959 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
7960 | (home-page "https://github.com/mokus0/monad-loops") | |
7961 | (synopsis "Monadic loops for Haskell") | |
7962 | (description "This Haskell package provides some useful control | |
7963 | operators for looping.") | |
7964 | (license license:public-domain))) | |
7965 | ||
7966 | (define-public ghc-monad-par | |
7967 | (package | |
7968 | (name "ghc-monad-par") | |
7969 | (version "0.3.4.8") | |
7970 | (source | |
7971 | (origin | |
7972 | (method url-fetch) | |
7973 | (uri (string-append "https://hackage.haskell.org/package/" | |
7974 | "monad-par-" version "/" | |
7975 | "monad-par-" version ".tar.gz")) | |
faac56f3 | 7976 | (patches (search-patches "ghc-monad-par-fix-tests.patch")) |
dddbc90c RV |
7977 | (sha256 |
7978 | (base32 | |
7979 | "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q")))) | |
7980 | (build-system haskell-build-system) | |
7981 | (inputs `(("ghc-abstract-par" ,ghc-abstract-par) | |
7982 | ("ghc-abstract-deque" ,ghc-abstract-deque) | |
7983 | ("ghc-monad-par-extras" ,ghc-monad-par-extras) | |
7984 | ("ghc-mwc-random" ,ghc-mwc-random) | |
7985 | ("ghc-parallel" ,ghc-parallel))) | |
7986 | (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck) | |
7987 | ("ghc-hunit" ,ghc-hunit) | |
7988 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
7989 | ("ghc-test-framework-quickcheck2" | |
7990 | ,ghc-test-framework-quickcheck2) | |
7991 | ("ghc-test-framework" ,ghc-test-framework) | |
7992 | ("ghc-test-framework-th" ,ghc-test-framework-th))) | |
7993 | (home-page "https://github.com/simonmar/monad-par") | |
7994 | (synopsis "Haskell library for parallel programming based on a monad") | |
7995 | (description "The @code{Par} monad offers an API for parallel | |
7996 | programming. The library works for parallelising both pure and @code{IO} | |
7997 | computations, although only the pure version is deterministic. The default | |
7998 | implementation provides a work-stealing scheduler and supports forking tasks | |
7999 | that are much lighter weight than IO-threads.") | |
8000 | (license license:bsd-3))) | |
8001 | ||
8002 | (define-public ghc-monad-par-extras | |
8003 | (package | |
8004 | (name "ghc-monad-par-extras") | |
8005 | (version "0.3.3") | |
8006 | (source | |
8007 | (origin | |
8008 | (method url-fetch) | |
8009 | (uri (string-append "https://hackage.haskell.org/package/" | |
8010 | "monad-par-extras-" version "/" | |
8011 | "monad-par-extras-" version ".tar.gz")) | |
8012 | (sha256 | |
8013 | (base32 | |
8014 | "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2")))) | |
8015 | (build-system haskell-build-system) | |
8016 | (inputs `(("ghc-abstract-par" ,ghc-abstract-par) | |
8017 | ("ghc-cereal" ,ghc-cereal) | |
8018 | ("ghc-random" ,ghc-random))) | |
8019 | (home-page "https://github.com/simonmar/monad-par") | |
8020 | (synopsis "Combinators and extra features for Par monads for Haskell") | |
8021 | (description "This Haskell package provides additional data structures, | |
8022 | and other added capabilities layered on top of the @code{Par} monad.") | |
8023 | (license license:bsd-3))) | |
8024 | ||
dddbc90c RV |
8025 | (define-public ghc-monadrandom |
8026 | (package | |
8027 | (name "ghc-monadrandom") | |
8028 | (version "0.5.1.1") | |
8029 | (source | |
8030 | (origin | |
8031 | (method url-fetch) | |
8032 | (uri (string-append "https://hackage.haskell.org/package/" | |
8033 | "MonadRandom-" version "/" | |
8034 | "MonadRandom-" version ".tar.gz")) | |
8035 | (sha256 | |
8036 | (base32 | |
8037 | "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb")))) | |
8038 | (build-system haskell-build-system) | |
8039 | (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat) | |
8040 | ("ghc-primitive" ,ghc-primitive) | |
8041 | ("ghc-fail" ,ghc-fail) | |
8042 | ("ghc-random" ,ghc-random))) | |
8043 | (home-page "https://github.com/byorgey/MonadRandom") | |
8044 | (synopsis "Random-number generation monad for Haskell") | |
8045 | (description "This Haskell package provides support for computations | |
8046 | which consume random values.") | |
8047 | (license license:bsd-3))) | |
8048 | ||
8049 | (define-public ghc-monads-tf | |
8050 | (package | |
8051 | (name "ghc-monads-tf") | |
8052 | (version "0.1.0.3") | |
8053 | (source | |
8054 | (origin | |
8055 | (method url-fetch) | |
8056 | (uri (string-append | |
8057 | "https://hackage.haskell.org/package/monads-tf/monads-tf-" | |
8058 | version ".tar.gz")) | |
8059 | (sha256 | |
8060 | (base32 | |
8061 | "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794")))) | |
8062 | (build-system haskell-build-system) | |
8063 | (home-page "https://hackage.haskell.org/package/monads-tf") | |
8064 | (synopsis "Monad classes, using type families") | |
8065 | (description | |
8066 | "Monad classes using type families, with instances for various monad transformers, | |
8067 | inspired by the paper 'Functional Programming with Overloading and Higher-Order | |
8068 | Polymorphism', by Mark P Jones. This package is almost a compatible replacement for | |
8069 | the @code{mtl-tf} package.") | |
8070 | (license license:bsd-3))) | |
8071 | ||
8072 | (define-public ghc-mono-traversable | |
8073 | (package | |
8074 | (name "ghc-mono-traversable") | |
23bb445b | 8075 | (version "1.0.13.0") |
dddbc90c RV |
8076 | (source |
8077 | (origin | |
8078 | (method url-fetch) | |
8079 | (uri (string-append "https://hackage.haskell.org/package/" | |
8080 | "mono-traversable-" version "/" | |
8081 | "mono-traversable-" version ".tar.gz")) | |
8082 | (sha256 | |
8083 | (base32 | |
23bb445b | 8084 | "1bqy982lpdb83lacfy76n8kqw5bvd31avxj25kg8gkgycdh0g0ma")))) |
dddbc90c | 8085 | (build-system haskell-build-system) |
3e6ecfeb | 8086 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
8087 | (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers) |
8088 | ("ghc-hashable" ,ghc-hashable) | |
8089 | ("ghc-vector" ,ghc-vector) | |
8090 | ("ghc-vector-algorithms" ,ghc-vector-algorithms) | |
8091 | ("ghc-split" ,ghc-split))) | |
8092 | (native-inputs `(("ghc-hspec" ,ghc-hspec) | |
8093 | ("ghc-hunit" ,ghc-hunit) | |
8094 | ("ghc-quickcheck" ,ghc-quickcheck) | |
8095 | ("ghc-semigroups" ,ghc-semigroups) | |
8096 | ("ghc-foldl" ,ghc-foldl))) | |
8097 | (home-page "https://github.com/snoyberg/mono-traversable") | |
8098 | (synopsis "Haskell classes for mapping, folding, and traversing monomorphic | |
8099 | containers") | |
8100 | (description "This Haskell package provides Monomorphic variants of the | |
8101 | Functor, Foldable, and Traversable typeclasses. If you understand Haskell's | |
8102 | basic typeclasses, you understand mono-traversable. In addition to what | |
8103 | you are used to, it adds on an IsSequence typeclass and has code for marking | |
8104 | data structures as non-empty.") | |
8105 | (license license:expat))) | |
8106 | ||
471e77cf TS |
8107 | (define-public ghc-monoid-extras |
8108 | (package | |
8109 | (name "ghc-monoid-extras") | |
8110 | (version "0.5.1") | |
8111 | (source | |
8112 | (origin | |
8113 | (method url-fetch) | |
8114 | (uri (string-append "https://hackage.haskell.org/package/" | |
8115 | "monoid-extras/monoid-extras-" version ".tar.gz")) | |
8116 | (sha256 | |
8117 | (base32 | |
8118 | "0xfrkgqn9d31z54l617m3w3kkd5m9vjb4yl247r3zzql3mpb1f37")))) | |
8119 | (build-system haskell-build-system) | |
8120 | (inputs | |
8121 | `(("ghc-groups" ,ghc-groups) | |
8122 | ("ghc-semigroups" ,ghc-semigroups) | |
8123 | ("ghc-semigroupoids" ,ghc-semigroupoids))) | |
8124 | (arguments | |
8125 | `(#:cabal-revision | |
8126 | ("1" "0b8x5d6vh7mpigvjvcd8f38a1nyzn1vfdqypslw7z9fgsr742913"))) | |
8127 | (home-page "https://hackage.haskell.org/package/monoid-extras") | |
8128 | (synopsis "Various extra monoid-related definitions and utilities") | |
8129 | (description "This package provides various extra monoid-related | |
8130 | definitions and utilities, such as monoid actions, monoid coproducts, | |
8131 | semi-direct products, \"deletable\" monoids, \"split\" monoids, and | |
8132 | \"cut\" monoids.") | |
8133 | (license license:bsd-3))) | |
8134 | ||
4759b617 JS |
8135 | (define-public ghc-mtl-compat |
8136 | (package | |
8137 | (name "ghc-mtl-compat") | |
8138 | (version "0.2.2") | |
8139 | (source | |
8140 | (origin | |
8141 | (method url-fetch) | |
8142 | (uri (string-append | |
8143 | "mirror://hackage/package/mtl-compat/mtl-compat-" | |
8144 | version | |
8145 | ".tar.gz")) | |
8146 | (sha256 | |
8147 | (base32 | |
8148 | "17iszr5yb4f17g8mq6i74hsamii8z6m2qfsmgzs78mhiwa7kjm8r")))) | |
8149 | (build-system haskell-build-system) | |
8150 | (home-page | |
8151 | "https://github.com/haskell-compat/mtl-compat") | |
8152 | (synopsis | |
8153 | "Backported Control.Monad.Except module from mtl") | |
8154 | (description | |
8155 | "This package backports the Control.Monad.Except module from mtl (if | |
8156 | using mtl-2.2.0.1 or earlier), which reexports the ExceptT monad transformer | |
8157 | and the MonadError class. | |
8158 | ||
8159 | This package should only be used if there is a need to use the | |
8160 | Control.Monad.Except module specifically. If you just want the mtl class | |
8161 | instances for ExceptT, use transformers-compat instead, since mtl-compat does | |
8162 | nothing but reexport the instances from that package. | |
8163 | ||
8164 | Note that unlike how mtl-2.2 or later works, the Control.Monad.Except | |
8165 | module defined in this package exports all of ExceptT's monad class instances. | |
8166 | Therefore, you may have to declare @code{import Control.Monad.Except ()} at | |
8167 | the top of your file to get all of the ExceptT instances in scope.") | |
8168 | (license license:bsd-3))) | |
8169 | ||
dddbc90c RV |
8170 | (define-public ghc-murmur-hash |
8171 | (package | |
8172 | (name "ghc-murmur-hash") | |
8173 | (version "0.1.0.9") | |
8174 | (source | |
8175 | (origin | |
8176 | (method url-fetch) | |
8177 | (uri (string-append "https://hackage.haskell.org/package/murmur-hash" | |
8178 | "/murmur-hash-" version ".tar.gz")) | |
8179 | (sha256 | |
8180 | (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9")))) | |
8181 | (build-system haskell-build-system) | |
8182 | (home-page "https://github.com/nominolo/murmur-hash") | |
8183 | (synopsis "MurmurHash2 implementation for Haskell") | |
8184 | (description | |
8185 | "This package provides an implementation of MurmurHash2, a good, fast, | |
8186 | general-purpose, non-cryptographic hashing function. See | |
8187 | @url{https://sites.google.com/site/murmurhash/} for details. This | |
8188 | implementation is pure Haskell, so it might be a bit slower than a C FFI | |
8189 | binding.") | |
8190 | (license license:bsd-3))) | |
8191 | ||
8192 | (define-public ghc-mwc-random | |
8193 | (package | |
8194 | (name "ghc-mwc-random") | |
33268e2c | 8195 | (version "0.14.0.0") |
dddbc90c RV |
8196 | (source |
8197 | (origin | |
8198 | (method url-fetch) | |
8199 | (uri (string-append "https://hackage.haskell.org/package/" | |
8200 | "mwc-random-" version "/" | |
8201 | "mwc-random-" version ".tar.gz")) | |
8202 | (sha256 | |
8203 | (base32 | |
33268e2c | 8204 | "18pg24sw3b79b32cwx8q01q4k0lm34mwr3l6cdkchl8alvd0wdq0")))) |
dddbc90c RV |
8205 | (build-system haskell-build-system) |
8206 | (inputs | |
8207 | `(("ghc-primitive" ,ghc-primitive) | |
8208 | ("ghc-vector" ,ghc-vector) | |
8209 | ("ghc-math-functions" ,ghc-math-functions))) | |
8210 | (arguments | |
8211 | `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails. | |
8212 | (native-inputs | |
8213 | `(("ghc-hunit" ,ghc-hunit) | |
8214 | ("ghc-quickcheck" ,ghc-quickcheck) | |
8215 | ("ghc-test-framework" ,ghc-test-framework) | |
8216 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
8217 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
8218 | (home-page "https://github.com/bos/mwc-random") | |
8219 | (synopsis "Random number generation library for Haskell") | |
8220 | (description "This Haskell package contains code for generating | |
8221 | high quality random numbers that follow either a uniform or normal | |
8222 | distribution. The generated numbers are suitable for use in | |
8223 | statistical applications. | |
8224 | ||
8225 | The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222) | |
8226 | multiply-with-carry generator, which has a period of 2^{8222} and | |
8227 | fares well in tests of randomness. It is also extremely fast, | |
8228 | between 2 and 3 times faster than the Mersenne Twister.") | |
8229 | (license license:bsd-3))) | |
8230 | ||
8231 | (define-public ghc-nats | |
8232 | (package | |
8233 | (name "ghc-nats") | |
8234 | (version "1.1.2") | |
8235 | (source | |
8236 | (origin | |
8237 | (method url-fetch) | |
8238 | (uri (string-append | |
8239 | "https://hackage.haskell.org/package/nats/nats-" | |
8240 | version | |
8241 | ".tar.gz")) | |
8242 | (sha256 | |
8243 | (base32 | |
8244 | "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr")))) | |
8245 | (build-system haskell-build-system) | |
8246 | (arguments `(#:haddock? #f)) | |
8247 | (inputs | |
8248 | `(("ghc-hashable" ,ghc-hashable))) | |
8249 | (home-page "https://hackage.haskell.org/package/nats") | |
8250 | (synopsis "Natural numbers") | |
8251 | (description "This library provides the natural numbers for Haskell.") | |
8252 | (license license:bsd-3))) | |
8253 | ||
8254 | (define-public ghc-nats-bootstrap | |
8255 | (package | |
8256 | (inherit ghc-nats) | |
8257 | (name "ghc-nats-bootstrap") | |
8258 | (inputs | |
8259 | `(("ghc-hashable" ,ghc-hashable-bootstrap))) | |
8260 | (properties '((hidden? #t))))) | |
8261 | ||
52915062 EF |
8262 | (define-public ghc-ncurses |
8263 | (package | |
8264 | (name "ghc-ncurses") | |
8265 | (version "0.2.16") | |
8266 | (source | |
8267 | (origin | |
8268 | (method url-fetch) | |
8269 | (uri (string-append | |
8270 | "https://hackage.haskell.org/package/ncurses/ncurses-" | |
8271 | version ".tar.gz")) | |
8272 | (sha256 | |
8273 | (base32 | |
8274 | "0gsyyaqyh5r9zc0rhwpj5spyd6i4w2vj61h4nihgmmh0yyqvf3z5")))) | |
8275 | (build-system haskell-build-system) | |
8276 | (arguments | |
54a5fd07 TS |
8277 | '(#:extra-directories ("ncurses") |
8278 | #:phases | |
52915062 EF |
8279 | (modify-phases %standard-phases |
8280 | (add-before 'build 'fix-includes | |
8281 | (lambda _ | |
8282 | (substitute* '("cbits/hsncurses-shim.h" | |
8283 | "lib/UI/NCurses.chs" | |
8284 | "lib/UI/NCurses/Enums.chs" | |
8285 | "lib/UI/NCurses/Panel.chs") | |
8286 | (("<ncursesw/") "<")) | |
8287 | #t))) | |
8288 | #:cabal-revision | |
8289 | ("1" | |
8290 | "1wfdy716s5p1sqp2gsg43x8wch2dxg0vmbbndlb2h3d8c9jzxnca"))) | |
8291 | (inputs `(("ncurses" ,ncurses))) | |
8292 | (native-inputs `(("ghc-c2hs" ,ghc-c2hs))) | |
8293 | (home-page "https://john-millikin.com/software/haskell-ncurses/") | |
8294 | (synopsis "Modernised bindings to GNU ncurses") | |
8295 | (description "GNU ncurses is a library for creating command-line application | |
8296 | with pseudo-graphical interfaces. This package is a nice, modern binding to GNU | |
8297 | ncurses.") | |
8298 | (license license:gpl3))) | |
8299 | ||
dddbc90c RV |
8300 | (define-public ghc-network |
8301 | (package | |
8302 | (name "ghc-network") | |
d4473202 | 8303 | (version "2.8.0.1") |
534d6caa | 8304 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
8305 | (source |
8306 | (origin | |
8307 | (method url-fetch) | |
8308 | (uri (string-append | |
8309 | "https://hackage.haskell.org/package/network/network-" | |
8310 | version | |
8311 | ".tar.gz")) | |
8312 | (sha256 | |
8313 | (base32 | |
d4473202 | 8314 | "0im8k51rw3ahmr23ny10pshwbz09jfg0fdpam0hzf2hgxnzmvxb1")))) |
dddbc90c RV |
8315 | (build-system haskell-build-system) |
8316 | ;; The regression tests depend on an unpublished module. | |
8317 | (arguments `(#:tests? #f)) | |
8318 | (native-inputs | |
8319 | `(("ghc-hunit" ,ghc-hunit) | |
8320 | ("ghc-doctest" ,ghc-doctest) | |
8321 | ("ghc-test-framework" ,ghc-test-framework) | |
8322 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
8323 | (home-page "https://github.com/haskell/network") | |
8324 | (synopsis "Low-level networking interface") | |
8325 | (description | |
8326 | "This package provides a low-level networking interface.") | |
8327 | (license license:bsd-3))) | |
4780db2c | 8328 | |
30eebbe6 TS |
8329 | (define-public ghc-network-bsd |
8330 | (package | |
8331 | (name "ghc-network-bsd") | |
8332 | (version "2.8.0.0") | |
8333 | (source | |
8334 | (origin | |
8335 | (method url-fetch) | |
8336 | (uri (string-append "https://hackage.haskell.org/package/" | |
8337 | "network-bsd/network-bsd-" version ".tar.gz")) | |
8338 | (sha256 | |
8339 | (base32 | |
8340 | "0dfbwgrr28y6ypw7p1ppqg7v746qf14569q4xazj4ahdjw2xkpi5")))) | |
8341 | (build-system haskell-build-system) | |
8342 | (inputs | |
8343 | `(("ghc-network" ,ghc-network))) | |
8344 | (home-page "https://github.com/haskell/network-bsd") | |
8345 | (synopsis "POSIX network database (<netdb.h>) API") | |
8346 | (description "This package provides Haskell bindings to the the POSIX | |
8347 | network database (<netdb.h>) API.") | |
8348 | (license license:bsd-3))) | |
8349 | ||
096781a1 TS |
8350 | (define-public ghc-network-byte-order |
8351 | (package | |
8352 | (name "ghc-network-byte-order") | |
8353 | (version "0.1.1.1") | |
8354 | (source | |
8355 | (origin | |
8356 | (method url-fetch) | |
8357 | (uri (string-append "https://hackage.haskell.org/package/" | |
8358 | "network-byte-order/network-byte-order-" | |
8359 | version ".tar.gz")) | |
8360 | (sha256 | |
8361 | (base32 | |
8362 | "19cs6157amcc925vwr92q1azwwzkbam5g0k70i6qi80fhpikh37c")))) | |
8363 | (build-system haskell-build-system) | |
8364 | (native-inputs | |
8365 | `(("ghc-doctest" ,ghc-doctest))) | |
3ef91e15 | 8366 | (home-page "https://hackage.haskell.org/package/network-byte-order") |
096781a1 TS |
8367 | (synopsis "Network byte order utilities") |
8368 | (description "This library provides peek and poke functions for network | |
8369 | byte order.") | |
8370 | (license license:bsd-3))) | |
8371 | ||
dddbc90c RV |
8372 | (define-public ghc-network-info |
8373 | (package | |
8374 | (name "ghc-network-info") | |
8375 | (version "0.2.0.10") | |
8376 | (source | |
8377 | (origin | |
8378 | (method url-fetch) | |
8379 | (uri (string-append "https://hackage.haskell.org/package/" | |
8380 | "network-info-" version "/" | |
8381 | "network-info-" version ".tar.gz")) | |
8382 | (sha256 | |
8383 | (base32 | |
8384 | "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n")))) | |
8385 | (build-system haskell-build-system) | |
8386 | (home-page "https://github.com/jystic/network-info") | |
8387 | (synopsis "Access the local computer's basic network configuration") | |
8388 | (description "This Haskell library provides simple read-only access to the | |
8389 | local computer's networking configuration. It is currently capable of | |
8390 | getting a list of all the network interfaces and their respective | |
8391 | IPv4, IPv6 and MAC addresses.") | |
8392 | (license license:bsd-3))) | |
8393 | ||
8394 | (define-public ghc-network-uri | |
8395 | (package | |
8396 | (name "ghc-network-uri") | |
8397 | (version "2.6.1.0") | |
534d6caa | 8398 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
8399 | (source |
8400 | (origin | |
8401 | (method url-fetch) | |
8402 | (uri (string-append | |
8403 | "https://hackage.haskell.org/package/network-uri/network-uri-" | |
8404 | version | |
8405 | ".tar.gz")) | |
8406 | (sha256 | |
8407 | (base32 | |
8408 | "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2")))) | |
8409 | (build-system haskell-build-system) | |
8410 | (arguments | |
8411 | `(#:tests? #f)) ; FIXME: currently missing libraries used for tests. | |
8412 | (inputs | |
8413 | `(("ghc-network" ,ghc-network))) | |
8414 | (native-inputs | |
8415 | `(("ghc-hunit" ,ghc-hunit))) | |
8416 | (home-page | |
8417 | "https://github.com/haskell/network-uri") | |
8418 | (synopsis "Library for URI manipulation") | |
8419 | (description "This package provides an URI manipulation interface. In | |
8420 | @code{network-2.6} the @code{Network.URI} module was split off from the | |
8421 | @code{network} package into this package.") | |
8422 | (license license:bsd-3))) | |
8423 | ||
8424 | (define-public ghc-newtype-generics | |
8425 | (package | |
8426 | (name "ghc-newtype-generics") | |
c07e16dd | 8427 | (version "0.5.4") |
dddbc90c RV |
8428 | (source |
8429 | (origin | |
8430 | (method url-fetch) | |
8431 | (uri (string-append "https://hackage.haskell.org/package/" | |
8432 | "newtype-generics/newtype-generics-" | |
8433 | version ".tar.gz")) | |
8434 | (sha256 | |
8435 | (base32 | |
c07e16dd | 8436 | "0cprfg4n0z62cnix1qrbc79bfdd4s50b05fj9m9hk6vm1pc3szq0")))) |
dddbc90c RV |
8437 | (build-system haskell-build-system) |
8438 | (native-inputs | |
8439 | `(("ghc-hspec" ,ghc-hspec) | |
8440 | ("hspec-discover" ,hspec-discover))) | |
702a1012 | 8441 | (home-page "https://github.com/sjakobi/newtype-generics") |
dddbc90c RV |
8442 | (synopsis "Typeclass and set of functions for working with newtypes") |
8443 | (description "The @code{Newtype} typeclass represents the packing and | |
8444 | unpacking of a newtype, and allows you to operate under that newtype with | |
8445 | functions such as @code{ala}. Generics support was added in version 0.4, | |
8446 | making this package a full replacement for the original newtype package, | |
8447 | and an alternative to newtype-th.") | |
8448 | (license license:bsd-3))) | |
8449 | ||
6b652f5a JS |
8450 | (define-public ghc-non-negative |
8451 | (package | |
8452 | (name "ghc-non-negative") | |
8453 | (version "0.1.2") | |
8454 | (source | |
8455 | (origin | |
8456 | (method url-fetch) | |
8457 | (uri | |
8458 | (string-append | |
8459 | "https://hackage.haskell.org/package/non-negative/non-negative-" | |
8460 | version ".tar.gz")) | |
8461 | (sha256 | |
8462 | (base32 | |
8463 | "0f01q916dzkl1i0v15qrw9cviycki5g3fgi6x8gs45iwbzssq52n")))) | |
8464 | (build-system haskell-build-system) | |
8465 | (inputs | |
8466 | `(("ghc-semigroups" ,ghc-semigroups) | |
8467 | ("ghc-utility-ht" ,ghc-utility-ht) | |
8468 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
8469 | (home-page "https://hackage.haskell.org/package/non-negative") | |
8470 | (synopsis "Non-negative numbers class") | |
8471 | (description "This library provides a class for non-negative numbers, | |
8472 | a wrapper which can turn any ordered numeric type into a member of that | |
8473 | class, and a lazy number type for non-negative numbers (a generalization | |
8474 | of Peano numbers).") | |
8475 | (license license:gpl3+))) | |
8476 | ||
49bcca84 ASM |
8477 | (define-public ghc-nonce |
8478 | (package | |
8479 | (name "ghc-nonce") | |
8480 | (version "1.0.7") | |
8481 | (source | |
8482 | (origin | |
8483 | (method url-fetch) | |
8484 | (uri (string-append | |
8485 | "https://hackage.haskell.org/package/nonce/" | |
8486 | "nonce-" version ".tar.gz")) | |
8487 | (sha256 | |
8488 | (base32 | |
8489 | "1q9ph0aq51mvdvydnriqd12sfin36pfb8f588zgac1ybn8r64ksb")))) | |
8490 | (build-system haskell-build-system) | |
8491 | (inputs | |
8492 | `(("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
8493 | ("ghc-entropy" ,ghc-entropy) | |
8494 | ("ghc-unliftio" ,ghc-unliftio) | |
8495 | ("ghc-unliftio-core" ,ghc-unliftio-core))) | |
8496 | (home-page "https://github.com/prowdsponsor/nonce") | |
8497 | (synopsis "Generate cryptographic nonces in Haskell") | |
8498 | (description | |
8499 | "A nonce is an arbitrary number used only once in a cryptographic | |
8500 | communication. This package contain helper functions for generating nonces. | |
8501 | There are many kinds of nonces used in different situations. It's not | |
8502 | guaranteed that by using the nonces from this package you won't have any | |
8503 | security issues. Please make sure that the nonces generated via this | |
8504 | package are usable on your design.") | |
8505 | (license license:bsd-3))) | |
8506 | ||
194a82e6 TS |
8507 | (define-public ghc-numeric-extras |
8508 | (package | |
8509 | (name "ghc-numeric-extras") | |
8510 | (version "0.1") | |
8511 | (source | |
8512 | (origin | |
8513 | (method url-fetch) | |
8514 | (uri (string-append "https://hackage.haskell.org/package/" | |
8515 | "numeric-extras/numeric-extras-" | |
8516 | version ".tar.gz")) | |
8517 | (sha256 | |
8518 | (base32 | |
8519 | "1mk11c0gz1yjy5b8dvq6czfny57pln0bs7x28fz38qyr44872067")))) | |
8520 | (build-system haskell-build-system) | |
8521 | (home-page "https://github.com/ekmett/numeric-extras") | |
8522 | (synopsis "Useful tools from the C standard library") | |
8523 | (description "This library provides some useful tools from the C | |
8524 | standard library.") | |
8525 | (license license:bsd-3))) | |
8526 | ||
dddbc90c RV |
8527 | (define-public ghc-objectname |
8528 | (package | |
8529 | (name "ghc-objectname") | |
8530 | (version "1.1.0.1") | |
8531 | (source | |
8532 | (origin | |
8533 | (method url-fetch) | |
8534 | (uri (string-append | |
8535 | "https://hackage.haskell.org/package/ObjectName/ObjectName-" | |
8536 | version | |
8537 | ".tar.gz")) | |
8538 | (sha256 | |
8539 | (base32 | |
8540 | "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj")))) | |
8541 | (build-system haskell-build-system) | |
8542 | (home-page "https://hackage.haskell.org/package/ObjectName") | |
8543 | (synopsis "Helper library for Haskell OpenGL") | |
8544 | (description "This tiny package contains the class ObjectName, which | |
8545 | corresponds to the general notion of explicitly handled identifiers for API | |
8546 | objects, e.g. a texture object name in OpenGL or a buffer object name in | |
8547 | OpenAL.") | |
8548 | (license license:bsd-3))) | |
8549 | ||
8550 | (define-public ghc-old-locale | |
8551 | (package | |
8552 | (name "ghc-old-locale") | |
8553 | (version "1.0.0.7") | |
8554 | (source | |
8555 | (origin | |
8556 | (method url-fetch) | |
8557 | (uri (string-append | |
8558 | "https://hackage.haskell.org/package/old-locale/old-locale-" | |
8559 | version | |
8560 | ".tar.gz")) | |
8561 | (sha256 | |
8562 | (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv")))) | |
8563 | (build-system haskell-build-system) | |
8564 | (arguments | |
8565 | `(#:cabal-revision | |
8566 | ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs"))) | |
8567 | (home-page "https://hackage.haskell.org/package/old-locale") | |
8568 | (synopsis "Adapt to locale conventions") | |
8569 | (description | |
8570 | "This package provides the ability to adapt to locale conventions such as | |
8571 | date and time formats.") | |
8572 | (license license:bsd-3))) | |
8573 | ||
8574 | (define-public ghc-old-time | |
8575 | (package | |
8576 | (name "ghc-old-time") | |
8577 | (version "1.1.0.3") | |
8578 | (source | |
8579 | (origin | |
8580 | (method url-fetch) | |
8581 | (uri (string-append | |
8582 | "https://hackage.haskell.org/package/old-time/old-time-" | |
8583 | version | |
8584 | ".tar.gz")) | |
8585 | (sha256 | |
8586 | (base32 | |
8587 | "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw")))) | |
8588 | (build-system haskell-build-system) | |
8589 | (arguments | |
8590 | `(#:cabal-revision | |
8591 | ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9"))) | |
8592 | (inputs | |
8593 | `(("ghc-old-locale" ,ghc-old-locale))) | |
8594 | (home-page "https://hackage.haskell.org/package/old-time") | |
8595 | (synopsis "Time compatibility library for Haskell") | |
8596 | (description "Old-time is a package for backwards compatibility with the | |
8597 | old @code{time} library. For new projects, the newer | |
8598 | @uref{https://hackage.haskell.org/package/time, time library} is recommended.") | |
8599 | (license license:bsd-3))) | |
8600 | ||
21c21133 CH |
8601 | (define-public ghc-only |
8602 | (package | |
8603 | (name "ghc-only") | |
8604 | (version "0.1") | |
8605 | (source | |
8606 | (origin | |
8607 | (method url-fetch) | |
8608 | (uri (string-append | |
8609 | "https://hackage.haskell.org/package/Only/Only-" | |
8610 | version | |
8611 | ".tar.gz")) | |
8612 | (sha256 | |
8613 | (base32 | |
8614 | "0rdj3a629fk2vp121jq8mf2smkblrz5w3cxhlsyx6my2x29s2ymb")))) | |
8615 | (build-system haskell-build-system) | |
8616 | (arguments | |
8617 | `(#:cabal-revision | |
8618 | ("1" | |
8619 | "1ahk7p34kmh041mz7lyc10nhcxgv2i4z8nvzxvqm2x34gslmsbzr"))) | |
8620 | (home-page "https://hackage.haskell.org/package/Only") | |
8621 | (synopsis "The 1-tuple type or single-value collection") | |
8622 | (description | |
8623 | "This package provides a canonical anonymous 1-tuple type missing from | |
8624 | Haskell for attaching typeclass instances. | |
8625 | ||
8626 | There is also the @url{https://hackage.haskell.org/package/OneTuple, OneTuple | |
8627 | package} which by using a boxed @code{data}-type provides a 1-tuple type which | |
8628 | has laziness properties which are more faithful to the ones of Haskell's | |
8629 | native tuples; whereas the primary purpose of @code{Only} is to provide the | |
8630 | traditionally so named type-wrapper for attaching typeclass instances.") | |
8631 | (license license:bsd-3))) | |
8632 | ||
dddbc90c RV |
8633 | (define-public ghc-opengl |
8634 | (package | |
8635 | (name "ghc-opengl") | |
79a06910 | 8636 | (version "3.0.3.0") |
dddbc90c RV |
8637 | (source |
8638 | (origin | |
8639 | (method url-fetch) | |
8640 | (uri (string-append | |
8641 | "https://hackage.haskell.org/package/OpenGL/OpenGL-" | |
8642 | version | |
8643 | ".tar.gz")) | |
8644 | (sha256 | |
8645 | (base32 | |
79a06910 | 8646 | "069fg8jcxqq2z9iikynd8vi3jxm2b5y3qywdh4bdviyzab3zy1as")))) |
dddbc90c | 8647 | (build-system haskell-build-system) |
79a06910 TS |
8648 | (arguments |
8649 | `(#:cabal-revision | |
8650 | ("1" "1748mrb6r9mpf5jbrx436lwbg8w6dadyy8dhxw2dwnrj5z7zf741"))) | |
dddbc90c RV |
8651 | (inputs |
8652 | `(("ghc-objectname" ,ghc-objectname) | |
8653 | ("ghc-gluraw" ,ghc-gluraw) | |
8654 | ("ghc-statevar" ,ghc-statevar) | |
8655 | ("ghc-openglraw" ,ghc-openglraw))) | |
228d2901 | 8656 | (home-page "https://wiki.haskell.org/Opengl") |
dddbc90c RV |
8657 | (synopsis "Haskell bindings for the OpenGL graphics system") |
8658 | (description "This package provides Haskell bindings for the OpenGL | |
8659 | graphics system (GL, version 4.5) and its accompanying utility library (GLU, | |
8660 | version 1.3).") | |
8661 | (license license:bsd-3))) | |
8662 | ||
8663 | (define-public ghc-openglraw | |
8664 | (package | |
8665 | (name "ghc-openglraw") | |
15ebc815 | 8666 | (version "3.3.3.0") |
dddbc90c RV |
8667 | (source |
8668 | (origin | |
8669 | (method url-fetch) | |
8670 | (uri (string-append | |
8671 | "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-" | |
8672 | version | |
8673 | ".tar.gz")) | |
8674 | (sha256 | |
8675 | (base32 | |
15ebc815 | 8676 | "0zgllb4bcash2i2cispa3j565aw3dpxs41ghmhpvyvi4a6xmyldx")))) |
dddbc90c | 8677 | (build-system haskell-build-system) |
54a5fd07 TS |
8678 | (arguments |
8679 | `(#:extra-directories ("glu"))) | |
dddbc90c RV |
8680 | (inputs |
8681 | `(("ghc-half" ,ghc-half) | |
8682 | ("ghc-fixed" ,ghc-fixed) | |
8683 | ("glu" ,glu))) | |
228d2901 | 8684 | (home-page "https://wiki.haskell.org/Opengl") |
dddbc90c RV |
8685 | (synopsis "Raw Haskell bindings for the OpenGL graphics system") |
8686 | (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5 | |
8687 | graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping | |
8688 | of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw | |
8689 | offers access to all necessary functions, tokens and types plus a general | |
8690 | facility for loading extension entries. The module hierarchy closely mirrors | |
8691 | the naming structure of the OpenGL extensions, making it easy to find the | |
8692 | right module to import. All API entries are loaded dynamically, so no special | |
8693 | C header files are needed for building this package. If an API entry is not | |
8694 | found at runtime, a userError is thrown.") | |
8695 | (license license:bsd-3))) | |
8696 | ||
8697 | (define-public ghc-operational | |
8698 | (package | |
8699 | (name "ghc-operational") | |
8700 | (version "0.2.3.5") | |
8701 | (source | |
8702 | (origin | |
8703 | (method url-fetch) | |
8704 | (uri (string-append "https://hackage.haskell.org/package/operational/" | |
8705 | "operational-" version ".tar.gz")) | |
8706 | (sha256 | |
8707 | (base32 | |
8708 | "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i")))) | |
8709 | (build-system haskell-build-system) | |
8710 | (inputs | |
8711 | `(("ghc-random" ,ghc-random))) | |
8712 | (home-page "http://wiki.haskell.org/Operational") | |
8713 | (synopsis "Implementation of difficult monads made easy with operational semantics") | |
8714 | (description | |
8715 | "This library makes it easy to implement monads with tricky control | |
8716 | flow. This is useful for: writing web applications in a sequential style, | |
8717 | programming games with a uniform interface for human and AI players and easy | |
8718 | replay capababilities, implementing fast parser monads, designing monadic | |
8719 | DSLs, etc.") | |
8720 | (license license:bsd-3))) | |
8721 | ||
6f1477d2 JS |
8722 | (define-public ghc-optional-args |
8723 | (package | |
8724 | (name "ghc-optional-args") | |
8725 | (version "1.0.2") | |
8726 | (source | |
8727 | (origin | |
8728 | (method url-fetch) | |
8729 | (uri (string-append | |
8730 | "mirror://hackage/package/optional-args/optional-args-" | |
8731 | version | |
8732 | ".tar.gz")) | |
8733 | (sha256 | |
8734 | (base32 | |
8735 | "1r5hhn6xvc01grggxdyy48daibwzi0aikgidq0ahpa6bfynm8d1f")))) | |
8736 | (build-system haskell-build-system) | |
8737 | (home-page | |
8738 | "http://hackage.haskell.org/package/optional-args") | |
8739 | (synopsis "Optional function arguments") | |
8740 | (description | |
8741 | "This library provides a type for specifying @code{Optional} function | |
8742 | arguments.") | |
8743 | (license license:bsd-3))) | |
8744 | ||
dddbc90c RV |
8745 | (define-public ghc-options |
8746 | (package | |
8747 | (name "ghc-options") | |
8748 | (version "1.2.1.1") | |
8749 | (source | |
8750 | (origin | |
8751 | (method url-fetch) | |
8752 | (uri (string-append | |
8753 | "https://hackage.haskell.org/package/options/options-" | |
8754 | version ".tar.gz")) | |
8755 | (sha256 | |
8756 | (base32 | |
8757 | "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8")))) | |
8758 | (build-system haskell-build-system) | |
24cf2a8b TS |
8759 | (arguments |
8760 | `(#:phases | |
8761 | (modify-phases %standard-phases | |
8762 | (add-before 'configure 'update-constraints | |
8763 | (lambda _ | |
8764 | (substitute* "options.cabal" | |
8765 | (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4 && < 0.6")) | |
8766 | #t))))) | |
dddbc90c RV |
8767 | (inputs |
8768 | `(("ghc-monads-tf" ,ghc-monads-tf) | |
8769 | ("ghc-chell" ,ghc-chell) | |
8770 | ("ghc-chell-quickcheck" ,ghc-chell-quickcheck))) | |
8771 | (home-page "https://john-millikin.com/software/haskell-options/") | |
8772 | (synopsis "Powerful and easy-to-use command-line option parser") | |
8773 | (description | |
8774 | "The @code{options} package lets library and application developers | |
8775 | easily work with command-line options.") | |
8776 | (license license:expat))) | |
8777 | ||
8778 | ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests. | |
8779 | (define ghc-options-bootstrap | |
8780 | (package | |
8781 | (name "ghc-options-bootstrap") | |
8782 | (version "1.2.1.1") | |
8783 | (source | |
8784 | (origin | |
8785 | (method url-fetch) | |
8786 | (uri (string-append | |
8787 | "https://hackage.haskell.org/package/options/options-" | |
8788 | version ".tar.gz")) | |
8789 | (sha256 | |
8790 | (base32 | |
8791 | "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8")))) | |
8792 | (build-system haskell-build-system) | |
8793 | (arguments | |
8794 | `(#:tests? #f)) | |
8795 | (inputs | |
8796 | `(("ghc-monads-tf" ,ghc-monads-tf))) | |
8797 | (home-page "https://john-millikin.com/software/haskell-options/") | |
8798 | (synopsis "Powerful and easy-to-use command-line option parser") | |
8799 | (description | |
8800 | "The @code{options} package lets library and application developers | |
8801 | easily work with command-line options.") | |
8802 | (license license:expat))) | |
8803 | ||
8804 | ||
8805 | (define-public ghc-optparse-applicative | |
8806 | (package | |
8807 | (name "ghc-optparse-applicative") | |
74bf6965 | 8808 | (version "0.14.3.0") |
dddbc90c RV |
8809 | (source |
8810 | (origin | |
8811 | (method url-fetch) | |
8812 | (uri (string-append | |
8813 | "https://hackage.haskell.org/package/optparse-applicative" | |
8814 | "/optparse-applicative-" version ".tar.gz")) | |
8815 | (sha256 | |
8816 | (base32 | |
74bf6965 | 8817 | "0qvn1s7jwrabbpmqmh6d6iafln3v3h9ddmxj2y4m0njmzq166ivj")))) |
dddbc90c | 8818 | (build-system haskell-build-system) |
74bf6965 TS |
8819 | (arguments |
8820 | `(#:cabal-revision | |
8821 | ("2" "1a08dqjly1xy730f6jf45frr8g8gap0n1vg9b0mpzpydv0kgzmrp"))) | |
dddbc90c RV |
8822 | (inputs |
8823 | `(("ghc-transformers-compat" ,ghc-transformers-compat) | |
8824 | ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint))) | |
8825 | (native-inputs | |
8826 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
8827 | (home-page "https://github.com/pcapriotti/optparse-applicative") | |
8828 | (synopsis "Utilities and combinators for parsing command line options") | |
8829 | (description "This package provides utilities and combinators for parsing | |
8830 | command line options in Haskell.") | |
8831 | (license license:bsd-3))) | |
8832 | ||
d56c8120 NG |
8833 | (define-public ghc-jira-wiki-markup |
8834 | (package | |
8835 | (name "ghc-jira-wiki-markup") | |
8836 | (version "1.0.0") | |
8837 | (source | |
8838 | (origin | |
8839 | (method url-fetch) | |
8840 | (uri (string-append | |
8841 | "https://hackage.haskell.org/package/jira-wiki-markup/" | |
8842 | "jira-wiki-markup-" version ".tar.gz")) | |
8843 | (sha256 | |
8844 | (base32 "1sl2jjcsqg61si33mxjwpf8zdn56kbbgcwqqqzbgifx2qbv4wmf8")))) | |
8845 | (build-system haskell-build-system) | |
8846 | (native-inputs | |
8847 | `(("ghc-tasty" ,ghc-tasty) | |
8848 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
8849 | (home-page "https://github.com/tarleb/jira-wiki-markup") | |
8850 | (synopsis "Handle Jira wiki markup") | |
8851 | (description | |
8852 | "Parse jira wiki text into an abstract syntax tree for easy transformation | |
8853 | to other formats.") | |
8854 | (license license:expat))) | |
8855 | ||
20690771 NG |
8856 | (define-public ghc-emojis |
8857 | (package | |
8858 | (name "ghc-emojis") | |
8859 | (version "0.1") | |
8860 | (source | |
8861 | (origin | |
8862 | (method url-fetch) | |
8863 | (uri (string-append | |
8864 | "https://hackage.haskell.org/package/emojis/" | |
8865 | "emojis-" version ".tar.gz")) | |
8866 | (sha256 | |
8867 | (base32 "1c6zkj9gmk1y90gbdrn50hyp7mw1mggzhnr2khqd728ryipw60ss")))) | |
8868 | (build-system haskell-build-system) | |
8869 | (native-inputs | |
8870 | `(("ghc-hunit" ,ghc-hunit))) | |
8871 | (home-page "https://github.com/jgm/emojis#readme") | |
8872 | (synopsis "Conversion between emoji characters and their names.") | |
8873 | (description | |
8874 | "This package provides functions for converting emoji names to emoji | |
8875 | characters and vice versa. | |
8876 | ||
8877 | How does it differ from the @code{emoji} package? | |
8878 | @itemize | |
8879 | @item It supports a fuller range of emojis, including all those supported by | |
8880 | GitHub | |
8881 | @item It supports lookup of emoji aliases from emoji | |
8882 | @item It uses Text rather than String | |
8883 | @item It has a lighter dependency footprint: in particular, it does not | |
8884 | require aeson | |
8885 | @item It does not require TemplateHaskell | |
8886 | @end itemize") | |
8887 | (license license:bsd-3))) | |
8888 | ||
e90a06fc NG |
8889 | (define-public ghc-text-conversions |
8890 | (package | |
8891 | (name "ghc-text-conversions") | |
8892 | (version "0.3.0") | |
8893 | (source | |
8894 | (origin | |
8895 | (method url-fetch) | |
8896 | (uri (string-append | |
8897 | "https://hackage.haskell.org/package/text-conversions/" | |
8898 | "text-conversions-" version ".tar.gz")) | |
8899 | (sha256 | |
8900 | (base32 "089c56vdj9xysqfr1hnvbnrghlg83q6w10xk02gflpsidcpvwmhp")))) | |
8901 | (build-system haskell-build-system) | |
8902 | (inputs | |
8903 | `(("ghc-base16-bytestring" ,ghc-base16-bytestring) | |
8904 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
8905 | ("ghc-errors" ,ghc-errors))) | |
8906 | (native-inputs | |
8907 | `(("ghc-hspec" ,ghc-hspec) | |
27b09f3a | 8908 | ("hspec-discover" ,hspec-discover))) |
e90a06fc NG |
8909 | (home-page "https://github.com/cjdev/text-conversions#readme") |
8910 | (synopsis "Safe conversions between textual types") | |
8911 | (description "Safe conversions between textual types") | |
8912 | (license license:isc))) | |
8913 | ||
aeb94a1f CH |
8914 | (define-public ghc-text-short |
8915 | (package | |
8916 | (name "ghc-text-short") | |
8917 | (version "0.1.3") | |
8918 | (source | |
8919 | (origin | |
8920 | (method url-fetch) | |
8921 | (uri (string-append | |
8922 | "https://hackage.haskell.org/package/text-short/text-short-" | |
8923 | version | |
8924 | ".tar.gz")) | |
8925 | (sha256 | |
8926 | (base32 | |
8927 | "0xyrxlb602z8bc9sr2y1fag0x56a20yj5qrkvy7iwc6hnznrynxz")))) | |
8928 | (build-system haskell-build-system) | |
8929 | (inputs `(("ghc-hashable" ,ghc-hashable))) | |
8930 | (native-inputs | |
8931 | `(("ghc-tasty" ,ghc-tasty) | |
8932 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
8933 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
8934 | ("ghc-quickcheck-instances" | |
8935 | ,ghc-quickcheck-instances))) | |
8936 | (arguments | |
8937 | `(#:cabal-revision | |
8938 | ("2" | |
8939 | "17cb7p0qywf2dsrq3g8qb3ssknd9wl5k0nc2pxz9gc3l8rxpkw51"))) | |
8940 | (home-page "https://hackage.haskell.org/package/text-short") | |
8941 | (synopsis "Memory-efficient representation of Unicode text strings") | |
8942 | (description "This package provides the @code{ShortText} type which | |
8943 | is suitable for keeping many short strings in memory. This is similiar | |
8944 | to how @code{ShortByteString} relates to @code{ByteString}. | |
8945 | ||
8946 | The main difference between @code{Text} and @code{ShortText} is that | |
8947 | @code{ShortText} uses UTF-8 instead of UTF-16 internally and also doesn't | |
8948 | support zero-copy slicing (thereby saving 2 words). Consequently, the memory | |
8949 | footprint of a (boxed) @{ShortText} value is 4 words (2 words when unboxed) | |
8950 | plus the length of the UTF-8 encoded payload.") | |
8951 | (license license:bsd-3))) | |
8952 | ||
ba7cbae3 NG |
8953 | (define-public ghc-doclayout |
8954 | (package | |
8955 | (name "ghc-doclayout") | |
8956 | (version "0.3") | |
8957 | (source | |
8958 | (origin | |
8959 | (method url-fetch) | |
8960 | (uri (string-append | |
8961 | "https://hackage.haskell.org/package/doclayout/" | |
8962 | "doclayout-" version ".tar.gz")) | |
8963 | (sha256 | |
8964 | (base32 "1wmnwq28jcyd6c80srivsnd5znmyl9sgmwwnlk2crwiiwqadbal7")))) | |
8965 | (build-system haskell-build-system) | |
8966 | (inputs | |
8967 | `(("ghc-safe" ,ghc-safe))) | |
8968 | (native-inputs | |
8969 | `(("ghc-tasty" ,ghc-tasty) | |
8970 | ("ghc-tasty-golden" ,ghc-tasty-golden) | |
8971 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
8972 | (home-page "https://github.com/jgm/doclayout") | |
8973 | (synopsis "Pretty-printing library for laying out text documents") | |
8974 | (description | |
8975 | "doclayout is a pretty-printing library for laying out text documents, | |
8976 | with several features not present in pretty-printing libraries designed for | |
8977 | code. It was designed for use in @code{Pandoc}.") | |
8978 | (license license:bsd-3))) | |
8979 | ||
dddbc90c RV |
8980 | (define-public ghc-pandoc |
8981 | (package | |
8982 | (name "ghc-pandoc") | |
d9b1567a | 8983 | (version "2.7.3") |
dddbc90c RV |
8984 | (source |
8985 | (origin | |
8986 | (method url-fetch) | |
8987 | (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-" | |
8988 | version ".tar.gz")) | |
d9b1567a TS |
8989 | (patches (search-patches "ghc-pandoc-fix-html-tests.patch" |
8990 | "ghc-pandoc-fix-latex-test.patch")) | |
dddbc90c RV |
8991 | (sha256 |
8992 | (base32 | |
d9b1567a | 8993 | "0dpjrr40h54cljzhvixyym07z792a9izg6b9dmqpjlgcg4rj0xx8")))) |
dddbc90c | 8994 | (build-system haskell-build-system) |
c18e4f3e RW |
8995 | (arguments |
8996 | `(#:phases | |
8997 | (modify-phases %standard-phases | |
8998 | (add-after 'unpack 'find-library | |
8999 | (lambda _ | |
9000 | (substitute* "test/Tests/Command.hs" | |
9001 | (("= dynlibEnv") | |
9002 | (format #f "= [(\"LD_LIBRARY_PATH\" , \"~a/dist/build\")]" | |
9003 | (getcwd)))) | |
9004 | #t))))) | |
9005 | (outputs '("out" "static" "doc")) | |
dddbc90c RV |
9006 | (inputs |
9007 | `(("ghc-aeson" ,ghc-aeson) | |
9008 | ("ghc-aeson-pretty" ,ghc-aeson-pretty) | |
9009 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
9010 | ("ghc-blaze-html" ,ghc-blaze-html) | |
9011 | ("ghc-blaze-markup" ,ghc-blaze-markup) | |
9012 | ("ghc-cmark-gfm" ,ghc-cmark-gfm) | |
9013 | ("ghc-data-default" ,ghc-data-default) | |
dddbc90c RV |
9014 | ("ghc-diff" ,ghc-diff) |
9015 | ("ghc-doctemplates" ,ghc-doctemplates) | |
9016 | ("ghc-executable-path" ,ghc-executable-path) | |
9017 | ("ghc-glob" ,ghc-glob) | |
9018 | ("ghc-haddock-library" ,ghc-haddock-library) | |
9019 | ("ghc-hslua" ,ghc-hslua) | |
d9b1567a | 9020 | ("ghc-hslua-module-system" ,ghc-hslua-module-system) |
dddbc90c | 9021 | ("ghc-hslua-module-text" ,ghc-hslua-module-text) |
d9b1567a | 9022 | ("ghc-hsyaml" ,ghc-hsyaml) |
dddbc90c RV |
9023 | ("ghc-http" ,ghc-http) |
9024 | ("ghc-http-client" ,ghc-http-client) | |
9025 | ("ghc-http-client-tls" ,ghc-http-client-tls) | |
9026 | ("ghc-http-types" ,ghc-http-types) | |
d9b1567a | 9027 | ("ghc-ipynb" ,ghc-ipynb) |
dddbc90c RV |
9028 | ("ghc-juicypixels" ,ghc-juicypixels) |
9029 | ("ghc-network" ,ghc-network) | |
9030 | ("ghc-network-uri" ,ghc-network-uri) | |
dddbc90c RV |
9031 | ("ghc-pandoc-types" ,ghc-pandoc-types) |
9032 | ("ghc-random" ,ghc-random) | |
9033 | ("ghc-scientific" ,ghc-scientific) | |
9034 | ("ghc-sha" ,ghc-sha) | |
9035 | ("ghc-skylighting" ,ghc-skylighting) | |
9036 | ("ghc-split" ,ghc-split) | |
9037 | ("ghc-syb" ,ghc-syb) | |
9038 | ("ghc-tagsoup" ,ghc-tagsoup) | |
9039 | ("ghc-temporary" ,ghc-temporary) | |
9040 | ("ghc-texmath" ,ghc-texmath) | |
d9b1567a | 9041 | ("ghc-unicode-transforms" ,ghc-unicode-transforms) |
dddbc90c RV |
9042 | ("ghc-unordered-containers" ,ghc-unordered-containers) |
9043 | ("ghc-vector" ,ghc-vector) | |
9044 | ("ghc-xml" ,ghc-xml) | |
dddbc90c RV |
9045 | ("ghc-zip-archive" ,ghc-zip-archive) |
9046 | ("ghc-zlib" ,ghc-zlib))) | |
9047 | (native-inputs | |
9048 | `(("ghc-tasty" ,ghc-tasty) | |
9049 | ("ghc-tasty-golden" ,ghc-tasty-golden) | |
9050 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
d9b1567a | 9051 | ("ghc-tasty-lua" ,ghc-tasty-lua) |
dddbc90c RV |
9052 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) |
9053 | ("ghc-quickcheck" ,ghc-quickcheck) | |
9054 | ("ghc-hunit" ,ghc-hunit))) | |
9055 | (home-page "https://pandoc.org") | |
9056 | (synopsis "Conversion between markup formats") | |
9057 | (description | |
9058 | "Pandoc is a Haskell library for converting from one markup format to | |
9059 | another, and a command-line tool that uses this library. It can read and | |
9060 | write Markdown and (subsets of) other formats, such as HTML, reStructuredText, | |
9061 | LaTeX, DocBook, and many more. | |
9062 | ||
9063 | Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX, | |
9064 | definition lists, tables, and other features. A compatibility mode is | |
9065 | provided for those who need a drop-in replacement for Markdown.pl.") | |
9066 | (license license:gpl2+))) | |
9067 | ||
d4e4a382 RW |
9068 | (define-public pandoc |
9069 | (package | |
9070 | (inherit ghc-pandoc) | |
9071 | (name "pandoc") | |
9072 | (arguments | |
9073 | `(#:configure-flags | |
9074 | (list "-fstatic" | |
9075 | ;; Do not build trypandoc; this is the default but it's better to | |
9076 | ;; be explicit. | |
9077 | "-f-trypandoc" | |
9078 | ;; TODO: Without these we cannot link the Haskell libraries | |
9079 | ;; statically. It would be nice if we could also build the | |
9080 | ;; shared libraries. | |
9081 | "--disable-shared" | |
9082 | "--disable-executable-dynamic" | |
9083 | ;; That's where we place all static libraries | |
9084 | "--extra-lib-dirs=static-libs/" | |
9085 | "--ghc-option=-static") | |
9086 | #:modules ((guix build haskell-build-system) | |
9087 | (guix build utils) | |
9088 | (ice-9 match) | |
9089 | (srfi srfi-1)) | |
9090 | #:phases | |
9091 | (modify-phases %standard-phases | |
9092 | (add-after 'unpack 'create-simple-paths-module | |
9093 | (lambda* (#:key outputs #:allow-other-keys) | |
9094 | (call-with-output-file "Paths_pandoc.hs" | |
9095 | (lambda (port) | |
9096 | (format port "\ | |
9097 | {-# LANGUAGE CPP #-} | |
9098 | {-# LANGUAGE NoRebindableSyntax #-} | |
9099 | {-# OPTIONS_GHC -fno-warn-missing-import-lists #-} | |
9100 | module Paths_pandoc (version,getDataDir,getDataFileName) where | |
9101 | import Prelude | |
9102 | import Data.Version (Version(..)) | |
9103 | import System.Info | |
9104 | version :: Version | |
9105 | version = Version [~a] [] | |
9106 | ||
9107 | datadir :: FilePath | |
9108 | datadir = \"~a/share/\" ++ | |
9109 | arch ++ \"-\" ++ | |
9110 | os ++ \"-\" ++ | |
9111 | compilerName ++ \"-~a/pandoc-~a\" | |
9112 | ||
9113 | getDataDir :: IO FilePath | |
9114 | getDataDir = return datadir | |
9115 | ||
9116 | getDataFileName :: FilePath -> IO FilePath | |
9117 | getDataFileName name = do | |
9118 | dir <- getDataDir | |
9119 | return (dir ++ \"/\" ++ name) | |
9120 | " | |
9121 | (string-map (lambda (chr) (if (eq? chr #\.) #\, chr)) | |
9122 | ,(package-version ghc-pandoc)) | |
9123 | (assoc-ref outputs "out") | |
9124 | ,(package-version ghc) | |
9125 | ,(package-version ghc-pandoc)))) | |
9126 | #t)) | |
9127 | (add-after 'unpack 'prepare-static-libraries | |
9128 | (lambda* (#:key inputs #:allow-other-keys) | |
9129 | (mkdir-p (string-append (getcwd) "/static-libs")) | |
9130 | (for-each | |
9131 | (lambda (input) | |
9132 | (when (or (string-prefix? "static-" (car input)) | |
9133 | (string-prefix? "ghc" (car input))) | |
9134 | (match (find-files (cdr input) "\\.a$") | |
9135 | ((and (first . rest) libs) | |
9136 | (for-each (lambda (lib) | |
9137 | (let ((target (string-append (getcwd) "/static-libs/" | |
9138 | (basename lib)))) | |
9139 | (unless (file-exists? target) | |
9140 | (symlink first target)))) | |
9141 | libs)) | |
9142 | (_ #f)))) | |
9143 | inputs) | |
9144 | #t)) | |
9145 | (delete 'check) | |
9146 | (add-after 'install 'post-install-check | |
9147 | (assoc-ref %standard-phases 'check))))) | |
9148 | (outputs '("out" "lib" "static" "doc")) | |
9149 | (inputs | |
9150 | (let* ((direct-inputs (package-inputs ghc-pandoc)) | |
9151 | (all-static-inputs | |
9152 | (map (lambda (pkg) | |
9153 | (list (string-append "static-" (package-name pkg)) | |
9154 | pkg "static")) | |
9155 | (delete-duplicates | |
9156 | (append (map cadr direct-inputs) | |
9157 | (filter (lambda (pkg) | |
9158 | (string-prefix? "ghc-" (package-name pkg))) | |
9159 | (package-closure | |
9160 | (map cadr direct-inputs)))))))) | |
9161 | `(("zlib:static" ,zlib "static") | |
9162 | ,@all-static-inputs | |
9163 | ,@direct-inputs))) | |
9164 | (native-inputs | |
9165 | (let* ((direct-inputs (package-native-inputs ghc-pandoc)) | |
9166 | (all-static-inputs | |
9167 | (map (lambda (pkg) | |
9168 | (list (string-append "static-" (package-name pkg)) | |
9169 | pkg "static")) | |
9170 | (delete-duplicates | |
9171 | (append (map cadr direct-inputs) | |
9172 | (filter (lambda (pkg) | |
9173 | (string-prefix? "ghc-" (package-name pkg))) | |
9174 | (package-closure | |
9175 | (map cadr direct-inputs)))))))) | |
9176 | `(,@all-static-inputs | |
9177 | ,@direct-inputs))))) | |
9178 | ||
dddbc90c RV |
9179 | (define-public ghc-pandoc-citeproc |
9180 | (package | |
9181 | (name "ghc-pandoc-citeproc") | |
2da02d09 | 9182 | (version "0.16.2") |
dddbc90c RV |
9183 | (source |
9184 | (origin | |
9185 | (method url-fetch) | |
9186 | (uri (string-append "https://hackage.haskell.org/package/" | |
9187 | "pandoc-citeproc/pandoc-citeproc-" | |
9188 | version ".tar.gz")) | |
9189 | (sha256 | |
9190 | (base32 | |
2da02d09 | 9191 | "15mm17awgi1b5yazwhr5nh8b59qml1qk6pz6gpyijks70fq2arsv")))) |
dddbc90c RV |
9192 | (build-system haskell-build-system) |
9193 | (arguments | |
9194 | `(#:phases | |
9195 | (modify-phases %standard-phases | |
9196 | ;; Many YAML tests (44) are failing do to changes in ghc-yaml: | |
9197 | ;; <https://github.com/jgm/pandoc-citeproc/issues/342>. | |
9198 | (add-before 'configure 'patch-tests | |
9199 | (lambda _ | |
9200 | (substitute* "tests/test-pandoc-citeproc.hs" | |
9201 | (("let allTests = citeprocTests \\+\\+ biblio2yamlTests") | |
9202 | "let allTests = citeprocTests")))) | |
9203 | ;; Tests need to be run after installation. | |
9204 | (delete 'check) | |
9205 | (add-after 'install 'post-install-check | |
9206 | (assoc-ref %standard-phases 'check))))) | |
9207 | (inputs | |
9208 | `(("ghc-pandoc-types" ,ghc-pandoc-types) | |
9209 | ("ghc-pandoc" ,ghc-pandoc) | |
9210 | ("ghc-tagsoup" ,ghc-tagsoup) | |
9211 | ("ghc-aeson" ,ghc-aeson) | |
9212 | ("ghc-vector" ,ghc-vector) | |
9213 | ("ghc-xml-conduit" ,ghc-xml-conduit) | |
9214 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
9215 | ("ghc-data-default" ,ghc-data-default) | |
9216 | ("ghc-setenv" ,ghc-setenv) | |
9217 | ("ghc-split" ,ghc-split) | |
9218 | ("ghc-yaml" ,ghc-yaml) | |
9219 | ("ghc-hs-bibutils" ,ghc-hs-bibutils) | |
9220 | ("ghc-rfc5051" ,ghc-rfc5051) | |
9221 | ("ghc-syb" ,ghc-syb) | |
9222 | ("ghc-old-locale" ,ghc-old-locale) | |
9223 | ("ghc-aeson-pretty" ,ghc-aeson-pretty) | |
9224 | ("ghc-attoparsec" ,ghc-attoparsec) | |
9225 | ("ghc-temporary" ,ghc-temporary))) | |
9226 | (home-page "https://github.com/jgm/pandoc-citeproc") | |
9227 | (synopsis "Library for using pandoc with citeproc") | |
9228 | (description | |
9229 | "The @code{pandoc-citeproc} library exports functions for using the | |
9230 | citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for | |
9231 | rendering bibliographic reference citations into a variety of styles using a | |
9232 | macro language called @dfn{Citation Style Language} (CSL). This package also | |
9233 | contains an executable @code{pandoc-citeproc}, which works as a pandoc filter, | |
9234 | and also has a mode for converting bibliographic databases a YAML format | |
9235 | suitable for inclusion in pandoc YAML metadata.") | |
9236 | (license license:bsd-3))) | |
9237 | ||
e380ef14 RW |
9238 | (define-public pandoc-citeproc |
9239 | (package (inherit ghc-pandoc-citeproc) | |
9240 | (name "pandoc-citeproc") | |
9241 | (arguments | |
9242 | `(#:configure-flags | |
9243 | (list "-fstatic" | |
9244 | "--disable-shared" | |
9245 | "--disable-executable-dynamic" | |
9246 | ;; That's where we place all static libraries | |
9247 | "--extra-lib-dirs=static-libs/" | |
9248 | "--ghc-option=-static") | |
9249 | #:modules ((guix build haskell-build-system) | |
9250 | (guix build utils) | |
9251 | (ice-9 match) | |
9252 | (srfi srfi-1)) | |
9253 | #:phases | |
9254 | (modify-phases %standard-phases | |
9255 | ;; Many YAML tests (44) are failing do to changes in ghc-yaml: | |
9256 | ;; <https://github.com/jgm/pandoc-citeproc/issues/342>. | |
9257 | (add-before 'configure 'patch-tests | |
9258 | (lambda _ | |
9259 | (substitute* "tests/test-pandoc-citeproc.hs" | |
9260 | (("let allTests = citeprocTests \\+\\+ biblio2yamlTests") | |
9261 | "let allTests = citeprocTests")))) | |
9262 | ;; Tests need to be run after installation. | |
9263 | (delete 'check) | |
9264 | (add-after 'install 'post-install-check | |
9265 | (assoc-ref %standard-phases 'check)) | |
9266 | (add-after 'unpack 'create-simple-paths-module | |
9267 | (lambda* (#:key outputs #:allow-other-keys) | |
9268 | (call-with-output-file "Paths_pandoc_citeproc.hs" | |
9269 | (lambda (port) | |
9270 | (format port "\ | |
9271 | {-# LANGUAGE CPP #-} | |
9272 | {-# LANGUAGE NoRebindableSyntax #-} | |
9273 | {-# OPTIONS_GHC -fno-warn-missing-import-lists #-} | |
9274 | module Paths_pandoc_citeproc (version,getDataFileName) where | |
9275 | import Prelude | |
9276 | import Data.Version (Version(..)) | |
9277 | import System.Info | |
9278 | version :: Version | |
9279 | version = Version [~a] [] | |
9280 | ||
9281 | datadir :: FilePath | |
9282 | datadir = \"~a/share/\" ++ | |
9283 | arch ++ \"-\" ++ | |
9284 | os ++ \"-\" ++ | |
9285 | compilerName ++ \"-~a/pandoc-citeproc-~a\" | |
9286 | ||
9287 | getDataDir :: IO FilePath | |
9288 | getDataDir = return datadir | |
9289 | ||
9290 | getDataFileName :: FilePath -> IO FilePath | |
9291 | getDataFileName name = do | |
9292 | dir <- getDataDir | |
9293 | return (dir ++ \"/\" ++ name) | |
9294 | " | |
9295 | (string-map (lambda (chr) (if (eq? chr #\.) #\, chr)) | |
9296 | ,(package-version ghc-pandoc-citeproc)) | |
9297 | (assoc-ref outputs "out") | |
9298 | ,(package-version ghc) | |
9299 | ,(package-version ghc-pandoc-citeproc)))) | |
9300 | #t)) | |
9301 | (add-after 'unpack 'prepare-static-libraries | |
9302 | (lambda* (#:key inputs #:allow-other-keys) | |
9303 | (mkdir-p (string-append (getcwd) "/static-libs")) | |
9304 | (for-each | |
9305 | (lambda (input) | |
9306 | (when (or (string-prefix? "static-" (car input)) | |
9307 | (string-prefix? "ghc" (car input))) | |
9308 | (match (find-files (cdr input) "\\.a$") | |
9309 | ((and (first . rest) libs) | |
9310 | (for-each (lambda (lib) | |
9311 | (let ((target (string-append (getcwd) "/static-libs/" | |
9312 | (basename lib)))) | |
9313 | (unless (file-exists? target) | |
9314 | (symlink first target)))) | |
9315 | libs)) | |
9316 | (_ #f)))) | |
9317 | inputs) | |
9318 | #t))))) | |
9319 | (inputs | |
9320 | (let* ((direct-inputs | |
9321 | (cons `("ghc-pandoc" ,pandoc) | |
9322 | (alist-delete "ghc-pandoc" | |
9323 | (package-inputs ghc-pandoc-citeproc)))) | |
9324 | (all-static-inputs | |
9325 | (map (lambda (pkg) | |
9326 | (list (string-append "static-" (package-name pkg)) | |
9327 | pkg "static")) | |
9328 | (delete-duplicates | |
9329 | (append (map cadr direct-inputs) | |
9330 | (filter (lambda (pkg) | |
9331 | (string-prefix? "ghc-" (package-name pkg))) | |
9332 | (package-closure | |
9333 | (map cadr direct-inputs)))))))) | |
9334 | `(("zlib:static" ,zlib "static") | |
9335 | ("pandoc" ,pandoc "lib") | |
9336 | ,@all-static-inputs | |
9337 | ,@direct-inputs))) | |
9338 | (synopsis "Pandoc filter for bibliographic references"))) | |
9339 | ||
dddbc90c RV |
9340 | (define-public ghc-pandoc-types |
9341 | (package | |
9342 | (name "ghc-pandoc-types") | |
0eaa88c8 | 9343 | (version "1.17.6.1") |
dddbc90c RV |
9344 | (source (origin |
9345 | (method url-fetch) | |
9346 | (uri (string-append "https://hackage.haskell.org/package/" | |
9347 | "pandoc-types/pandoc-types-" | |
9348 | version ".tar.gz")) | |
9349 | (sha256 | |
9350 | (base32 | |
0eaa88c8 | 9351 | "1d6ygq991ddria71l7hg9yd7lq94sjy4m71rdws1v8hq943c4d0q")))) |
dddbc90c | 9352 | (build-system haskell-build-system) |
c7891956 RW |
9353 | (arguments |
9354 | `(#:phases | |
9355 | (modify-phases %standard-phases | |
9356 | ;; None of the directory names are actually used. By generating a | |
9357 | ;; simpler module without references to store names we avoid | |
9358 | ;; introducing references in the pandoc executable. | |
9359 | (add-after 'unpack 'create-simple-paths-module | |
9360 | (lambda _ | |
9361 | (call-with-output-file "Paths_pandoc_types.hs" | |
9362 | (lambda (port) | |
9363 | (format port "\ | |
9364 | {-# LANGUAGE CPP #-} | |
9365 | {-# LANGUAGE NoRebindableSyntax #-} | |
9366 | {-# OPTIONS_GHC -fno-warn-missing-import-lists #-} | |
9367 | module Paths_pandoc_types (version) where | |
9368 | import Data.Version (Version(..)) | |
9369 | version :: Version | |
9370 | version = Version [~a] [] | |
9371 | " (string-map (lambda (chr) (if (eq? chr #\.) #\, chr)) ,version)))) | |
9372 | #t))))) | |
dddbc90c RV |
9373 | (inputs |
9374 | `(("ghc-syb" ,ghc-syb) | |
9375 | ("ghc-aeson" ,ghc-aeson) | |
9376 | ("ghc-string-qq" ,ghc-string-qq))) | |
9377 | (native-inputs | |
9378 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
9379 | ("ghc-test-framework" ,ghc-test-framework) | |
9380 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
9381 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
9382 | ("ghc-hunit" ,ghc-hunit))) | |
d48b5c8a | 9383 | (home-page "https://johnmacfarlane.net/pandoc") |
dddbc90c RV |
9384 | (synopsis "Types for representing a structured document") |
9385 | (description | |
9386 | "This module defines the @code{Pandoc} data structure, which is used by | |
9387 | pandoc to represent structured documents. It also provides functions for | |
9388 | building up, manipulating and serialising @code{Pandoc} structures.") | |
9389 | (license license:bsd-3))) | |
9390 | ||
9391 | (define-public ghc-parallel | |
9392 | (package | |
9393 | (name "ghc-parallel") | |
9394 | (version "3.2.2.0") | |
534d6caa | 9395 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
9396 | (source |
9397 | (origin | |
9398 | (method url-fetch) | |
9399 | (uri (string-append | |
9400 | "https://hackage.haskell.org/package/parallel/parallel-" | |
9401 | version | |
9402 | ".tar.gz")) | |
9403 | (sha256 | |
9404 | (base32 | |
9405 | "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p")))) | |
9406 | (build-system haskell-build-system) | |
9407 | (home-page "https://hackage.haskell.org/package/parallel") | |
9408 | (synopsis "Parallel programming library") | |
9409 | (description | |
9410 | "This package provides a library for parallel programming.") | |
9411 | (license license:bsd-3))) | |
9412 | ||
9413 | (define-public ghc-parsec-numbers | |
9414 | (package | |
9415 | (name "ghc-parsec-numbers") | |
9416 | (version "0.1.0") | |
9417 | (source | |
9418 | (origin | |
9419 | (method url-fetch) | |
9420 | (uri (string-append "https://hackage.haskell.org/package/" | |
9421 | "parsec-numbers/parsec-numbers-" version ".tar.gz")) | |
9422 | (sha256 | |
9423 | (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp")))) | |
9424 | (build-system haskell-build-system) | |
9425 | (home-page "https://hackage.haskell.org/package/parsec-numbers") | |
9426 | (synopsis "Utilities for parsing numbers from strings") | |
9427 | (description | |
9428 | "This package provides the number parsers without the need to use a large | |
9429 | (and unportable) token parser.") | |
9430 | (license license:bsd-3))) | |
9431 | ||
9432 | (define-public ghc-parser-combinators | |
9433 | (package | |
9434 | (name "ghc-parser-combinators") | |
2f173160 | 9435 | (version "1.1.0") |
dddbc90c RV |
9436 | (source |
9437 | (origin | |
9438 | (method url-fetch) | |
9439 | (uri (string-append "https://hackage.haskell.org/package/" | |
9440 | "parser-combinators/parser-combinators-" | |
9441 | version ".tar.gz")) | |
9442 | (sha256 | |
9443 | (base32 | |
2f173160 | 9444 | "149yhbnrrl108h1jinrsxni3rwrldhphpk9bbmbpr90q5fbl4xmc")))) |
dddbc90c RV |
9445 | (build-system haskell-build-system) |
9446 | (home-page "https://github.com/mrkkrp/parser-combinators") | |
9447 | (synopsis "Commonly useful parser combinators") | |
9448 | (description | |
9449 | "This is a lightweight package providing commonly useful parser | |
9450 | combinators.") | |
9451 | (license license:bsd-3))) | |
9452 | ||
9453 | (define-public ghc-parsers | |
9454 | (package | |
9455 | (name "ghc-parsers") | |
6818f970 | 9456 | (version "0.12.10") |
dddbc90c RV |
9457 | (source |
9458 | (origin | |
9459 | (method url-fetch) | |
9460 | (uri (string-append | |
9461 | "https://hackage.haskell.org/package/parsers/parsers-" | |
9462 | version | |
9463 | ".tar.gz")) | |
9464 | (sha256 | |
9465 | (base32 | |
6818f970 | 9466 | "0v0smxbzk1qpdfkfqqmrzd2dngv3vxba10mkjn9nfm6a309izf8p")))) |
dddbc90c RV |
9467 | (build-system haskell-build-system) |
9468 | (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy | |
9469 | ; -package attoparsec-0.13.0.1" | |
9470 | (inputs | |
9471 | `(("ghc-base-orphans" ,ghc-base-orphans) | |
9472 | ("ghc-attoparsec" ,ghc-attoparsec) | |
9473 | ("ghc-scientific" ,ghc-scientific) | |
9474 | ("ghc-charset" ,ghc-charset) | |
9475 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
9476 | (home-page "https://github.com/ekmett/parsers/") | |
9477 | (synopsis "Parsing combinators") | |
9478 | (description "This library provides convenient combinators for working | |
9479 | with and building parsing combinator libraries. Given a few simple instances, | |
9480 | you get access to a large number of canned definitions. Instances exist for | |
9481 | the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s | |
9482 | @code{Text.Read}.") | |
9483 | (license license:bsd-3))) | |
9484 | ||
9485 | (define-public ghc-path | |
9486 | (package | |
9487 | (name "ghc-path") | |
9488 | (version "0.6.1") | |
9489 | (source | |
9490 | (origin | |
9491 | (method url-fetch) | |
9492 | (uri (string-append | |
9493 | "https://hackage.haskell.org/package/path/path-" | |
9494 | version | |
9495 | ".tar.gz")) | |
9496 | (sha256 | |
9497 | (base32 | |
9498 | "0nayla4k1gb821k8y5b9miflv1bi8f0czf9rqr044nrr2dddi2sb")))) | |
9499 | (build-system haskell-build-system) | |
9500 | (arguments | |
9501 | ;; TODO: There are some Windows-related tests and modules that need to be | |
9502 | ;; danced around. | |
9503 | `(#:tests? #f | |
9504 | #:cabal-revision | |
9505 | ("1" "05b1zwx2a893h4h5wvgpc5g5pyx71hfmx409rqisd8s1bq1hn463"))) | |
9506 | (inputs | |
9507 | `(("ghc-aeson" ,ghc-aeson) | |
9508 | ("ghc-exceptions" ,ghc-exceptions) | |
9509 | ("ghc-hashable" ,ghc-hashable))) | |
9510 | (native-inputs | |
9511 | `(("ghc-hspec" ,ghc-hspec) | |
9512 | ("ghc-quickcheck" ,ghc-quickcheck) | |
9513 | ("ghc-genvalidity" ,ghc-genvalidity) | |
9514 | ("ghc-genvalidity-property" ,ghc-genvalidity-property) | |
9515 | ("ghc-hspec" ,ghc-hspec) | |
9516 | ("ghc-validity" ,ghc-validity))) | |
9517 | (home-page | |
3ef91e15 | 9518 | "https://hackage.haskell.org/package/path") |
dddbc90c RV |
9519 | (synopsis "Support for well-typed paths") |
9520 | (description "This package introduces a type for paths upholding useful | |
9521 | invariants.") | |
9522 | (license license:bsd-3))) | |
9523 | ||
9524 | (define-public ghc-path-io | |
9525 | (package | |
9526 | (name "ghc-path-io") | |
a06613ea | 9527 | (version "1.4.2") |
dddbc90c RV |
9528 | (source |
9529 | (origin | |
9530 | (method url-fetch) | |
9531 | (uri (string-append | |
9532 | "https://hackage.haskell.org/package/path-io/path-io-" | |
9533 | version | |
9534 | ".tar.gz")) | |
9535 | (sha256 | |
9536 | (base32 | |
a06613ea | 9537 | "0jqx3mi4an4kb3kg78n1p3xrz832yrfrnvj795b0xhkv6h1z5ir3")))) |
dddbc90c RV |
9538 | (build-system haskell-build-system) |
9539 | (inputs | |
9540 | `(("ghc-dlist" ,ghc-dlist) | |
9541 | ("ghc-exceptions" ,ghc-exceptions) | |
9542 | ("ghc-path" ,ghc-path) | |
9543 | ("ghc-transformers-base" ,ghc-transformers-base) | |
9544 | ("ghc-unix-compat" ,ghc-unix-compat) | |
9545 | ("ghc-temporary" ,ghc-temporary))) | |
9546 | (native-inputs | |
9547 | `(("ghc-hspec" ,ghc-hspec))) | |
dddbc90c RV |
9548 | (home-page |
9549 | "https://github.com/mrkkrp/path-io") | |
9550 | (synopsis "Functions for manipulating well-typed paths") | |
9551 | (description "This package provides an interface to the @code{directory} | |
9552 | package for users of @code{path}. It also implements some missing stuff like | |
9553 | recursive scanning and copying of directories, working with temporary | |
9554 | files/directories, and more.") | |
9555 | (license license:bsd-3))) | |
9556 | ||
9557 | (define-public ghc-paths | |
9558 | (package | |
9559 | (name "ghc-paths") | |
9a8adeb1 | 9560 | (version "0.1.0.12") |
534d6caa | 9561 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
9562 | (source |
9563 | (origin | |
9564 | (method url-fetch) | |
9565 | (uri (string-append | |
9566 | "https://hackage.haskell.org/package/ghc-paths/ghc-paths-" | |
9567 | version | |
9568 | ".tar.gz")) | |
9569 | (sha256 | |
9570 | (base32 | |
9a8adeb1 | 9571 | "1164w9pqnf7rjm05mmfjznz7rrn415blrkk1kjc0gjvks1vfdjvf")))) |
dddbc90c RV |
9572 | (build-system haskell-build-system) |
9573 | (home-page "https://github.com/simonmar/ghc-paths") | |
9574 | (synopsis | |
9575 | "Knowledge of GHC's installation directories") | |
9576 | (description | |
9577 | "Knowledge of GHC's installation directories.") | |
9578 | (license license:bsd-3))) | |
9579 | ||
9580 | (define-public ghc-patience | |
9581 | (package | |
9582 | (name "ghc-patience") | |
484476f3 | 9583 | (version "0.3") |
dddbc90c RV |
9584 | (source |
9585 | (origin | |
9586 | (method url-fetch) | |
9587 | (uri (string-append | |
9588 | "https://hackage.haskell.org/package/patience/patience-" | |
9589 | version ".tar.gz")) | |
9590 | (sha256 | |
9591 | (base32 | |
484476f3 | 9592 | "1i1b37lgi31c17yrjyf8pdm4nf5lq8vw90z3rri78hf0k66d0p3i")))) |
dddbc90c RV |
9593 | (build-system haskell-build-system) |
9594 | (home-page "https://hackage.haskell.org/package/patience") | |
9595 | (synopsis "Patience diff and longest increasing subsequence") | |
9596 | (description | |
9597 | "This library implements the 'patience diff' algorithm, as well as the | |
9598 | patience algorithm for the longest increasing subsequence problem. | |
9599 | Patience diff computes the difference between two lists, for example the lines | |
9600 | of two versions of a source file. It provides a good balance between | |
9601 | performance, nice output for humans, and simplicity of implementation.") | |
9602 | (license license:bsd-3))) | |
9603 | ||
25a221a8 JS |
9604 | (define-public ghc-pattern-arrows |
9605 | (package | |
9606 | (name "ghc-pattern-arrows") | |
9607 | (version "0.0.2") | |
9608 | (source | |
9609 | (origin | |
9610 | (method url-fetch) | |
9611 | (uri (string-append | |
9612 | "mirror://hackage/package/pattern-arrows/pattern-arrows-" | |
9613 | version | |
9614 | ".tar.gz")) | |
9615 | (sha256 | |
9616 | (base32 | |
9617 | "13q7bj19hd60rnjfc05wxlyck8llxy11z3mns8kxg197wxrdkhkg")))) | |
9618 | (build-system haskell-build-system) | |
9619 | (home-page | |
9620 | "https://blog.functorial.com/posts/2013-10-27-Pretty-Printing-Arrows.html") | |
9621 | (synopsis "Arrows for Pretty Printing") | |
9622 | (description | |
9623 | "A library for generating concise pretty printers based on precedence | |
9624 | rules.") | |
9625 | (license license:expat))) | |
9626 | ||
dddbc90c RV |
9627 | (define-public ghc-pcre-light |
9628 | (package | |
9629 | (name "ghc-pcre-light") | |
9630 | (version "0.4.0.4") | |
9631 | (source | |
9632 | (origin | |
9633 | (method url-fetch) | |
9634 | (uri (string-append | |
9635 | "https://hackage.haskell.org/package/pcre-light/pcre-light-" | |
9636 | version | |
9637 | ".tar.gz")) | |
9638 | (sha256 | |
9639 | (base32 | |
9640 | "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82")))) | |
9641 | (build-system haskell-build-system) | |
a928f35b TS |
9642 | (arguments |
9643 | `(#:extra-directories ("pcre"))) | |
dddbc90c RV |
9644 | (inputs |
9645 | `(("pcre" ,pcre))) | |
9646 | (native-inputs | |
9647 | `(("pkg-config" ,pkg-config))) | |
9648 | (home-page "https://github.com/Daniel-Diaz/pcre-light") | |
9649 | (synopsis "Haskell library for Perl 5 compatible regular expressions") | |
9650 | (description "This package provides a small, efficient, and portable regex | |
9651 | library for Perl 5 compatible regular expressions. The PCRE library is a set | |
9652 | of functions that implement regular expression pattern matching using the same | |
9653 | syntax and semantics as Perl 5.") | |
9654 | (license license:bsd-3))) | |
9655 | ||
9656 | (define-public ghc-persistent | |
9657 | (package | |
9658 | (name "ghc-persistent") | |
8c9697a9 | 9659 | (version "2.10.4") |
dddbc90c RV |
9660 | (source |
9661 | (origin | |
9662 | (method url-fetch) | |
8c9697a9 ASM |
9663 | (uri (string-append |
9664 | "https://hackage.haskell.org/package/persistent/" | |
9665 | "persistent-" version ".tar.gz")) | |
dddbc90c RV |
9666 | (sha256 |
9667 | (base32 | |
8c9697a9 | 9668 | "1cxswz72sqdg2z1nbpgp1k5qr41djgk8qbf8nz7wfppsrhacyffi")))) |
dddbc90c | 9669 | (build-system haskell-build-system) |
8c9697a9 ASM |
9670 | (inputs |
9671 | `(("ghc-aeson" ,ghc-aeson) | |
9672 | ("ghc-attoparsec" ,ghc-attoparsec) | |
9673 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
9674 | ("ghc-blaze-html" ,ghc-blaze-html) | |
9675 | ("ghc-conduit" ,ghc-conduit) | |
9676 | ("ghc-fast-logger" ,ghc-fast-logger) | |
9677 | ("ghc-http-api-data" ,ghc-http-api-data) | |
9678 | ("ghc-monad-logger" ,ghc-monad-logger) | |
9679 | ("ghc-path-pieces" ,ghc-path-pieces) | |
9680 | ("ghc-resource-pool" ,ghc-resource-pool) | |
9681 | ("ghc-resourcet" ,ghc-resourcet) | |
9682 | ("ghc-scientific" ,ghc-scientific) | |
9683 | ("ghc-silently" ,ghc-silently) | |
9684 | ("ghc-unliftio-core" ,ghc-unliftio-core) | |
9685 | ("ghc-unliftio" ,ghc-unliftio) | |
9686 | ("ghc-unordered-containers" | |
9687 | ,ghc-unordered-containers) | |
9688 | ("ghc-vector" ,ghc-vector))) | |
dddbc90c RV |
9689 | (native-inputs `(("ghc-hspec" ,ghc-hspec))) |
9690 | (home-page "https://www.yesodweb.com/book/persistent") | |
9691 | (synopsis "Type-safe, multi-backend data serialization for Haskell") | |
9692 | (description "This Haskell package allows Haskell programs to access data | |
9693 | storage systems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe | |
9694 | way.") | |
9695 | (license license:expat))) | |
9696 | ||
9697 | (define-public ghc-persistent-sqlite | |
9698 | (package | |
9699 | (name "ghc-persistent-sqlite") | |
78858787 | 9700 | (version "2.10.5.2") |
dddbc90c RV |
9701 | (source |
9702 | (origin | |
9703 | (method url-fetch) | |
78858787 ASM |
9704 | (uri (string-append |
9705 | "https://hackage.haskell.org/package/persistent-sqlite/" | |
9706 | "persistent-sqlite-" version ".tar.gz")) | |
dddbc90c RV |
9707 | (sha256 |
9708 | (base32 | |
78858787 | 9709 | "0agag3cgivl6mk38pqzr0qw5lxps9p2bgdwvi5658l46hs7bixxn")))) |
dddbc90c | 9710 | (build-system haskell-build-system) |
78858787 ASM |
9711 | (inputs |
9712 | `(("ghc-persistent" ,ghc-persistent) | |
9713 | ("ghc-aeson" ,ghc-aeson) | |
9714 | ("ghc-conduit" ,ghc-conduit) | |
9715 | ("ghc-microlens-th" ,ghc-microlens-th) | |
9716 | ("ghc-monad-logger" ,ghc-monad-logger) | |
9717 | ("ghc-resource-pool" ,ghc-resource-pool) | |
9718 | ("ghc-resourcet" ,ghc-resourcet) | |
9719 | ("ghc-unliftio-core" ,ghc-unliftio-core) | |
9720 | ("ghc-unordered-containers" | |
9721 | ,ghc-unordered-containers))) | |
9722 | (native-inputs | |
9723 | `(("ghc-persistent-template" | |
9724 | ,ghc-persistent-template) | |
9725 | ("ghc-persistent-test" ,ghc-persistent-test) | |
9726 | ("ghc-exceptions" ,ghc-exceptions) | |
9727 | ("ghc-fast-logger" ,ghc-fast-logger) | |
9728 | ("ghc-hspec" ,ghc-hspec) | |
9729 | ("ghc-hunit" ,ghc-hunit) | |
9730 | ("ghc-quickcheck" ,ghc-quickcheck) | |
9731 | ("ghc-system-fileio" ,ghc-system-fileio) | |
9732 | ("ghc-system-filepath" ,ghc-system-filepath) | |
9733 | ("ghc-temporary" ,ghc-temporary))) | |
dddbc90c RV |
9734 | (home-page |
9735 | "https://www.yesodweb.com/book/persistent") | |
9736 | (synopsis "Backend for the persistent library using sqlite3") | |
9737 | (description "This Haskell package includes a thin sqlite3 wrapper based | |
9738 | on the direct-sqlite package, as well as the entire C library, so there are no | |
9739 | system dependencies.") | |
9740 | (license license:expat))) | |
9741 | ||
9742 | (define-public ghc-persistent-template | |
9743 | (package | |
9744 | (name "ghc-persistent-template") | |
d5378e98 | 9745 | (version "2.8.0") |
dddbc90c RV |
9746 | (source |
9747 | (origin | |
9748 | (method url-fetch) | |
d5378e98 ASM |
9749 | (uri (string-append |
9750 | "https://hackage.haskell.org/package/persistent-template/" | |
9751 | "persistent-template-" version ".tar.gz")) | |
dddbc90c RV |
9752 | (sha256 |
9753 | (base32 | |
d5378e98 | 9754 | "16yjrl0gh4jbs4skr7iv6a55lny59bqhd6hjmvch1cl9j5d0c0g3")))) |
dddbc90c | 9755 | (build-system haskell-build-system) |
d5378e98 ASM |
9756 | (inputs |
9757 | `(("ghc-persistent" ,ghc-persistent) | |
9758 | ("ghc-aeson" ,ghc-aeson) | |
9759 | ("ghc-http-api-data" ,ghc-http-api-data) | |
9760 | ("ghc-monad-control" ,ghc-monad-control) | |
9761 | ("ghc-monad-logger" ,ghc-monad-logger) | |
9762 | ("ghc-path-pieces" ,ghc-path-pieces) | |
9763 | ("ghc-th-lift-instances" ,ghc-th-lift-instances) | |
9764 | ("ghc-unordered-containers" | |
9765 | ,ghc-unordered-containers))) | |
9766 | (native-inputs | |
9767 | `(("ghc-hspec" ,ghc-hspec) | |
9768 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
dddbc90c RV |
9769 | (home-page "https://www.yesodweb.com/book/persistent") |
9770 | (synopsis "Type-safe, non-relational, multi-backend persistence") | |
9771 | (description "This Haskell package provides interfaces and helper | |
9772 | functions for the ghc-persistent package.") | |
9773 | (license license:expat))) | |
9774 | ||
ce32f7c7 ASM |
9775 | (define-public ghc-persistent-test |
9776 | (package | |
9777 | (name "ghc-persistent-test") | |
9778 | (version "2.0.3.1") | |
9779 | (source | |
9780 | (origin | |
9781 | (method url-fetch) | |
9782 | (uri (string-append | |
9783 | "https://hackage.haskell.org/package/persistent-test/" | |
9784 | "persistent-test-" version ".tar.gz")) | |
9785 | (sha256 | |
9786 | (base32 | |
9787 | "11aq5cy0n43jamf6mg4sr4300bc2zdbjxsczzxwjkb4hzs0ijsdv")))) | |
9788 | (build-system haskell-build-system) | |
9789 | (inputs | |
9790 | `(("ghc-aeson" ,ghc-aeson) | |
9791 | ("ghc-blaze-html" ,ghc-blaze-html) | |
9792 | ("ghc-conduit" ,ghc-conduit) | |
9793 | ("ghc-monad-control" ,ghc-monad-control) | |
9794 | ("ghc-monad-logger" ,ghc-monad-logger) | |
9795 | ("ghc-path-pieces" ,ghc-path-pieces) | |
9796 | ("ghc-persistent" ,ghc-persistent) | |
9797 | ("ghc-persistent-template" ,ghc-persistent-template) | |
9798 | ("ghc-random" ,ghc-random) | |
9799 | ("ghc-resourcet" ,ghc-resourcet) | |
9800 | ("ghc-transformers-base" ,ghc-transformers-base) | |
9801 | ("ghc-unliftio" ,ghc-unliftio) | |
9802 | ("ghc-unliftio-core" ,ghc-unliftio-core) | |
9803 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
9804 | (native-inputs | |
9805 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
9806 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
9807 | ("ghc-hspec" ,ghc-hspec) | |
9808 | ("ghc-hspec-expectations" ,ghc-hspec-expectations) | |
9809 | ("ghc-hunit" ,ghc-hunit))) | |
9810 | (home-page "https://www.yesodweb.com/book/persistent") | |
9811 | (synopsis "Tests for the Persistent database library") | |
9812 | (description | |
9813 | "This is only for use in developing libraries that should conform to | |
9814 | the persistent interface, not for users of the persistent suite of database | |
9815 | libraries.") | |
9816 | (license license:expat))) | |
9817 | ||
0fb34235 JS |
9818 | (define-public ghc-pgp-wordlist |
9819 | (package | |
9820 | (name "ghc-pgp-wordlist") | |
9821 | (version "0.1.0.3") | |
9822 | (source | |
9823 | (origin | |
9824 | (method url-fetch) | |
9825 | (uri (string-append | |
9826 | "mirror://hackage/package/pgp-wordlist/pgp-wordlist-" | |
9827 | version | |
9828 | ".tar.gz")) | |
9829 | (sha256 | |
9830 | (base32 | |
9831 | "15g6qh0fb7kjj3l0w8cama7cxgnhnhybw760md9yy7cqfq15cfzg")))) | |
9832 | (build-system haskell-build-system) | |
9833 | (inputs | |
9834 | `(("ghc-vector" ,ghc-vector))) | |
9835 | (native-inputs | |
9836 | `(("ghc-hunit" ,ghc-hunit) | |
9837 | ("ghc-tasty" ,ghc-tasty) | |
9838 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
9839 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
9840 | ("ghc-doctest" ,ghc-doctest))) | |
9841 | (home-page | |
9842 | "https://github.com/quchen/pgp-wordlist") | |
9843 | (synopsis | |
9844 | "Translate between binary data and a human-readable collection of words") | |
9845 | (description | |
9846 | "The PGP Word List consists of two phonetic alphabets, each with one word | |
9847 | per possible byte value. A string of bytes is translated with these | |
9848 | alphabets, alternating between them at each byte. | |
9849 | ||
9850 | The PGP words corresponding to the bytes 5B 1D CA 6E are \"erase breakaway | |
9851 | spellbind headwaters\", for example. | |
9852 | ||
9853 | For further information, see | |
9854 | @url{http://en.wikipedia.org/wiki/PGP_word_list}.") | |
9855 | (license license:bsd-3))) | |
9856 | ||
4639fa32 ASM |
9857 | (define-public ghc-pipes |
9858 | (package | |
9859 | (name "ghc-pipes") | |
9860 | (version "4.3.13") | |
9861 | (source | |
9862 | (origin | |
9863 | (method url-fetch) | |
9864 | (uri (string-append | |
9865 | "https://hackage.haskell.org/package/pipes/" | |
9866 | "pipes-" version ".tar.gz")) | |
9867 | (sha256 | |
9868 | (base32 | |
9869 | "1ch3xr5f5if0psd3lsyrpkwrgh36synnzqcpimghprys68l4zfkn")))) | |
9870 | (build-system haskell-build-system) | |
9871 | (inputs | |
9872 | `(("ghc-exceptions" ,ghc-exceptions) | |
9873 | ("ghc-mmorph" ,ghc-mmorph) | |
9874 | ("ghc-void" ,ghc-void) | |
9875 | ("ghc-semigroups" ,ghc-semigroups))) | |
9876 | (native-inputs | |
9877 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
9878 | ("ghc-test-framework" ,ghc-test-framework) | |
9879 | ("ghc-test-framework-quickcheck2" | |
9880 | ,ghc-test-framework-quickcheck2))) | |
9881 | (home-page | |
9882 | "https://hackage.haskell.org/package/pipes") | |
9883 | (synopsis "Compositional pipelines") | |
9884 | (description | |
9885 | "A clean and powerful stream processing library that lets you build | |
9886 | and connect reusable streaming components. Advantages over traditional streaming | |
9887 | libraries: | |
9888 | @itemize | |
9889 | @item Concise API: Use simple commands like @code{for}, (@code{>->}), @code{await}, | |
9890 | and @code{yield} | |
9891 | @item Blazing fast: Implementation tuned for speed, including shortcut fusion | |
9892 | @item Lightweight Dependency: pipes is small and compiles very rapidly, including | |
9893 | dependencies | |
9894 | @item Elegant semantics: Use practical category theory | |
9895 | @item ListT: Correct implementation of @code{ListT} that interconverts with pipes | |
9896 | @item Bidirectionality: Implement duplex channels | |
9897 | @end itemize") | |
9898 | (license license:bsd-3))) | |
9899 | ||
451775a5 ASM |
9900 | (define-public ghc-pointedlist |
9901 | (package | |
9902 | (name "ghc-pointedlist") | |
9903 | (version "0.6.1") | |
9904 | (source | |
9905 | (origin | |
9906 | (method url-fetch) | |
9907 | (uri (string-append | |
9908 | "https://hackage.haskell.org/package/pointedlist/" | |
9909 | "pointedlist-" version ".tar.gz")) | |
9910 | (sha256 | |
9911 | (base32 | |
9912 | "16xsrzqql7i4z6a3xy07sqnbyqdmcar1jiacla58y4mvkkwb0g3l")))) | |
9913 | (build-system haskell-build-system) | |
9914 | (home-page | |
3ef91e15 | 9915 | "https://hackage.haskell.org/package/pointedlist") |
451775a5 ASM |
9916 | (synopsis |
9917 | "Zipper-like comonad which works as a list, tracking a position") | |
9918 | (description | |
9919 | "A PointedList tracks the position in a non-empty list which works | |
9920 | similarly to a zipper. A current item is always required, and therefore | |
9921 | the list may never be empty. A circular PointedList wraps around to the | |
9922 | other end when progressing past the actual edge.") | |
9923 | (license license:bsd-3))) | |
9924 | ||
dddbc90c RV |
9925 | (define-public ghc-polyparse |
9926 | (package | |
9927 | (name "ghc-polyparse") | |
9822b9ca | 9928 | (version "1.12.1") |
dddbc90c RV |
9929 | (source |
9930 | (origin | |
9931 | (method url-fetch) | |
9932 | (uri (string-append | |
9933 | "https://hackage.haskell.org/package/polyparse/polyparse-" | |
9934 | version | |
9935 | ".tar.gz")) | |
9936 | (sha256 | |
9937 | (base32 | |
9822b9ca | 9938 | "19fs18g7fvfdkm9zy28cgighjcxfa6mcpqgyp6whmsjkb3h393fx")))) |
dddbc90c RV |
9939 | (build-system haskell-build-system) |
9940 | (home-page | |
9941 | "http://code.haskell.org/~malcolm/polyparse/") | |
9942 | (synopsis | |
9943 | "Alternative parser combinator libraries") | |
9944 | (description | |
9945 | "This package provides a variety of alternative parser combinator | |
9946 | libraries, including the original HuttonMeijer set. The Poly sets have | |
9947 | features like good error reporting, arbitrary token type, running state, lazy | |
9948 | parsing, and so on. Finally, Text.Parse is a proposed replacement for the | |
9949 | standard Read class, for better deserialisation of Haskell values from | |
9950 | Strings.") | |
9951 | (license license:lgpl2.1))) | |
9952 | ||
9953 | (define-public ghc-pqueue | |
9954 | (package | |
9955 | (name "ghc-pqueue") | |
142415b0 | 9956 | (version "1.4.1.2") |
dddbc90c RV |
9957 | (source |
9958 | (origin | |
9959 | (method url-fetch) | |
9960 | (uri (string-append "https://hackage.haskell.org/package/" | |
9961 | "pqueue/pqueue-" version ".tar.gz")) | |
9962 | (sha256 | |
9963 | (base32 | |
142415b0 | 9964 | "1v4zhv2sc1zsw91hvnarkjhayx2dnf7ccxz6rrhsqpcs0szaranj")))) |
dddbc90c RV |
9965 | (build-system haskell-build-system) |
9966 | (native-inputs | |
9967 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
9968 | (home-page "https://hackage.haskell.org/package/pqueue") | |
9969 | (synopsis "Reliable, persistent, fast priority queues") | |
9970 | (description | |
9971 | "This package provides a fast, reliable priority queue implementation | |
9972 | based on a binomial heap.") | |
9973 | (license license:bsd-3))) | |
9974 | ||
9975 | (define-public ghc-prelude-extras | |
9976 | (package | |
9977 | (name "ghc-prelude-extras") | |
9978 | (version "0.4.0.3") | |
9979 | (source | |
9980 | (origin | |
9981 | (method url-fetch) | |
9982 | (uri (string-append | |
9983 | "https://hackage.haskell.org/package/prelude-extras/prelude-extras-" | |
9984 | version | |
9985 | ".tar.gz")) | |
9986 | (sha256 | |
9987 | (base32 | |
9988 | "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9")))) | |
9989 | (build-system haskell-build-system) | |
9990 | (home-page "https://github.com/ekmett/prelude-extras") | |
9991 | (synopsis "Higher order versions of Prelude classes") | |
9992 | (description "This library provides higher order versions of | |
9993 | @code{Prelude} classes to ease programming with polymorphic recursion and | |
9994 | reduce @code{UndecidableInstances}.") | |
9995 | (license license:bsd-3))) | |
9996 | ||
9997 | (define-public ghc-prettyclass | |
9998 | (package | |
9999 | (name "ghc-prettyclass") | |
10000 | (version "1.0.0.0") | |
10001 | (source | |
10002 | (origin | |
10003 | (method url-fetch) | |
10004 | (uri (string-append "https://hackage.haskell.org/package/" | |
10005 | "prettyclass/prettyclass-" version ".tar.gz")) | |
10006 | (sha256 | |
10007 | (base32 | |
10008 | "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5")))) | |
10009 | (build-system haskell-build-system) | |
3ef91e15 | 10010 | (home-page "https://hackage.haskell.org/package/prettyclass") |
dddbc90c RV |
10011 | (synopsis "Pretty printing class similar to Show") |
10012 | (description "This package provides a pretty printing class similar | |
10013 | to @code{Show}, based on the HughesPJ pretty printing library. It | |
10014 | provides the pretty printing class and instances for the Prelude | |
10015 | types.") | |
10016 | (license license:bsd-3))) | |
10017 | ||
2fad2bf7 JS |
10018 | (define-public ghc-prettyprinter |
10019 | (package | |
10020 | (name "ghc-prettyprinter") | |
10021 | (version "1.2.1.1") | |
10022 | (source | |
10023 | (origin | |
10024 | (method url-fetch) | |
10025 | (uri (string-append | |
10026 | "mirror://hackage/package/prettyprinter/prettyprinter-" | |
10027 | version | |
10028 | ".tar.gz")) | |
10029 | (sha256 | |
10030 | (base32 "1p9c3q55hba4c0zyxc624g5df7wgsclpsmd8wqpdnmib882q9d1v")))) | |
10031 | (build-system haskell-build-system) | |
10032 | (native-inputs | |
10033 | `(("ghc-doctest" ,ghc-doctest) | |
10034 | ("ghc-pgp-wordlist" ,ghc-pgp-wordlist) | |
10035 | ("ghc-tasty" ,ghc-tasty) | |
10036 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
10037 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
10038 | (home-page "https://github.com/quchen/prettyprinter") | |
10039 | (synopsis | |
10040 | "Modern, easy to use, well-documented, extensible pretty-printer") | |
10041 | (description | |
10042 | "A prettyprinter/text rendering engine. Easy to use, well-documented, | |
10043 | ANSI terminal backend exists, HTML backend is trivial to implement, no name | |
10044 | clashes, @code{Text}-based, extensible.") | |
10045 | (license license:bsd-2))) | |
10046 | ||
2496e49f JS |
10047 | (define-public ghc-prettyprinter-1.6 |
10048 | (package | |
10049 | (inherit ghc-prettyprinter) | |
10050 | (version "1.6.1") | |
10051 | (source | |
10052 | (origin | |
10053 | (method url-fetch) | |
10054 | (uri (string-append | |
10055 | "mirror://hackage/package/prettyprinter/prettyprinter-" | |
10056 | version | |
10057 | ".tar.gz")) | |
10058 | (sha256 | |
10059 | (base32 "10fphxh8lvdaw7i8jyllwmj87w02db92mf99zfw5vddp9mv6b5rz")))) | |
10060 | (inputs | |
10061 | `(("ghc-quickckeck-instances" , ghc-quickcheck-instances) | |
10062 | ,@(package-inputs ghc-prettyprinter))))) | |
10063 | ||
b4f24d66 JS |
10064 | (define-public ghc-prettyprinter-ansi-terminal |
10065 | (package | |
10066 | (name "ghc-prettyprinter-ansi-terminal") | |
10067 | (version "1.1.1.2") | |
10068 | (source | |
10069 | (origin | |
10070 | (method url-fetch) | |
10071 | (uri (string-append | |
10072 | "mirror://hackage/package/prettyprinter-ansi-terminal/" | |
10073 | "prettyprinter-ansi-terminal-" version ".tar.gz")) | |
10074 | (sha256 | |
10075 | (base32 "0ha6vz707qzb5ky7kdsnw2zgphg2dnxrpbrxy8gaw119vwhb9q6k")))) | |
10076 | (build-system haskell-build-system) | |
10077 | (inputs | |
10078 | `(("ghc-ansi-terminal" ,ghc-ansi-terminal) | |
10079 | ("ghc-prettyprinter" ,ghc-prettyprinter-1.6))) | |
10080 | (native-inputs `(("ghc-doctest" ,ghc-doctest))) | |
10081 | (home-page | |
10082 | "https://github.com/quchen/prettyprinter") | |
10083 | (synopsis | |
10084 | "ANSI terminal backend for the prettyprinter package") | |
10085 | (description "ANSI terminal backend for the prettyprinter package.") | |
10086 | (license license:bsd-2))) | |
10087 | ||
dddbc90c RV |
10088 | (define-public ghc-pretty-hex |
10089 | (package | |
10090 | (name "ghc-pretty-hex") | |
10091 | (version "1.0") | |
10092 | (source | |
10093 | (origin | |
10094 | (method url-fetch) | |
10095 | (uri (string-append "https://hackage.haskell.org/package/" | |
10096 | "pretty-hex-" version "/" | |
10097 | "pretty-hex-" version ".tar.gz")) | |
10098 | (sha256 | |
10099 | (base32 | |
10100 | "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz")))) | |
10101 | (build-system haskell-build-system) | |
10102 | (home-page "https://github.com/GaloisInc/hexdump") | |
10103 | (synopsis "Haskell library for hex dumps of ByteStrings") | |
10104 | (description "This Haskell library generates pretty hex dumps of | |
10105 | ByteStrings in the style of other common *nix hex dump tools.") | |
10106 | (license license:bsd-3))) | |
10107 | ||
10108 | (define-public ghc-pretty-show | |
10109 | (package | |
10110 | (name "ghc-pretty-show") | |
7683a084 | 10111 | (version "1.9.5") |
dddbc90c RV |
10112 | (source |
10113 | (origin | |
10114 | (method url-fetch) | |
10115 | (uri (string-append "https://hackage.haskell.org/package/pretty-show/" | |
10116 | "pretty-show-" version ".tar.gz")) | |
10117 | (sha256 | |
10118 | (base32 | |
7683a084 | 10119 | "0gs2pabi4qa4b0r5vffpf9b1cf5n9y2939a3lljjw7cmg6xvx5dh")))) |
dddbc90c RV |
10120 | (build-system haskell-build-system) |
10121 | (inputs | |
10122 | `(("ghc-haskell-lexer" ,ghc-haskell-lexer) | |
10123 | ("ghc-happy" ,ghc-happy))) | |
702a1012 | 10124 | (home-page "https://wiki.github.com/yav/pretty-show") |
dddbc90c RV |
10125 | (synopsis "Tools for working with derived `Show` instances") |
10126 | (description | |
10127 | "This package provides a library and an executable for working with | |
10128 | derived @code{Show} instances. By using the library, derived @code{Show} | |
10129 | instances can be parsed into a generic data structure. The @code{ppsh} tool | |
10130 | uses the library to produce human-readable versions of @code{Show} instances, | |
10131 | which can be quite handy for debugging Haskell programs. We can also render | |
10132 | complex generic values into an interactive Html page, for easier | |
10133 | examination.") | |
10134 | (license license:expat))) | |
10135 | ||
f011e3d6 JS |
10136 | (define-public ghc-pretty-simple |
10137 | (package | |
10138 | (name "ghc-pretty-simple") | |
10139 | (version "2.2.0.1") | |
10140 | (source | |
10141 | (origin | |
10142 | (method url-fetch) | |
10143 | (uri (string-append | |
10144 | "mirror://hackage/package/pretty-simple/" | |
10145 | "pretty-simple-" version ".tar.gz")) | |
10146 | (sha256 | |
10147 | (base32 "0wsi9235ihm15s145lxi7325vv2k4bhighc5m88kn1lk0pl81aqq")))) | |
10148 | (build-system haskell-build-system) | |
10149 | (inputs | |
10150 | `(("ghc-ansi-terminal" ,ghc-ansi-terminal) | |
10151 | ("ghc-glob" ,ghc-glob) | |
10152 | ("ghc-optparse-applicative" ,ghc-optparse-applicative) | |
10153 | ("ghc-aeson" ,ghc-aeson))) | |
10154 | (native-inputs | |
10155 | `(("ghc-doctest" ,ghc-doctest))) | |
10156 | (home-page "https://github.com/cdepillabout/pretty-simple") | |
10157 | (synopsis "Pretty printer for data types with a 'Show' instance") | |
10158 | (description | |
10159 | "Pretty-simple is a pretty printer for Haskell data types that have a | |
10160 | Show instance.") | |
10161 | (license license:bsd-3))) | |
10162 | ||
dddbc90c RV |
10163 | (define-public ghc-primitive |
10164 | (package | |
10165 | (name "ghc-primitive") | |
10166 | (version "0.6.4.0") | |
534d6caa | 10167 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
10168 | (source |
10169 | (origin | |
10170 | (method url-fetch) | |
10171 | (uri (string-append | |
10172 | "https://hackage.haskell.org/package/primitive/primitive-" | |
10173 | version | |
10174 | ".tar.gz")) | |
10175 | (sha256 | |
10176 | (base32 | |
10177 | "0r0cda7acvplgwaxy69kviv4jp7kkfi038by68gj4yfx4iwszgjc")))) | |
10178 | (build-system haskell-build-system) | |
6cf0daa4 TS |
10179 | (arguments |
10180 | `(#:cabal-revision | |
10181 | ("1" "18a14k1yiam1m4l29rin9a0y53yp3nxvkz358nysld8aqwy2qsjv"))) | |
dddbc90c RV |
10182 | (home-page |
10183 | "https://github.com/haskell/primitive") | |
10184 | (synopsis "Primitive memory-related operations") | |
10185 | (description | |
10186 | "This package provides various primitive memory-related operations.") | |
10187 | (license license:bsd-3))) | |
10188 | ||
21f5b9a9 JS |
10189 | (define-public ghc-process-extras |
10190 | (package | |
10191 | (name "ghc-process-extras") | |
10192 | (version "0.7.4") | |
10193 | (source | |
10194 | (origin | |
10195 | (method url-fetch) | |
10196 | (uri | |
10197 | (string-append | |
10198 | "https://hackage.haskell.org/package/process-extras/" | |
10199 | "process-extras-" version ".tar.gz")) | |
10200 | (sha256 | |
10201 | (base32 | |
10202 | "0klqgr37f1z2z6i0a9b0giapmq0p35l5k9kz1p7f0k1597w7agi9")))) | |
10203 | (build-system haskell-build-system) | |
10204 | (inputs | |
10205 | `(("ghc-data-default" ,ghc-data-default) | |
10206 | ("ghc-generic-deriving" ,ghc-generic-deriving) | |
10207 | ("ghc-hunit" ,ghc-hunit) | |
10208 | ("ghc-listlike" ,ghc-listlike))) | |
10209 | (home-page "https://github.com/seereason/process-extras") | |
10210 | (synopsis "Extra tools for managing processes") | |
f74b6983 | 10211 | (description "This package extends |
21f5b9a9 JS |
10212 | @url{http://hackage.haskell.org/package/process}. It allows you to read |
10213 | process input and output as ByteStrings or Text, or write your own | |
10214 | ProcessOutput instance. It also provides lazy process input and output, | |
10215 | and a ProcessMaker class for more flexibility in the process creation | |
10216 | API.") | |
10217 | (license license:expat))) | |
10218 | ||
dddbc90c RV |
10219 | (define-public ghc-profunctors |
10220 | (package | |
10221 | (name "ghc-profunctors") | |
899b5297 | 10222 | (version "5.3") |
dddbc90c RV |
10223 | (source |
10224 | (origin | |
10225 | (method url-fetch) | |
10226 | (uri (string-append | |
10227 | "https://hackage.haskell.org/package/profunctors/profunctors-" | |
10228 | version | |
10229 | ".tar.gz")) | |
10230 | (sha256 | |
10231 | (base32 | |
899b5297 | 10232 | "1dx3nkc27yxsrbrhh3iwhq7dl1xn6bj7n62yx6nh8vmpbg62lqvl")))) |
dddbc90c | 10233 | (build-system haskell-build-system) |
1ad496e5 | 10234 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
10235 | (inputs |
10236 | `(("ghc-base-orphans" ,ghc-base-orphans) | |
10237 | ("ghc-bifunctors" ,ghc-bifunctors) | |
10238 | ("ghc-comonad" ,ghc-comonad) | |
10239 | ("ghc-contravariant" ,ghc-contravariant) | |
10240 | ("ghc-distributive" ,ghc-distributive) | |
10241 | ("ghc-semigroups" ,ghc-semigroups) | |
10242 | ("ghc-tagged" ,ghc-tagged))) | |
10243 | (home-page "https://github.com/ekmett/profunctors/") | |
10244 | (synopsis "Profunctors for Haskell") | |
10245 | (description "This library provides profunctors for Haskell.") | |
10246 | (license license:bsd-3))) | |
10247 | ||
fbe32d46 ASM |
10248 | (define-public ghc-project-template |
10249 | (package | |
10250 | (name "ghc-project-template") | |
10251 | (version "0.2.0.1") | |
10252 | (source | |
10253 | (origin | |
10254 | (method url-fetch) | |
10255 | (uri (string-append | |
10256 | "https://hackage.haskell.org/package/project-template/project-template-" | |
10257 | version ".tar.gz")) | |
10258 | (sha256 | |
10259 | (base32 | |
10260 | "1p69ww4rhah2qxragl615wl4a6mk4x9w09am8knmz3s4lxpljlpb")))) | |
10261 | (build-system haskell-build-system) | |
10262 | (inputs | |
10263 | `(("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
10264 | ("ghc-conduit" ,ghc-conduit) | |
10265 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
10266 | ("ghc-resourcet" ,ghc-resourcet))) | |
10267 | (native-inputs | |
10268 | `(("ghc-hspec" ,ghc-hspec) | |
10269 | ("hspec-discover" ,hspec-discover) | |
10270 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
10271 | (arguments | |
10272 | `(#:cabal-revision | |
10273 | ("1" | |
10274 | "0lq3sqnq0nr0gbvgzp0lqdl3j3mqdmdlf8xsw0j3pjh581xj3k0a"))) | |
10275 | (home-page "https://github.com/fpco/haskell-ide") | |
10276 | (synopsis "Specify Haskell project templates and generate files") | |
10277 | (description | |
10278 | "Haskell library for both generating and consuming project templates. | |
10279 | ||
10280 | ost IDEs provide the concept of a project template: instead of writing all | |
10281 | of the code for a project from scratch, you select a template, answer a few | |
10282 | questions, and a bunch of files are automatically generated. | |
10283 | ||
10284 | project-template tries to provide a canonical Haskell library for implementing | |
10285 | the ideal templating system.") | |
10286 | (license license:bsd-3))) | |
10287 | ||
8a6e745d JS |
10288 | (define-public ghc-protolude |
10289 | (package | |
10290 | (name "ghc-protolude") | |
10291 | (version "0.2.3") | |
10292 | (source | |
10293 | (origin | |
10294 | (method url-fetch) | |
10295 | (uri (string-append | |
10296 | "mirror://hackage/package/protolude/protolude-" | |
10297 | version | |
10298 | ".tar.gz")) | |
10299 | (sha256 | |
10300 | (base32 | |
10301 | "0zzkyxz0vmcbncpid7gp72fpjj0fla3gqhlfkij5c5lg12skjgfj")))) | |
10302 | (build-system haskell-build-system) | |
10303 | (inputs | |
10304 | `(("ghc-async" ,ghc-async) | |
10305 | ("ghc-hashable" ,ghc-hashable) | |
10306 | ("ghc-mtl-compat" ,ghc-mtl-compat) | |
10307 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
10308 | (home-page "https://github.com/protolude/protolude") | |
10309 | (synopsis "Sensible set of defaults for writing custom Preludes") | |
10310 | (description | |
10311 | "Protolude gives you sensible defaults for writing custom Preludes to | |
10312 | replace the standard one provided by GHC.") | |
10313 | (license license:expat))) | |
10314 | ||
cf123e32 MB |
10315 | (define-public ghc-psqueue |
10316 | (package | |
10317 | (name "ghc-psqueue") | |
10318 | (version "1.1.0.1") | |
10319 | (source (origin | |
10320 | (method url-fetch) | |
10321 | (uri (string-append "mirror://hackage/package/PSQueue-" | |
10322 | version "/PSQueue-" version ".tar.gz")) | |
10323 | (sha256 | |
10324 | (base32 | |
10325 | "1cik7sw10sacsijmfhghzy54gm1qcyxw14shlp86lx8z89kcnkza")))) | |
10326 | (build-system haskell-build-system) | |
10327 | (home-page "https://hackage.haskell.org/package/PSQueue") | |
10328 | (synopsis "Priority search queue") | |
10329 | (description | |
10330 | "A @dfn{priority search queue} efficiently supports the operations of | |
10331 | both a search tree and a priority queue. A @code{Binding} is a product of | |
10332 | a key and a priority. Bindings can be inserted, deleted, modified and queried | |
10333 | in logarithmic time, and the binding with the least priority can be retrieved | |
10334 | in constant time. A queue can be built from a list of bindings, sorted by | |
10335 | keys, in linear time.") | |
10336 | (license license:bsd-3))) | |
10337 | ||
dddbc90c RV |
10338 | (define-public ghc-psqueues |
10339 | (package | |
10340 | (name "ghc-psqueues") | |
5d133942 | 10341 | (version "0.2.7.2") |
dddbc90c RV |
10342 | (source |
10343 | (origin | |
10344 | (method url-fetch) | |
10345 | (uri (string-append "https://hackage.haskell.org/package/" | |
10346 | "psqueues-" version "/" | |
10347 | "psqueues-" version ".tar.gz")) | |
10348 | (sha256 | |
10349 | (base32 | |
5d133942 | 10350 | "1yckx2csqswghiy9nfj03cybmza8104nmnpbpcc9ngwlbmakn9i6")))) |
dddbc90c RV |
10351 | (build-system haskell-build-system) |
10352 | (inputs | |
10353 | `(("ghc-hashable" ,ghc-hashable))) | |
10354 | (native-inputs | |
10355 | `(("ghc-hunit" ,ghc-hunit) | |
10356 | ("ghc-quickcheck" ,ghc-quickcheck) | |
10357 | ("ghc-tagged" ,ghc-tagged) | |
5d133942 TS |
10358 | ("ghc-tasty" ,ghc-tasty) |
10359 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
10360 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
dddbc90c RV |
10361 | (home-page "https://github.com/jaspervdj/psqueues") |
10362 | (synopsis "Pure priority search queues") | |
10363 | (description "The psqueues package provides | |
10364 | @uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in | |
10365 | three different flavors: | |
10366 | ||
10367 | @itemize | |
10368 | @item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide | |
10369 | fast insertion, deletion and lookup. This implementation is based on Ralf | |
10370 | Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple | |
10371 | Implementation Technique for Priority Search Queues}. | |
10372 | ||
10373 | Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue, | |
10374 | PSQueue} library, although it is considerably faster and provides a slightly | |
10375 | different API. | |
10376 | ||
10377 | @item @code{IntPSQ p v} is a far more efficient implementation. It fixes the | |
10378 | key type to @code{Int} and uses a | |
10379 | @code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap}) | |
10380 | with an additional min-heap property. | |
10381 | ||
10382 | @item @code{HashPSQ k p v} is a fairly straightforward extension | |
10383 | of @code{IntPSQ}: it simply uses the keys' hashes as indices in the | |
10384 | @code{IntPSQ}. If there are any hash collisions, it uses an | |
10385 | @code{OrdPSQ} to resolve those. The performance of this implementation | |
10386 | is comparable to that of @code{IntPSQ}, but it is more widely | |
10387 | applicable since the keys are not restricted to @code{Int}, | |
10388 | but rather to any @code{Hashable} datatype. | |
10389 | @end itemize | |
10390 | ||
10391 | Each of the three implementations provides the same API, so they can | |
10392 | be used interchangeably. | |
10393 | ||
10394 | Typical applications of Priority Search Queues include: | |
10395 | ||
10396 | @itemize | |
10397 | @item Caches, and more specifically LRU Caches; | |
10398 | @item Schedulers; | |
10399 | @item Pathfinding algorithms, such as Dijkstra's and A*. | |
10400 | @end itemize") | |
10401 | (license license:bsd-3))) | |
b1dbc9f5 ASM |
10402 | |
10403 | (define-public ghc-pwstore-fast | |
10404 | (package | |
10405 | (name "ghc-pwstore-fast") | |
10406 | (version "2.4.4") | |
10407 | (source | |
10408 | (origin | |
10409 | (method url-fetch) | |
10410 | (uri (string-append | |
10411 | "https://hackage.haskell.org/package/pwstore-fast/" | |
10412 | "pwstore-fast-" version ".tar.gz")) | |
10413 | (sha256 | |
10414 | (base32 | |
10415 | "1cpvlwzg3qznhygrr78f75p65mnljd9v5cvnagfxjqppnrkay6bj")))) | |
10416 | (build-system haskell-build-system) | |
10417 | (inputs | |
10418 | `(("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
10419 | ("ghc-cryptohash" ,ghc-cryptohash) | |
10420 | ("ghc-random" ,ghc-random) | |
10421 | ("ghc-byteable" ,ghc-byteable))) | |
10422 | (home-page "https://github.com/PeterScott/pwstore") | |
10423 | (synopsis "Secure password storage") | |
10424 | (description | |
10425 | "To store passwords securely, they should be salted, then hashed with | |
10426 | a slow hash function. This library uses PBKDF1-SHA256, and handles all the | |
10427 | details. It uses the cryptohash package for speed; if you need a pure | |
10428 | Haskell library, pwstore-purehaskell has the exact same API, but uses only | |
10429 | pure Haskell. It is about 25 times slower than this package, but still quite | |
10430 | usable.") | |
10431 | (license license:bsd-3))) | |
dddbc90c RV |
10432 | |
10433 | (define-public ghc-random | |
10434 | (package | |
10435 | (name "ghc-random") | |
10436 | (version "1.1") | |
534d6caa | 10437 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
10438 | (source |
10439 | (origin | |
10440 | (method url-fetch) | |
10441 | (uri (string-append | |
10442 | "https://hackage.haskell.org/package/random/random-" | |
10443 | version | |
10444 | ".tar.gz")) | |
10445 | (sha256 | |
10446 | (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p")))) | |
10447 | (build-system haskell-build-system) | |
10448 | (home-page "https://hackage.haskell.org/package/random") | |
10449 | (synopsis "Random number library") | |
10450 | (description "This package provides a basic random number generation | |
10451 | library, including the ability to split random number generators.") | |
10452 | (license license:bsd-3))) | |
10453 | ||
10454 | (define-public ghc-raw-strings-qq | |
10455 | (package | |
10456 | (name "ghc-raw-strings-qq") | |
10457 | (version "1.1") | |
10458 | (source | |
10459 | (origin | |
10460 | (method url-fetch) | |
10461 | (uri (string-append "https://hackage.haskell.org/package/" | |
10462 | "raw-strings-qq/raw-strings-qq-" | |
10463 | version ".tar.gz")) | |
10464 | (sha256 | |
10465 | (base32 | |
10466 | "1lxy1wy3awf52968iy5y9r5z4qgnn2sxkdrh7js3m9gadb11w09f")))) | |
10467 | (build-system haskell-build-system) | |
10468 | (native-inputs `(("ghc-hunit" ,ghc-hunit))) | |
10469 | (home-page "https://github.com/23Skidoo/raw-strings-qq") | |
10470 | (synopsis "Raw string literals for Haskell") | |
10471 | (description | |
10472 | "This package provides a quasiquoter for raw string literals, i.e. string | |
10473 | literals that don't recognise the standard escape sequences. Basically, they | |
10474 | make your code more readable by freeing you from the responsibility to escape | |
10475 | backslashes. They are useful when working with regular expressions, | |
10476 | DOS/Windows paths and markup languages (such as XML).") | |
10477 | (license license:bsd-3))) | |
10478 | ||
10479 | (define-public ghc-readable | |
10480 | (package | |
10481 | (name "ghc-readable") | |
10482 | (version "0.3.1") | |
10483 | (source | |
10484 | (origin | |
10485 | (method url-fetch) | |
10486 | (uri (string-append "https://hackage.haskell.org/package/" | |
10487 | "readable/readable-" version ".tar.gz")) | |
10488 | (sha256 | |
10489 | (base32 | |
10490 | "1ja39cg26wy2fs00gi12x7iq5k8i366pbqi3p916skfa5jnkfc3h")))) | |
10491 | (build-system haskell-build-system) | |
10492 | (home-page "https://github.com/mightybyte/readable") | |
10493 | (synopsis "Type class for reading from Text and ByteString") | |
10494 | (description "This package provides a @code{Readable} type class for | |
10495 | reading data types from @code{ByteString} and @code{Text}. It also | |
10496 | includes efficient implementations for common data types.") | |
10497 | (license license:bsd-3))) | |
10498 | ||
10499 | (define-public ghc-rebase | |
10500 | (package | |
10501 | (name "ghc-rebase") | |
8d2ae3fe | 10502 | (version "1.3.1.1") |
dddbc90c RV |
10503 | (source |
10504 | (origin | |
10505 | (method url-fetch) | |
10506 | (uri (string-append "https://hackage.haskell.org/package/" | |
10507 | "rebase-" version "/" | |
10508 | "rebase-" version ".tar.gz")) | |
10509 | (sha256 | |
10510 | (base32 | |
8d2ae3fe | 10511 | "0q4m2fa7wkgxs0grir8rlqwibasmi3s1x7c107ynndwfm62nzv0a")))) |
dddbc90c | 10512 | (build-system haskell-build-system) |
e396e936 | 10513 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
10514 | (inputs `(("ghc-hashable" ,ghc-hashable) |
10515 | ("ghc-vector" ,ghc-vector) | |
10516 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
10517 | ("ghc-scientific" ,ghc-scientific) | |
10518 | ("ghc-uuid" ,ghc-uuid) | |
10519 | ("ghc-dlist" ,ghc-dlist) | |
10520 | ("ghc-void" ,ghc-void) | |
10521 | ("ghc-bifunctors" ,ghc-bifunctors) | |
10522 | ("ghc-profunctors" ,ghc-profunctors) | |
10523 | ("ghc-contravariant" ,ghc-contravariant) | |
10524 | ("ghc-contravariant-extras" ,ghc-contravariant-extras) | |
10525 | ("ghc-semigroups" ,ghc-semigroups) | |
10526 | ("ghc-either" ,ghc-either) | |
10527 | ("ghc-fail" ,ghc-fail) | |
10528 | ("ghc-base-prelude" ,ghc-base-prelude))) | |
10529 | (home-page "https://github.com/nikita-volkov/rebase") | |
10530 | (synopsis "Progressive alternative to the base package | |
10531 | for Haskell") | |
10532 | (description "This Haskell package is intended for those who are | |
10533 | tired of keeping long lists of dependencies to the same essential libraries | |
10534 | in each package as well as the endless imports of the same APIs all over again. | |
10535 | ||
10536 | It also supports the modern tendencies in the language. | |
10537 | ||
10538 | To solve those problems this package does the following: | |
10539 | ||
10540 | @itemize | |
10541 | @item Reexport the original APIs under the @code{Rebase} namespace. | |
10542 | ||
10543 | @item Export all the possible non-conflicting symbols from the | |
10544 | @code{Rebase.Prelude} module. | |
10545 | ||
10546 | @item Give priority to the modern practices in the conflicting cases. | |
10547 | @end itemize | |
10548 | ||
10549 | The policy behind the package is only to reexport the non-ambiguous and | |
10550 | non-controversial APIs, which the community has obviously settled on. | |
10551 | The package is intended to rapidly evolve with the contribution from | |
10552 | the community, with the missing features being added with pull-requests.") | |
10553 | (license license:expat))) | |
10554 | ||
10555 | (define-public ghc-reducers | |
10556 | (package | |
10557 | (name "ghc-reducers") | |
10558 | (version "3.12.3") | |
10559 | (source | |
10560 | (origin | |
10561 | (method url-fetch) | |
10562 | (uri (string-append | |
10563 | "https://hackage.haskell.org/package/reducers/reducers-" | |
10564 | version | |
10565 | ".tar.gz")) | |
10566 | (sha256 | |
10567 | (base32 | |
10568 | "09wf8pl9ycglcv6qj5ba26gkg2s5iy81hsx9xp0q8na0cwvp71ki")))) | |
10569 | (build-system haskell-build-system) | |
10570 | (inputs | |
10571 | `(("ghc-fingertree" ,ghc-fingertree) | |
10572 | ("ghc-hashable" ,ghc-hashable) | |
10573 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
10574 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
10575 | ("ghc-semigroups" ,ghc-semigroups))) | |
10576 | (home-page "https://github.com/ekmett/reducers/") | |
10577 | (synopsis "Semigroups, specialized containers and a general map/reduce framework") | |
10578 | (description "This library provides various semigroups, specialized | |
10579 | containers and a general map/reduce framework for Haskell.") | |
10580 | (license license:bsd-3))) | |
10581 | ||
10582 | (define-public ghc-refact | |
10583 | (package | |
10584 | (name "ghc-refact") | |
10585 | (version "0.3.0.2") | |
10586 | (source | |
10587 | (origin | |
10588 | (method url-fetch) | |
10589 | (uri (string-append "https://hackage.haskell.org/package/" | |
10590 | "refact/refact-" | |
10591 | version ".tar.gz")) | |
10592 | (sha256 | |
10593 | (base32 | |
10594 | "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a")))) | |
10595 | (build-system haskell-build-system) | |
3ef91e15 | 10596 | (home-page "https://hackage.haskell.org/package/refact") |
dddbc90c RV |
10597 | (synopsis "Specify refactorings to perform with apply-refact") |
10598 | (description | |
10599 | "This library provides a datatype which can be interpreted by | |
10600 | @code{apply-refact}. It exists as a separate library so that applications can | |
10601 | specify refactorings without depending on GHC.") | |
10602 | (license license:bsd-3))) | |
10603 | ||
10604 | (define-public ghc-reflection | |
10605 | (package | |
10606 | (name "ghc-reflection") | |
d215f1cc | 10607 | (version "2.1.5") |
dddbc90c RV |
10608 | (source |
10609 | (origin | |
10610 | (method url-fetch) | |
10611 | (uri (string-append | |
10612 | "https://hackage.haskell.org/package/reflection/reflection-" | |
10613 | version | |
10614 | ".tar.gz")) | |
10615 | (sha256 | |
10616 | (base32 | |
d215f1cc | 10617 | "0xr947nj1vww5b8fwqmypxm3y3j5sxl4z8wnf834f83jzfzyjbi7")))) |
dddbc90c RV |
10618 | (build-system haskell-build-system) |
10619 | (inputs `(("ghc-tagged" ,ghc-tagged))) | |
d215f1cc TS |
10620 | (native-inputs |
10621 | `(("ghc-hspec" ,ghc-hspec) | |
10622 | ("ghc-quickcheck" ,ghc-quickcheck) | |
10623 | ("hspec-discover" ,hspec-discover))) | |
dddbc90c RV |
10624 | (home-page "https://github.com/ekmett/reflection") |
10625 | (synopsis "Reify arbitrary terms into types that can be reflected back | |
10626 | into terms") | |
10627 | (description "This package addresses the 'configuration problem' which is | |
10628 | propagating configurations that are available at run-time, allowing multiple | |
10629 | configurations to coexist without resorting to mutable global variables or | |
10630 | @code{System.IO.Unsafe.unsafePerformIO}.") | |
10631 | (license license:bsd-3))) | |
10632 | ||
10633 | (define-public ghc-regex | |
10634 | (package | |
10635 | (name "ghc-regex") | |
b9a5e634 | 10636 | (version "1.0.2.0") |
dddbc90c RV |
10637 | (source |
10638 | (origin | |
10639 | (method url-fetch) | |
10640 | (uri (string-append "https://hackage.haskell.org/package/regex/" | |
10641 | "regex-" version ".tar.gz")) | |
10642 | (sha256 | |
10643 | (base32 | |
b9a5e634 | 10644 | "1f2z025hif1fr24b5khq3qxxyvpxrnhyx8xmbms332arw28rpkda")))) |
dddbc90c RV |
10645 | (build-system haskell-build-system) |
10646 | (arguments | |
10647 | `(#:phases | |
10648 | (modify-phases %standard-phases | |
10649 | (add-after 'unpack 'relax-dependencies | |
10650 | (lambda _ | |
10651 | (substitute* "regex.cabal" | |
10652 | (("base-compat.*>=.*0.6.*") | |
10653 | "base-compat >= 0.6\n") | |
10654 | (("template-haskell.*>=.*2.7.*") | |
10655 | "template-haskell >= 2.7\n")) | |
10656 | #t))))) | |
10657 | (inputs | |
10658 | `(("ghc-base-compat" ,ghc-base-compat) | |
10659 | ("ghc-hashable" ,ghc-hashable) | |
10660 | ("ghc-regex-base" ,ghc-regex-base) | |
10661 | ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin) | |
10662 | ("ghc-regex-tdfa" ,ghc-regex-tdfa) | |
10663 | ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text) | |
10664 | ("ghc-time-locale-compat" ,ghc-time-locale-compat) | |
10665 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
10666 | ("ghc-utf8-string" ,ghc-utf8-string))) | |
10667 | (home-page "http://regex.uk") | |
10668 | (synopsis "Toolkit for regex-base") | |
10669 | (description | |
10670 | "This package provides a regular expression toolkit for @code{regex-base} | |
10671 | with compile-time checking of regular expression syntax, data types for | |
10672 | matches and captures, a text replacement toolkit, portable options, high-level | |
10673 | AWK-like tools for building text processing apps, regular expression macros | |
10674 | with parsers and test bench, comprehensive documentation, tutorials and | |
10675 | copious examples.") | |
10676 | (license license:bsd-3))) | |
10677 | ||
10678 | (define-public ghc-regex-applicative | |
10679 | (package | |
10680 | (name "ghc-regex-applicative") | |
30f60e42 | 10681 | (version "0.3.3.1") |
dddbc90c RV |
10682 | (source |
10683 | (origin | |
10684 | (method url-fetch) | |
10685 | (uri (string-append | |
10686 | "https://hackage.haskell.org/package/regex-applicative/" | |
10687 | "regex-applicative-" version ".tar.gz")) | |
10688 | (sha256 | |
10689 | (base32 | |
30f60e42 | 10690 | "0p0anx5vamrhrdvviwkh2zn6pa3pv2bjb7nfyc7dvz2q7g14y1lg")))) |
dddbc90c RV |
10691 | (build-system haskell-build-system) |
10692 | (inputs | |
10693 | `(("ghc-smallcheck" ,ghc-smallcheck) | |
10694 | ("ghc-tasty" ,ghc-tasty) | |
10695 | ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck) | |
10696 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
10697 | (home-page "https://github.com/feuerbach/regex-applicative") | |
10698 | (synopsis "Regex-based parsing with applicative interface") | |
10699 | (description | |
10700 | "@code{regex-applicative} is a Haskell library for parsing using | |
10701 | regular expressions. Parsers can be built using Applicative interface.") | |
10702 | (license license:expat))) | |
10703 | ||
10704 | (define-public ghc-regex-base | |
10705 | (package | |
10706 | (name "ghc-regex-base") | |
10707 | (version "0.93.2") | |
10708 | (source | |
10709 | (origin | |
10710 | (method url-fetch) | |
10711 | (uri (string-append | |
10712 | "https://hackage.haskell.org/package/regex-base/regex-base-" | |
10713 | version | |
10714 | ".tar.gz")) | |
10715 | (sha256 | |
10716 | (base32 | |
10717 | "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10")))) | |
10718 | (build-system haskell-build-system) | |
10719 | (home-page | |
10720 | "https://sourceforge.net/projects/lazy-regex") | |
10721 | (synopsis "Replaces/Enhances Text.Regex") | |
10722 | (description "@code{Text.Regex.Base} provides the interface API for | |
10723 | regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.") | |
10724 | (license license:bsd-3))) | |
10725 | ||
10726 | (define-public ghc-regex-compat | |
10727 | (package | |
10728 | (name "ghc-regex-compat") | |
10729 | (version "0.95.1") | |
10730 | (source | |
10731 | (origin | |
10732 | (method url-fetch) | |
10733 | (uri (string-append | |
10734 | "https://hackage.haskell.org/package/regex-compat/regex-compat-" | |
10735 | version | |
10736 | ".tar.gz")) | |
10737 | (sha256 | |
10738 | (base32 | |
10739 | "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m")))) | |
10740 | (build-system haskell-build-system) | |
10741 | (inputs | |
10742 | `(("ghc-regex-base" ,ghc-regex-base) | |
10743 | ("ghc-regex-posix" ,ghc-regex-posix))) | |
10744 | (home-page "https://sourceforge.net/projects/lazy-regex") | |
10745 | (synopsis "Replaces/Enhances Text.Regex") | |
10746 | (description "This library provides one module layer over | |
10747 | @code{regex-posix} to replace @code{Text.Regex}.") | |
10748 | (license license:bsd-3))) | |
10749 | ||
10750 | (define-public ghc-regex-compat-tdfa | |
10751 | (package | |
10752 | (name "ghc-regex-compat-tdfa") | |
10753 | (version "0.95.1.4") | |
10754 | (source | |
10755 | (origin | |
10756 | (method url-fetch) | |
10757 | (uri (string-append | |
10758 | "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-" | |
10759 | version ".tar.gz")) | |
10760 | (sha256 | |
10761 | (base32 | |
10762 | "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg")))) | |
10763 | (build-system haskell-build-system) | |
10764 | (inputs | |
10765 | `(("ghc-regex-base" ,ghc-regex-base) | |
10766 | ("ghc-regex-tdfa" ,ghc-regex-tdfa))) | |
10767 | (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa") | |
10768 | (synopsis "Unicode Support version of Text.Regex, using regex-tdfa") | |
10769 | (description | |
10770 | "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}. | |
10771 | @code{regex-compat} can't use Unicode characters correctly because of using regex-posix. | |
10772 | This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve | |
10773 | this problem.") | |
10774 | (license license:bsd-3))) | |
10775 | ||
ddd79836 MB |
10776 | (define-public ghc-regex-pcre |
10777 | (package | |
10778 | (name "ghc-regex-pcre") | |
10779 | (version "0.94.4") | |
10780 | (source (origin | |
10781 | (method url-fetch) | |
10782 | (uri (string-append "https://hackage.haskell.org/package/" | |
10783 | "regex-pcre/regex-pcre-" version ".tar.gz")) | |
10784 | (sha256 | |
10785 | (base32 | |
10786 | "1h16w994g9s62iwkdqa7bar2n9cfixmkzz2rm8svm960qr57valf")))) | |
10787 | (build-system haskell-build-system) | |
991ca499 TS |
10788 | (arguments |
10789 | `(#:extra-directories ("pcre"))) | |
ddd79836 MB |
10790 | (inputs |
10791 | `(("ghc-regex-base" ,ghc-regex-base) | |
10792 | ("pcre" ,pcre))) | |
10793 | (home-page "https://hackage.haskell.org/package/regex-pcre") | |
10794 | (synopsis "Enhancement of the builtin Text.Regex library") | |
10795 | (description | |
10796 | "This package is an enhancement of the @code{Text.Regex} library. | |
10797 | It wraps the @code{PCRE} C library providing Perl-compatible regular | |
10798 | expressions.") | |
10799 | (license license:bsd-3))) | |
10800 | ||
dddbc90c RV |
10801 | (define-public ghc-regex-pcre-builtin |
10802 | (package | |
10803 | (name "ghc-regex-pcre-builtin") | |
ee946143 | 10804 | (version "0.94.5.8.8.35") |
dddbc90c RV |
10805 | (source (origin |
10806 | (method url-fetch) | |
10807 | (uri (string-append "https://hackage.haskell.org/package/" | |
10808 | "regex-pcre-builtin/regex-pcre-builtin-" | |
10809 | version ".tar.gz")) | |
10810 | (sha256 | |
10811 | (base32 | |
ee946143 | 10812 | "1s755qdg1mxrf125sh83bsc5kjkrj8fkq8wf6dg1jan86c7p7gl4")))) |
dddbc90c RV |
10813 | (build-system haskell-build-system) |
10814 | (inputs | |
10815 | `(("ghc-regex-base" ,ghc-regex-base))) | |
4723766b | 10816 | (home-page "https://hackage.haskell.org/package/regex-pcre-builtin") |
dddbc90c RV |
10817 | (synopsis "Enhancement of the builtin Text.Regex library") |
10818 | (description | |
10819 | "This package is an enhancement of the @code{Text.Regex} library, | |
10820 | providing the PCRE backend to accompany regex-base, with bundled code from | |
10821 | @url{https://www.pcre.org}.") | |
10822 | (license license:bsd-3))) | |
10823 | ||
10824 | (define-public ghc-regex-posix | |
10825 | (package | |
10826 | (name "ghc-regex-posix") | |
10827 | (version "0.95.2") | |
10828 | (source | |
10829 | (origin | |
10830 | (method url-fetch) | |
10831 | (uri (string-append | |
10832 | "https://hackage.haskell.org/package/regex-posix/regex-posix-" | |
10833 | version | |
10834 | ".tar.gz")) | |
10835 | (sha256 | |
10836 | (base32 | |
10837 | "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an")))) | |
10838 | (build-system haskell-build-system) | |
10839 | (inputs | |
10840 | `(("ghc-regex-base" ,ghc-regex-base))) | |
10841 | (home-page "https://sourceforge.net/projects/lazy-regex") | |
10842 | (synopsis "POSIX regular expressions for Haskell") | |
10843 | (description "This library provides the POSIX regex backend used by the | |
10844 | Haskell library @code{regex-base}.") | |
10845 | (license license:bsd-3))) | |
10846 | ||
10847 | (define-public ghc-regex-tdfa | |
10848 | (package | |
10849 | (name "ghc-regex-tdfa") | |
ce684db0 | 10850 | (version "1.2.3.2") |
dddbc90c RV |
10851 | (source |
10852 | (origin | |
10853 | (method url-fetch) | |
10854 | (uri (string-append | |
10855 | "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-" | |
10856 | version ".tar.gz")) | |
10857 | (sha256 | |
10858 | (base32 | |
ce684db0 | 10859 | "03yhpqrqz977nwlnhnyz9dacnbzw8xb6j18h365rkgmbc05sb3hf")))) |
dddbc90c | 10860 | (build-system haskell-build-system) |
54c8209e | 10861 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
10862 | (inputs |
10863 | `(("ghc-regex-base" ,ghc-regex-base))) | |
90b74c6f | 10864 | (home-page "https://github.com/haskell-hvr/regex-tdfa") |
dddbc90c RV |
10865 | (synopsis "POSIX extended regular expressions in Haskell.") |
10866 | (description | |
10867 | "Regex-tdfa is a pure Haskell regular expression library implementing POSIX | |
10868 | extended regular expressions. It is a \"tagged\" DFA regex engine. It is | |
10869 | inspired by libtre.") | |
10870 | (license license:bsd-3))) | |
10871 | ||
10872 | (define-public ghc-regex-tdfa-text | |
10873 | (package | |
10874 | (name "ghc-regex-tdfa-text") | |
10875 | (version "1.0.0.3") | |
10876 | (source | |
10877 | (origin | |
10878 | (method url-fetch) | |
10879 | (uri (string-append | |
10880 | "https://hackage.haskell.org/package/regex-tdfa-text/" | |
10881 | "regex-tdfa-text-" version ".tar.gz")) | |
10882 | (sha256 | |
10883 | (base32 | |
10884 | "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq")))) | |
10885 | (build-system haskell-build-system) | |
10886 | (inputs | |
10887 | `(("ghc-regex-base" ,ghc-regex-base) | |
10888 | ("ghc-regex-tdfa" ,ghc-regex-tdfa))) | |
10889 | (home-page | |
3ef91e15 | 10890 | "https://hackage.haskell.org/package/regex-tdfa-text") |
dddbc90c RV |
10891 | (synopsis "Text interface for regex-tdfa") |
10892 | (description | |
10893 | "This provides an extra text interface for regex-tdfa.") | |
10894 | (license license:bsd-3))) | |
10895 | ||
798a2df4 JS |
10896 | (define-public ghc-repline |
10897 | (package | |
10898 | (name "ghc-repline") | |
10899 | (version "0.2.0.0") | |
10900 | (source | |
10901 | (origin | |
10902 | (method url-fetch) | |
10903 | (uri (string-append | |
10904 | "mirror://hackage/package/repline/repline-" | |
10905 | version | |
10906 | ".tar.gz")) | |
10907 | (sha256 | |
10908 | (base32 | |
10909 | "1ph21kbbanlcs8n5lwk16g9vqkb98mkbz5mzwrp8j2rls2921izc")))) | |
10910 | (build-system haskell-build-system) | |
10911 | (home-page "https://github.com/sdiehl/repline") | |
10912 | (synopsis "Haskeline wrapper for GHCi-like REPL interfaces") | |
10913 | (description | |
10914 | "Haskeline wrapper for GHCi-like REPL interfaces. Composable with | |
10915 | normal mtl transformers.") | |
10916 | (license license:expat))) | |
10917 | ||
6c0858dd JS |
10918 | (define-public ghc-repline-0.3 |
10919 | (package | |
10920 | (inherit ghc-repline) | |
10921 | (version "0.3.0.0") | |
10922 | (source | |
10923 | (origin | |
10924 | (method url-fetch) | |
10925 | (uri (string-append | |
10926 | "mirror://hackage/package/repline/repline-" | |
10927 | version | |
10928 | ".tar.gz")) | |
10929 | (sha256 | |
10930 | (base32 | |
10931 | "0niihfyggg2qisadg7w49cr5k5qyyynia93iip0ng2bbmzwi88g8")))) | |
10932 | (inputs | |
10933 | `(("ghc-exceptions" ,ghc-exceptions) | |
10934 | ("ghc-haskeline" ,ghc-haskeline-0.8))))) | |
10935 | ||
dddbc90c RV |
10936 | (define-public ghc-rerebase |
10937 | (package | |
10938 | (name "ghc-rerebase") | |
cdec7b8c | 10939 | (version "1.3.1.1") |
dddbc90c RV |
10940 | (source |
10941 | (origin | |
10942 | (method url-fetch) | |
10943 | (uri (string-append | |
10944 | "https://hackage.haskell.org/package/rerebase/rerebase-" | |
10945 | version ".tar.gz")) | |
10946 | (sha256 | |
10947 | (base32 | |
cdec7b8c | 10948 | "1jbqif6k249rkknm2zwk8v8jil3kgi9ar53358v8l4ffx346rm82")))) |
dddbc90c | 10949 | (build-system haskell-build-system) |
af2f91ec | 10950 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
10951 | (inputs |
10952 | `(("ghc-rebase" ,ghc-rebase))) | |
10953 | (home-page "https://github.com/nikita-volkov/rerebase") | |
10954 | (synopsis "Reexports from ``base'' with many other standard libraries") | |
10955 | (description "A rich drop-in replacement for @code{base}. For details and | |
10956 | documentation please visit @uref{https://github.com/nikita-volkov/rerebase, | |
10957 | the project's home page}.") | |
10958 | (license license:expat))) | |
10959 | ||
10960 | (define-public ghc-resolv | |
10961 | (package | |
10962 | (name "ghc-resolv") | |
87309478 | 10963 | (version "0.1.1.2") |
dddbc90c RV |
10964 | (source |
10965 | (origin | |
10966 | (method url-fetch) | |
10967 | (uri (string-append | |
10968 | "https://hackage.haskell.org/package/resolv/resolv-" | |
10969 | version ".tar.gz")) | |
10970 | (sha256 | |
10971 | (base32 | |
87309478 | 10972 | "0wczdy3vmpfcfwjn1m95bygc5d83m97xxmavhdvy5ayn8c402fp4")))) |
dddbc90c RV |
10973 | (build-system haskell-build-system) |
10974 | (arguments | |
87309478 TS |
10975 | `(#:phases |
10976 | (modify-phases %standard-phases | |
10977 | (add-before 'configure 'update-constraints | |
10978 | (lambda _ | |
10979 | (substitute* "resolv.cabal" | |
10980 | (("tasty >= 1\\.1 && < 1\\.2") | |
10981 | "tasty >= 1.1 && < 1.3")) | |
10982 | #t))))) | |
dddbc90c RV |
10983 | (inputs |
10984 | `(("ghc-base16-bytestring" ,ghc-base16-bytestring))) | |
87309478 TS |
10985 | (native-inputs |
10986 | `(("ghc-tasty" ,ghc-tasty) | |
10987 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
dddbc90c RV |
10988 | (home-page "https://github.com/haskell/hackage-security") |
10989 | (synopsis "Domain Name Service (DNS) lookup via @code{libresolv}") | |
10990 | (description "This package implements an API for accessing the | |
10991 | @uref{https://tools.ietf.org/html/rfc1035, Domain Name Service (DNS)} | |
10992 | resolver service via the standard @code{libresolv} system library (whose | |
10993 | API is often available directly via the standard @code{libc} C library) on | |
10994 | Unix systems.") | |
10995 | (license license:gpl3))) | |
10996 | ||
10997 | (define-public ghc-resource-pool | |
10998 | (package | |
10999 | (name "ghc-resource-pool") | |
11000 | (version "0.2.3.2") | |
11001 | (source | |
11002 | (origin | |
11003 | (method url-fetch) | |
11004 | (uri (string-append "https://hackage.haskell.org/package/" | |
11005 | "resource-pool-" version "/" | |
11006 | "resource-pool-" version ".tar.gz")) | |
11007 | (sha256 | |
11008 | (base32 | |
11009 | "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6")))) | |
11010 | (build-system haskell-build-system) | |
11011 | (inputs `(("ghc-hashable" ,ghc-hashable) | |
11012 | ("ghc-monad-control" ,ghc-monad-control) | |
11013 | ("ghc-transformers-base" ,ghc-transformers-base) | |
11014 | ("ghc-vector" ,ghc-vector))) | |
11015 | (home-page "https://github.com/bos/pool") | |
11016 | (synopsis "Striped resource pooling implementation in Haskell") | |
11017 | (description "This Haskell package provides striped pooling abstraction | |
11018 | for managing flexibly-sized collections of resources such as database | |
11019 | connections.") | |
11020 | (license license:bsd-3))) | |
11021 | ||
11022 | (define-public ghc-resourcet | |
11023 | (package | |
11024 | (name "ghc-resourcet") | |
9ac341ac | 11025 | (version "1.2.2") |
dddbc90c RV |
11026 | (source |
11027 | (origin | |
11028 | (method url-fetch) | |
11029 | (uri (string-append "https://hackage.haskell.org/package/resourcet/" | |
11030 | "resourcet-" version ".tar.gz")) | |
11031 | (sha256 | |
11032 | (base32 | |
9ac341ac | 11033 | "1rfbfcv3r1h29y0yqr3x6a1s04lbc3vzm3jqnfg4f9rqp9d448qk")))) |
dddbc90c RV |
11034 | (build-system haskell-build-system) |
11035 | (inputs | |
11036 | `(("ghc-transformers-base" ,ghc-transformers-base) | |
11037 | ("ghc-monad-control" ,ghc-monad-control) | |
11038 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
11039 | ("ghc-mmorph" ,ghc-mmorph) | |
11040 | ("ghc-exceptions" ,ghc-exceptions) | |
11041 | ("ghc-unliftio-core" ,ghc-unliftio-core))) | |
11042 | (native-inputs | |
11043 | `(("ghc-lifted-base" ,ghc-lifted-base) | |
11044 | ("ghc-hspec" ,ghc-hspec))) | |
11045 | (home-page "https://github.com/snoyberg/conduit") | |
11046 | (synopsis "Deterministic allocation and freeing of scarce resources") | |
11047 | (description "ResourceT is a monad transformer which creates a region of | |
11048 | code where you can safely allocate resources.") | |
11049 | (license license:bsd-3))) | |
11050 | ||
b9debc37 TS |
11051 | (define-public ghc-retry |
11052 | (package | |
11053 | (name "ghc-retry") | |
11054 | (version "0.8.1.0") | |
11055 | (source | |
11056 | (origin | |
11057 | (method url-fetch) | |
11058 | (uri (string-append "https://hackage.haskell.org/package/" | |
11059 | "retry/retry-" version ".tar.gz")) | |
11060 | (sha256 | |
11061 | (base32 | |
11062 | "02k03r86amg1vbrsvb644342ym13d9jwkzki9sk93pdg5l8j35dj")))) | |
11063 | (build-system haskell-build-system) | |
11064 | (inputs | |
11065 | `(("ghc-exceptions" ,ghc-exceptions) | |
11066 | ("ghc-random" ,ghc-random))) | |
11067 | (native-inputs | |
11068 | `(("ghc-hunit" ,ghc-hunit) | |
11069 | ("ghc-tasty" ,ghc-tasty) | |
11070 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
11071 | ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog) | |
11072 | ("ghc-hedgehog" ,ghc-hedgehog))) | |
702a1012 | 11073 | (home-page "https://github.com/Soostone/retry") |
b9debc37 TS |
11074 | (synopsis "Retry combinators for monadic actions that may fail") |
11075 | (description "This package exposes combinators that can wrap | |
11076 | arbitrary monadic actions. They run the action and potentially retry | |
11077 | running it with some configurable delay for a configurable number of | |
11078 | times. The purpose is to make it easier to work with IO and especially | |
11079 | network IO actions that often experience temporary failure and warrant | |
11080 | retrying of the original action. For example, a database query may time | |
11081 | out for a while, in which case we should hang back for a bit and retry | |
11082 | the query instead of simply raising an exception.") | |
11083 | (license license:bsd-3))) | |
11084 | ||
dddbc90c RV |
11085 | (define-public ghc-rfc5051 |
11086 | (package | |
11087 | (name "ghc-rfc5051") | |
ec42ab7c | 11088 | (version "0.1.0.4") |
dddbc90c RV |
11089 | (source |
11090 | (origin | |
11091 | (method url-fetch) | |
11092 | (uri (string-append "https://hackage.haskell.org/package/rfc5051/" | |
11093 | "rfc5051-" version ".tar.gz")) | |
11094 | (sha256 | |
11095 | (base32 | |
ec42ab7c | 11096 | "1lxkq414ni986ciml4gbvf463fn55z299knky7pq3ixb1qislpb1")))) |
dddbc90c RV |
11097 | (build-system haskell-build-system) |
11098 | (home-page "https://hackage.haskell.org/package/rfc5051") | |
11099 | (synopsis "Simple unicode collation as per RFC5051") | |
11100 | (description | |
11101 | "This library implements @code{unicode-casemap}, the simple, non | |
11102 | locale-sensitive unicode collation algorithm described in RFC 5051. Proper | |
11103 | unicode collation can be done using @code{text-icu}, but that is a big | |
11104 | dependency that depends on a large C library, and @code{rfc5051} might be | |
11105 | better for some purposes.") | |
11106 | (license license:bsd-3))) | |
11107 | ||
11108 | (define-public ghc-rio | |
11109 | (package | |
11110 | (name "ghc-rio") | |
8bda2fa7 | 11111 | (version "0.1.12.0") |
dddbc90c RV |
11112 | (source |
11113 | (origin | |
11114 | (method url-fetch) | |
11115 | (uri (string-append | |
11116 | "https://hackage.haskell.org/package/rio/rio-" | |
11117 | version ".tar.gz")) | |
11118 | (sha256 | |
11119 | (base32 | |
8bda2fa7 | 11120 | "0xzjkh6aavynpyskikhs8dmv0zhkiqiwz9zdn80zbd25b2182pif")))) |
dddbc90c RV |
11121 | (build-system haskell-build-system) |
11122 | (inputs | |
11123 | `(("ghc-exceptions" ,ghc-exceptions) | |
11124 | ("ghc-hashable" ,ghc-hashable) | |
11125 | ("ghc-microlens" ,ghc-microlens) | |
11126 | ("ghc-primitive" ,ghc-primitive) | |
11127 | ("ghc-typed-process" ,ghc-typed-process) | |
11128 | ("ghc-unliftio" ,ghc-unliftio) | |
11129 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
11130 | ("ghc-vector" ,ghc-vector))) | |
11131 | (native-inputs | |
11132 | `(("ghc-hspec" ,ghc-hspec) | |
11133 | ("hspec-discover" ,hspec-discover))) | |
11134 | (home-page "https://github.com/commercialhaskell/rio#readme") | |
11135 | (synopsis "A standard library for Haskell") | |
11136 | (description "This package works as a prelude replacement for Haskell, | |
11137 | providing more functionality and types out of the box than the standard | |
11138 | prelude (such as common data types like @code{ByteString} and | |
11139 | @code{Text}), as well as removing common ``gotchas'', like partial | |
11140 | functions and lazy I/O. The guiding principle here is: | |
11141 | @itemize | |
11142 | @item If something is safe to use in general and has no expected naming | |
11143 | conflicts, expose it. | |
11144 | @item If something should not always be used, or has naming conflicts, | |
11145 | expose it from another module in the hierarchy. | |
11146 | @end itemize") | |
11147 | (license license:expat))) | |
11148 | ||
11149 | (define-public ghc-safe | |
11150 | (package | |
11151 | (name "ghc-safe") | |
11152 | (version "0.3.17") | |
11153 | (source | |
11154 | (origin | |
11155 | (method url-fetch) | |
11156 | (uri (string-append | |
11157 | "https://hackage.haskell.org/package/safe/safe-" | |
11158 | version | |
11159 | ".tar.gz")) | |
11160 | (sha256 | |
11161 | (base32 | |
11162 | "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr")))) | |
11163 | (build-system haskell-build-system) | |
11164 | (native-inputs | |
11165 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
11166 | (home-page "https://github.com/ndmitchell/safe#readme") | |
11167 | (synopsis "Library of safe (exception free) functions") | |
11168 | (description "This library provides wrappers around @code{Prelude} and | |
11169 | @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw | |
11170 | exceptions.") | |
11171 | (license license:bsd-3))) | |
11172 | ||
11173 | (define-public ghc-safe-exceptions | |
11174 | (package | |
11175 | (name "ghc-safe-exceptions") | |
11176 | (version "0.1.7.0") | |
11177 | (source | |
11178 | (origin | |
11179 | (method url-fetch) | |
11180 | (uri (string-append "https://hackage.haskell.org/package/" | |
11181 | "safe-exceptions/safe-exceptions-" | |
11182 | version ".tar.gz")) | |
11183 | (sha256 | |
11184 | (base32 | |
11185 | "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q")))) | |
11186 | (build-system haskell-build-system) | |
11187 | (arguments | |
11188 | '(#:cabal-revision | |
11189 | ("4" "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32"))) | |
11190 | (inputs `(("ghc-exceptions" ,ghc-exceptions))) | |
11191 | (native-inputs | |
11192 | `(("ghc-hspec" ,ghc-hspec) | |
11193 | ("ghc-void" ,ghc-void) | |
11194 | ("hspec-discover" ,hspec-discover))) | |
11195 | (home-page "https://github.com/fpco/safe-exceptions") | |
11196 | (synopsis "Safe, consistent, and easy exception handling") | |
11197 | (description "Runtime exceptions - as exposed in @code{base} by the | |
11198 | @code{Control.Exception} module - have long been an intimidating part of the | |
11199 | Haskell ecosystem. This package is intended to overcome this. It provides a | |
11200 | safe and simple API on top of the existing exception handling machinery. The | |
11201 | API is equivalent to the underlying implementation in terms of power but | |
11202 | encourages best practices to minimize the chances of getting the exception | |
11203 | handling wrong.") | |
11204 | (license license:expat))) | |
11205 | ||
11206 | (define-public ghc-safeio | |
11207 | (package | |
11208 | (name "ghc-safeio") | |
11209 | (version "0.0.5.0") | |
11210 | (source | |
11211 | (origin | |
11212 | (method url-fetch) | |
11213 | (uri (string-append "https://hackage.haskell.org/package/safeio/" | |
11214 | "safeio-" version ".tar.gz")) | |
11215 | (sha256 | |
11216 | (base32 | |
11217 | "04g3070cbjdqj0h9l9ii6470xcbn40xfv4fr89a8yvnkdim9nyfm")))) | |
11218 | (build-system haskell-build-system) | |
11219 | (inputs | |
11220 | `(("ghc-conduit" ,ghc-conduit) | |
11221 | ("ghc-conduit-combinators" ,ghc-conduit-combinators) | |
11222 | ("ghc-exceptions" ,ghc-exceptions) | |
11223 | ("ghc-resourcet" ,ghc-resourcet))) | |
11224 | (native-inputs | |
11225 | `(("ghc-hunit" ,ghc-hunit) | |
11226 | ("ghc-test-framework" ,ghc-test-framework) | |
11227 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
11228 | ("ghc-test-framework-th" ,ghc-test-framework-th))) | |
11229 | (home-page "https://github.com/luispedro/safeio") | |
11230 | (synopsis "Write output to disk atomically") | |
11231 | (description | |
11232 | "This package implements utilities to perform atomic output so as to | |
11233 | avoid the problem of partial intermediate files.") | |
11234 | (license license:expat))) | |
11235 | ||
11236 | (define-public ghc-safesemaphore | |
11237 | (package | |
11238 | (name "ghc-safesemaphore") | |
11239 | (version "0.10.1") | |
11240 | (source | |
11241 | (origin | |
11242 | (method url-fetch) | |
11243 | (uri (string-append "https://hackage.haskell.org/package/" | |
11244 | "SafeSemaphore/SafeSemaphore-" version ".tar.gz")) | |
11245 | (sha256 | |
11246 | (base32 | |
11247 | "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91")))) | |
11248 | (build-system haskell-build-system) | |
11249 | (native-inputs | |
11250 | `(("ghc-hunit" ,ghc-hunit))) | |
11251 | (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore") | |
11252 | (synopsis "Exception safe semaphores") | |
11253 | (description "This library provides exception safe semaphores that can be | |
11254 | used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which | |
11255 | are not exception safe and can be broken by @code{killThread}.") | |
11256 | (license license:bsd-3))) | |
11257 | ||
11258 | (define-public ghc-sandi | |
11259 | (package | |
11260 | (name "ghc-sandi") | |
b867c2b0 | 11261 | (version "0.5") |
dddbc90c RV |
11262 | (source |
11263 | (origin | |
11264 | (method url-fetch) | |
11265 | (uri (string-append | |
11266 | "https://hackage.haskell.org/package/sandi/sandi-" | |
11267 | version ".tar.gz")) | |
11268 | (sha256 | |
11269 | (base32 | |
b867c2b0 | 11270 | "1ndgai8idlxyccvkz5zsgq06v58blc30i6hkky5b1sf5x6gs2h29")))) |
dddbc90c RV |
11271 | (build-system haskell-build-system) |
11272 | (inputs | |
11273 | `(("ghc-stringsearch" ,ghc-stringsearch) | |
11274 | ("ghc-conduit" ,ghc-conduit) | |
11275 | ("ghc-exceptions" ,ghc-exceptions) | |
11276 | ("ghc-hunit" ,ghc-hunit) | |
11277 | ("ghc-tasty" ,ghc-tasty) | |
11278 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
11279 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
11280 | ("ghc-tasty-th" ,ghc-tasty-th))) | |
11281 | (home-page "https://hackage.haskell.org/package/sandi") | |
11282 | (synopsis "Data encoding library") | |
11283 | (description "Reasonably fast data encoding library.") | |
11284 | (license license:bsd-3))) | |
11285 | ||
4da75228 ASM |
11286 | (define-public ghc-say |
11287 | (package | |
11288 | (name "ghc-say") | |
11289 | (version "0.1.0.1") | |
11290 | (source | |
11291 | (origin | |
11292 | (method url-fetch) | |
11293 | (uri (string-append | |
11294 | "https://hackage.haskell.org/package/say/say-" | |
11295 | version | |
11296 | ".tar.gz")) | |
11297 | (sha256 | |
11298 | (base32 | |
11299 | "1r5kffjfwpas45g74sip8glrj1m9nygrnxjm7xgw898rq9pnafgn")))) | |
11300 | (build-system haskell-build-system) | |
11301 | (native-inputs | |
11302 | `(("ghc-hspec" ,ghc-hspec) | |
11303 | ("hspec-discover" ,hspec-discover) | |
11304 | ("ghc-unliftio" ,ghc-unliftio))) | |
11305 | (home-page "https://github.com/fpco/say") | |
11306 | (synopsis | |
11307 | "Send textual messages to a Handle in a thread-friendly way") | |
11308 | (description | |
11309 | "A thread safe API to write a line of textual data to a Handle, such | |
11310 | as sending some messages to the terminal - that has the following properties: | |
11311 | @itemize | |
11312 | @item Properly handle character encoding settings on the Handle | |
11313 | @item For reasonably sized messages, ensure that the entire message is written | |
11314 | in one chunk to avoid interleaving data with other threads | |
11315 | @item Avoid unnecessary memory allocations and copies | |
11316 | @item Minimize locking. | |
11317 | @end itemize") | |
11318 | (license license:expat))) | |
11319 | ||
dddbc90c RV |
11320 | (define-public ghc-scientific |
11321 | (package | |
11322 | (name "ghc-scientific") | |
11323 | (version "0.3.6.2") | |
11324 | (source | |
11325 | (origin | |
11326 | (method url-fetch) | |
11327 | (uri (string-append | |
11328 | "https://hackage.haskell.org/package/scientific/scientific-" | |
11329 | version | |
11330 | ".tar.gz")) | |
11331 | (sha256 | |
11332 | (base32 | |
11333 | "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397")))) | |
11334 | (build-system haskell-build-system) | |
11335 | (inputs | |
11336 | `(("ghc-integer-logarithms" ,ghc-integer-logarithms) | |
11337 | ("ghc-hashable" ,ghc-hashable) | |
11338 | ("ghc-primitive" ,ghc-primitive))) | |
11339 | (native-inputs | |
11340 | `(("ghc-tasty" ,ghc-tasty) | |
11341 | ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml) | |
11342 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
11343 | ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck) | |
11344 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
11345 | ("ghc-smallcheck" ,ghc-smallcheck) | |
11346 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
11347 | (home-page "https://github.com/basvandijk/scientific") | |
11348 | (synopsis "Numbers represented using scientific notation") | |
11349 | (description "This package provides @code{Data.Scientific}, which provides | |
11350 | the number type @code{Scientific}. Scientific numbers are arbitrary precision | |
11351 | and space efficient. They are represented using | |
11352 | @uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific | |
11353 | notation}.") | |
11354 | (license license:bsd-3))) | |
11355 | ||
11356 | (define-public ghc-scientific-bootstrap | |
11357 | (package | |
11358 | (inherit ghc-scientific) | |
11359 | (name "ghc-scientific-bootstrap") | |
11360 | (arguments `(#:tests? #f)) | |
11361 | (inputs | |
11362 | `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap) | |
11363 | ("ghc-hashable" ,ghc-hashable) | |
11364 | ("ghc-primitive" ,ghc-primitive))) | |
11365 | (native-inputs '()) | |
799d8d3c | 11366 | (properties '((hidden? #t))))) |
dddbc90c RV |
11367 | |
11368 | (define-public ghc-sdl | |
11369 | (package | |
11370 | (name "ghc-sdl") | |
11371 | (version "0.6.7.0") | |
11372 | (source | |
11373 | (origin | |
11374 | (method url-fetch) | |
11375 | (uri (string-append | |
11376 | "https://hackage.haskell.org/package/SDL/SDL-" | |
11377 | version | |
11378 | ".tar.gz")) | |
11379 | (sha256 | |
11380 | (base32 | |
11381 | "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq")))) | |
11382 | (build-system haskell-build-system) | |
11383 | (inputs | |
11384 | `(("sdl" ,sdl))) | |
11385 | (home-page "https://hackage.haskell.org/package/SDL") | |
11386 | (synopsis "LibSDL for Haskell") | |
11387 | (description "Simple DirectMedia Layer (libSDL) is a cross-platform | |
11388 | multimedia library designed to provide low level access to audio, keyboard, | |
11389 | mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used | |
11390 | by MPEG playback software, emulators, and many popular games, including the | |
11391 | award winning Linux port of \"Civilization: Call To Power.\"") | |
11392 | (license license:bsd-3))) | |
11393 | ||
1874cdc1 RV |
11394 | (define-public ghc-sdl2 |
11395 | (package | |
11396 | (name "ghc-sdl2") | |
145148ca | 11397 | (version "2.5.0.0") |
1874cdc1 RV |
11398 | (source |
11399 | (origin | |
11400 | (method url-fetch) | |
11401 | (uri (string-append "https://hackage.haskell.org/package/" | |
11402 | "sdl2/sdl2-" version ".tar.gz")) | |
11403 | (sha256 | |
11404 | (base32 | |
145148ca | 11405 | "1x368yhdd55b3cvx8dvj1sj6nzygzigbhrwhssjs4k0rcxlwqfw8")))) |
1874cdc1 RV |
11406 | (build-system haskell-build-system) |
11407 | (arguments '(#:tests? #f)) ; tests require graphical environment | |
11408 | (inputs | |
11409 | `(("ghc-exceptions" ,ghc-exceptions) | |
11410 | ("ghc-linear" ,ghc-linear) | |
11411 | ("ghc-statevar" ,ghc-statevar) | |
11412 | ("ghc-vector" ,ghc-vector) | |
11413 | ("sdl2" ,sdl2))) | |
11414 | (native-inputs | |
11415 | `(("ghc-weigh" ,ghc-weigh) | |
11416 | ("pkg-config" ,pkg-config))) | |
35437dbf | 11417 | (home-page "https://hackage.haskell.org/package/sdl2") |
1874cdc1 RV |
11418 | (synopsis "High- and low-level bindings to the SDL library") |
11419 | (description | |
11420 | "This package contains bindings to the SDL 2 library, in both high- and | |
11421 | low-level forms. The @code{SDL} namespace contains high-level bindings, where | |
11422 | enumerations are split into sum types, and we perform automatic | |
11423 | error-checking. The @code{SDL.Raw} namespace contains an almost 1-1 | |
11424 | translation of the C API into Haskell FFI calls. As such, this does not | |
11425 | contain sum types nor error checking. Thus this namespace is suitable for | |
11426 | building your own abstraction over SDL, but is not recommended for day-to-day | |
11427 | programming.") | |
11428 | (license license:bsd-3))) | |
11429 | ||
11430 | (define-public ghc-sdl2-image | |
11431 | (package | |
11432 | (name "ghc-sdl2-image") | |
11433 | (version "2.0.0") | |
11434 | (source | |
11435 | (origin | |
11436 | (method url-fetch) | |
11437 | (uri (string-append "https://hackage.haskell.org/package/sdl2-image/" | |
11438 | "sdl2-image-" version ".tar.gz")) | |
11439 | (sha256 | |
11440 | (base32 | |
11441 | "1pr6dkg73cy9z0w54lrkj9c5bhxj56nl92lxikjy8kz6nyr455rr")))) | |
11442 | (build-system haskell-build-system) | |
11443 | (inputs | |
11444 | `(("ghc-sdl2" ,ghc-sdl2) | |
11445 | ("sdl2-image" ,sdl2-image))) | |
11446 | (native-inputs | |
11447 | `(("pkg-config" ,pkg-config))) | |
3ef91e15 | 11448 | (home-page "https://hackage.haskell.org/package/sdl2-image") |
1874cdc1 RV |
11449 | (synopsis "Bindings to SDL2_image") |
11450 | (description "This package provides Haskell bindings to | |
11451 | @code{SDL2_image}.") | |
11452 | (license license:expat))) | |
11453 | ||
11454 | (define-public ghc-sdl2-mixer | |
11455 | (package | |
11456 | (name "ghc-sdl2-mixer") | |
11457 | (version "1.1.0") | |
11458 | (source | |
11459 | (origin | |
11460 | (method url-fetch) | |
11461 | (uri (string-append "https://hackage.haskell.org/package/sdl2-mixer/" | |
11462 | "sdl2-mixer-" version ".tar.gz")) | |
11463 | (sha256 | |
11464 | (base32 | |
11465 | "1k8avyccq5l9z7bwxigim312yaancxl1sr3q6a96bcm7pnhiak0g")))) | |
11466 | (build-system haskell-build-system) | |
11467 | (inputs | |
11468 | `(("ghc-data-default-class" ,ghc-data-default-class) | |
11469 | ("ghc-lifted-base" ,ghc-lifted-base) | |
11470 | ("ghc-monad-control" ,ghc-monad-control) | |
11471 | ("ghc-sdl2" ,ghc-sdl2) | |
11472 | ("ghc-vector" ,ghc-vector) | |
11473 | ("sdl2-mixer" ,sdl2-mixer))) | |
11474 | (native-inputs | |
11475 | `(("pkg-config" ,pkg-config))) | |
3ef91e15 | 11476 | (home-page "https://hackage.haskell.org/package/sdl2-mixer") |
1874cdc1 RV |
11477 | (synopsis "Bindings to SDL2 mixer") |
11478 | (description "This package provides Haskell bindings to | |
11479 | @code{SDL2_mixer}.") | |
11480 | (license license:bsd-3))) | |
11481 | ||
dddbc90c RV |
11482 | (define-public ghc-sdl-image |
11483 | (package | |
11484 | (name "ghc-sdl-image") | |
11485 | (version "0.6.2.0") | |
11486 | (source | |
11487 | (origin | |
11488 | (method url-fetch) | |
11489 | (uri (string-append | |
11490 | "https://hackage.haskell.org/package/SDL-image/SDL-image-" | |
11491 | version | |
11492 | ".tar.gz")) | |
11493 | (sha256 | |
11494 | (base32 | |
11495 | "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1")))) | |
11496 | (build-system haskell-build-system) | |
11497 | (arguments | |
11498 | `(#:configure-flags | |
11499 | (let* ((sdl-image (assoc-ref %build-inputs "sdl-image")) | |
11500 | (sdl-image-include (string-append sdl-image "/include/SDL"))) | |
11501 | (list (string-append "--extra-include-dirs=" sdl-image-include))))) | |
11502 | (inputs | |
11503 | `(("ghc-sdl" ,ghc-sdl) | |
11504 | ("sdl-image" ,sdl-image))) | |
11505 | (home-page "https://hackage.haskell.org/package/SDL-image") | |
11506 | (synopsis "Haskell bindings to libSDL_image") | |
11507 | (description "SDL_image is an image file loading library. It loads images | |
11508 | as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX, | |
11509 | PNG, PNM, TGA, TIFF, XCF, XPM, XV.") | |
11510 | (license license:bsd-3))) | |
11511 | ||
11512 | (define-public ghc-sdl-mixer | |
11513 | (package | |
11514 | (name "ghc-sdl-mixer") | |
11515 | (version "0.6.3.0") | |
11516 | (source | |
11517 | (origin | |
11518 | (method url-fetch) | |
11519 | (uri (string-append | |
11520 | "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-" | |
11521 | version | |
11522 | ".tar.gz")) | |
11523 | (sha256 | |
11524 | (base32 | |
11525 | "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r")))) | |
11526 | (build-system haskell-build-system) | |
11527 | (arguments | |
11528 | `(#:configure-flags | |
11529 | (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer")) | |
11530 | (sdl-mixer-include (string-append sdl-mixer "/include/SDL"))) | |
11531 | (list (string-append "--extra-include-dirs=" sdl-mixer-include))))) | |
11532 | (inputs | |
11533 | `(("ghc-sdl" ,ghc-sdl) | |
11534 | ("sdl-mixer" ,sdl-mixer))) | |
11535 | (home-page "https://hackage.haskell.org/package/SDL-mixer") | |
11536 | (synopsis "Haskell bindings to libSDL_mixer") | |
11537 | (description "SDL_mixer is a sample multi-channel audio mixer library. It | |
11538 | supports any number of simultaneously playing channels of 16 bit stereo audio, | |
11539 | plus a single channel of music, mixed by the popular MikMod MOD, Timidity | |
11540 | MIDI, Ogg Vorbis, and SMPEG MP3 libraries.") | |
11541 | (license license:bsd-3))) | |
11542 | ||
11543 | (define-public ghc-securemem | |
11544 | (package | |
11545 | (name "ghc-securemem") | |
11546 | (version "0.1.10") | |
11547 | (source | |
11548 | (origin | |
11549 | (method url-fetch) | |
11550 | (uri (string-append "https://hackage.haskell.org/package/" | |
11551 | "securemem-" version "/" | |
11552 | "securemem-" version ".tar.gz")) | |
11553 | (sha256 | |
11554 | (base32 | |
11555 | "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j")))) | |
11556 | (build-system haskell-build-system) | |
11557 | (inputs `(("ghc-byteable" ,ghc-byteable) | |
11558 | ("ghc-memory" ,ghc-memory))) | |
11559 | (home-page "https://github.com/vincenthz/hs-securemem") | |
11560 | (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for | |
11561 | Haskell") | |
11562 | (description "SecureMem is similar to ByteString, except that it provides | |
11563 | a memory chunk that will be auto-scrubbed after it run out of scope.") | |
11564 | (license license:bsd-3))) | |
11565 | ||
3cf7219c JS |
11566 | (define-public ghc-semialign |
11567 | (package | |
11568 | (name "ghc-semialign") | |
11569 | (version "1") | |
11570 | (source | |
11571 | (origin | |
11572 | (method url-fetch) | |
11573 | (uri (string-append | |
11574 | "https://hackage.haskell.org/package/semialign/semialign-" | |
11575 | version | |
11576 | ".tar.gz")) | |
11577 | (sha256 | |
11578 | (base32 | |
11579 | "004x0a80sqqdgvsyk4z0nasxpi6z3g1d8kgwj804bj9ka8dlc75m")))) | |
11580 | (build-system haskell-build-system) | |
11581 | (inputs | |
11582 | `(("ghc-these" ,ghc-these) | |
11583 | ("ghc-base-compat" ,ghc-base-compat) | |
11584 | ("ghc-hashable" ,ghc-hashable) | |
11585 | ("ghc-tagged" ,ghc-tagged) | |
11586 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
11587 | ("ghc-vector" ,ghc-vector) | |
11588 | ("ghc-semigroupoids" ,ghc-semigroupoids))) | |
11589 | (arguments | |
11590 | `(#:cabal-revision | |
11591 | ("1" | |
11592 | "0qnqnyfng4kwy2h2anrcy5id2ijnawava3zcc5h5b8ri1y6ks6zi"))) | |
11593 | (home-page | |
11594 | "https://github.com/isomorphism/these") | |
11595 | (synopsis | |
11596 | "Align and Zip type-classes from the common Semialign ancestor ") | |
11597 | (description | |
11598 | "The major use of @code{These} of this is provided by the | |
11599 | @code{align} member of @code{Semialign} class, representing a | |
11600 | generalized notion of \"zipping with padding\" that combines | |
11601 | structures without truncating to the size of the smaller input. It | |
11602 | turns out that @code{zip} operation fits well the @code{Semialign} | |
11603 | class, forming lattice-like structure.") | |
11604 | (license license:bsd-3))) | |
11605 | ||
dddbc90c RV |
11606 | (define-public ghc-semigroupoids |
11607 | (package | |
11608 | (name "ghc-semigroupoids") | |
a8aaadf2 | 11609 | (version "5.3.3") |
dddbc90c RV |
11610 | (source |
11611 | (origin | |
11612 | (method url-fetch) | |
11613 | (uri (string-append | |
11614 | "https://hackage.haskell.org/package/semigroupoids/semigroupoids-" | |
11615 | version | |
11616 | ".tar.gz")) | |
11617 | (sha256 | |
11618 | (base32 | |
a8aaadf2 | 11619 | "016hc4imr9l4szs3p7f1aahvxr5wv4clvr3qzrm3nibssg5vrs61")))) |
dddbc90c | 11620 | (build-system haskell-build-system) |
95eb946b | 11621 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
11622 | (inputs |
11623 | `(("ghc-base-orphans" ,ghc-base-orphans) | |
11624 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
11625 | ("ghc-bifunctors" ,ghc-bifunctors) | |
11626 | ("ghc-comonad" ,ghc-comonad) | |
11627 | ("ghc-contravariant" ,ghc-contravariant) | |
11628 | ("ghc-distributive" ,ghc-distributive) | |
11629 | ("ghc-hashable" ,ghc-hashable) | |
11630 | ("ghc-semigroups" ,ghc-semigroups) | |
11631 | ("ghc-tagged" ,ghc-tagged) | |
11632 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
11633 | (native-inputs | |
11634 | `(("cabal-doctest" ,cabal-doctest) | |
11635 | ("ghc-doctest" ,ghc-doctest))) | |
11636 | (home-page "https://github.com/ekmett/semigroupoids") | |
11637 | (synopsis "Semigroupoids operations for Haskell") | |
11638 | (description "This library provides a wide array of (semi)groupoids and | |
11639 | operations for working with them. A @code{Semigroupoid} is a @code{Category} | |
11640 | without the requirement of identity arrows for every object in the category. | |
11641 | A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds. | |
11642 | Finally, to work with these weaker structures it is beneficial to have | |
11643 | containers that can provide stronger guarantees about their contents, so | |
11644 | versions of @code{Traversable} and @code{Foldable} that can be folded with | |
11645 | just a @code{Semigroup} are added.") | |
11646 | (license license:bsd-3))) | |
11647 | ||
11648 | (define-public ghc-semigroups | |
11649 | (package | |
11650 | (name "ghc-semigroups") | |
11651 | (version "0.18.5") | |
11652 | (source | |
11653 | (origin | |
11654 | (method url-fetch) | |
11655 | (uri (string-append | |
11656 | "https://hackage.haskell.org/package/semigroups/semigroups-" | |
11657 | version | |
11658 | ".tar.gz")) | |
11659 | (sha256 | |
11660 | (base32 | |
11661 | "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb")))) | |
11662 | (build-system haskell-build-system) | |
11663 | (inputs | |
11664 | `(("ghc-nats" ,ghc-nats) | |
11665 | ("ghc-tagged" ,ghc-tagged) | |
11666 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
11667 | ("ghc-hashable" ,ghc-hashable))) | |
11668 | (home-page "https://github.com/ekmett/semigroups/") | |
11669 | (synopsis "Semigroup operations for Haskell") | |
11670 | (description "This package provides semigroups for Haskell. In | |
11671 | mathematics, a semigroup is an algebraic structure consisting of a set | |
11672 | together with an associative binary operation. A semigroup generalizes a | |
11673 | monoid in that there might not exist an identity element. It | |
11674 | also (originally) generalized a group (a monoid with all inverses) to a type | |
11675 | where every element did not have to have an inverse, thus the name | |
11676 | semigroup.") | |
11677 | (license license:bsd-3))) | |
11678 | ||
11679 | (define-public ghc-semigroups-bootstrap | |
11680 | (package | |
11681 | (inherit ghc-semigroups) | |
11682 | (name "ghc-semigroups-bootstrap") | |
11683 | (inputs | |
11684 | `(("ghc-nats" ,ghc-nats-bootstrap) | |
11685 | ("ghc-tagged" ,ghc-tagged) | |
11686 | ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap) | |
11687 | ("ghc-hashable" ,ghc-hashable-bootstrap))) | |
799d8d3c | 11688 | (properties '((hidden? #t))))) |
dddbc90c | 11689 | |
47c526df JS |
11690 | (define-public ghc-serialise |
11691 | (package | |
11692 | (name "ghc-serialise") | |
11693 | (version "0.2.1.0") | |
11694 | (source | |
11695 | (origin | |
11696 | (method url-fetch) | |
11697 | (uri (string-append | |
11698 | "mirror://hackage/package/serialise/serialise-" | |
11699 | version | |
11700 | ".tar.gz")) | |
11701 | (sha256 | |
11702 | (base32 | |
11703 | "19ary6ivzk8z7wcxhm860qmh7pwqj0qjqzav1h42y85l608zqgh4")))) | |
11704 | (build-system haskell-build-system) | |
11705 | (inputs | |
11706 | `(("ghc-cborg" ,ghc-cborg) | |
11707 | ("ghc-half" ,ghc-half) | |
11708 | ("ghc-hashable" ,ghc-hashable) | |
11709 | ("ghc-primitive" ,ghc-primitive) | |
11710 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
11711 | ("ghc-vector" ,ghc-vector))) | |
11712 | (native-inputs | |
11713 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
11714 | ("ghc-tasty" ,ghc-tasty) | |
11715 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
11716 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
11717 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances))) | |
11718 | (arguments | |
11719 | `(#:cabal-revision | |
11720 | ("1" "1rknhad1i8bpknsnphmcmb6dnb48c2p2c13ia2qqch3hkhsvfpr6"))) | |
11721 | (home-page "https://github.com/well-typed/cborg") | |
11722 | (synopsis "Binary serialisation library for Haskell values") | |
11723 | (description | |
11724 | "This package (formerly binary-serialise-cbor) provides pure, | |
11725 | efficient serialization of Haskell values directly into ByteStrings for | |
11726 | storage or transmission purposes. By providing a set of type class instances, | |
11727 | you can also serialise any custom data type you have as well. | |
11728 | ||
11729 | The underlying binary format used is the 'Concise Binary Object | |
11730 | Representation', or CBOR, specified in RFC 7049. As a result, serialised | |
11731 | Haskell values have implicit structure outside of the Haskell program itself, | |
11732 | meaning they can be inspected or analyzed without custom tools. | |
11733 | ||
11734 | An implementation of the standard bijection between CBOR and JSON is | |
11735 | provided by the https://hackage.haskell.org/package/cborg-json | |
11736 | package. Also see https://hackage.haskell.org/package/cbor-tool for a | |
11737 | convenient command-line utility for working with CBOR data.") | |
11738 | (license license:bsd-3))) | |
11739 | ||
dddbc90c RV |
11740 | (define-public ghc-setenv |
11741 | (package | |
11742 | (name "ghc-setenv") | |
11743 | (version "0.1.1.3") | |
11744 | (source | |
11745 | (origin | |
11746 | (method url-fetch) | |
11747 | (uri (string-append | |
11748 | "https://hackage.haskell.org/package/setenv/setenv-" | |
11749 | version | |
11750 | ".tar.gz")) | |
11751 | (sha256 | |
11752 | (base32 | |
11753 | "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73")))) | |
11754 | (build-system haskell-build-system) | |
11755 | (home-page "https://hackage.haskell.org/package/setenv") | |
11756 | (synopsis "Library for setting environment variables") | |
11757 | (description "This package provides a Haskell library for setting | |
11758 | environment variables.") | |
11759 | (license license:expat))) | |
11760 | ||
11761 | (define-public ghc-setlocale | |
11762 | (package | |
11763 | (name "ghc-setlocale") | |
9d7cfc9b | 11764 | (version "1.0.0.9") |
dddbc90c RV |
11765 | (source (origin |
11766 | (method url-fetch) | |
11767 | (uri (string-append | |
11768 | "https://hackage.haskell.org/package/setlocale-" | |
11769 | version "/setlocale-" version ".tar.gz")) | |
11770 | (sha256 | |
11771 | (base32 | |
9d7cfc9b | 11772 | "18b6xafspzxrmz5m9r9nzy3z053crqi59xc8n8aqd4gw0pvqdcrv")))) |
dddbc90c RV |
11773 | (build-system haskell-build-system) |
11774 | (home-page "https://hackage.haskell.org/package/setlocale") | |
11775 | (synopsis "Haskell bindings to setlocale") | |
11776 | (description "This package provides Haskell bindings to the | |
11777 | @code{setlocale} C function.") | |
11778 | (license license:bsd-3))) | |
11779 | ||
11780 | (define-public ghc-shakespeare | |
11781 | (package | |
11782 | (name "ghc-shakespeare") | |
f680955f | 11783 | (version "2.0.22") |
dddbc90c RV |
11784 | (source |
11785 | (origin | |
11786 | (method url-fetch) | |
11787 | (uri (string-append "https://hackage.haskell.org/package/" | |
11788 | "shakespeare-" version "/" | |
11789 | "shakespeare-" version ".tar.gz")) | |
11790 | (sha256 | |
11791 | (base32 | |
f680955f | 11792 | "1mc1a0vv070gcawwcx6vzpj6gpfh1qnlqrndiyfic3p500y656vh")))) |
dddbc90c RV |
11793 | (build-system haskell-build-system) |
11794 | (inputs `(("ghc-aeson" ,ghc-aeson) | |
11795 | ("ghc-blaze-markup" ,ghc-blaze-markup) | |
11796 | ("ghc-blaze-html" ,ghc-blaze-html) | |
11797 | ("ghc-exceptions" ,ghc-exceptions) | |
11798 | ("ghc-vector" ,ghc-vector) | |
11799 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
11800 | ("ghc-scientific" ,ghc-scientific))) | |
11801 | (native-inputs `(("ghc-hspec" ,ghc-hspec) | |
11802 | ("ghc-hunit" ,ghc-hunit) | |
11803 | ("hspec-discover" ,hspec-discover))) | |
11804 | (home-page "https://www.yesodweb.com/book/shakespearean-templates") | |
11805 | (synopsis "Family of type-safe template languages for Haskell") | |
11806 | (description "This Haskell package provides a family of type-safe | |
11807 | templates with simple variable interpolation. Shakespeare templates can | |
11808 | be used inline with a quasi-quoter or in an external file and it | |
11809 | interpolates variables according to the type being inserted.") | |
11810 | (license license:expat))) | |
11811 | ||
11812 | (define-public ghc-shelly | |
11813 | (package | |
11814 | (name "ghc-shelly") | |
11815 | (version "1.8.1") | |
11816 | (source | |
11817 | (origin | |
11818 | (method url-fetch) | |
11819 | (uri (string-append | |
11820 | "https://hackage.haskell.org/package/shelly/shelly-" | |
11821 | version ".tar.gz")) | |
11822 | (sha256 | |
11823 | (base32 | |
11824 | "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y")))) | |
11825 | (build-system haskell-build-system) | |
11826 | (inputs | |
11827 | `(("ghc-unix-compat" ,ghc-unix-compat) | |
11828 | ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap) | |
11829 | ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap) | |
11830 | ("ghc-monad-control" ,ghc-monad-control) | |
11831 | ("ghc-lifted-base" ,ghc-lifted-base) | |
11832 | ("ghc-lifted-async" ,ghc-lifted-async) | |
11833 | ("ghc-exceptions" ,ghc-exceptions) | |
11834 | ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions) | |
11835 | ("ghc-async" ,ghc-async) | |
11836 | ("ghc-transformers-base" ,ghc-transformers-base) | |
11837 | ("ghc-hunit" ,ghc-hunit) | |
11838 | ("ghc-hspec" ,ghc-hspec) | |
11839 | ("ghc-hspec-contrib" ,ghc-hspec-contrib))) | |
11840 | (home-page "https://github.com/yesodweb/Shelly.hs") | |
11841 | (synopsis "Shell-like (systems) programming in Haskell") | |
11842 | (description | |
11843 | "Shelly provides convenient systems programming in Haskell, similar in | |
11844 | spirit to POSIX shells. Shelly is originally forked from the Shellish package.") | |
11845 | (license license:bsd-3))) | |
11846 | ||
11847 | (define-public ghc-silently | |
11848 | (package | |
11849 | (name "ghc-silently") | |
544bb369 | 11850 | (version "1.2.5.1") |
dddbc90c RV |
11851 | (source |
11852 | (origin | |
11853 | (method url-fetch) | |
11854 | (uri (string-append | |
11855 | "https://hackage.haskell.org/package/silently/silently-" | |
11856 | version | |
11857 | ".tar.gz")) | |
11858 | (sha256 | |
11859 | (base32 | |
544bb369 | 11860 | "1lgs1gsr5dp0x21diqn4l03fxgai2kgdmj85gqp0iz3zykvbmjbz")))) |
dddbc90c RV |
11861 | (build-system haskell-build-system) |
11862 | (arguments `(#:tests? #f)) ;; circular dependency with nanospec | |
11863 | ;; (inputs | |
11864 | ;; `(("ghc-temporary" ,ghc-temporary))) | |
11865 | (home-page "https://github.com/hspec/silently") | |
11866 | (synopsis "Prevent writing to stdout") | |
11867 | (description "This package provides functions to prevent or capture | |
11868 | writing to stdout and other handles.") | |
11869 | (license license:bsd-3))) | |
11870 | ||
11871 | (define-public ghc-simple-reflect | |
11872 | (package | |
11873 | (name "ghc-simple-reflect") | |
11874 | (version "0.3.3") | |
11875 | (source | |
11876 | (origin | |
11877 | (method url-fetch) | |
11878 | (uri (string-append | |
11879 | "https://hackage.haskell.org/package/simple-reflect/simple-reflect-" | |
11880 | version | |
11881 | ".tar.gz")) | |
11882 | (sha256 | |
11883 | (base32 | |
11884 | "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7")))) | |
11885 | (build-system haskell-build-system) | |
11886 | (home-page | |
11887 | "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions") | |
11888 | (synopsis | |
11889 | "Simple reflection of expressions containing variables") | |
11890 | (description | |
11891 | "This package allows simple reflection of expressions containing | |
11892 | variables. Reflection here means that a Haskell expression is turned into a | |
11893 | string. The primary aim of this package is teaching and understanding; there | |
11894 | are no options for manipulating the reflected expressions beyond showing | |
11895 | them.") | |
11896 | (license license:bsd-3))) | |
11897 | ||
11898 | (define-public ghc-simple-sendfile | |
11899 | (package | |
11900 | (name "ghc-simple-sendfile") | |
08f54390 | 11901 | (version "0.2.30") |
dddbc90c RV |
11902 | (source |
11903 | (origin | |
11904 | (method url-fetch) | |
11905 | (uri (string-append "https://hackage.haskell.org/package/" | |
11906 | "simple-sendfile-" version "/" | |
11907 | "simple-sendfile-" version ".tar.gz")) | |
11908 | (sha256 | |
11909 | (base32 | |
08f54390 | 11910 | "112j0qfsjazf9wg1zywf7hjybgsiywk9wkm27yi8xzv27hmlv1mn")))) |
dddbc90c RV |
11911 | (build-system haskell-build-system) |
11912 | (inputs | |
11913 | `(("ghc-conduit" ,ghc-conduit) | |
11914 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
11915 | ("ghc-network" ,ghc-network) | |
11916 | ("ghc-resourcet" ,ghc-resourcet))) | |
11917 | (native-inputs | |
11918 | `(("ghc-hspec" ,ghc-hspec) | |
11919 | ("hspec-discover" ,hspec-discover))) | |
11920 | (home-page "https://github.com/kazu-yamamoto/simple-sendfile") | |
11921 | (synopsis "Cross platform library for the sendfile system call") | |
11922 | (description "This library tries to call minimum system calls which | |
11923 | are the bottleneck of web servers.") | |
11924 | (license license:bsd-3))) | |
11925 | ||
06966c05 TS |
11926 | (define-public ghc-size-based |
11927 | (package | |
11928 | (name "ghc-size-based") | |
11929 | (version "0.1.2.0") | |
11930 | (source | |
11931 | (origin | |
11932 | (method url-fetch) | |
11933 | (uri (string-append "https://hackage.haskell.org/package/" | |
11934 | "size-based/size-based-" version ".tar.gz")) | |
11935 | (sha256 | |
11936 | (base32 | |
11937 | "06hmlic0n73ncwlkpx49xlv09bzsrr27ncnp5byhzlknak2gd7vp")))) | |
11938 | (build-system haskell-build-system) | |
11939 | (inputs | |
11940 | `(("ghc-dictionary-sharing" ,ghc-dictionary-sharing) | |
11941 | ("ghc-testing-type-modifiers" ,ghc-testing-type-modifiers) | |
11942 | ("ghc-semigroups" ,ghc-semigroups))) | |
11943 | (arguments | |
11944 | `(#:cabal-revision | |
11945 | ("1" "0kax1ypjyglkn6iff1x4yz12y7f2n249m95xvdhrc63hsa4xlcqv"))) | |
11946 | (home-page "https://hackage.haskell.org/package/size-based") | |
11947 | (synopsis "Sized functors for size-based enumerations") | |
11948 | (description "This library provides a framework for size-based | |
11949 | enumerations.") | |
11950 | (license license:bsd-3))) | |
11951 | ||
dddbc90c RV |
11952 | (define-public ghc-skylighting-core |
11953 | (package | |
11954 | (name "ghc-skylighting-core") | |
1826c2a8 | 11955 | (version "0.8.2.1") |
dddbc90c RV |
11956 | (source (origin |
11957 | (method url-fetch) | |
11958 | (uri (string-append "https://hackage.haskell.org/package/" | |
11959 | "skylighting-core/skylighting-core-" | |
11960 | version ".tar.gz")) | |
11961 | (sha256 | |
11962 | (base32 | |
1826c2a8 | 11963 | "0hdchivb4af9w7v5v7lrwfwawd3kcwmpzk69m1vkkm3pis8lcr1s")))) |
dddbc90c RV |
11964 | (build-system haskell-build-system) |
11965 | (inputs | |
11966 | `(("ghc-aeson" ,ghc-aeson) | |
11967 | ("ghc-ansi-terminal" ,ghc-ansi-terminal) | |
11968 | ("ghc-attoparsec" ,ghc-attoparsec) | |
11969 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
11970 | ("ghc-blaze-html" ,ghc-blaze-html) | |
11971 | ("ghc-case-insensitive" ,ghc-case-insensitive) | |
11972 | ("ghc-colour" ,ghc-colour) | |
11973 | ("ghc-hxt" ,ghc-hxt) | |
11974 | ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin) | |
11975 | ("ghc-safe" ,ghc-safe) | |
11976 | ("ghc-utf8-string" ,ghc-utf8-string))) | |
11977 | (native-inputs | |
11978 | `(("ghc-diff" ,ghc-diff) | |
11979 | ("ghc-hunit" ,ghc-hunit) | |
11980 | ("ghc-pretty-show" ,ghc-pretty-show) | |
11981 | ("ghc-quickcheck" ,ghc-quickcheck) | |
11982 | ("ghc-tasty" ,ghc-tasty) | |
11983 | ("ghc-tasty-golden" ,ghc-tasty-golden) | |
11984 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
11985 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
11986 | (home-page "https://github.com/jgm/skylighting") | |
11987 | (synopsis "Syntax highlighting library") | |
11988 | (description "Skylighting is a syntax highlighting library with support | |
11989 | for over one hundred languages. It derives its tokenizers from XML syntax | |
11990 | definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax | |
11991 | supported by that framework can be added. An optional command-line program is | |
11992 | provided. Skylighting is intended to be the successor to highlighting-kate.") | |
11993 | (license license:gpl2))) | |
11994 | ||
11995 | (define-public ghc-skylighting | |
11996 | (package | |
11997 | (inherit ghc-skylighting-core) | |
11998 | (name "ghc-skylighting") | |
36c940cf | 11999 | (version "0.8.2.1") |
dddbc90c RV |
12000 | (source (origin |
12001 | (method url-fetch) | |
12002 | (uri (string-append "https://hackage.haskell.org/package/skylighting-" | |
12003 | version "/skylighting-" version ".tar.gz")) | |
12004 | (sha256 | |
12005 | (base32 | |
36c940cf | 12006 | "1xls8ycad77m55ax4hp55k60h3pi5sm3m32hycbc8baixbgfx5xz")))) |
dddbc90c RV |
12007 | (inputs |
12008 | `(("ghc-skylighting-core" ,ghc-skylighting-core) | |
12009 | ,@(package-inputs ghc-skylighting-core))))) | |
12010 | ||
12011 | (define-public ghc-smallcheck | |
12012 | (package | |
12013 | (name "ghc-smallcheck") | |
12014 | (version "1.1.5") | |
12015 | (source | |
12016 | (origin | |
12017 | (method url-fetch) | |
12018 | (uri (string-append | |
12019 | "https://hackage.haskell.org/package/smallcheck/smallcheck-" | |
12020 | version | |
12021 | ".tar.gz")) | |
12022 | (sha256 | |
12023 | (base32 | |
12024 | "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h")))) | |
12025 | (build-system haskell-build-system) | |
12026 | (inputs | |
12027 | `(("ghc-logict" ,ghc-logict))) | |
12028 | (home-page | |
12029 | "https://github.com/feuerbach/smallcheck") | |
12030 | (synopsis "Property-based testing library") | |
a84be333 | 12031 | (description "SmallCheck is a testing library that verifies |
dddbc90c RV |
12032 | properties for all test cases up to some depth. The test cases are generated |
12033 | automatically by SmallCheck.") | |
12034 | (license license:bsd-3))) | |
12035 | ||
12036 | (define-public ghc-socks | |
12037 | (package | |
12038 | (name "ghc-socks") | |
ab761e9d | 12039 | (version "0.6.1") |
dddbc90c RV |
12040 | (source (origin |
12041 | (method url-fetch) | |
12042 | (uri (string-append "https://hackage.haskell.org/package/" | |
12043 | "socks/socks-" version ".tar.gz")) | |
12044 | (sha256 | |
12045 | (base32 | |
ab761e9d | 12046 | "0wvaxy3dkv97wrncjv1rxrmjr4014hgxz82kixvcwqdhidalfi3k")))) |
dddbc90c RV |
12047 | (build-system haskell-build-system) |
12048 | (inputs | |
12049 | `(("ghc-cereal" ,ghc-cereal) | |
ab761e9d | 12050 | ("ghc-basement" ,ghc-basement) |
dddbc90c RV |
12051 | ("ghc-network" ,ghc-network))) |
12052 | (home-page "https://github.com/vincenthz/hs-socks") | |
12053 | (synopsis "SOCKS proxy (version 5) implementation") | |
12054 | (description | |
12055 | "This library provides a SOCKS proxy (version 5) implementation.") | |
12056 | (license license:bsd-3))) | |
12057 | ||
081d85d6 TS |
12058 | (define-public ghc-sop-core |
12059 | (package | |
12060 | (name "ghc-sop-core") | |
12061 | (version "0.4.0.0") | |
12062 | (source | |
12063 | (origin | |
12064 | (method url-fetch) | |
12065 | (uri (string-append "https://hackage.haskell.org/package/" | |
12066 | "sop-core/sop-core-" version ".tar.gz")) | |
12067 | (sha256 | |
12068 | (base32 | |
12069 | "07ci2mh8cbjvipb576rxsj3iyhkj5c5dnsns4xkdppp2p3pv10d3")))) | |
12070 | (build-system haskell-build-system) | |
3ef91e15 | 12071 | (home-page "https://hackage.haskell.org/package/sop-core") |
081d85d6 TS |
12072 | (synopsis "True Sums of Products") |
12073 | (description "This package provides an implementation of | |
12074 | @math{n}-ary sums and @math{n}-ary products. The module @code{Data.SOP} | |
12075 | is the main module of this library and contains more detailed | |
12076 | documentation. The main use case of this package is to serve as the | |
12077 | core of @url{https://hackage.haskell.org/package/generics-sop, | |
12078 | generics-sop}.") | |
12079 | (license license:bsd-3))) | |
12080 | ||
4c77a1a0 JS |
12081 | (define-public ghc-special-values |
12082 | (package | |
12083 | (name "ghc-special-values") | |
12084 | (version "0.1.0.0") | |
12085 | (source | |
12086 | (origin | |
12087 | (method url-fetch) | |
12088 | (uri (string-append | |
12089 | "https://hackage.haskell.org/package/special-values/" | |
12090 | "special-values-" version ".tar.gz")) | |
12091 | (sha256 | |
12092 | (base32 | |
12093 | "1kkdw2c4d2hha99v9f89ahmifjxp7fxmxyfwq9a8xk6s0h9xs51w")))) | |
12094 | (build-system haskell-build-system) | |
12095 | (inputs | |
12096 | `(("ghc-scientific" ,ghc-scientific) | |
12097 | ("ghc-ieee754" ,ghc-ieee754) | |
12098 | ("ghc-nats" ,ghc-nats))) | |
12099 | (home-page | |
12100 | "https://github.com/minad/special-values#readme") | |
12101 | (synopsis "Typeclass providing special values") | |
12102 | (description | |
12103 | "Special values are provided by a SpecialValues typeclass. Those can be | |
12104 | used for example by QuickCheck, see quickcheck-special." ) | |
12105 | (license license:expat))) | |
12106 | ||
dddbc90c RV |
12107 | (define-public ghc-split |
12108 | (package | |
12109 | (name "ghc-split") | |
12110 | (version "0.2.3.3") | |
534d6caa | 12111 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
12112 | (source |
12113 | (origin | |
12114 | (method url-fetch) | |
12115 | (uri (string-append | |
12116 | "https://hackage.haskell.org/package/split/split-" | |
12117 | version | |
12118 | ".tar.gz")) | |
12119 | (sha256 | |
12120 | (base32 | |
12121 | "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x")))) | |
12122 | (build-system haskell-build-system) | |
9bbc21a7 TS |
12123 | (arguments |
12124 | `(#:cabal-revision | |
12125 | ("2" "1c8bcssxq5rkxkixgms6w6x6lzf4n7cxk6cx6av1dp3lixdy9j34"))) | |
dddbc90c RV |
12126 | (native-inputs |
12127 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
12128 | (home-page "https://hackage.haskell.org/package/split") | |
12129 | (synopsis "Combinator library for splitting lists") | |
12130 | (description "This package provides a collection of Haskell functions for | |
12131 | splitting lists into parts, akin to the @code{split} function found in several | |
12132 | mainstream languages.") | |
12133 | (license license:bsd-3))) | |
12134 | ||
7799d17f | 12135 | (define-public ghc-splitmix |
49367c92 | 12136 | (package |
7799d17f | 12137 | (name "ghc-splitmix") |
49367c92 TS |
12138 | (version "0.0.3") |
12139 | (source | |
12140 | (origin | |
12141 | (method url-fetch) | |
12142 | (uri (string-append "https://hackage.haskell.org/package/" | |
12143 | "splitmix/splitmix-" version ".tar.gz")) | |
12144 | (sha256 | |
12145 | (base32 | |
12146 | "1k0amgkz7rvyz3lnw7m786ilnr1cibwhx9sc4qynq329gxan5r7w")))) | |
49367c92 | 12147 | (build-system haskell-build-system) |
49367c92 TS |
12148 | (inputs |
12149 | `(("ghc-random" ,ghc-random))) | |
7799d17f TS |
12150 | (native-inputs |
12151 | `(("ghc-hunit" ,ghc-hunit) | |
12152 | ("ghc-async" ,ghc-async) | |
12153 | ("ghc-base-compat-batteries" ,ghc-base-compat-batteries) | |
12154 | ("ghc-tf-random" ,ghc-tf-random) | |
12155 | ("ghc-vector" ,ghc-vector))) | |
92a79fee | 12156 | (home-page "https://hackage.haskell.org/package/splitmix") |
49367c92 TS |
12157 | (synopsis "Fast and splittable pseudorandom number generator") |
12158 | (description "This package provides a Pure Haskell implementation of the | |
12159 | SplitMix pseudorandom number generator. SplitMix is a \"splittable\" | |
12160 | pseudorandom number generator that is quite fast: 9 64-bit | |
12161 | arithmetic/logical operations per 64 bits generated. SplitMix is tested | |
12162 | with two standard statistical test suites (DieHarder and TestU01, this | |
12163 | implementation only using the former) and it appears to be adequate for | |
12164 | \"everyday\" use, such as Monte Carlo algorithms and randomized data | |
12165 | structures where speed is important. In particular, it @strong{should not | |
12166 | be used for cryptographic or security applications}, because generated | |
12167 | sequences of pseudorandom values are too predictable (the mixing functions | |
12168 | are easily inverted, and two successive outputs suffice to reconstruct the | |
12169 | internal state).") | |
12170 | (license license:bsd-3))) | |
12171 | ||
7799d17f TS |
12172 | (define-public ghc-splitmix-bootstrap |
12173 | (package | |
12174 | (inherit ghc-splitmix) | |
12175 | (name "ghc-splitmix-bootstrap") | |
12176 | (arguments `(#:tests? #f)) | |
12177 | (native-inputs '()) | |
12178 | (properties '((hidden? #t))))) | |
12179 | ||
a152258b JS |
12180 | (define-public ghc-spoon |
12181 | (package | |
12182 | (name "ghc-spoon") | |
12183 | (version "0.3.1") | |
12184 | (source | |
12185 | (origin | |
12186 | (method url-fetch) | |
12187 | (uri (string-append | |
12188 | "https://hackage.haskell.org/package/spoon/spoon-" | |
12189 | version | |
12190 | ".tar.gz")) | |
12191 | (sha256 | |
12192 | (base32 | |
12193 | "1m41k0mfy6fpfrv2ym4m5jsjaj9xdfl2iqpppd3c4d0fffv51cxr")))) | |
12194 | (build-system haskell-build-system) | |
12195 | (arguments | |
12196 | `(#:cabal-revision | |
12197 | ("1" | |
12198 | "09s5jjcsg4g4qxchq9g2l4i9d5zh3rixpkbiysqcgl69kj8mwv74"))) | |
12199 | (home-page | |
12200 | "http://hackage.haskell.org/package/spoon") | |
12201 | (synopsis | |
12202 | "Catch errors thrown from pure computations") | |
12203 | (description | |
12204 | "Takes an error-throwing expression and puts it back in the Maybe it | |
12205 | belongs in. | |
12206 | ||
12207 | Note that this suffers from the | |
12208 | @url{https://ghc.haskell.org/trac/ghc/ticket/5902}. Buyer beware.") | |
12209 | (license license:bsd-3))) | |
12210 | ||
dddbc90c RV |
12211 | (define-public ghc-statevar |
12212 | (package | |
12213 | (name "ghc-statevar") | |
19419709 | 12214 | (version "1.2") |
dddbc90c RV |
12215 | (source |
12216 | (origin | |
12217 | (method url-fetch) | |
12218 | (uri (string-append | |
12219 | "https://hackage.haskell.org/package/StateVar/StateVar-" | |
12220 | version | |
12221 | ".tar.gz")) | |
12222 | (sha256 | |
12223 | (base32 | |
19419709 | 12224 | "12sz6zkc9j5z3lwrjvljrkfxa5vhwnir5wsarigz2f6d3w13dh5g")))) |
dddbc90c RV |
12225 | (build-system haskell-build-system) |
12226 | (home-page "https://hackage.haskell.org/package/StateVar") | |
12227 | (synopsis "State variables for Haskell") | |
12228 | (description "This package provides state variables, which are references | |
12229 | in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.") | |
12230 | (license license:bsd-3))) | |
12231 | ||
12232 | (define-public ghc-statistics | |
12233 | (package | |
12234 | (name "ghc-statistics") | |
60e78e68 | 12235 | (version "0.15.1.1") |
dddbc90c RV |
12236 | (source |
12237 | (origin | |
12238 | (method url-fetch) | |
12239 | (uri (string-append "https://hackage.haskell.org/package/" | |
12240 | "statistics-" version "/" | |
12241 | "statistics-" version ".tar.gz")) | |
12242 | (sha256 | |
12243 | (base32 | |
60e78e68 | 12244 | "015rn74f1glii26j4b2fh1fc63xvxzrh2xckiancz48kc8jdzabj")))) |
dddbc90c RV |
12245 | (build-system haskell-build-system) |
12246 | (arguments | |
60e78e68 | 12247 | '(;; Two tests fail: "Discrete CDF is OK" and "Quantile is CDF inverse". |
dddbc90c RV |
12248 | #:tests? #f)) |
12249 | (inputs | |
12250 | `(("ghc-aeson" ,ghc-aeson) | |
60e78e68 | 12251 | ("ghc-async" ,ghc-async) |
dddbc90c | 12252 | ("ghc-base-orphans" ,ghc-base-orphans) |
60e78e68 | 12253 | ("ghc-dense-linear-algebra" ,ghc-dense-linear-algebra) |
dddbc90c RV |
12254 | ("ghc-math-functions" ,ghc-math-functions) |
12255 | ("ghc-monad-par" ,ghc-monad-par) | |
12256 | ("ghc-mwc-random" ,ghc-mwc-random) | |
12257 | ("ghc-primitive" ,ghc-primitive) | |
12258 | ("ghc-vector" ,ghc-vector) | |
12259 | ("ghc-vector-algorithms" ,ghc-vector-algorithms) | |
12260 | ("ghc-vector-th-unbox" ,ghc-vector-th-unbox) | |
12261 | ("ghc-vector-binary-instances" ,ghc-vector-binary-instances))) | |
12262 | (native-inputs | |
12263 | `(("ghc-hunit" ,ghc-hunit) | |
12264 | ("ghc-quickcheck" ,ghc-quickcheck) | |
12265 | ("ghc-ieee754" ,ghc-ieee754) | |
12266 | ("ghc-test-framework" ,ghc-test-framework) | |
12267 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
12268 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
12269 | (home-page "https://github.com/bos/mwc-random") | |
12270 | (synopsis "Haskell library of statistical types, data, and functions") | |
12271 | (description "This library provides a number of common functions | |
12272 | and types useful in statistics. We focus on high performance, numerical | |
12273 | robustness, and use of good algorithms. Where possible, we provide references | |
12274 | to the statistical literature. | |
12275 | ||
12276 | The library's facilities can be divided into four broad categories: | |
12277 | ||
12278 | @itemize | |
12279 | @item Working with widely used discrete and continuous probability | |
12280 | distributions. (There are dozens of exotic distributions in use; we focus | |
12281 | on the most common.) | |
12282 | ||
12283 | @item Computing with sample data: quantile estimation, kernel density | |
12284 | estimation, histograms, bootstrap methods, significance testing, | |
12285 | and regression and autocorrelation analysis. | |
12286 | ||
12287 | @item Random variate generation under several different distributions. | |
12288 | ||
12289 | @item Common statistical tests for significant differences between samples. | |
12290 | @end itemize") | |
12291 | (license license:bsd-2))) | |
12292 | ||
12293 | (define-public ghc-stm-chans | |
12294 | (package | |
12295 | (name "ghc-stm-chans") | |
12296 | (version "3.0.0.4") | |
12297 | (source | |
12298 | (origin | |
12299 | (method url-fetch) | |
12300 | (uri (string-append "https://hackage.haskell.org/package/" | |
12301 | "stm-chans-" version "/" | |
12302 | "stm-chans-" version ".tar.gz")) | |
12303 | (sha256 | |
12304 | (base32 | |
12305 | "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13")))) | |
12306 | (build-system haskell-build-system) | |
12307 | (home-page "https://hackage.haskell.org/package/stm-chans") | |
12308 | (synopsis "Additional types of channels for ghc-stm") | |
12309 | (description "This Haskell package offers a collection of channel types, | |
12310 | similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional | |
12311 | features.") | |
12312 | (license license:bsd-3))) | |
12313 | ||
12314 | (define-public ghc-stm-conduit | |
12315 | (package | |
12316 | (name "ghc-stm-conduit") | |
cd518e95 | 12317 | (version "4.0.1") |
dddbc90c RV |
12318 | (source |
12319 | (origin | |
12320 | (method url-fetch) | |
12321 | (uri (string-append "https://hackage.haskell.org/package/stm-conduit/" | |
12322 | "stm-conduit-" version ".tar.gz")) | |
12323 | (sha256 | |
12324 | (base32 | |
cd518e95 | 12325 | "0hhlxvpp7mah8dcvkknh6skx44jfk3092zz2w52zlr255bkmn3p8")))) |
dddbc90c RV |
12326 | (build-system haskell-build-system) |
12327 | (inputs | |
12328 | `(("ghc-stm-chans" ,ghc-stm-chans) | |
12329 | ("ghc-cereal" ,ghc-cereal) | |
12330 | ("ghc-cereal-conduit" ,ghc-cereal-conduit) | |
12331 | ("ghc-conduit" ,ghc-conduit) | |
12332 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
12333 | ("ghc-exceptions" ,ghc-exceptions) | |
12334 | ("ghc-resourcet" ,ghc-resourcet) | |
12335 | ("ghc-async" ,ghc-async) | |
12336 | ("ghc-monad-loops" ,ghc-monad-loops) | |
12337 | ("ghc-unliftio" ,ghc-unliftio))) | |
12338 | (native-inputs | |
12339 | `(("ghc-doctest" ,ghc-doctest) | |
12340 | ("ghc-quickcheck" ,ghc-quickcheck) | |
12341 | ("ghc-hunit" ,ghc-hunit) | |
12342 | ("ghc-test-framework" ,ghc-test-framework) | |
12343 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
12344 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
12345 | (home-page "https://github.com/cgaebel/stm-conduit") | |
12346 | (synopsis "Introduces conduits to channels and promotes using conduits concurrently") | |
12347 | (description | |
12348 | "This package provides two simple conduit wrappers around STM channels: a | |
12349 | source and a sink.") | |
12350 | (license license:bsd-3))) | |
12351 | ||
12352 | (define-public ghc-stmonadtrans | |
12353 | (package | |
12354 | (name "ghc-stmonadtrans") | |
12355 | (version "0.4.3") | |
12356 | (source | |
12357 | (origin | |
12358 | (method url-fetch) | |
12359 | (uri (string-append "https://hackage.haskell.org/package/STMonadTrans" | |
12360 | "/STMonadTrans-" version ".tar.gz")) | |
12361 | (sha256 | |
12362 | (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp")))) | |
12363 | (build-system haskell-build-system) | |
12364 | (home-page "https://hackage.haskell.org/package/STMonadTrans") | |
12365 | (synopsis "Monad transformer version of the ST monad") | |
12366 | (description | |
12367 | "This package provides a monad transformer version of the @code{ST} monad | |
12368 | for strict state threads.") | |
12369 | (license license:bsd-3))) | |
12370 | ||
12371 | (define-public ghc-storable-complex | |
12372 | (package | |
12373 | (name "ghc-storable-complex") | |
4a35e3c3 | 12374 | (version "0.2.3.0") |
dddbc90c RV |
12375 | (source |
12376 | (origin | |
12377 | (method url-fetch) | |
12378 | (uri (string-append | |
12379 | "https://hackage.haskell.org/package/storable-complex/storable-complex-" | |
12380 | version ".tar.gz")) | |
12381 | (sha256 | |
4a35e3c3 | 12382 | (base32 "0fnwbfmd5vsaaqvf9182qdcjrzcfjd1zhdyvjwzifbwvn6r9kx4s")))) |
dddbc90c | 12383 | (build-system haskell-build-system) |
4a35e3c3 TS |
12384 | (inputs |
12385 | `(("ghc-base-orphans" ,ghc-base-orphans))) | |
dddbc90c RV |
12386 | (home-page "https://github.com/cartazio/storable-complex") |
12387 | (synopsis "Haskell Storable instance for Complex") | |
12388 | (description "This package provides a Haskell library including a | |
12389 | Storable instance for Complex which is binary compatible with C99, C++ | |
12390 | and Fortran complex data types.") | |
12391 | (license license:bsd-3))) | |
12392 | ||
ad80074a JS |
12393 | (define-public ghc-storable-record |
12394 | (package | |
12395 | (name "ghc-storable-record") | |
12396 | (version "0.0.4") | |
12397 | (source | |
12398 | (origin | |
12399 | (method url-fetch) | |
12400 | (uri | |
12401 | (string-append | |
12402 | "https://hackage.haskell.org/package/storable-record/" | |
12403 | "storable-record-" version ".tar.gz")) | |
12404 | (sha256 | |
12405 | (base32 | |
12406 | "0hjs1km0fc9ch0i1rbycxia5w3939hk4p4md73ikgg4aipqb5zyf")))) | |
12407 | (build-system haskell-build-system) | |
12408 | (inputs | |
12409 | `(("ghc-semigroups" ,ghc-semigroups) | |
12410 | ("ghc-utility-ht" ,ghc-utility-ht) | |
12411 | ("ghc-storablevector" ,ghc-storablevector) | |
12412 | ("ghc-timeit" ,ghc-timeit))) | |
12413 | (home-page "https://hackage.haskell.org/package/storable-record") | |
12414 | (synopsis "Elegant definition of Storable instances for records") | |
12415 | (description "With this package you can build a Storable instance of | |
12416 | a record type from Storable instances of its elements in an elegant way. | |
12417 | It does not do any magic, just a bit arithmetic to compute the right | |
12418 | offsets, that would be otherwise done manually or by a preprocessor like | |
12419 | C2HS. There is no guarantee that the generated memory layout is | |
12420 | compatible with that of a corresponding C struct. However, the module | |
12421 | generates the smallest layout that is possible with respect to the | |
12422 | alignment of the record elements.") | |
12423 | (license license:bsd-3))) | |
12424 | ||
55f4c653 JS |
12425 | (define-public ghc-storable-tuple |
12426 | (package | |
12427 | (name "ghc-storable-tuple") | |
12428 | (version "0.0.3.3") | |
12429 | (source | |
12430 | (origin | |
12431 | (method url-fetch) | |
12432 | (uri | |
12433 | (string-append | |
12434 | "https://hackage.haskell.org/package/storable-tuple/" | |
12435 | "storable-tuple-" version ".tar.gz")) | |
12436 | (sha256 | |
12437 | (base32 | |
12438 | "0dfzhxgkn1l6ls7zh6iifhyvhm8l47n40z0ar23c6ibsa94w1ynw")))) | |
12439 | (build-system haskell-build-system) | |
12440 | (inputs | |
12441 | `(("ghc-storable-record" ,ghc-storable-record) | |
12442 | ("ghc-utility-ht" ,ghc-utility-ht) | |
12443 | ("ghc-base-orphans" ,ghc-base-orphans))) | |
12444 | (home-page "https://hackage.haskell.org/package/storable-tuple") | |
12445 | (synopsis "Storable instance for pairs and triples") | |
12446 | (description "This package provides a Storable instance for pairs | |
12447 | and triples which should be binary compatible with C99 and C++. The | |
12448 | only purpose of this package is to provide a standard location for this | |
12449 | instance so that other packages needing this instance can play nicely | |
12450 | together.") | |
12451 | (license license:bsd-3))) | |
12452 | ||
bc06ca45 JS |
12453 | (define-public ghc-storablevector |
12454 | (package | |
12455 | (name "ghc-storablevector") | |
12456 | (version "0.2.13") | |
12457 | (source | |
12458 | (origin | |
12459 | (method url-fetch) | |
12460 | (uri | |
12461 | (string-append | |
12462 | "https://hackage.haskell.org/package/storablevector/storablevector-" | |
12463 | version ".tar.gz")) | |
12464 | (sha256 | |
12465 | (base32 | |
12466 | "1zmr738vwnhnyxbikayqnaz31ilv2qlmscp6iqgl7adcfbal4dzq")))) | |
12467 | (build-system haskell-build-system) | |
12468 | (inputs | |
12469 | `(("ghc-non-negative" ,ghc-non-negative) | |
12470 | ("ghc-utility-ht" ,ghc-utility-ht) | |
12471 | ("ghc-semigroups" ,ghc-semigroups) | |
12472 | ("ghc-unsafe" ,ghc-unsafe) | |
12473 | ("ghc-quickcheck" ,ghc-quickcheck) | |
12474 | ("ghc-syb" ,ghc-syb))) | |
228d2901 | 12475 | (home-page "https://wiki.haskell.org/Storable_Vector") |
bc06ca45 JS |
12476 | (synopsis "Fast, packed, strict storable arrays with a list interface") |
12477 | (description "This library provides fast, packed, strict storable | |
12478 | arrays with a list interface, a chunky lazy list interface with variable | |
12479 | chunk size and an interface for write access via the ST monad. This is | |
12480 | much like bytestring and binary but can be used for every | |
12481 | @code{Foreign.Storable.Storable} type. See also | |
12482 | @url{http://hackage.haskell.org/package/vector}, a library with a | |
12483 | similar intention. | |
12484 | ||
12485 | This library does not do advanced fusion optimization, since especially | |
12486 | for lazy vectors this would either be incorrect or not applicable. See | |
12487 | @url{http://hackage.haskell.org/package/storablevector-streamfusion} for | |
12488 | a library that provides fusion with lazy lists.") | |
12489 | (license license:bsd-3))) | |
12490 | ||
dddbc90c RV |
12491 | (define-public ghc-streaming-commons |
12492 | (package | |
12493 | (name "ghc-streaming-commons") | |
12494 | (version "0.2.1.1") | |
12495 | (source | |
12496 | (origin | |
12497 | (method url-fetch) | |
12498 | (uri (string-append "https://hackage.haskell.org/package/" | |
12499 | "streaming-commons/streaming-commons-" | |
12500 | version ".tar.gz")) | |
12501 | (sha256 | |
12502 | (base32 | |
12503 | "1lmyx3wkjsayhy5yilzvy0kf8qwmycwlk26r1d8f3cxbfhkr7s52")))) | |
12504 | (build-system haskell-build-system) | |
12505 | (inputs | |
12506 | `(("ghc-async" ,ghc-async) | |
12507 | ("ghc-blaze-builder" ,ghc-blaze-builder) | |
12508 | ("ghc-network" ,ghc-network) | |
12509 | ("ghc-random" ,ghc-random) | |
12510 | ("ghc-zlib" ,ghc-zlib))) | |
12511 | (native-inputs | |
12512 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
12513 | ("ghc-hspec" ,ghc-hspec) | |
12514 | ("hspec-discover" ,hspec-discover))) | |
12515 | (home-page "https://hackage.haskell.org/package/streaming-commons") | |
12516 | (synopsis "Conduit and pipes needed by some streaming data libraries") | |
12517 | (description "This package provides low-dependency functionality commonly | |
12518 | needed by various Haskell streaming data libraries, such as @code{conduit} and | |
12519 | @code{pipe}s.") | |
12520 | (license license:expat))) | |
12521 | ||
12522 | (define-public ghc-strict | |
12523 | (package | |
12524 | (name "ghc-strict") | |
12525 | (version "0.3.2") | |
12526 | (source | |
12527 | (origin | |
12528 | (method url-fetch) | |
12529 | (uri (string-append "https://hackage.haskell.org/package/strict/strict-" | |
12530 | version ".tar.gz")) | |
12531 | (sha256 | |
12532 | (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc")))) | |
12533 | (build-system haskell-build-system) | |
12534 | (home-page "https://hackage.haskell.org/package/strict") | |
12535 | (synopsis "Strict data types and String IO") | |
12536 | (description | |
12537 | "This package provides strict versions of some standard Haskell data | |
12538 | types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict | |
12539 | IO operations.") | |
12540 | (license license:bsd-3))) | |
12541 | ||
12542 | (define-public ghc-stringbuilder | |
12543 | (package | |
12544 | (name "ghc-stringbuilder") | |
12545 | (version "0.5.1") | |
12546 | (source | |
12547 | (origin | |
12548 | (method url-fetch) | |
12549 | (uri (string-append | |
12550 | "https://hackage.haskell.org/package/stringbuilder/stringbuilder-" | |
12551 | version | |
12552 | ".tar.gz")) | |
12553 | (sha256 | |
12554 | (base32 | |
12555 | "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q")))) | |
12556 | (build-system haskell-build-system) | |
12557 | (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests | |
12558 | ; enabled | |
12559 | (home-page "https://hackage.haskell.org/package/stringbuilder") | |
12560 | (synopsis "Writer monad for multi-line string literals") | |
12561 | (description "This package provides a writer monad for multi-line string | |
12562 | literals.") | |
12563 | (license license:expat))) | |
12564 | ||
12565 | (define-public ghc-string-qq | |
12566 | (package | |
12567 | (name "ghc-string-qq") | |
4d6fddc3 | 12568 | (version "0.0.4") |
dddbc90c RV |
12569 | (source |
12570 | (origin | |
12571 | (method url-fetch) | |
12572 | (uri (string-append | |
12573 | "https://hackage.haskell.org/package/string-qq/string-qq-" | |
12574 | version | |
12575 | ".tar.gz")) | |
12576 | (sha256 | |
12577 | (base32 | |
4d6fddc3 | 12578 | "0wfxkw4x6j6jq9nd82k83g2k3hskpsvk1dp4cpkshvjr4wg9qny8")))) |
dddbc90c | 12579 | (build-system haskell-build-system) |
4d6fddc3 TS |
12580 | (native-inputs |
12581 | `(("ghc-hunit" ,ghc-hunit))) | |
3ef91e15 | 12582 | (home-page "https://hackage.haskell.org/package/string-qq") |
dddbc90c RV |
12583 | (synopsis |
12584 | "QuasiQuoter for non-interpolated strings, texts and bytestrings.") | |
12585 | (description | |
12586 | "This package provides a quasiquoter for non-interpolated strings, texts | |
12587 | and bytestrings.") | |
12588 | (license license:public-domain))) | |
12589 | ||
12590 | (define-public ghc-stringsearch | |
12591 | (package | |
12592 | (name "ghc-stringsearch") | |
12593 | (version "0.3.6.6") | |
12594 | (source | |
12595 | (origin | |
12596 | (method url-fetch) | |
12597 | (uri (string-append | |
12598 | "https://hackage.haskell.org/package/stringsearch/stringsearch-" | |
12599 | version | |
12600 | ".tar.gz")) | |
12601 | (sha256 | |
12602 | (base32 | |
12603 | "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9")))) | |
12604 | (build-system haskell-build-system) | |
e2303abb TS |
12605 | (arguments |
12606 | `(#:cabal-revision | |
12607 | ("1" "0z5pz5dccapz9k39r2zmf056m0x2m2lj3jahhnw3mfxlmps07378"))) | |
dddbc90c RV |
12608 | (home-page "https://bitbucket.org/dafis/stringsearch") |
12609 | (synopsis "Fast searching, splitting and replacing of ByteStrings") | |
12610 | (description "This package provides several functions to quickly search | |
12611 | for substrings in strict or lazy @code{ByteStrings}. It also provides | |
12612 | functions for breaking or splitting on substrings and replacing all | |
12613 | occurrences of a substring (the first in case of overlaps) with another.") | |
12614 | (license license:bsd-3))) | |
12615 | ||
dcf3f8f4 TS |
12616 | (define-public ghc-svg-builder |
12617 | (package | |
12618 | (name "ghc-svg-builder") | |
12619 | (version "0.1.1") | |
12620 | (source | |
12621 | (origin | |
12622 | (method url-fetch) | |
12623 | (uri (string-append "https://hackage.haskell.org/package/" | |
12624 | "svg-builder/svg-builder-" version ".tar.gz")) | |
12625 | (sha256 | |
12626 | (base32 | |
12627 | "1k420f497lzkymmxin88ql6ib8dziic43avykv31yq65rgrf7l2g")))) | |
12628 | (build-system haskell-build-system) | |
12629 | (inputs | |
12630 | `(("ghc-blaze-builder" ,ghc-blaze-builder) | |
12631 | ("ghc-hashable" ,ghc-hashable) | |
12632 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
12633 | (arguments | |
12634 | `(#:cabal-revision | |
12635 | ("1" "1bhp9gvid2iis411k1vvyj5krzc4ahxcqcd9cwx9h37jxg180xw1"))) | |
12636 | (home-page "https://github.com/diagrams/svg-builder.git") | |
12637 | (synopsis "Domain-specific language for building Scalable Vector Graphics") | |
12638 | (description "Easy-to-write domain-specific language (DSL) for | |
12639 | building Scalable Vector Graphics (SVG).") | |
12640 | (license license:bsd-3))) | |
12641 | ||
dddbc90c RV |
12642 | (define-public ghc-syb |
12643 | (package | |
12644 | (name "ghc-syb") | |
07d65eef | 12645 | (version "0.7.1") |
534d6caa | 12646 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
12647 | (source |
12648 | (origin | |
12649 | (method url-fetch) | |
12650 | (uri (string-append | |
12651 | "https://hackage.haskell.org/package/syb/syb-" | |
12652 | version | |
12653 | ".tar.gz")) | |
12654 | (sha256 | |
12655 | (base32 | |
07d65eef | 12656 | "0077vxzyi9ppbphi2ialac3p376k49qly1kskdgf57wdwix9qjp0")))) |
dddbc90c RV |
12657 | (build-system haskell-build-system) |
12658 | (inputs | |
12659 | `(("ghc-hunit" ,ghc-hunit))) | |
12660 | (home-page | |
12661 | "http://www.cs.uu.nl/wiki/GenericProgramming/SYB") | |
12662 | (synopsis "Scrap Your Boilerplate") | |
12663 | (description "This package contains the generics system described in the | |
12664 | /Scrap Your Boilerplate/ papers (see | |
12665 | @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It | |
12666 | defines the @code{Data} class of types permitting folding and unfolding of | |
12667 | constructor applications, instances of this class for primitive types, and a | |
12668 | variety of traversals.") | |
12669 | (license license:bsd-3))) | |
12670 | ||
12671 | (define-public ghc-system-fileio | |
12672 | (package | |
12673 | (name "ghc-system-fileio") | |
dcfb99d4 | 12674 | (version "0.3.16.4") |
dddbc90c RV |
12675 | (source |
12676 | (origin | |
12677 | (method url-fetch) | |
12678 | (uri (string-append | |
12679 | "https://hackage.haskell.org/package/system-fileio/system-fileio-" | |
12680 | version ".tar.gz")) | |
12681 | (sha256 | |
12682 | (base32 | |
dcfb99d4 | 12683 | "1iy6g1f35gzyj12g9mdiw4zf75mmxpv1l8cyaldgyscsl648pr9l")))) |
dddbc90c | 12684 | (build-system haskell-build-system) |
dcfb99d4 TS |
12685 | (arguments |
12686 | `(#:phases | |
12687 | (modify-phases %standard-phases | |
12688 | (add-before 'configure 'update-constraints | |
12689 | (lambda _ | |
12690 | (substitute* "system-fileio.cabal" | |
12691 | (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4")) | |
12692 | #t))))) | |
dddbc90c RV |
12693 | (inputs |
12694 | `(("ghc-system-filepath" ,ghc-system-filepath) | |
12695 | ("ghc-chell" ,ghc-chell) | |
12696 | ("ghc-temporary" ,ghc-temporary))) | |
12697 | (home-page "https://github.com/fpco/haskell-filesystem") | |
12698 | (synopsis "Consistent file system interaction across GHC versions") | |
12699 | (description | |
12700 | "This is a small wrapper around the directory, unix, and Win32 packages, | |
12701 | for use with system-filepath. It provides a consistent API to the various | |
12702 | versions of these packages distributed with different versions of GHC. | |
12703 | In particular, this library supports working with POSIX files that have paths | |
12704 | which can't be decoded in the current locale encoding.") | |
12705 | (license license:expat))) | |
12706 | ||
12707 | ;; See ghc-system-filepath-bootstrap. In addition this package depends on | |
12708 | ;; ghc-system-filepath. | |
12709 | (define ghc-system-fileio-bootstrap | |
12710 | (package | |
12711 | (name "ghc-system-fileio-bootstrap") | |
12712 | (version "0.3.16.3") | |
12713 | (source | |
12714 | (origin | |
12715 | (method url-fetch) | |
12716 | (uri (string-append | |
12717 | "https://hackage.haskell.org/package/system-fileio/system-fileio-" | |
12718 | version ".tar.gz")) | |
12719 | (sha256 | |
12720 | (base32 | |
12721 | "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i")))) | |
12722 | (build-system haskell-build-system) | |
12723 | (arguments | |
12724 | `(#:tests? #f)) | |
12725 | (inputs | |
12726 | `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap) | |
12727 | ("ghc-temporary" ,ghc-temporary))) | |
12728 | (home-page "https://github.com/fpco/haskell-filesystem") | |
12729 | (synopsis "Consistent file system interaction across GHC versions") | |
12730 | (description | |
12731 | "This is a small wrapper around the directory, unix, and Win32 packages, | |
12732 | for use with system-filepath. It provides a consistent API to the various | |
12733 | versions of these packages distributed with different versions of GHC. | |
12734 | In particular, this library supports working with POSIX files that have paths | |
12735 | which can't be decoded in the current locale encoding.") | |
12736 | (license license:expat))) | |
12737 | ||
12738 | ||
12739 | (define-public ghc-system-filepath | |
12740 | (package | |
12741 | (name "ghc-system-filepath") | |
12742 | (version "0.4.14") | |
12743 | (source | |
12744 | (origin | |
12745 | (method url-fetch) | |
12746 | (uri (string-append | |
12747 | "https://hackage.haskell.org/package/system-filepath/system-filepath-" | |
12748 | version ".tar.gz")) | |
12749 | (sha256 | |
12750 | (base32 | |
12751 | "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn")))) | |
12752 | (build-system haskell-build-system) | |
12753 | ;; FIXME: One of the tests fails: | |
12754 | ;; [ FAIL ] tests.validity.posix | |
12755 | ;; note: seed=7310214548328823169 | |
12756 | ;; *** Failed! Falsifiable (after 24 tests): | |
12757 | ;; 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" | |
12758 | (arguments `(#:tests? #f)) | |
12759 | (inputs | |
12760 | `(("ghc-chell" ,ghc-chell) | |
12761 | ("ghc-chell-quickcheck" ,ghc-chell-quickcheck) | |
12762 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
12763 | (home-page "https://github.com/fpco/haskell-filesystem") | |
12764 | (synopsis "High-level, byte-based file and directory path manipulations") | |
12765 | (description | |
12766 | "Provides a FilePath datatype and utility functions for operating on it. | |
12767 | Unlike the filepath package, this package does not simply reuse String, | |
12768 | increasing type safety.") | |
12769 | (license license:expat))) | |
12770 | ||
12771 | ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on | |
12772 | ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options | |
12773 | ;; which depends on ghc-chell and ghc-chell-quickcheck. | |
12774 | ;; Therefore we bootstrap it with tests disabled. | |
12775 | (define ghc-system-filepath-bootstrap | |
12776 | (package | |
12777 | (name "ghc-system-filepath-bootstrap") | |
12778 | (version "0.4.14") | |
12779 | (source | |
12780 | (origin | |
12781 | (method url-fetch) | |
12782 | (uri (string-append | |
12783 | "https://hackage.haskell.org/package/system-filepath/system-filepath-" | |
12784 | version ".tar.gz")) | |
12785 | (sha256 | |
12786 | (base32 | |
12787 | "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn")))) | |
12788 | (build-system haskell-build-system) | |
12789 | (arguments | |
12790 | `(#:tests? #f)) | |
12791 | (inputs | |
12792 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
12793 | (home-page "https://github.com/fpco/haskell-filesystem") | |
12794 | (synopsis "High-level, byte-based file and directory path manipulations") | |
12795 | (description | |
12796 | "Provides a FilePath datatype and utility functions for operating on it. | |
12797 | Unlike the filepath package, this package does not simply reuse String, | |
12798 | increasing type safety.") | |
12799 | (license license:expat))) | |
12800 | ||
094a9d7a CH |
12801 | (define-public ghc-tabular |
12802 | (package | |
12803 | (name "ghc-tabular") | |
12804 | (version "0.2.2.8") | |
12805 | (source | |
12806 | (origin | |
12807 | (method url-fetch) | |
12808 | (uri (string-append | |
12809 | "https://hackage.haskell.org/package/tabular/tabular-" | |
12810 | version | |
12811 | ".tar.gz")) | |
12812 | (sha256 | |
12813 | (base32 | |
12814 | "0z936gh8n8i8qdkagyxwd9gqq13skd5fv013vdvwsibrxkm0czfb")))) | |
12815 | (build-system haskell-build-system) | |
12816 | (inputs | |
12817 | `(("ghc-csv" ,ghc-csv) | |
12818 | ("ghc-html" ,ghc-html))) | |
12819 | (home-page "https://github.com/bgamari/tabular") | |
12820 | (synopsis "Two-dimensional data tables with rendering functions") | |
12821 | (description | |
12822 | "Tabular provides a Haskell representation of two-dimensional data | |
12823 | tables, the kind that you might find in a spreadsheet or or a research report. | |
12824 | It also comes with some default rendering functions for turning those tables | |
12825 | into ASCII art, simple text with an arbitrary delimiter, CSV, HTML or LaTeX. | |
12826 | ||
12827 | Below is an example of the kind of output this library produces. The tabular | |
12828 | package can group rows and columns, each group having one of three | |
12829 | separators (no line, single line, double line) between its members. | |
12830 | ||
12831 | @example | |
12832 | ||
12833 | || memtest 1 | memtest 2 || time test | time test 2 | |
12834 | ====++===========+===========++=============+============ | |
12835 | A 1 || hog | terrible || slow | slower | |
12836 | A 2 || pig | not bad || fast | slowest | |
12837 | ----++-----------+-----------++-------------+------------ | |
12838 | B 1 || good | awful || intolerable | bearable | |
12839 | B 2 || better | no chance || crawling | amazing | |
12840 | B 3 || meh | well... || worst ever | ok | |
12841 | ||
12842 | @end example") | |
12843 | (license license:bsd-3))) | |
dddbc90c RV |
12844 | |
12845 | (define-public ghc-tagged | |
12846 | (package | |
12847 | (name "ghc-tagged") | |
f0f3756a | 12848 | (version "0.8.6") |
dddbc90c RV |
12849 | (source |
12850 | (origin | |
12851 | (method url-fetch) | |
12852 | (uri (string-append | |
12853 | "https://hackage.haskell.org/package/tagged/tagged-" | |
12854 | version | |
12855 | ".tar.gz")) | |
12856 | (sha256 | |
12857 | (base32 | |
f0f3756a | 12858 | "1pciqzxf9ncv954v4r527xkxkn7r5hcr13mfw5dg1xjci3qdw5md")))) |
dddbc90c RV |
12859 | (build-system haskell-build-system) |
12860 | (arguments | |
12861 | `(#:cabal-revision | |
f0f3756a | 12862 | ("1" "070xwfw7y81hd63il76dmwbdl9ca1rd07c54zynfx6vpr4wyx4vh"))) |
dddbc90c RV |
12863 | (inputs |
12864 | `(("ghc-transformers-compat" ,ghc-transformers-compat))) | |
12865 | (home-page "https://hackage.haskell.org/package/tagged") | |
12866 | (synopsis "Haskell phantom types to avoid passing dummy arguments") | |
12867 | (description "This library provides phantom types for Haskell 98, to avoid | |
12868 | having to unsafely pass dummy arguments.") | |
12869 | (license license:bsd-3))) | |
12870 | ||
12871 | (define-public ghc-tar | |
12872 | (package | |
12873 | (name "ghc-tar") | |
ec83929f | 12874 | (version "0.5.1.1") |
dddbc90c RV |
12875 | (source |
12876 | (origin | |
12877 | (method url-fetch) | |
12878 | (uri (string-append | |
12879 | "https://hackage.haskell.org/package/tar/tar-" | |
12880 | version ".tar.gz")) | |
12881 | (sha256 | |
12882 | (base32 | |
ec83929f | 12883 | "1ppim7cgmn7ng8zbdrwkxhhizc30h15h1c9cdlzamc5jcagl915k")))) |
dddbc90c RV |
12884 | (build-system haskell-build-system) |
12885 | ;; FIXME: 2/24 tests fail. | |
12886 | (arguments `(#:tests? #f)) | |
12887 | (inputs | |
12888 | `(("ghc-bytestring-handle" ,ghc-bytestring-handle) | |
12889 | ("ghc-quickcheck" ,ghc-quickcheck) | |
12890 | ("ghc-tasty" ,ghc-tasty) | |
12891 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
12892 | (home-page "https://hackage.haskell.org/package/tar") | |
12893 | (synopsis "Reading, writing and manipulating \".tar\" archive files") | |
12894 | (description | |
12895 | "This library is for working with \\\"@.tar@\\\" archive files. | |
12896 | It can read and write a range of common variations of the tar archive format | |
12897 | including V7, POSIX USTAR and GNU formats. It provides support for packing and | |
12898 | unpacking portable archives. This makes it suitable for distribution but not | |
12899 | backup because details like file ownership and exact permissions are not | |
12900 | preserved. It also provides features for random access to archive content using | |
12901 | an index.") | |
12902 | (license license:bsd-3))) | |
12903 | ||
f8d17902 TS |
12904 | (define-public ghc-tar-conduit |
12905 | (package | |
12906 | (name "ghc-tar-conduit") | |
12907 | (version "0.3.2") | |
12908 | (source | |
12909 | (origin | |
12910 | (method url-fetch) | |
12911 | (uri (string-append "https://hackage.haskell.org/package/" | |
12912 | "tar-conduit/tar-conduit-" version ".tar.gz")) | |
12913 | (sha256 | |
12914 | (base32 | |
12915 | "0bgn3hyf20g1gfnzy8f41s7nj54kfcyjk2izw99svrw8f3dphi80")))) | |
12916 | (build-system haskell-build-system) | |
12917 | (inputs | |
12918 | `(("ghc-conduit" ,ghc-conduit) | |
12919 | ("ghc-conduit-combinators" ,ghc-conduit-combinators) | |
12920 | ("ghc-safe-exceptions" ,ghc-safe-exceptions))) | |
12921 | (native-inputs | |
12922 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
12923 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
12924 | ("ghc-hspec" ,ghc-hspec) | |
12925 | ("ghc-hspec" ,ghc-hspec) | |
12926 | ("ghc-weigh" ,ghc-weigh))) | |
12927 | (home-page "https://github.com/snoyberg/tar-conduit#readme") | |
12928 | (synopsis "Extract and create tar files using conduit for streaming") | |
12929 | (description "This library provides a conduit-based, streaming | |
12930 | interface for extracting and creating tar files.") | |
12931 | (license license:expat))) | |
12932 | ||
dddbc90c RV |
12933 | (define-public ghc-temporary |
12934 | (package | |
12935 | (name "ghc-temporary") | |
12936 | (version "1.3") | |
12937 | (source | |
12938 | (origin | |
12939 | (method url-fetch) | |
12940 | (uri (string-append | |
12941 | "https://hackage.haskell.org/package/temporary/temporary-" | |
12942 | version | |
12943 | ".tar.gz")) | |
12944 | (sha256 | |
12945 | (base32 | |
12946 | "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c")))) | |
12947 | (build-system haskell-build-system) | |
12948 | (inputs | |
12949 | `(("ghc-exceptions" ,ghc-exceptions) | |
12950 | ("ghc-random" ,ghc-random))) | |
12951 | (native-inputs | |
12952 | `(("ghc-base-compat" ,ghc-base-compat) | |
12953 | ("ghc-tasty" ,ghc-tasty) | |
12954 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
12955 | (home-page "https://www.github.com/batterseapower/temporary") | |
12956 | (synopsis "Temporary file and directory support") | |
12957 | (description "The functions for creating temporary files and directories | |
12958 | in the Haskelll base library are quite limited. This library just repackages | |
12959 | the Cabal implementations of its own temporary file and folder functions so | |
12960 | that you can use them without linking against Cabal or depending on it being | |
12961 | installed.") | |
12962 | (license license:bsd-3))) | |
12963 | ||
12964 | (define-public ghc-temporary-rc | |
12965 | (package | |
12966 | (name "ghc-temporary-rc") | |
12967 | (version "1.2.0.3") | |
12968 | (source | |
12969 | (origin | |
12970 | (method url-fetch) | |
12971 | (uri (string-append | |
12972 | "https://hackage.haskell.org/package/temporary-rc/temporary-rc-" | |
12973 | version | |
12974 | ".tar.gz")) | |
12975 | (sha256 | |
12976 | (base32 | |
12977 | "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs")))) | |
12978 | (build-system haskell-build-system) | |
12979 | (inputs `(("ghc-exceptions" ,ghc-exceptions))) | |
12980 | (home-page | |
12981 | "https://www.github.com/feuerbach/temporary") | |
12982 | (synopsis | |
12983 | "Portable temporary file and directory support") | |
12984 | (description | |
12985 | "The functions for creating temporary files and directories in the base | |
12986 | library are quite limited. The unixutils package contains some good ones, but | |
12987 | they aren't portable to Windows. This library just repackages the Cabal | |
12988 | implementations of its own temporary file and folder functions so that you can | |
12989 | use them without linking against Cabal or depending on it being installed. | |
12990 | This is a better maintained fork of the \"temporary\" package.") | |
12991 | (license license:bsd-3))) | |
12992 | ||
12993 | (define-public ghc-terminal-size | |
12994 | (package | |
12995 | (name "ghc-terminal-size") | |
12996 | (version "0.3.2.1") | |
12997 | (source (origin | |
12998 | (method url-fetch) | |
12999 | (uri (string-append | |
13000 | "https://hackage.haskell.org/package/terminal-size/" | |
13001 | "terminal-size-" version ".tar.gz")) | |
13002 | (sha256 | |
13003 | (base32 | |
13004 | "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm")))) | |
13005 | (build-system haskell-build-system) | |
13006 | (home-page "https://hackage.haskell.org/package/terminal-size") | |
13007 | (synopsis "Get terminal window height and width") | |
13008 | (description "Get terminal window height and width without ncurses | |
13009 | dependency.") | |
13010 | (license license:bsd-3))) | |
13011 | ||
13012 | (define-public ghc-texmath | |
13013 | (package | |
13014 | (name "ghc-texmath") | |
7fec7e66 | 13015 | (version "0.11.3") |
dddbc90c RV |
13016 | (source (origin |
13017 | (method url-fetch) | |
13018 | (uri (string-append "https://hackage.haskell.org/package/" | |
13019 | "texmath/texmath-" version ".tar.gz")) | |
13020 | (sha256 | |
13021 | (base32 | |
7fec7e66 | 13022 | "03rpxbp43bjs62mmw4hv4785n6f6nbf8kj2y9mma5nzk6i2xs09f")))) |
dddbc90c RV |
13023 | (build-system haskell-build-system) |
13024 | (inputs | |
13025 | `(("ghc-syb" ,ghc-syb) | |
13026 | ("ghc-network-uri" ,ghc-network-uri) | |
13027 | ("ghc-split" ,ghc-split) | |
13028 | ("ghc-temporary" ,ghc-temporary) | |
13029 | ("ghc-utf8-string" ,ghc-utf8-string) | |
13030 | ("ghc-xml" ,ghc-xml) | |
13031 | ("ghc-pandoc-types" ,ghc-pandoc-types))) | |
13032 | (home-page "https://github.com/jgm/texmath") | |
13033 | (synopsis "Conversion between formats used to represent mathematics") | |
13034 | (description | |
13035 | "The texmath library provides functions to read and write TeX math, | |
13036 | presentation MathML, and OMML (Office Math Markup Language, used in Microsoft | |
13037 | Office). Support is also included for converting math formats to pandoc's | |
13038 | native format (allowing conversion, via pandoc, to a variety of different | |
13039 | markup formats). The TeX reader supports basic LaTeX and AMS extensions, and | |
13040 | it can parse and apply LaTeX macros.") | |
13041 | (license license:gpl2+))) | |
13042 | ||
13043 | (define-public ghc-text-binary | |
13044 | (package | |
13045 | (name "ghc-text-binary") | |
13046 | (version "0.2.1.1") | |
13047 | (source | |
13048 | (origin | |
13049 | (method url-fetch) | |
13050 | (uri (string-append "https://hackage.haskell.org/package/" | |
13051 | "text-binary/text-binary-" | |
13052 | version ".tar.gz")) | |
13053 | (sha256 | |
13054 | (base32 | |
13055 | "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn")))) | |
13056 | (build-system haskell-build-system) | |
13057 | (home-page "https://github.com/kawu/text-binary") | |
13058 | (synopsis "Binary instances for text types") | |
13059 | (description | |
13060 | "This package provides a compatibility layer providing @code{Binary} | |
13061 | instances for strict and lazy text types for versions older than 1.2.1 of the | |
13062 | text package.") | |
13063 | (license license:bsd-2))) | |
13064 | ||
714e5605 JS |
13065 | (define-public ghc-text-manipulate |
13066 | (package | |
13067 | (name "ghc-text-manipulate") | |
13068 | (version "0.2.0.1") | |
13069 | (source | |
13070 | (origin | |
13071 | (method url-fetch) | |
13072 | (uri (string-append | |
13073 | "https://hackage.haskell.org/package/text-manipulate" | |
13074 | "/text-manipulate-" | |
13075 | version | |
13076 | ".tar.gz")) | |
13077 | (sha256 | |
13078 | (base32 | |
13079 | "0bwxyjj3ll45srxhsp2ihikgqglvjc6m02ixr8xpvyqwkcfwgsg0")))) | |
13080 | (build-system haskell-build-system) | |
13081 | (native-inputs | |
13082 | `(("ghc-tasty" ,ghc-tasty) | |
13083 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
13084 | (home-page | |
13085 | "https://github.com/brendanhay/text-manipulate") | |
13086 | (synopsis | |
13087 | "Case conversion, word boundary manipulation, and textual subjugation") | |
13088 | (description | |
13089 | "Manipulate identifiers and structurally non-complex pieces of text by | |
13090 | delimiting word boundaries via a combination of whitespace, | |
13091 | control-characters, and case-sensitivity. | |
13092 | ||
13093 | Has support for common idioms like casing of programmatic variable names, | |
13094 | taking, dropping, and splitting by word, and modifying the first character of | |
13095 | a piece of text. | |
13096 | ||
13097 | Caution: this library makes heavy use of the text library's internal loop | |
13098 | optimisation framework. Since internal modules are not guaranteed to have a | |
13099 | stable API there is potential for build breakage when the text dependency is | |
13100 | upgraded. Consider yourself warned!") | |
13101 | (license license:mpl2.0))) | |
13102 | ||
bdc877c4 TS |
13103 | (define-public ghc-text-metrics |
13104 | (package | |
13105 | (name "ghc-text-metrics") | |
13106 | (version "0.3.0") | |
13107 | (source | |
13108 | (origin | |
13109 | (method url-fetch) | |
13110 | (uri (string-append "https://hackage.haskell.org/package/" | |
13111 | "text-metrics/text-metrics-" version ".tar.gz")) | |
13112 | (sha256 | |
13113 | (base32 | |
13114 | "18mzxwkdvjp31r720ai9bnxr638qq8x3a2v408bz0d8f0rsayx1q")))) | |
13115 | (build-system haskell-build-system) | |
13116 | (inputs | |
13117 | `(("ghc-vector" ,ghc-vector))) | |
13118 | (native-inputs | |
13119 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
13120 | ("ghc-hspec" ,ghc-hspec))) | |
13121 | (arguments | |
13122 | `(#:cabal-revision | |
13123 | ("4" "017drxq9x56b345d8w5m8xdsi1zzs0z16pbdx8j35cd1lsnh3kf1"))) | |
13124 | (home-page "https://github.com/mrkkrp/text-metrics") | |
13125 | (synopsis "Calculate various string metrics efficiently") | |
13126 | (description "This library provides tools to calculate various | |
13127 | string metrics efficiently.") | |
13128 | (license license:bsd-3))) | |
13129 | ||
dddbc90c RV |
13130 | (define-public ghc-tf-random |
13131 | (package | |
13132 | (name "ghc-tf-random") | |
13133 | (version "0.5") | |
534d6caa | 13134 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
13135 | (source |
13136 | (origin | |
13137 | (method url-fetch) | |
13138 | (uri (string-append | |
13139 | "https://hackage.haskell.org/package/tf-random/tf-random-" | |
13140 | version | |
13141 | ".tar.gz")) | |
13142 | (sha256 | |
13143 | (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f")))) | |
13144 | (build-system haskell-build-system) | |
13145 | (inputs | |
13146 | `(("ghc-primitive" ,ghc-primitive) | |
13147 | ("ghc-random" ,ghc-random))) | |
13148 | (home-page "https://hackage.haskell.org/package/tf-random") | |
13149 | (synopsis "High-quality splittable pseudorandom number generator") | |
13150 | (description "This package contains an implementation of a high-quality | |
13151 | splittable pseudorandom number generator. The generator is based on a | |
13152 | cryptographic hash function built on top of the ThreeFish block cipher. See | |
13153 | the paper \"Splittable Pseudorandom Number Generators Using Cryptographic | |
13154 | Hashing\" by Claessen, Pałka for details and the rationale of the design.") | |
13155 | (license license:bsd-3))) | |
13156 | ||
13157 | (define-public ghc-th-abstraction | |
13158 | (package | |
13159 | (name "ghc-th-abstraction") | |
1188eabb | 13160 | (version "0.3.1.0") |
dddbc90c RV |
13161 | (source |
13162 | (origin | |
13163 | (method url-fetch) | |
13164 | (uri (string-append "https://hackage.haskell.org/package/" | |
13165 | "th-abstraction/th-abstraction-" | |
13166 | version ".tar.gz")) | |
13167 | (sha256 | |
13168 | (base32 | |
1188eabb | 13169 | "1f81w0gshvc816cf9qz0f19jsrzh6wpzmmy317xrgn63dv61p7jb")))) |
dddbc90c RV |
13170 | (build-system haskell-build-system) |
13171 | (home-page "https://github.com/glguy/th-abstraction") | |
13172 | (synopsis "Nicer interface for reified information about data types") | |
13173 | (description | |
13174 | "This package normalizes variations in the interface for inspecting | |
13175 | datatype information via Template Haskell so that packages and support a | |
13176 | single, easier to use informational datatype while supporting many versions of | |
13177 | Template Haskell.") | |
13178 | (license license:isc))) | |
13179 | ||
13180 | (define-public ghc-th-expand-syns | |
13181 | (package | |
13182 | (name "ghc-th-expand-syns") | |
8c766600 | 13183 | (version "0.4.5.0") |
dddbc90c RV |
13184 | (source (origin |
13185 | (method url-fetch) | |
13186 | (uri (string-append "https://hackage.haskell.org/package/" | |
13187 | "th-expand-syns/th-expand-syns-" | |
13188 | version ".tar.gz")) | |
13189 | (sha256 | |
13190 | (base32 | |
8c766600 | 13191 | "1p4wfyycan8zsp9wi7npx36qwbfsbcgdyxi3ii51scf69dkrx42y")))) |
dddbc90c RV |
13192 | (build-system haskell-build-system) |
13193 | (inputs | |
13194 | `(("ghc-syb" ,ghc-syb))) | |
13195 | (home-page "https://hackage.haskell.org/package/th-expand-syns") | |
13196 | (synopsis "Expands type synonyms in Template Haskell ASTs") | |
13197 | (description | |
13198 | "This package enables users to expand type synonyms in Template Haskell | |
13199 | @dfn{abstract syntax trees} (ASTs).") | |
13200 | (license license:bsd-3))) | |
13201 | ||
13202 | (define-public ghc-th-lift | |
13203 | (package | |
13204 | (name "ghc-th-lift") | |
bd76b20a | 13205 | (version "0.8.0.1") |
dddbc90c RV |
13206 | (source (origin |
13207 | (method url-fetch) | |
13208 | (uri (string-append "https://hackage.haskell.org/package/" | |
13209 | "th-lift/th-lift-" version ".tar.gz")) | |
13210 | (sha256 | |
13211 | (base32 | |
bd76b20a | 13212 | "1a6qlbdg15cfr5rvl9g3blgwx4v1p0xic0pzv13zx165xbc36ld0")))) |
dddbc90c RV |
13213 | (build-system haskell-build-system) |
13214 | (inputs | |
13215 | `(("ghc-th-abstraction" ,ghc-th-abstraction))) | |
13216 | (home-page "https://github.com/mboes/th-lift") | |
13217 | (synopsis "Derive Template Haskell's Lift class for datatypes") | |
13218 | (description | |
13219 | "This is a Haskell library to derive Template Haskell's Lift class for | |
13220 | datatypes.") | |
13221 | (license license:bsd-3))) | |
13222 | ||
13223 | (define-public ghc-th-lift-instances | |
13224 | (package | |
13225 | (name "ghc-th-lift-instances") | |
d3db399e | 13226 | (version "0.1.14") |
dddbc90c RV |
13227 | (source |
13228 | (origin | |
13229 | (method url-fetch) | |
13230 | (uri (string-append "https://hackage.haskell.org/package/" | |
13231 | "th-lift-instances/th-lift-instances-" | |
13232 | version ".tar.gz")) | |
13233 | (sha256 | |
13234 | (base32 | |
d3db399e | 13235 | "0r1b4jnvcj64wp4hfccwkl4a70n1p1q7qzyx6ax7cmd8k961jz78")))) |
dddbc90c RV |
13236 | (build-system haskell-build-system) |
13237 | (inputs | |
13238 | `(("ghc-th-lift" ,ghc-th-lift) | |
13239 | ("ghc-vector" ,ghc-vector) | |
13240 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
13241 | (home-page "https://github.com/bennofs/th-lift-instances/") | |
13242 | (synopsis "Lift instances for template-haskell for common data types.") | |
13243 | (description "Most data types in the Haskell platform do not have Lift | |
13244 | instances. This package provides orphan instances for @code{containers}, | |
13245 | @code{text}, @code{bytestring} and @code{vector}.") | |
13246 | (license license:bsd-3))) | |
13247 | ||
13248 | (define-public ghc-th-orphans | |
13249 | (package | |
13250 | (name "ghc-th-orphans") | |
882b23e2 | 13251 | (version "0.13.9") |
dddbc90c RV |
13252 | (source (origin |
13253 | (method url-fetch) | |
13254 | (uri (string-append "https://hackage.haskell.org/package/" | |
13255 | "th-orphans/th-orphans-" version ".tar.gz")) | |
13256 | (sha256 | |
13257 | (base32 | |
882b23e2 | 13258 | "1xj1gssv77hdx1r3ndg8k49v3ipj3a6r7crkyvx13jrps3m6ng1z")))) |
dddbc90c RV |
13259 | (build-system haskell-build-system) |
13260 | (inputs | |
13261 | `(("ghc-th-lift" ,ghc-th-lift) | |
13262 | ("ghc-th-lift-instances" ,ghc-th-lift-instances) | |
13263 | ("ghc-th-reify-many" ,ghc-th-reify-many) | |
13264 | ("ghc-generic-deriving" ,ghc-generic-deriving))) | |
13265 | (native-inputs | |
13266 | `(("ghc-hspec" ,ghc-hspec))) | |
13267 | (home-page "https://hackage.haskell.org/package/th-orphans") | |
13268 | (synopsis "Orphan instances for TH datatypes") | |
13269 | (description | |
13270 | "This package provides orphan instances for Template Haskell datatypes. In particular, | |
13271 | instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show} | |
13272 | and @code{Eq} instances. These instances used to live in the haskell-src-meta | |
13273 | package, and that's where the version number started.") | |
13274 | (license license:bsd-3))) | |
13275 | ||
20c440ea JS |
13276 | (define-public ghc-these |
13277 | (package | |
13278 | (name "ghc-these") | |
13279 | (version "1.0.1") | |
13280 | (source | |
13281 | (origin | |
13282 | (method url-fetch) | |
13283 | (uri (string-append | |
13284 | "https://hackage.haskell.org/package/these/these-" | |
13285 | version | |
13286 | ".tar.gz")) | |
13287 | (sha256 | |
13288 | (base32 | |
13289 | "1k0pi65g7cm9hzdw6my6bzz2zvddkmj1qs45ymqmi316bpiixk3r")))) | |
13290 | (build-system haskell-build-system) | |
13291 | (inputs | |
13292 | `(("ghc-base-compat" ,ghc-base-compat) | |
13293 | ("ghc-hashable" ,ghc-hashable) | |
13294 | ("ghc-aeson" ,ghc-aeson) | |
13295 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
13296 | ("ghc-assoc" ,ghc-assoc) | |
13297 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
13298 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
13299 | (arguments | |
13300 | `(#:cabal-revision | |
13301 | ("1" | |
13302 | "0923r86fnmgpx0msm68aszirh2n19nn5bccgjxfh2146jw4z7w3z"))) | |
13303 | (home-page | |
13304 | "https://github.com/isomorphism/these") | |
13305 | (synopsis "Either-or-both data type") | |
13306 | (description | |
13307 | "This package provides a data type @code{These a b} which can | |
13308 | hold a value of either type or values of each type. This is usually | |
13309 | thought of as an \"inclusive or\" type (contrasting @code{Either a b} as | |
13310 | \"exclusive or\") or as an \"outer join\" type (contrasting @code{(a, b)} | |
13311 | as \"inner join\"). | |
13312 | ||
13313 | @code{data These a b = This a | That b | These a b} | |
13314 | ||
13315 | Since version 1, this package was split into parts: | |
13316 | ||
13317 | @itemize | |
13318 | @item | |
13319 | https://hackage.haskell.org/package/semialign For @code{Align} and | |
13320 | @code{Zip} type-classes. | |
13321 | @item | |
13322 | https://hackage.haskell.org/package/semialign-indexed For | |
13323 | @code{SemialignWithIndex} class, providing @code{ialignWith} and | |
13324 | @code{izipWith} | |
13325 | @item | |
13326 | https://hackage.haskell.org/package/these-lens For lens combinators. | |
13327 | @item | |
13328 | http://hackage.haskell.org/package/monad-chronicle For transformers | |
13329 | variant of @code{These}. | |
13330 | @end itemize") | |
13331 | (license license:bsd-3))) | |
13332 | ||
dddbc90c RV |
13333 | (define-public ghc-threads |
13334 | (package | |
13335 | (name "ghc-threads") | |
13336 | (version "0.5.1.6") | |
13337 | (source | |
13338 | (origin | |
13339 | (method url-fetch) | |
13340 | (uri (string-append "https://hackage.haskell.org/package/" | |
13341 | "threads/threads-" version ".tar.gz")) | |
13342 | (sha256 | |
13343 | (base32 | |
13344 | "0bjnjhnq3km6xqk0fn1fgyz5xdw4h6lylbwwbcmkkfzwcz0c76hk")))) | |
13345 | (build-system haskell-build-system) | |
13346 | (native-inputs | |
13347 | `(("ghc-concurrent-extra" ,ghc-concurrent-extra) | |
13348 | ("ghc-hunit" ,ghc-hunit) | |
13349 | ("ghc-test-framework" ,ghc-test-framework) | |
13350 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
13351 | (home-page "https://github.com/basvandijk/threads") | |
13352 | (synopsis "Fork threads and wait for their result") | |
13353 | (description "This package provides functions to fork threads and | |
13354 | wait for their result, whether it's an exception or a normal value. | |
13355 | Besides waiting for the termination of a single thread this package also | |
13356 | provides functions to wait for a group of threads to terminate. This | |
bbf8bf31 RV |
13357 | package is similar to the @code{threadmanager}, @code{async} and |
13358 | @code{spawn} packages. The advantages of this package are: | |
13359 | ||
dddbc90c RV |
13360 | @itemize |
13361 | @item Simpler API. | |
13362 | @item More efficient in both space and time. | |
13363 | @item No space-leak when forking a large number of threads. | |
13364 | @item Correct handling of asynchronous exceptions. | |
13365 | @item GHC specific functionality like @code{forkOn} and | |
13366 | @code{forkIOWithUnmask}. | |
13367 | @end itemize") | |
13368 | (license license:bsd-3))) | |
13369 | ||
13370 | (define-public ghc-th-reify-many | |
13371 | (package | |
13372 | (name "ghc-th-reify-many") | |
32d4a6ae | 13373 | (version "0.1.9") |
dddbc90c RV |
13374 | (source (origin |
13375 | (method url-fetch) | |
13376 | (uri (string-append "https://hackage.haskell.org/package/" | |
13377 | "th-reify-many/th-reify-many-" | |
13378 | version ".tar.gz")) | |
13379 | (sha256 | |
13380 | (base32 | |
32d4a6ae | 13381 | "0hxf56filzqnyrc8q7766vai80y6cgrrbrczx6n93caskl1dv2gq")))) |
dddbc90c RV |
13382 | (build-system haskell-build-system) |
13383 | (inputs | |
13384 | `(("ghc-safe" ,ghc-safe) | |
13385 | ("ghc-th-expand-syns" ,ghc-th-expand-syns))) | |
13386 | (home-page "https://github.com/mgsloan/th-reify-many") | |
13387 | (synopsis "Recurseively reify template haskell datatype info") | |
13388 | (description | |
13389 | "th-reify-many provides functions for recursively reifying top level | |
13390 | declarations. The main intended use case is for enumerating the names of | |
13391 | datatypes reachable from an initial datatype, and passing these names to some | |
13392 | function which generates instances.") | |
13393 | (license license:bsd-3))) | |
13394 | ||
75cfc9a2 TS |
13395 | (define-public ghc-time-compat |
13396 | (package | |
13397 | (name "ghc-time-compat") | |
13398 | (version "1.9.2.2") | |
13399 | (source | |
13400 | (origin | |
13401 | (method url-fetch) | |
13402 | (uri (string-append "https://hackage.haskell.org/package/" | |
13403 | "time-compat/time-compat-" version ".tar.gz")) | |
13404 | (sha256 | |
13405 | (base32 | |
13406 | "05va0rqs759vbridbcl6hksp967j9anjvys8vx72fnfkhlrn2s52")))) | |
13407 | (build-system haskell-build-system) | |
13408 | (inputs | |
13409 | `(("ghc-base-orphans" ,ghc-base-orphans))) | |
13410 | (native-inputs | |
13411 | `(("ghc-hunit" ,ghc-hunit) | |
13412 | ("ghc-base-compat" ,ghc-base-compat) | |
13413 | ("ghc-quickcheck" ,ghc-quickcheck) | |
13414 | ("ghc-tagged" ,ghc-tagged) | |
13415 | ("ghc-tasty" ,ghc-tasty) | |
13416 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
13417 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
13418 | (arguments | |
13419 | `(#:cabal-revision | |
13420 | ("1" "0k8ph4sydaiqp8dav4if6hpiaq8h1xsr93khmdr7a1mmfwdxr64r"))) | |
13421 | (home-page "https://github.com/phadej/time-compat") | |
13422 | (synopsis "Compatibility package for time") | |
a8d73e69 | 13423 | (description "This package tries to compat as many @code{time} |
75cfc9a2 TS |
13424 | features as possible.") |
13425 | (license license:bsd-3))) | |
13426 | ||
dddbc90c RV |
13427 | (define-public ghc-time-locale-compat |
13428 | (package | |
13429 | (name "ghc-time-locale-compat") | |
13430 | (version "0.1.1.5") | |
13431 | (source | |
13432 | (origin | |
13433 | (method url-fetch) | |
13434 | (uri (string-append "https://hackage.haskell.org/package/" | |
13435 | "time-locale-compat/time-locale-compat-" | |
13436 | version ".tar.gz")) | |
13437 | (sha256 | |
13438 | (base32 | |
13439 | "0b2hmj8wwrfkndwzgm11qr496ca2ahwdxcj3m0ii91bxvrk1bzq7")))) | |
13440 | (build-system haskell-build-system) | |
13441 | (inputs `(("ghc-old-locale" ,ghc-old-locale))) | |
13442 | (home-page "https://github.com/khibino/haskell-time-locale-compat") | |
13443 | (synopsis "Compatibility of TimeLocale between old-locale and time-1.5") | |
13444 | (description "This package contains a wrapped name module for | |
13445 | @code{TimeLocale}.") | |
13446 | (license license:bsd-3))) | |
13447 | ||
c022a4d4 TS |
13448 | (define-public ghc-time-manager |
13449 | (package | |
13450 | (name "ghc-time-manager") | |
13451 | (version "0.0.0") | |
13452 | (source | |
13453 | (origin | |
13454 | (method url-fetch) | |
13455 | (uri (string-append "https://hackage.haskell.org/package/" | |
13456 | "time-manager/time-manager-" version ".tar.gz")) | |
13457 | (sha256 | |
13458 | (base32 | |
13459 | "1nzwj0fxz370ks6vr1sylcidx33rnqq45y3q9yv9n4dj43nid9lh")))) | |
13460 | (build-system haskell-build-system) | |
13461 | (inputs | |
13462 | `(("ghc-auto-update" ,ghc-auto-update))) | |
13463 | (home-page "https://github.com/yesodweb/wai") | |
13464 | (synopsis "Scalable timer") | |
13465 | (description "This library contains scalable timer functions provided by a | |
13466 | timer manager.") | |
13467 | (license license:expat))) | |
13468 | ||
7bbfa392 JS |
13469 | (define-public ghc-timeit |
13470 | (package | |
13471 | (name "ghc-timeit") | |
13472 | (version "2.0") | |
13473 | (source | |
13474 | (origin | |
13475 | (method url-fetch) | |
13476 | (uri | |
13477 | (string-append | |
13478 | "https://hackage.haskell.org/package/timeit/timeit-" | |
13479 | version ".tar.gz")) | |
13480 | (sha256 | |
13481 | (base32 | |
13482 | "1sliqpvl501rlcj6s0lhmsf5ym24j4h881wzc1f1wdyvg3jz8kd1")))) | |
13483 | (build-system haskell-build-system) | |
13484 | (home-page "https://github.com/merijn/timeit") | |
13485 | (synopsis "Time monadic computations with an IO base") | |
13486 | (description "This package provides a simple wrapper to show the | |
13487 | used CPU time of monadic computation with an IO base.") | |
13488 | (license license:bsd-3))) | |
13489 | ||
2ed8bd2d JS |
13490 | (define-public ghc-timezone-series |
13491 | (package | |
13492 | (name "ghc-timezone-series") | |
13493 | (version "0.1.9") | |
13494 | (source | |
13495 | (origin | |
13496 | (method url-fetch) | |
13497 | (uri | |
13498 | (string-append | |
13499 | "mirror://hackage/package/timezone-series/timezone-series-" | |
13500 | version ".tar.gz")) | |
13501 | (sha256 | |
13502 | (base32 | |
13503 | "1blwgnyzqn917rgqkl4dncv9whv3xmk0lav040qq0214vksmvlz5")))) | |
13504 | (build-system haskell-build-system) | |
13505 | (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/") | |
13506 | (synopsis "Enhanced timezone handling for Time") | |
13507 | (description | |
13508 | "This package endows @code{Data.Time}, from the time package, with several | |
13509 | data types and functions for enhanced processing of timezones. For one way to | |
13510 | create timezone series, see the ghc-timezone-olson package.") | |
13511 | (license license:bsd-3))) | |
13512 | ||
ff0f5786 JS |
13513 | (define-public ghc-timezone-olson |
13514 | (package | |
13515 | (name "ghc-timezone-olson") | |
13516 | (version "0.1.9") | |
13517 | (source | |
13518 | (origin | |
13519 | (method url-fetch) | |
13520 | (uri | |
13521 | (string-append | |
13522 | "mirror://hackage/package/timezone-olson/timezone-olson-" | |
13523 | version ".tar.gz")) | |
13524 | (sha256 | |
13525 | (base32 | |
13526 | "05abywx1nrcaz0nqzfy4zw62bc5qd7pdfnjvv4drxkwv084ha8rj")))) | |
13527 | (build-system haskell-build-system) | |
13528 | (inputs | |
13529 | `(("ghc-timezone-series" ,ghc-timezone-series) | |
13530 | ("ghc-extensible-exceptions" ,ghc-extensible-exceptions))) | |
13531 | (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/") | |
13532 | (synopsis "Parser and renderer for binary Olson timezone files") | |
13533 | (description | |
13534 | "A parser and renderer for binary Olson timezone files whose format | |
13535 | is specified by the tzfile(5) man page on Unix-like systems. For more | |
13536 | information about this format, see | |
13537 | @url{http://www.iana.org/time-zones/repository/tz-link.html}. Functions | |
13538 | are provided for converting the parsed data into @code{TimeZoneSeries} | |
13539 | objects from the timezone-series package.") | |
13540 | (license license:bsd-3))) | |
13541 | ||
dddbc90c RV |
13542 | (define-public ghc-tldr |
13543 | (package | |
13544 | (name "ghc-tldr") | |
871ceb31 | 13545 | (version "0.4.0.2") |
dddbc90c RV |
13546 | (source |
13547 | (origin | |
13548 | (method url-fetch) | |
13549 | (uri (string-append | |
13550 | "https://hackage.haskell.org/package/tldr/tldr-" | |
13551 | version | |
13552 | ".tar.gz")) | |
13553 | (sha256 | |
13554 | (base32 | |
871ceb31 | 13555 | "1zy9yyg7bxiyz1prkvrscggsb9p0f8y0nqxxxzlgzvnh2nmqf8f2")))) |
dddbc90c RV |
13556 | (build-system haskell-build-system) |
13557 | (inputs | |
13558 | `(("ghc-cmark" ,ghc-cmark) | |
13559 | ("ghc-optparse-applicative" ,ghc-optparse-applicative) | |
13560 | ("ghc-typed-process" ,ghc-typed-process) | |
13561 | ("ghc-semigroups" ,ghc-semigroups))) | |
13562 | (native-inputs | |
13563 | `(("ghc-tasty" ,ghc-tasty) | |
13564 | ("ghc-tasty-golden" ,ghc-tasty-golden))) | |
13565 | (home-page "https://github.com/psibi/tldr-hs#readme") | |
13566 | (synopsis "Haskell tldr client") | |
13567 | (description "This package provides the @command{tldr} command and a | |
13568 | Haskell client library allowing users to update and view @code{tldr} pages | |
13569 | from a shell. The @code{tldr} pages are a community effort to simplify the | |
13570 | man pages with practical examples.") | |
13571 | (license license:bsd-3))) | |
13572 | ||
460e4e42 JS |
13573 | (define-public ghc-transformers |
13574 | (package | |
13575 | (name "ghc-transformers") | |
13576 | (version "0.5.6.2") | |
13577 | (source | |
13578 | (origin | |
13579 | (method url-fetch) | |
13580 | (uri (string-append | |
13581 | "mirror://hackage/package/transformers/transformers-" | |
13582 | version | |
13583 | ".tar.gz")) | |
13584 | (sha256 | |
13585 | (base32 | |
13586 | "0v66j5k0xqk51pmca55wq192qyw2p43s2mgxlz4f95q2c1fpjs5n")))) | |
13587 | (build-system haskell-build-system) | |
13588 | (home-page | |
13589 | "http://hackage.haskell.org/package/transformers") | |
13590 | (synopsis "Concrete functor and monad transformers") | |
13591 | (description | |
13592 | "Transformers provides functor and monad transformers, inspired by the | |
13593 | paper \"Functional Programming with Overloading and Higher-Order | |
13594 | Polymorphism\", by Mark P Jones, in Advanced School of Functional Programming, | |
13595 | 1995 @url{http://web.cecs.pdx.edu/~mpj/pubs/springschool.html}. | |
13596 | ||
13597 | This package contains: | |
13598 | @itemize | |
13599 | @item the monad transformer class (in @code{Control.Monad.Trans.Class}) | |
13600 | @item concrete functor and monad transformers, each with associated operations | |
13601 | and functions to lift operations associated with other transformers. | |
13602 | @end itemize | |
13603 | ||
13604 | This package can be used on its own in portable Haskell code, in which case | |
13605 | operations need to be manually lifted through transformer stacks (see | |
13606 | @code{Control.Monad.Trans.Class} for some examples). Alternatively, it can be | |
13607 | used with the non-portable monad classes in the mtl or monads-tf packages, | |
13608 | which automatically lift operations introduced by monad transformers through | |
13609 | other transformers.") | |
13610 | (license license:bsd-3))) | |
13611 | ||
dddbc90c RV |
13612 | (define-public ghc-transformers-base |
13613 | (package | |
13614 | (name "ghc-transformers-base") | |
13615 | (version "0.4.5.2") | |
13616 | (source | |
13617 | (origin | |
13618 | (method url-fetch) | |
13619 | (uri (string-append | |
13620 | "https://hackage.haskell.org/package/transformers-base/transformers-base-" | |
13621 | version | |
13622 | ".tar.gz")) | |
13623 | (sha256 | |
13624 | (base32 | |
13625 | "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h")))) | |
13626 | (build-system haskell-build-system) | |
13627 | (inputs | |
13628 | `(("ghc-transformers-compat" ,ghc-transformers-compat))) | |
13629 | (home-page | |
13630 | "https://hackage.haskell.org/package/transformers-compat") | |
13631 | (synopsis | |
13632 | "Backported transformer library") | |
13633 | (description | |
13634 | "Backported versions of types that were added to transformers in | |
13635 | transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3 | |
13636 | compatibility to run on old versions of the platform.") | |
13637 | (license license:bsd-3))) | |
13638 | ||
13639 | (define-public ghc-transformers-compat | |
13640 | (package | |
13641 | (name "ghc-transformers-compat") | |
1c9c4d58 | 13642 | (version "0.6.5") |
dddbc90c RV |
13643 | (source |
13644 | (origin | |
13645 | (method url-fetch) | |
13646 | (uri (string-append | |
13647 | "https://hackage.haskell.org/package/transformers-compat" | |
13648 | "/transformers-compat-" version ".tar.gz")) | |
13649 | (sha256 | |
13650 | (base32 | |
1c9c4d58 | 13651 | "02v2fjbvcrlpvhcsssap8dy8y9pp95jykrlc5arm39sxa48wyrys")))) |
dddbc90c RV |
13652 | (build-system haskell-build-system) |
13653 | (home-page "https://github.com/ekmett/transformers-compat/") | |
13654 | (synopsis "Small compatibility shim between transformers 0.3 and 0.4") | |
13655 | (description "This package includes backported versions of types that were | |
13656 | added to transformers in transformers 0.3 and 0.4 for users who need strict | |
13657 | transformers 0.2 or 0.3 compatibility to run on old versions of the platform, | |
13658 | but also need those types.") | |
13659 | (license license:bsd-3))) | |
13660 | ||
13661 | (define-public ghc-tree-diff | |
13662 | (package | |
13663 | (name "ghc-tree-diff") | |
b4e26067 | 13664 | (version "0.1") |
dddbc90c RV |
13665 | (source |
13666 | (origin | |
13667 | (method url-fetch) | |
13668 | (uri (string-append | |
13669 | "https://hackage.haskell.org/package/tree-diff/tree-diff-" | |
13670 | version | |
13671 | ".tar.gz")) | |
13672 | (sha256 | |
13673 | (base32 | |
b4e26067 | 13674 | "1156nbqn0pn9lp4zjsy4vv5g5wmy4zxwmbqdgvq349rydynh3ng3")))) |
dddbc90c | 13675 | (build-system haskell-build-system) |
dddbc90c RV |
13676 | (inputs |
13677 | `(("ghc-aeson" ,ghc-aeson) | |
13678 | ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) | |
13679 | ("ghc-ansi-terminal" ,ghc-ansi-terminal) | |
13680 | ("ghc-base-compat" ,ghc-base-compat) | |
b4e26067 | 13681 | ("ghc-bytestring-builder" ,ghc-bytestring-builder) |
dddbc90c | 13682 | ("ghc-hashable" ,ghc-hashable) |
dddbc90c RV |
13683 | ("ghc-parsers" ,ghc-parsers) |
13684 | ("ghc-quickcheck" ,ghc-quickcheck) | |
13685 | ("ghc-scientific" ,ghc-scientific) | |
13686 | ("ghc-tagged" ,ghc-tagged) | |
13687 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
13688 | ("ghc-uuid-types" ,ghc-uuid-types) | |
13689 | ("ghc-vector" ,ghc-vector))) | |
13690 | (native-inputs | |
13691 | `(("ghc-base-compat" ,ghc-base-compat) | |
13692 | ("ghc-quickcheck" ,ghc-quickcheck) | |
13693 | ("ghc-ansi-terminal" ,ghc-ansi-terminal) | |
13694 | ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) | |
13695 | ("ghc-trifecta" ,ghc-trifecta) | |
13696 | ("ghc-tasty" ,ghc-tasty) | |
13697 | ("ghc-tasty-golden" ,ghc-tasty-golden) | |
13698 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
13699 | (home-page "https://github.com/phadej/tree-diff") | |
13700 | (synopsis "Compute difference between (expression) trees") | |
13701 | (description "This Haskell library provides a function for computing | |
13702 | the difference between (expression) trees. It also provides a way to | |
13703 | compute the difference between arbitrary abstract datatypes (ADTs) using | |
13704 | @code{Generics}-derivable helpers.") | |
13705 | (license license:bsd-3))) | |
13706 | ||
13707 | (define-public ghc-trifecta | |
13708 | (package | |
13709 | (name "ghc-trifecta") | |
13710 | (version "2") | |
13711 | (source (origin | |
13712 | (method url-fetch) | |
13713 | (uri (string-append | |
13714 | "https://hackage.haskell.org/package/trifecta/" | |
13715 | "trifecta-" version ".tar.gz")) | |
13716 | (sha256 | |
13717 | (base32 | |
13718 | "0hznd8i65s81xy13i2qc7cvipw3lfb2yhkv53apbdsh6sbljz5sk")))) | |
13719 | (build-system haskell-build-system) | |
5ffe8cfd TS |
13720 | (arguments |
13721 | `(#:tests? #f ; doctest suite fails to build on i686 | |
13722 | #:cabal-revision | |
13723 | ("4" "0xbwyvwl6f2zylk60f2akwgq03qv49113xil7b1z1s3vlwbn5aj1"))) | |
dddbc90c RV |
13724 | (inputs |
13725 | `(("ghc-reducers" ,ghc-reducers) | |
13726 | ("ghc-semigroups" ,ghc-semigroups) | |
13727 | ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) | |
13728 | ("ghc-ansi-terminal" ,ghc-ansi-terminal) | |
13729 | ("ghc-blaze-builder" ,ghc-blaze-builder) | |
13730 | ("ghc-blaze-html" ,ghc-blaze-html) | |
13731 | ("ghc-blaze-markup" ,ghc-blaze-markup) | |
13732 | ("ghc-charset" ,ghc-charset) | |
13733 | ("ghc-comonad" ,ghc-comonad) | |
13734 | ("ghc-fingertree" ,ghc-fingertree) | |
13735 | ("ghc-hashable" ,ghc-hashable) | |
13736 | ("ghc-lens" ,ghc-lens) | |
13737 | ("ghc-parsers" ,ghc-parsers) | |
13738 | ("ghc-profunctors" ,ghc-profunctors) | |
13739 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
13740 | ("ghc-utf8-string" ,ghc-utf8-string))) | |
13741 | (native-inputs | |
13742 | `(("cabal-doctest" ,cabal-doctest) | |
13743 | ("ghc-doctest" ,ghc-doctest) | |
13744 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
13745 | (home-page "https://github.com/ekmett/trifecta/") | |
13746 | (synopsis "Parser combinator library with convenient diagnostics") | |
13747 | (description "Trifecta is a modern parser combinator library for Haskell, | |
13748 | with slicing and Clang-style colored diagnostics.") | |
13749 | (license license:bsd-3))) | |
13750 | ||
13751 | (define-public ghc-tuple-th | |
13752 | (package | |
13753 | (name "ghc-tuple-th") | |
13754 | (version "0.2.5") | |
13755 | (source | |
13756 | (origin | |
13757 | (method url-fetch) | |
13758 | (uri (string-append "https://hackage.haskell.org/package/" | |
13759 | "tuple-th-" version "/" | |
13760 | "tuple-th-" version ".tar.gz")) | |
13761 | (sha256 | |
13762 | (base32 | |
13763 | "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn")))) | |
13764 | (build-system haskell-build-system) | |
13765 | (home-page "https://github.com/DanielSchuessler/tuple-th") | |
13766 | (synopsis "Generate utility functions for tuples of statically known size | |
13767 | for Haskell") | |
13768 | (description "This Haskell package contains Template Haskell functions for | |
13769 | generating functions similar to those in @code{Data.List} for tuples of | |
13770 | statically known size.") | |
13771 | (license license:bsd-3))) | |
13772 | ||
9f776fe2 JS |
13773 | (define-public ghc-turtle |
13774 | (package | |
13775 | (name "ghc-turtle") | |
13776 | (version "1.5.15") | |
13777 | (source | |
13778 | (origin | |
13779 | (method url-fetch) | |
13780 | (uri (string-append | |
13781 | "mirror://hackage/package/turtle/turtle-" | |
13782 | version | |
13783 | ".tar.gz")) | |
13784 | (sha256 | |
13785 | (base32 | |
13786 | "0yckgsc2a4g5x867gni80ldp226bsnhncfbil4ql6v2zwm4r8p7f")))) | |
13787 | (build-system haskell-build-system) | |
13788 | (inputs | |
13789 | `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) | |
13790 | ("ghc-async" ,ghc-async) | |
13791 | ("ghc-clock" ,ghc-clock) | |
13792 | ("ghc-exceptions" ,ghc-exceptions) | |
13793 | ("ghc-foldl" ,ghc-foldl) | |
13794 | ("ghc-hostname" ,ghc-hostname) | |
13795 | ("ghc-managed" ,ghc-managed) | |
13796 | ("ghc-semigroups" ,ghc-semigroups) | |
13797 | ("ghc-system-filepath" ,ghc-system-filepath) | |
13798 | ("ghc-system-fileio" ,ghc-system-fileio) | |
13799 | ("ghc-streaming-commons" ,ghc-streaming-commons) | |
13800 | ("ghc-temporary" ,ghc-temporary) | |
13801 | ("ghc-optparse-applicative" ,ghc-optparse-applicative) | |
13802 | ("ghc-optional-args" ,ghc-optional-args) | |
13803 | ("ghc-unix-compat" ,ghc-unix-compat))) | |
13804 | (native-inputs | |
13805 | `(("ghc-doctest" ,ghc-doctest) | |
13806 | ("ghc-fail" ,ghc-fail))) | |
13807 | (arguments | |
13808 | `(#:cabal-revision | |
13809 | ("1" "02q1rv7zx31xz9wnmcqwd4w3iw7623p07iyi21zr0cqlignic5pg"))) | |
13810 | (home-page | |
13811 | "http://hackage.haskell.org/package/turtle") | |
13812 | (synopsis "Shell programming, Haskell-style") | |
13813 | (description | |
13814 | "Turtle is a reimplementation of the Unix command line environment in | |
13815 | Haskell so that you can use Haskell as both a shell and a scripting | |
13816 | language. Features include: | |
13817 | ||
13818 | @itemize | |
13819 | @item Batteries included: Command an extended suite of predefined utilities. | |
13820 | @item Interoperability: You can still run external shell commands. | |
13821 | @item Portability: Works on Windows, OS X, and Linux. | |
13822 | @item Exception safety: Safely acquire and release resources. | |
13823 | @item Streaming: Transform or fold command output in constant space. | |
13824 | @item Patterns: Use typed regular expressions that can parse structured values. | |
13825 | @item Formatting: Type-safe printf-style text formatting. | |
13826 | @item Modern: Supports text and system-filepath. | |
13827 | @end itemize | |
13828 | ||
13829 | Read \"Turtle.Tutorial\" for a detailed tutorial or \"Turtle.Prelude\" for a | |
13830 | quick-start guide. Turtle is designed to be beginner-friendly, but as a | |
13831 | result lacks certain features, like tracing commands. If you feel comfortable | |
13832 | using turtle then you should also check out the Shelly library which provides | |
13833 | similar functionality.") | |
13834 | (license license:bsd-3))) | |
13835 | ||
dddbc90c RV |
13836 | (define-public ghc-typed-process |
13837 | (package | |
13838 | (name "ghc-typed-process") | |
72fb84a5 | 13839 | (version "0.2.6.0") |
dddbc90c RV |
13840 | (source |
13841 | (origin | |
13842 | (method url-fetch) | |
13843 | (uri (string-append "https://hackage.haskell.org/package/" | |
13844 | "typed-process/typed-process-" | |
13845 | version ".tar.gz")) | |
13846 | (sha256 | |
13847 | (base32 | |
72fb84a5 | 13848 | "1cf2pfym8zdxvvy7xv72ixj7wy3rjrdss6f57k1ysgs66cgsi8ii")))) |
dddbc90c RV |
13849 | (build-system haskell-build-system) |
13850 | (inputs | |
72fb84a5 TS |
13851 | `(("ghc-async" ,ghc-async) |
13852 | ("ghc-unliftio-core" ,ghc-unliftio-core))) | |
dddbc90c RV |
13853 | (native-inputs |
13854 | `(("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
13855 | ("ghc-hspec" ,ghc-hspec) | |
13856 | ("hspec-discover" ,hspec-discover) | |
13857 | ("ghc-temporary" ,ghc-temporary))) | |
13858 | (home-page "https://haskell-lang.org/library/typed-process") | |
13859 | (synopsis "Run external processes with strong typing of streams") | |
13860 | (description | |
13861 | "This library provides the ability to launch and interact with external | |
13862 | processes. It wraps around the @code{process} library, and intends to improve | |
13863 | upon it.") | |
13864 | (license license:expat))) | |
13865 | ||
d392f803 AG |
13866 | (define-public ghc-unagi-chan |
13867 | (package | |
13868 | (name "ghc-unagi-chan") | |
13869 | (version "0.4.1.2") | |
13870 | (source | |
13871 | (origin | |
13872 | (method url-fetch) | |
13873 | (uri (string-append "https://hackage.haskell.org/package/unagi-chan" | |
13874 | "/unagi-chan-" version ".tar.gz")) | |
13875 | (sha256 | |
13876 | (base32 | |
13877 | "1lnl5n4jnjmm4chp461glcwkrrw63rjz3fvprwxcy3lkpbkrqvgn")))) | |
13878 | (build-system haskell-build-system) | |
13879 | (inputs | |
13880 | `(("ghc-atomic-primops" ,ghc-atomic-primops) | |
13881 | ("ghc-primitive" ,ghc-primitive))) | |
13882 | (arguments | |
13883 | `(#:tests? #f ; FIXME: Tests expect primitive 0.7 | |
13884 | #:cabal-revision | |
13885 | ("1" | |
13886 | "09pqi867wskwgc5lpn197f895mbn1174ydgllvcppcsmrz2b6yr6"))) | |
3ef91e15 | 13887 | (home-page "https://hackage.haskell.org/package/unagi-chan") |
d392f803 AG |
13888 | (synopsis "Fast concurrent queues with a Chan-like API, and more") |
13889 | (description | |
13890 | "This library provides implementations of concurrent FIFO queues (for | |
13891 | both general boxed and primitive unboxed values) that are fast, perform well | |
13892 | under contention, and offer a Chan-like interface. The library may be of | |
13893 | limited usefulness outside of x86 architectures where the fetch-and-add | |
13894 | instruction is not available.") | |
13895 | (license license:bsd-3))) | |
13896 | ||
dddbc90c RV |
13897 | (define-public ghc-unbounded-delays |
13898 | (package | |
13899 | (name "ghc-unbounded-delays") | |
13900 | (version "0.1.1.0") | |
13901 | (source | |
13902 | (origin | |
13903 | (method url-fetch) | |
13904 | (uri (string-append | |
13905 | "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-" | |
13906 | version | |
13907 | ".tar.gz")) | |
13908 | (sha256 | |
13909 | (base32 | |
13910 | "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa")))) | |
13911 | (build-system haskell-build-system) | |
13912 | (home-page "https://github.com/basvandijk/unbounded-delays") | |
13913 | (synopsis "Unbounded thread delays and timeouts") | |
13914 | (description "The @code{threadDelay} and @code{timeout} functions from the | |
13915 | Haskell base library use the bounded @code{Int} type for specifying the delay | |
13916 | or timeout period. This package provides alternative functions which use the | |
13917 | unbounded @code{Integer} type.") | |
13918 | (license license:bsd-3))) | |
13919 | ||
13920 | (define-public ghc-unexceptionalio | |
13921 | (package | |
13922 | (name "ghc-unexceptionalio") | |
13923 | (version "0.4.0") | |
13924 | (source | |
13925 | (origin | |
13926 | (method url-fetch) | |
13927 | (uri (string-append "https://hackage.haskell.org/package/" | |
13928 | "unexceptionalio-" version "/" "unexceptionalio-" | |
13929 | version ".tar.gz")) | |
13930 | (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p")))) | |
13931 | (build-system haskell-build-system) | |
13932 | (home-page "https://github.com/singpolyma/unexceptionalio") | |
13933 | (synopsis "IO without any non-error, synchronous exceptions") | |
13934 | (description "When you've caught all the exceptions that can be | |
13935 | handled safely, this is what you're left with.") | |
13936 | (license license:isc))) | |
13937 | ||
b69d4aa7 TS |
13938 | (define-public ghc-unicode-transforms |
13939 | (package | |
13940 | (name "ghc-unicode-transforms") | |
13941 | (version "0.3.6") | |
13942 | (source | |
13943 | (origin | |
13944 | (method url-fetch) | |
13945 | (uri (string-append "https://hackage.haskell.org/package/" | |
13946 | "unicode-transforms/unicode-transforms-" | |
13947 | version ".tar.gz")) | |
13948 | (sha256 | |
13949 | (base32 | |
13950 | "1akscvyssif4hki3g6hy0jmjyr8cqly1whzvzj0km2b3qh0x09l3")))) | |
13951 | (build-system haskell-build-system) | |
13952 | (inputs | |
13953 | `(("ghc-bitarray" ,ghc-bitarray))) | |
13954 | (native-inputs | |
13955 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
13956 | ("ghc-getopt-generics" ,ghc-getopt-generics) | |
13957 | ("ghc-split" ,ghc-split))) | |
13958 | (home-page "https://github.com/composewell/unicode-transforms") | |
13959 | (synopsis "Unicode normalization") | |
13960 | (description "This library provides tools for fast Unicode 12.1.0 | |
13961 | normalization in Haskell (normalization forms C, KC, D, and KD).") | |
13962 | (license license:bsd-3))) | |
13963 | ||
dddbc90c RV |
13964 | (define-public ghc-union-find |
13965 | (package | |
13966 | (name "ghc-union-find") | |
13967 | (version "0.2") | |
13968 | (source (origin | |
13969 | (method url-fetch) | |
13970 | (uri (string-append | |
13971 | "https://hackage.haskell.org/package/union-find/union-find-" | |
13972 | version ".tar.gz")) | |
13973 | (sha256 | |
13974 | (base32 | |
13975 | "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6")))) | |
13976 | (build-system haskell-build-system) | |
13977 | (home-page "https://github.com/nominolo/union-find") | |
13978 | (synopsis "Efficient union and equivalence testing of sets") | |
13979 | (description | |
13980 | "The Union/Find algorithm implements these operations in (effectively) | |
13981 | constant-time: | |
13982 | @enumerate | |
13983 | @item Check whether two elements are in the same equivalence class. | |
13984 | @item Create a union of two equivalence classes. | |
13985 | @item Look up the descriptor of the equivalence class. | |
13986 | @end enumerate\n") | |
13987 | (license license:bsd-3))) | |
13988 | ||
13989 | (define-public ghc-uniplate | |
13990 | (package | |
13991 | (name "ghc-uniplate") | |
13992 | (version "1.6.12") | |
13993 | (source | |
13994 | (origin | |
13995 | (method url-fetch) | |
13996 | (uri (string-append | |
13997 | "https://hackage.haskell.org/package/uniplate/uniplate-" | |
13998 | version | |
13999 | ".tar.gz")) | |
14000 | (sha256 | |
14001 | (base32 | |
14002 | "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw")))) | |
14003 | (build-system haskell-build-system) | |
14004 | (inputs | |
14005 | `(("ghc-syb" ,ghc-syb) | |
14006 | ("ghc-hashable" ,ghc-hashable) | |
14007 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
f5d88758 | 14008 | (home-page "https://github.com/ndmitchell/uniplate") |
dddbc90c RV |
14009 | (synopsis "Simple, concise and fast generic operations") |
14010 | (description "Uniplate is a library for writing simple and concise generic | |
14011 | operations. Uniplate has similar goals to the original Scrap Your Boilerplate | |
14012 | work, but is substantially simpler and faster.") | |
14013 | (license license:bsd-3))) | |
14014 | ||
14015 | (define-public ghc-unix-compat | |
14016 | (package | |
14017 | (name "ghc-unix-compat") | |
bc82e9f5 | 14018 | (version "0.5.2") |
dddbc90c RV |
14019 | (source |
14020 | (origin | |
14021 | (method url-fetch) | |
14022 | (uri (string-append | |
14023 | "https://hackage.haskell.org/package/unix-compat/unix-compat-" | |
14024 | version | |
14025 | ".tar.gz")) | |
14026 | (sha256 | |
14027 | (base32 | |
bc82e9f5 | 14028 | "1a8brv9fax76b1fymslzyghwa6ma8yijiyyhn12msl3i5x24x6k5")))) |
dddbc90c RV |
14029 | (build-system haskell-build-system) |
14030 | (home-page | |
14031 | "https://github.com/jystic/unix-compat") | |
14032 | (synopsis "Portable POSIX-compatibility layer") | |
14033 | (description | |
14034 | "This package provides portable implementations of parts of the unix | |
14035 | package. This package re-exports the unix package when available. When it | |
14036 | isn't available, portable implementations are used.") | |
14037 | (license license:bsd-3))) | |
14038 | ||
14039 | (define-public ghc-unix-time | |
14040 | (package | |
14041 | (name "ghc-unix-time") | |
fad9cff2 | 14042 | (version "0.4.7") |
dddbc90c RV |
14043 | (source |
14044 | (origin | |
14045 | (method url-fetch) | |
14046 | (uri (string-append | |
14047 | "https://hackage.haskell.org/package/unix-time/unix-time-" | |
14048 | version | |
14049 | ".tar.gz")) | |
14050 | (sha256 | |
14051 | (base32 | |
fad9cff2 | 14052 | "02fyh298lm8jsg52i3z0ikazwz477ljqjmhnqr2d88grmn5ky8qr")))) |
dddbc90c RV |
14053 | (build-system haskell-build-system) |
14054 | (arguments | |
14055 | `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This | |
14056 | ; is weird, that should be provided by GHC 7.10.2. | |
14057 | (inputs | |
14058 | `(("ghc-old-time" ,ghc-old-time) | |
14059 | ("ghc-old-locale" ,ghc-old-locale))) | |
14060 | (home-page "https://hackage.haskell.org/package/unix-time") | |
14061 | (synopsis "Unix time parser/formatter and utilities") | |
14062 | (description "This library provides fast parsing and formatting utilities | |
14063 | for Unix time in Haskell.") | |
14064 | (license license:bsd-3))) | |
14065 | ||
14066 | (define-public ghc-unliftio | |
14067 | (package | |
14068 | (name "ghc-unliftio") | |
a4084db1 | 14069 | (version "0.2.12") |
dddbc90c RV |
14070 | (source |
14071 | (origin | |
14072 | (method url-fetch) | |
14073 | (uri (string-append | |
14074 | "https://hackage.haskell.org/package/unliftio/unliftio-" | |
14075 | version | |
14076 | ".tar.gz")) | |
14077 | (sha256 | |
14078 | (base32 | |
a4084db1 | 14079 | "02gy1zrxgzg4xmzm8lafsf1nyr3as1q20r8ld73xg3q7rkag9acg")))) |
dddbc90c RV |
14080 | (build-system haskell-build-system) |
14081 | (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH | |
2b3466de | 14082 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
14083 | (inputs |
14084 | `(("ghc-async" ,ghc-async) | |
14085 | ("ghc-unliftio-core" ,ghc-unliftio-core))) | |
14086 | (native-inputs `(("ghc-hspec" ,ghc-hspec))) | |
14087 | (home-page "https://github.com/fpco/unliftio") | |
14088 | (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to | |
14089 | IO (batteries included)") | |
14090 | (description "This Haskell package provides the core @code{MonadUnliftIO} | |
14091 | typeclass, a number of common instances, and a collection of common functions | |
14092 | working with it.") | |
14093 | (license license:expat))) | |
14094 | ||
14095 | (define-public ghc-unliftio-core | |
14096 | (package | |
14097 | (name "ghc-unliftio-core") | |
2ae42618 | 14098 | (version "0.1.2.0") |
dddbc90c RV |
14099 | (source |
14100 | (origin | |
14101 | (method url-fetch) | |
14102 | (uri (string-append "https://hackage.haskell.org/package/" | |
14103 | "unliftio-core-" version "/" | |
14104 | "unliftio-core-" version ".tar.gz")) | |
14105 | (sha256 | |
14106 | (base32 | |
2ae42618 | 14107 | "0y3siyx3drkw7igs380a87h8qfbbgcyxxlcnshp698hcc4yqphr4")))) |
dddbc90c RV |
14108 | (build-system haskell-build-system) |
14109 | (arguments | |
14110 | `(#:cabal-revision | |
2ae42618 | 14111 | ("2" "0jqrjjbgicx48wzcjxs1xmih48ay79rhmrz6081dldlfxynli6vz"))) |
dddbc90c RV |
14112 | (home-page |
14113 | "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme") | |
14114 | (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO") | |
14115 | (description "This Haskell package provides the core @code{MonadUnliftIO} | |
14116 | typeclass, instances for base and transformers, and basic utility | |
14117 | functions.") | |
14118 | (license license:expat))) | |
14119 | ||
14120 | (define-public ghc-unordered-containers | |
14121 | (package | |
14122 | (name "ghc-unordered-containers") | |
ca01f8d3 | 14123 | (version "0.2.10.0") |
534d6caa | 14124 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
14125 | (source |
14126 | (origin | |
14127 | (method url-fetch) | |
14128 | (uri (string-append | |
14129 | "https://hackage.haskell.org/package/unordered-containers" | |
14130 | "/unordered-containers-" version ".tar.gz")) | |
14131 | (sha256 | |
14132 | (base32 | |
ca01f8d3 | 14133 | "0wy5hfrs880hh8hvp648bl07ws777n3kkmczzdszr7papnyigwb5")))) |
dddbc90c RV |
14134 | (build-system haskell-build-system) |
14135 | (inputs | |
14136 | `(("ghc-chasingbottoms" ,ghc-chasingbottoms) | |
14137 | ("ghc-hunit" ,ghc-hunit) | |
14138 | ("ghc-quickcheck" ,ghc-quickcheck) | |
14139 | ("ghc-test-framework" ,ghc-test-framework) | |
14140 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
14141 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
14142 | ("ghc-hashable" ,ghc-hashable))) | |
14143 | (home-page | |
14144 | "https://github.com/tibbe/unordered-containers") | |
14145 | (synopsis | |
14146 | "Efficient hashing-based container types") | |
14147 | (description | |
14148 | "Efficient hashing-based container types. The containers have been | |
14149 | optimized for performance critical use, both in terms of large data quantities | |
14150 | and high speed.") | |
14151 | (license license:bsd-3))) | |
14152 | ||
14153 | (define-public ghc-unordered-containers-bootstrap | |
14154 | (package | |
14155 | (inherit ghc-unordered-containers) | |
14156 | (name "ghc-unordered-containers-bootstrap") | |
14157 | (arguments `(#:tests? #f)) | |
14158 | (inputs | |
14159 | `(("ghc-hashable" ,ghc-hashable-bootstrap))) | |
799d8d3c | 14160 | (properties '((hidden? #t))))) |
dddbc90c | 14161 | |
a52f4c57 JS |
14162 | (define-public ghc-unsafe |
14163 | (package | |
14164 | (name "ghc-unsafe") | |
14165 | (version "0.0") | |
14166 | (source | |
14167 | (origin | |
14168 | (method url-fetch) | |
14169 | (uri | |
14170 | (string-append | |
14171 | "https://hackage.haskell.org/package/unsafe/unsafe-" | |
14172 | version ".tar.gz")) | |
14173 | (sha256 | |
14174 | (base32 | |
14175 | "0hc6xr1i3hkz25gdgfx1jqgpsc9mwa05bkfynp0mcfdlyz6782nz")))) | |
14176 | (build-system haskell-build-system) | |
14177 | (home-page "https://hackage.haskell.org/package/unsafe") | |
14178 | (synopsis "Unified interface to unsafe functions") | |
14179 | (description "Safe Haskell introduced the notion of safe and unsafe | |
14180 | modules. In order to make as many as possible modules ``safe'', the | |
14181 | well-known unsafe functions were moved to distinguished modules. This | |
14182 | makes it hard to write packages that work with both old and new versions | |
14183 | of GHC. This package provides a single module System.Unsafe that | |
14184 | exports the unsafe functions from the base package. It provides them in | |
14185 | a style ready for qualification, that is, you should import them by | |
14186 | @code{import qualified System.Unsafe as Unsafe}.") | |
14187 | (license license:bsd-3))) | |
14188 | ||
dddbc90c RV |
14189 | (define-public ghc-uri-bytestring |
14190 | (package | |
14191 | (name "ghc-uri-bytestring") | |
d35ffd39 | 14192 | (version "0.3.2.2") |
dddbc90c RV |
14193 | (source |
14194 | (origin | |
14195 | (method url-fetch) | |
14196 | (uri (string-append "https://hackage.haskell.org/package/" | |
14197 | "uri-bytestring-" version "/" | |
14198 | "uri-bytestring-" version ".tar.gz")) | |
14199 | (sha256 | |
14200 | (base32 | |
d35ffd39 | 14201 | "0spzv3mwlpxiamd7347sxwcy2xri16ak1y7p1v4fisnvq4jprm67")))) |
dddbc90c RV |
14202 | (build-system haskell-build-system) |
14203 | (inputs `(("ghc-attoparsec" ,ghc-attoparsec) | |
dddbc90c RV |
14204 | ("ghc-blaze-builder" ,ghc-blaze-builder) |
14205 | ("ghc-th-lift-instances" ,ghc-th-lift-instances))) | |
d35ffd39 | 14206 | (native-inputs `(("ghc-hunit" ,ghc-hunit) |
dddbc90c RV |
14207 | ("ghc-tasty" ,ghc-tasty) |
14208 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
d35ffd39 TS |
14209 | ("ghc-hedgehog" ,ghc-hedgehog) |
14210 | ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog) | |
dddbc90c | 14211 | ("ghc-base-compat" ,ghc-base-compat) |
dddbc90c | 14212 | ("ghc-semigroups" ,ghc-semigroups) |
d35ffd39 | 14213 | ("ghc-safe" ,ghc-safe))) |
dddbc90c RV |
14214 | (home-page "https://github.com/Soostone/uri-bytestring") |
14215 | (synopsis "Haskell URI parsing as ByteStrings") | |
14216 | (description "This Haskell package aims to be an RFC3986 compliant URI | |
14217 | parser that uses ByteStrings for parsing and representing the URI data.") | |
14218 | (license license:bsd-3))) | |
14219 | ||
d7ad0823 JS |
14220 | (define-public ghc-utf8-light |
14221 | (package | |
14222 | (name "ghc-utf8-light") | |
14223 | (version "0.4.2") | |
14224 | (source | |
14225 | (origin | |
14226 | (method url-fetch) | |
14227 | (uri (string-append | |
14228 | "mirror://hackage/package/utf8-light/utf8-light-" | |
14229 | version | |
14230 | ".tar.gz")) | |
14231 | (sha256 | |
14232 | (base32 | |
14233 | "0rwyc5z331yfnm4hpx0sph6i1zvkd1z10vvglhnp0vc9wy644k0q")))) | |
14234 | (build-system haskell-build-system) | |
14235 | (home-page | |
14236 | "http://hackage.haskell.org/package/utf8-light") | |
14237 | (synopsis "Lightweight unicode support for Haskell") | |
14238 | (description | |
14239 | "This package profides a class for encoding and decoding UTF8 strings | |
14240 | with instances for several common types. It also includes several functions | |
14241 | for working with UTF8. It aims to be lightweight, depending only on Base and | |
14242 | including only one module.") | |
14243 | (license license:bsd-3))) | |
14244 | ||
dddbc90c RV |
14245 | (define-public ghc-utf8-string |
14246 | (package | |
14247 | (name "ghc-utf8-string") | |
14248 | (version "1.0.1.1") | |
14249 | (source | |
14250 | (origin | |
14251 | (method url-fetch) | |
14252 | (uri (string-append | |
14253 | "https://hackage.haskell.org/package/utf8-string/utf8-string-" | |
14254 | version | |
14255 | ".tar.gz")) | |
14256 | (sha256 | |
14257 | (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv")))) | |
14258 | (build-system haskell-build-system) | |
14259 | (arguments | |
14260 | `(#:cabal-revision | |
14261 | ("3" "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38"))) | |
14262 | (home-page "https://github.com/glguy/utf8-string/") | |
14263 | (synopsis "Support for reading and writing UTF8 Strings") | |
14264 | (description | |
14265 | "A UTF8 layer for Strings. The utf8-string package provides operations | |
14266 | for encoding UTF8 strings to Word8 lists and back, and for reading and writing | |
14267 | UTF8 without truncation.") | |
14268 | (license license:bsd-3))) | |
14269 | ||
14270 | (define-public ghc-utility-ht | |
14271 | (package | |
14272 | (name "ghc-utility-ht") | |
14273 | (version "0.0.14") | |
14274 | (home-page "https://hackage.haskell.org/package/utility-ht") | |
14275 | (source | |
14276 | (origin | |
14277 | (method url-fetch) | |
14278 | (uri (string-append home-page "/utility-ht-" version ".tar.gz")) | |
14279 | (sha256 | |
14280 | (base32 "1a7bgk7wv7sqbxbiv7kankiimr3wij7zdm7s83zwsf886ghyxhk9")))) | |
14281 | (build-system haskell-build-system) | |
14282 | (inputs `(("ghc-quickcheck" ,ghc-quickcheck))) | |
14283 | (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions") | |
14284 | (description "This package includes Hakell modules providing various | |
14285 | helper functions for Lists, Maybes, Tuples, Functions.") | |
14286 | (license license:bsd-3))) | |
14287 | ||
14288 | (define-public ghc-uuid | |
14289 | (package | |
14290 | (name "ghc-uuid") | |
14291 | (version "1.3.13") | |
14292 | (source | |
14293 | (origin | |
14294 | (method url-fetch) | |
14295 | (uri (string-append "https://hackage.haskell.org/package/" | |
14296 | "uuid-" version "/" | |
14297 | "uuid-" version ".tar.gz")) | |
14298 | (sha256 | |
14299 | (base32 | |
14300 | "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z")))) | |
14301 | (build-system haskell-build-system) | |
14302 | (arguments | |
14303 | `(#:cabal-revision | |
14304 | ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9") | |
14305 | #:phases | |
14306 | (modify-phases %standard-phases | |
14307 | (add-before 'configure 'strip-test-framework-constraints | |
14308 | (lambda _ | |
14309 | (substitute* "uuid.cabal" | |
14310 | (("HUnit >= 1\\.2 && < 1\\.4") "HUnit") | |
14311 | (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck") | |
14312 | (("tasty >= 0\\.10 && < 0\\.12") "tasty") | |
14313 | (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit") | |
14314 | (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck"))))))) | |
14315 | (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1) | |
14316 | ("ghc-cryptohash-md5" ,ghc-cryptohash-md5) | |
14317 | ("ghc-entropy" ,ghc-entropy) | |
14318 | ("ghc-network-info" ,ghc-network-info) | |
14319 | ("ghc-random" ,ghc-random) | |
14320 | ("ghc-uuid-types" ,ghc-uuid-types))) | |
14321 | (native-inputs `(("ghc-hunit" ,ghc-hunit) | |
14322 | ("ghc-quickcheck" ,ghc-quickcheck) | |
14323 | ("ghc-tasty" ,ghc-tasty) | |
14324 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
14325 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
14326 | (home-page "https://github.com/hvr/uuid") | |
14327 | (synopsis "Haskell library to create, compare, parse, and print UUIDs") | |
14328 | (description "This Haskell library provides utilities creating, comparing, | |
14329 | parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.") | |
14330 | (license license:bsd-3))) | |
14331 | ||
14332 | (define-public ghc-uuid-types | |
14333 | (package | |
14334 | (name "ghc-uuid-types") | |
14335 | (version "1.0.3") | |
14336 | (source | |
14337 | (origin | |
14338 | (method url-fetch) | |
14339 | (uri (string-append "https://hackage.haskell.org/package/" | |
14340 | "uuid-types-" version "/" | |
14341 | "uuid-types-" version ".tar.gz")) | |
14342 | (sha256 | |
14343 | (base32 | |
14344 | "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj")))) | |
14345 | (build-system haskell-build-system) | |
14346 | (arguments | |
14347 | `(#:phases | |
14348 | (modify-phases %standard-phases | |
14349 | (add-before 'configure 'strip-test-framework-constraints | |
14350 | (lambda _ | |
14351 | (substitute* "uuid-types.cabal" | |
14352 | (("HUnit >=1\\.2 && < 1\\.4") "HUnit") | |
14353 | (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck") | |
14354 | (("tasty >= 0\\.10 && < 0\\.12") "tasty") | |
14355 | (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit") | |
14356 | (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck"))))))) | |
14357 | (inputs `(("ghc-hashable" ,ghc-hashable) | |
14358 | ("ghc-random" ,ghc-random))) | |
14359 | (native-inputs `(("ghc-hunit" ,ghc-hunit) | |
14360 | ("ghc-quickcheck" ,ghc-quickcheck) | |
14361 | ("ghc-tasty" ,ghc-tasty) | |
14362 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
14363 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
14364 | (home-page "https://github.com/hvr/uuid") | |
14365 | (synopsis "Haskell type definitions for UUIDs") | |
14366 | (description "This Haskell library contains type definitions for | |
14367 | @dfn{Universally Unique Identifiers} or | |
14368 | @uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion | |
14369 | functions.") | |
14370 | (license license:bsd-3))) | |
14371 | ||
14372 | (define-public ghc-validation | |
14373 | (package | |
14374 | (name "ghc-validation") | |
08397fde | 14375 | (version "1.1") |
dddbc90c RV |
14376 | (source |
14377 | (origin | |
14378 | (method url-fetch) | |
14379 | (uri (string-append | |
14380 | "mirror://hackage/package/validation/validation-" | |
14381 | version | |
14382 | ".tar.gz")) | |
14383 | (sha256 | |
14384 | (base32 | |
08397fde | 14385 | "1acj7mh3581ks405xswxw6667z7y1y0slisg6jvp6chc191ji9l5")))) |
dddbc90c RV |
14386 | (build-system haskell-build-system) |
14387 | (arguments | |
14388 | `(#:cabal-revision | |
08397fde | 14389 | ("1" "1rrjg9z399k6pb55nv85mlr5bkmdqbjwkvl1cy7ydccdx6ks4syp"))) |
dddbc90c RV |
14390 | (inputs |
14391 | `(("ghc-semigroups" ,ghc-semigroups) | |
14392 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
14393 | ("ghc-bifunctors" ,ghc-bifunctors) | |
14394 | ("ghc-lens" ,ghc-lens))) | |
14395 | (native-inputs | |
14396 | `(("ghc-hedgehog" ,ghc-hedgehog) | |
14397 | ("ghc-hunit" ,ghc-hunit))) | |
14398 | (home-page "https://github.com/qfpl/validation") | |
14399 | (synopsis | |
14400 | "Data-type like Either but with an accumulating Applicative") | |
14401 | (description | |
14402 | "A data-type like Either but with differing properties and type-class | |
14403 | instances. | |
14404 | ||
14405 | Library support is provided for this different representation, including | |
14406 | @code{lens}-related functions for converting between each and abstracting over | |
14407 | their similarities. | |
14408 | ||
14409 | The @code{Validation} data type is isomorphic to @code{Either}, but has an | |
14410 | instance of @code{Applicative} that accumulates on the error side. That is to | |
14411 | say, if two (or more) errors are encountered, they are appended using a | |
14412 | @{Semigroup} operation. | |
14413 | ||
14414 | As a consequence of this @code{Applicative} instance, there is no | |
14415 | corresponding @code{Bind} or @code{Monad} instance. @code{Validation} is an | |
14416 | example of, \"An applicative functor that is not a monad.\"") | |
14417 | (license license:bsd-3))) | |
14418 | ||
14419 | (define-public ghc-validity | |
14420 | (package | |
14421 | (name "ghc-validity") | |
3f1ba75d | 14422 | (version "0.9.0.2") |
dddbc90c RV |
14423 | (source |
14424 | (origin | |
14425 | (method url-fetch) | |
14426 | (uri (string-append | |
14427 | "https://hackage.haskell.org/package/validity/validity-" | |
14428 | version | |
14429 | ".tar.gz")) | |
14430 | (sha256 | |
14431 | (base32 | |
3f1ba75d | 14432 | "1aa93lp1pqwv7vhx19nazlig8qhbp3psblbz360s5lii3s5rli2v")))) |
dddbc90c RV |
14433 | (build-system haskell-build-system) |
14434 | (native-inputs `(("ghc-hspec" ,ghc-hspec) | |
14435 | ("hspec-discover" ,hspec-discover))) | |
14436 | (home-page | |
14437 | "https://github.com/NorfairKing/validity") | |
14438 | (synopsis "Validity typeclass") | |
14439 | (description | |
14440 | "Values of custom types usually have invariants imposed upon them. This | |
14441 | package provides the @code{Validity} type class, which makes these invariants | |
14442 | explicit by providing a function to check whether the invariants hold.") | |
14443 | (license license:expat))) | |
14444 | ||
14445 | (define-public ghc-vault | |
14446 | (package | |
14447 | (name "ghc-vault") | |
b40a436e | 14448 | (version "0.3.1.3") |
dddbc90c RV |
14449 | (source |
14450 | (origin | |
14451 | (method url-fetch) | |
14452 | (uri (string-append | |
14453 | "https://hackage.haskell.org/package/vault/vault-" | |
14454 | version | |
14455 | ".tar.gz")) | |
14456 | (sha256 | |
14457 | (base32 | |
b40a436e | 14458 | "0vdm472vn734xa27jjm2mjacl37mxiqaaahvm4hzqjgyh4cqq377")))) |
dddbc90c RV |
14459 | (build-system haskell-build-system) |
14460 | (inputs | |
14461 | `(("ghc-unordered-containers" ,ghc-unordered-containers) | |
14462 | ("ghc-hashable" ,ghc-hashable) | |
b40a436e | 14463 | ("ghc-semigroups" ,ghc-semigroups))) |
dddbc90c RV |
14464 | (home-page |
14465 | "https://github.com/HeinrichApfelmus/vault") | |
14466 | (synopsis "Persistent store for arbitrary values") | |
14467 | (description "This package provides vaults for Haskell. A vault is a | |
14468 | persistent store for values of arbitrary types. It's like having first-class | |
14469 | access to the storage space behind @code{IORefs}. The data structure is | |
14470 | analogous to a bank vault, where you can access different bank boxes with | |
14471 | different keys; hence the name. Also provided is a @code{locker} type, | |
14472 | representing a store for a single element.") | |
14473 | (license license:bsd-3))) | |
14474 | ||
14475 | (define-public ghc-vector | |
14476 | (package | |
14477 | (name "ghc-vector") | |
3ad67f6b | 14478 | (version "0.12.0.3") |
534d6caa | 14479 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
14480 | (source |
14481 | (origin | |
14482 | (method url-fetch) | |
14483 | (uri (string-append | |
14484 | "https://hackage.haskell.org/package/vector/vector-" | |
14485 | version | |
14486 | ".tar.gz")) | |
14487 | (sha256 | |
14488 | (base32 | |
3ad67f6b | 14489 | "1a756s4w759ji3als5alfxwlckh5zcmykfg9rll4mlr2knzvz8mq")))) |
dddbc90c RV |
14490 | (build-system haskell-build-system) |
14491 | ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests | |
14492 | ;; disabled for now. | |
14493 | (arguments | |
3ad67f6b | 14494 | `(#:tests? #f)) |
dddbc90c RV |
14495 | (inputs |
14496 | `(("ghc-primitive" ,ghc-primitive) | |
14497 | ("ghc-random" ,ghc-random) | |
14498 | ("ghc-quickcheck" ,ghc-quickcheck) | |
14499 | ;; ("ghc-hunit" ,ghc-hunit) | |
14500 | ;; ("ghc-test-framework" ,ghc-test-framework) | |
14501 | ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
14502 | ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
14503 | )) | |
14504 | (home-page "https://github.com/haskell/vector") | |
14505 | (synopsis "Efficient Arrays") | |
14506 | (description "This library provides an efficient implementation of | |
14507 | Int-indexed arrays (both mutable and immutable), with a powerful loop | |
14508 | optimisation framework.") | |
14509 | (license license:bsd-3))) | |
14510 | ||
14511 | (define-public ghc-vector-algorithms | |
14512 | (package | |
14513 | (name "ghc-vector-algorithms") | |
e71f316f | 14514 | (version "0.8.0.1") |
dddbc90c RV |
14515 | (source |
14516 | (origin | |
14517 | (method url-fetch) | |
14518 | (uri (string-append "https://hackage.haskell.org/package/" | |
14519 | "vector-algorithms-" version "/" | |
14520 | "vector-algorithms-" version ".tar.gz")) | |
14521 | (sha256 | |
14522 | (base32 | |
e71f316f | 14523 | "1zip8r7hh5g12xrjvhbg38z6hfxy7l6h6pl88qcqc0ygdmwdxg0m")))) |
dddbc90c RV |
14524 | (build-system haskell-build-system) |
14525 | (inputs | |
14526 | `(("ghc-vector" ,ghc-vector))) | |
14527 | (native-inputs | |
14528 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
14529 | (home-page "https://github.com/bos/math-functions") | |
14530 | (synopsis "Algorithms for vector arrays in Haskell") | |
14531 | (description "This Haskell library algorithms for vector arrays.") | |
14532 | (license license:bsd-3))) | |
14533 | ||
14534 | (define-public ghc-vector-binary-instances | |
14535 | (package | |
14536 | (name "ghc-vector-binary-instances") | |
ca0701ef | 14537 | (version "0.2.5.1") |
dddbc90c RV |
14538 | (source |
14539 | (origin | |
14540 | (method url-fetch) | |
14541 | (uri (string-append | |
14542 | "https://hackage.haskell.org/package/" | |
14543 | "vector-binary-instances/vector-binary-instances-" | |
14544 | version ".tar.gz")) | |
14545 | (sha256 | |
14546 | (base32 | |
ca0701ef | 14547 | "04n5cqm1v95pw1bp68l9drjkxqiy2vswxdq0fy1rqcgxisgvji9r")))) |
dddbc90c | 14548 | (build-system haskell-build-system) |
dddbc90c RV |
14549 | (inputs |
14550 | `(("ghc-vector" ,ghc-vector))) | |
14551 | (native-inputs | |
14552 | `(("ghc-tasty" ,ghc-tasty) | |
14553 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
14554 | (home-page "https://github.com/bos/vector-binary-instances") | |
14555 | (synopsis "Instances of Data.Binary and Data.Serialize for vector") | |
14556 | (description "This library provides instances of @code{Binary} for the | |
14557 | types defined in the @code{vector} package, making it easy to serialize | |
14558 | vectors to and from disk. We use the generic interface to vectors, so all | |
14559 | vector types are supported. Specific instances are provided for unboxed, | |
14560 | boxed and storable vectors.") | |
14561 | (license license:bsd-3))) | |
14562 | ||
14563 | (define-public ghc-vector-builder | |
14564 | (package | |
14565 | (name "ghc-vector-builder") | |
1fc05441 | 14566 | (version "0.3.8") |
dddbc90c RV |
14567 | (source |
14568 | (origin | |
14569 | (method url-fetch) | |
14570 | (uri (string-append "https://hackage.haskell.org/package/" | |
14571 | "vector-builder-" version "/" | |
14572 | "vector-builder-" version ".tar.gz")) | |
14573 | (sha256 | |
14574 | (base32 | |
1fc05441 | 14575 | "0ww0l52p8s6gmh985adnjbvm1vrqpqbm08qdcrvxwhhcqmxgv6m3")))) |
dddbc90c RV |
14576 | (build-system haskell-build-system) |
14577 | (inputs `(("ghc-vector" ,ghc-vector) | |
14578 | ("ghc-semigroups" ,ghc-semigroups) | |
14579 | ("ghc-base-prelude" ,ghc-base-prelude))) | |
14580 | (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec) | |
14581 | ("ghc-tasty" ,ghc-tasty) | |
14582 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
14583 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
14584 | ("ghc-hunit" ,ghc-hunit) | |
14585 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
14586 | ("ghc-rerebase" ,ghc-rerebase))) | |
14587 | (home-page "https://github.com/nikita-volkov/vector-builder") | |
14588 | (synopsis "Vector builder for Haskell") | |
14589 | (description "This Haskell package provides an API for constructing vectors. | |
14590 | It provides the composable @code{Builder} abstraction, which has instances of the | |
14591 | @code{Monoid} and @code{Semigroup} classes. | |
14592 | ||
14593 | You would first use the @code{Builder} abstraction to specify the structure of | |
14594 | the vector; then you can execute the builder to actually produce the | |
14595 | vector. ") | |
14596 | (license license:expat))) | |
14597 | ||
14598 | (define-public ghc-vector-th-unbox | |
14599 | (package | |
14600 | (name "ghc-vector-th-unbox") | |
63056e61 | 14601 | (version "0.2.1.7") |
dddbc90c RV |
14602 | (source |
14603 | (origin | |
14604 | (method url-fetch) | |
14605 | (uri (string-append "https://hackage.haskell.org/package/" | |
14606 | "vector-th-unbox-" version "/" | |
14607 | "vector-th-unbox-" version ".tar.gz")) | |
14608 | (sha256 | |
14609 | (base32 | |
63056e61 | 14610 | "0q8dqnbv1c2gi7jjdhqj14abj1vik23ki6lq4iz2sz18yc7q69fi")))) |
dddbc90c RV |
14611 | (build-system haskell-build-system) |
14612 | (inputs | |
14613 | `(("ghc-vector" ,ghc-vector) | |
14614 | ("ghc-data-default" ,ghc-data-default))) | |
14615 | (home-page "https://github.com/liyang/vector-th-unbox") | |
14616 | (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell") | |
14617 | (description "This Haskell library provides a Template Haskell | |
14618 | deriver for unboxed vectors, given a pair of coercion functions to | |
14619 | and from some existing type with an Unbox instance.") | |
14620 | (license license:bsd-3))) | |
14621 | ||
14622 | (define-public ghc-void | |
14623 | (package | |
14624 | (name "ghc-void") | |
51889121 | 14625 | (version "0.7.3") |
dddbc90c RV |
14626 | (source |
14627 | (origin | |
14628 | (method url-fetch) | |
14629 | (uri (string-append | |
14630 | "https://hackage.haskell.org/package/void/void-" | |
14631 | version | |
14632 | ".tar.gz")) | |
14633 | (sha256 | |
14634 | (base32 | |
51889121 | 14635 | "05vk3x1r9a2pqnzfji475m5gdih2im1h7rbi2sc67p1pvj6pbbsk")))) |
dddbc90c RV |
14636 | (build-system haskell-build-system) |
14637 | (inputs | |
14638 | `(("ghc-semigroups" ,ghc-semigroups) | |
14639 | ("ghc-hashable" ,ghc-hashable))) | |
14640 | (home-page "https://github.com/ekmett/void") | |
14641 | (synopsis | |
14642 | "Logically uninhabited data type") | |
14643 | (description | |
14644 | "A Haskell 98 logically uninhabited data type, used to indicate that a | |
14645 | given term should not exist.") | |
14646 | (license license:bsd-3))) | |
14647 | ||
14648 | (define-public ghc-wave | |
14649 | (package | |
14650 | (name "ghc-wave") | |
1631a0f7 | 14651 | (version "0.2.0") |
dddbc90c RV |
14652 | (source (origin |
14653 | (method url-fetch) | |
14654 | (uri (string-append | |
14655 | "https://hackage.haskell.org/package/wave/wave-" | |
14656 | version | |
14657 | ".tar.gz")) | |
14658 | (sha256 | |
14659 | (base32 | |
1631a0f7 | 14660 | "149kgwngq3qxc7gxpkqb16j669j0wpv2f3gnvfwp58yg6m4259ki")))) |
dddbc90c RV |
14661 | (build-system haskell-build-system) |
14662 | (arguments | |
14663 | '(#:phases | |
14664 | (modify-phases %standard-phases | |
14665 | (add-before 'configure 'update-constraints | |
14666 | (lambda _ | |
14667 | (substitute* "wave.cabal" | |
14668 | (("temporary.* < 1\\.3") | |
14669 | "temporary >= 1.1 && < 1.4"))))))) | |
14670 | (inputs | |
14671 | `(("ghc-cereal" ,ghc-cereal) | |
14672 | ("ghc-data-default-class" | |
14673 | ,ghc-data-default-class) | |
14674 | ("ghc-quickcheck" ,ghc-quickcheck) | |
14675 | ("ghc-temporary" ,ghc-temporary))) | |
14676 | (native-inputs | |
14677 | `(("hspec-discover" ,hspec-discover) | |
14678 | ("ghc-hspec" ,ghc-hspec))) | |
14679 | (home-page "https://github.com/mrkkrp/wave") | |
14680 | (synopsis "Work with WAVE and RF64 files in Haskell") | |
14681 | (description "This package allows you to work with WAVE and RF64 | |
14682 | files in Haskell.") | |
14683 | (license license:bsd-3))) | |
14684 | ||
14685 | (define-public ghc-wcwidth | |
14686 | (package | |
14687 | (name "ghc-wcwidth") | |
14688 | (version "0.0.2") | |
14689 | (source | |
14690 | (origin | |
14691 | (method url-fetch) | |
14692 | (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-" | |
14693 | version ".tar.gz")) | |
14694 | (sha256 | |
14695 | (base32 | |
14696 | "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz")))) | |
14697 | (build-system haskell-build-system) | |
14698 | (inputs | |
14699 | `(("ghc-setlocale" ,ghc-setlocale) | |
14700 | ("ghc-utf8-string" ,ghc-utf8-string) | |
14701 | ("ghc-attoparsec" ,ghc-attoparsec))) | |
14702 | (home-page "https://github.com/solidsnack/wcwidth/") | |
14703 | (synopsis "Haskell bindings to wcwidth") | |
14704 | (description "This package provides Haskell bindings to your system's | |
14705 | native wcwidth and a command line tool to examine the widths assigned by it. | |
14706 | The command line tool can compile a width table to Haskell code that assigns | |
14707 | widths to the Char type.") | |
14708 | (license license:bsd-3))) | |
14709 | ||
14710 | (define-public ghc-wcwidth-bootstrap | |
14711 | (package | |
14712 | (inherit ghc-wcwidth) | |
14713 | (name "ghc-wcwidth-bootstrap") | |
14714 | (inputs | |
14715 | `(("ghc-setlocale" ,ghc-setlocale) | |
14716 | ("ghc-utf8-string" ,ghc-utf8-string) | |
14717 | ("ghc-attoparsec" ,ghc-attoparsec-bootstrap))) | |
799d8d3c | 14718 | (properties '((hidden? #t))))) |
dddbc90c RV |
14719 | |
14720 | (define-public ghc-weigh | |
14721 | (package | |
14722 | (name "ghc-weigh") | |
b6d9777f | 14723 | (version "0.0.14") |
dddbc90c RV |
14724 | (source |
14725 | (origin | |
14726 | (method url-fetch) | |
14727 | (uri (string-append "https://hackage.haskell.org/package/weigh/" | |
14728 | "weigh-" version ".tar.gz")) | |
14729 | (sha256 | |
14730 | (base32 | |
b6d9777f | 14731 | "0l85marb5rl9nr1c0id42dnr5i9fk1jciy5h6lywhb34w3hbj61g")))) |
dddbc90c RV |
14732 | (build-system haskell-build-system) |
14733 | (inputs | |
14734 | `(("ghc-split" ,ghc-split) | |
14735 | ("ghc-temporary" ,ghc-temporary))) | |
14736 | (home-page "https://github.com/fpco/weigh#readme") | |
14737 | (synopsis "Measure allocations of a Haskell functions/values") | |
14738 | (description "This package provides tools to measure the memory usage of a | |
14739 | Haskell value or function.") | |
14740 | (license license:bsd-3))) | |
14741 | ||
14742 | (define-public ghc-wl-pprint | |
14743 | (package | |
14744 | (name "ghc-wl-pprint") | |
14745 | (version "1.2.1") | |
14746 | (source (origin | |
14747 | (method url-fetch) | |
14748 | (uri (string-append | |
14749 | "https://hackage.haskell.org/package/wl-pprint/wl-pprint-" | |
14750 | version ".tar.gz")) | |
14751 | (sha256 | |
14752 | (base32 | |
14753 | "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c")))) | |
14754 | (build-system haskell-build-system) | |
14755 | (home-page "https://hackage.haskell.org/package/wl-pprint") | |
14756 | (synopsis "Wadler/Leijen pretty printer") | |
14757 | (description | |
14758 | "This is a pretty printing library based on Wadler's paper @i{A Prettier | |
14759 | Printer}. This version allows the library user to declare overlapping | |
14760 | instances of the @code{Pretty} class.") | |
14761 | (license license:bsd-3))) | |
14762 | ||
14763 | (define-public ghc-wl-pprint-annotated | |
14764 | (package | |
14765 | (name "ghc-wl-pprint-annotated") | |
14766 | (version "0.1.0.1") | |
14767 | (source | |
14768 | (origin | |
14769 | (method url-fetch) | |
14770 | (uri (string-append | |
14771 | "mirror://hackage/package/wl-pprint-annotated/wl-pprint-annotated-" | |
14772 | version | |
14773 | ".tar.gz")) | |
14774 | (sha256 | |
14775 | (base32 | |
14776 | "1br7qyf27iza213inwhf9bm2k6in0zbmfw6w4clqlc9f9cj2nrkb")))) | |
14777 | (build-system haskell-build-system) | |
14778 | (native-inputs | |
14779 | `(("ghc-tasty" ,ghc-tasty) | |
14780 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
14781 | (home-page | |
14782 | "https://github.com/minad/wl-pprint-annotated#readme") | |
14783 | (synopsis | |
14784 | "Wadler/Leijen pretty printer with annotation support") | |
14785 | (description | |
14786 | "Annotations are useful for coloring. This is a limited version of | |
14787 | @code{wl-pprint-extras} without support for point effects and without the free | |
14788 | monad. Like in @code{annotated-wl-pprint}, only annotations are supported. | |
14789 | Compared to @code{annotated-wl-pprint} this library provides a slightly | |
14790 | modernized interface.") | |
14791 | (license license:bsd-3))) | |
14792 | ||
14793 | (define-public ghc-wl-pprint-text | |
14794 | (package | |
14795 | (name "ghc-wl-pprint-text") | |
14796 | (version "1.2.0.0") | |
14797 | (source | |
14798 | (origin | |
14799 | (method url-fetch) | |
14800 | (uri (string-append | |
14801 | "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-" | |
14802 | version ".tar.gz")) | |
14803 | (sha256 | |
14804 | (base32 | |
14805 | "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0")))) | |
14806 | (build-system haskell-build-system) | |
14807 | (inputs | |
14808 | `(("ghc-base-compat" ,ghc-base-compat))) | |
14809 | (home-page "https://hackage.haskell.org/package/wl-pprint-text") | |
14810 | (synopsis "Wadler/Leijen Pretty Printer for Text values") | |
14811 | (description | |
14812 | "A clone of wl-pprint for use with the text library.") | |
14813 | (license license:bsd-3))) | |
14814 | ||
14815 | (define-public ghc-word8 | |
14816 | (package | |
14817 | (name "ghc-word8") | |
14818 | (version "0.1.3") | |
14819 | (source | |
14820 | (origin | |
14821 | (method url-fetch) | |
14822 | (uri (string-append | |
14823 | "https://hackage.haskell.org/package/word8/word8-" | |
14824 | version | |
14825 | ".tar.gz")) | |
14826 | (sha256 | |
14827 | (base32 | |
14828 | "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16")))) | |
14829 | (build-system haskell-build-system) | |
14830 | (native-inputs | |
14831 | `(("ghc-hspec" ,ghc-hspec) | |
14832 | ("hspec-discover" ,hspec-discover))) | |
14833 | (home-page "https://hackage.haskell.org/package/word8") | |
14834 | (synopsis "Word8 library for Haskell") | |
14835 | (description "Word8 library to be used with @code{Data.ByteString}.") | |
14836 | (license license:bsd-3))) | |
14837 | ||
14838 | (define-public ghc-x11 | |
14839 | (package | |
14840 | (name "ghc-x11") | |
6c4581a3 | 14841 | (version "1.9.1") |
dddbc90c RV |
14842 | (source |
14843 | (origin | |
14844 | (method url-fetch) | |
14845 | (uri (string-append "https://hackage.haskell.org/package/X11/" | |
14846 | "X11-" version ".tar.gz")) | |
14847 | (sha256 | |
6c4581a3 | 14848 | (base32 "0gg6852mrlgl8zng1j84fismz7k81jr5fk92glgkscf8q6ryg0bm")))) |
dddbc90c | 14849 | (build-system haskell-build-system) |
54a5fd07 TS |
14850 | (arguments |
14851 | `(#:extra-directories | |
14852 | ("libx11" "libxrandr" "libxinerama" "libxscrnsaver"))) | |
dddbc90c RV |
14853 | (inputs |
14854 | `(("libx11" ,libx11) | |
14855 | ("libxrandr" ,libxrandr) | |
14856 | ("libxinerama" ,libxinerama) | |
14857 | ("libxscrnsaver" ,libxscrnsaver) | |
14858 | ("ghc-data-default" ,ghc-data-default))) | |
14859 | (home-page "https://github.com/haskell-pkg-janitors/X11") | |
14860 | (synopsis "Bindings to the X11 graphics library") | |
14861 | (description | |
14862 | "This package provides Haskell bindings to the X11 graphics library. The | |
14863 | bindings are a direct translation of the C bindings.") | |
14864 | (license license:bsd-3))) | |
14865 | ||
14866 | (define-public ghc-x11-xft | |
14867 | (package | |
14868 | (name "ghc-x11-xft") | |
14869 | (version "0.3.1") | |
14870 | (source | |
14871 | (origin | |
14872 | (method url-fetch) | |
14873 | (uri (string-append "https://hackage.haskell.org/package/X11-xft/" | |
14874 | "X11-xft-" version ".tar.gz")) | |
14875 | (sha256 | |
14876 | (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf")))) | |
54a5fd07 TS |
14877 | (arguments |
14878 | `(#:extra-directories ("libx11" "libxft" "xorgproto"))) | |
dddbc90c RV |
14879 | (inputs |
14880 | `(("ghc-x11" ,ghc-x11) | |
14881 | ("ghc-utf8-string" ,ghc-utf8-string) | |
14882 | ("libx11" ,libx11) | |
14883 | ("libxft" ,libxft) | |
14884 | ("xorgproto" ,xorgproto))) | |
14885 | (native-inputs | |
14886 | `(("pkg-config" ,pkg-config))) | |
14887 | (build-system haskell-build-system) | |
14888 | (home-page "https://hackage.haskell.org/package/X11-xft") | |
14889 | (synopsis "Bindings to Xft") | |
14890 | (description | |
14891 | "Bindings to the Xft, X Free Type interface library, and some Xrender | |
14892 | parts.") | |
14893 | (license license:lgpl2.1))) | |
14894 | ||
14895 | (define-public ghc-xdg-basedir | |
14896 | (package | |
14897 | (name "ghc-xdg-basedir") | |
14898 | (version "0.2.2") | |
14899 | (source | |
14900 | (origin | |
14901 | (method url-fetch) | |
14902 | (uri (string-append | |
14903 | "https://hackage.haskell.org/package/xdg-basedir/" | |
14904 | "xdg-basedir-" version ".tar.gz")) | |
14905 | (sha256 | |
14906 | (base32 | |
14907 | "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4")))) | |
14908 | (build-system haskell-build-system) | |
702a1012 | 14909 | (home-page "https://github.com/willdonnelly/xdg-basedir") |
dddbc90c RV |
14910 | (synopsis "XDG Base Directory library for Haskell") |
14911 | (description "This package provides a library implementing the XDG Base Directory spec.") | |
14912 | (license license:bsd-3))) | |
14913 | ||
14914 | (define-public ghc-xml | |
14915 | (package | |
14916 | (name "ghc-xml") | |
14917 | (version "1.3.14") | |
14918 | (source | |
14919 | (origin | |
14920 | (method url-fetch) | |
14921 | (uri (string-append | |
14922 | "https://hackage.haskell.org/package/xml/xml-" | |
14923 | version | |
14924 | ".tar.gz")) | |
14925 | (sha256 | |
14926 | (base32 | |
14927 | "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j")))) | |
14928 | (build-system haskell-build-system) | |
2b62f5d0 | 14929 | (home-page "https://github.com/GaloisInc/xml") |
dddbc90c RV |
14930 | (synopsis "Simple XML library for Haskell") |
14931 | (description "This package provides a simple XML library for Haskell.") | |
14932 | (license license:bsd-3))) | |
14933 | ||
14934 | (define-public ghc-xml-conduit | |
14935 | (package | |
14936 | (name "ghc-xml-conduit") | |
14937 | (version "1.8.0.1") | |
14938 | (source | |
14939 | (origin | |
14940 | (method url-fetch) | |
14941 | (uri (string-append "https://hackage.haskell.org/package/xml-conduit/" | |
14942 | "xml-conduit-" version ".tar.gz")) | |
14943 | (sha256 | |
14944 | (base32 | |
14945 | "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq")))) | |
14946 | (build-system haskell-build-system) | |
14947 | (inputs | |
14948 | `(("ghc-conduit" ,ghc-conduit) | |
14949 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
14950 | ("ghc-doctest" ,ghc-doctest) | |
14951 | ("ghc-resourcet" ,ghc-resourcet) | |
14952 | ("ghc-xml-types" ,ghc-xml-types) | |
14953 | ("ghc-attoparsec" ,ghc-attoparsec) | |
14954 | ("ghc-data-default-class" ,ghc-data-default-class) | |
14955 | ("ghc-blaze-markup" ,ghc-blaze-markup) | |
14956 | ("ghc-blaze-html" ,ghc-blaze-html) | |
14957 | ("ghc-monad-control" ,ghc-monad-control) | |
14958 | ("ghc-hspec" ,ghc-hspec) | |
14959 | ("ghc-hunit" ,ghc-hunit))) | |
14960 | (home-page "https://github.com/snoyberg/xml") | |
14961 | (synopsis "Utilities for dealing with XML with the conduit package") | |
14962 | (description | |
14963 | "This package provides pure-Haskell utilities for dealing with XML with | |
14964 | the @code{conduit} package.") | |
14965 | (license license:expat))) | |
14966 | ||
14967 | (define-public ghc-xml-types | |
14968 | (package | |
14969 | (name "ghc-xml-types") | |
14970 | (version "0.3.6") | |
14971 | (source | |
14972 | (origin | |
14973 | (method url-fetch) | |
14974 | (uri (string-append "https://hackage.haskell.org/package/xml-types/" | |
14975 | "xml-types-" version ".tar.gz")) | |
14976 | (sha256 | |
14977 | (base32 | |
14978 | "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr")))) | |
14979 | (build-system haskell-build-system) | |
14980 | (home-page "https://john-millikin.com/software/haskell-xml/") | |
14981 | (synopsis "Basic types for representing XML") | |
14982 | (description "This package provides basic types for representing XML | |
14983 | documents.") | |
14984 | (license license:expat))) | |
14985 | ||
7f89dfc9 KM |
14986 | (define-public ghc-xml-hamlet |
14987 | (package | |
14988 | (name "ghc-xml-hamlet") | |
14989 | (version "0.5.0.1") | |
14990 | (source | |
14991 | (origin | |
14992 | (method url-fetch) | |
14993 | (uri (string-append "https://hackage.haskell.org/package/xml-hamlet/" | |
14994 | "xml-hamlet-" version ".tar.gz")) | |
14995 | (sha256 | |
14996 | (base32 "0jrhcjy7ww59dafg857f2g2df1fw2jmbwcs1q379ph0pc5rxj3lj")))) | |
14997 | (build-system haskell-build-system) | |
14998 | (inputs | |
14999 | `(("ghc-shakespeare" ,ghc-shakespeare) | |
15000 | ("ghc-xml-conduit" ,ghc-xml-conduit))) | |
15001 | (native-inputs | |
15002 | `(("ghc-hspec" ,ghc-hspec) | |
15003 | ("ghc-hunit" ,ghc-hunit))) | |
15004 | (home-page "https://www.yesodweb.com/") | |
15005 | (synopsis "Hamlet-style quasiquoter for XML content") | |
15006 | (description "This package provides a type-safe tool for generating XML | |
15007 | code via quasi-quoting built on top of @code{ghc-shakespeare}.") | |
15008 | (license license:bsd-3))) | |
15009 | ||
dddbc90c RV |
15010 | (define-public ghc-yaml |
15011 | (package | |
15012 | (name "ghc-yaml") | |
b58e5b84 | 15013 | (version "0.11.1.2") |
dddbc90c RV |
15014 | (source (origin |
15015 | (method url-fetch) | |
15016 | (uri (string-append "https://hackage.haskell.org/package/" | |
15017 | "yaml/yaml-" version ".tar.gz")) | |
15018 | (sha256 | |
15019 | (base32 | |
b58e5b84 | 15020 | "028pz77n92l6kjgjv263h4b6yhw1iibdbf3a3dkn5qnz537xpzhc")))) |
dddbc90c | 15021 | (build-system haskell-build-system) |
dddbc90c RV |
15022 | (inputs |
15023 | `(("ghc-conduit" ,ghc-conduit) | |
15024 | ("ghc-resourcet" ,ghc-resourcet) | |
15025 | ("ghc-aeson" ,ghc-aeson) | |
15026 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
15027 | ("ghc-vector" ,ghc-vector) | |
15028 | ("ghc-attoparsec" ,ghc-attoparsec) | |
15029 | ("ghc-scientific" ,ghc-scientific) | |
15030 | ("ghc-semigroups" ,ghc-semigroups) | |
15031 | ("ghc-temporary" ,ghc-temporary) | |
15032 | ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions) | |
b58e5b84 TS |
15033 | ("ghc-base-compat" ,ghc-base-compat) |
15034 | ("ghc-libyaml" ,ghc-libyaml))) | |
dddbc90c RV |
15035 | (native-inputs |
15036 | `(("ghc-hspec" ,ghc-hspec) | |
15037 | ("ghc-hunit" ,ghc-hunit) | |
15038 | ("hspec-discover" ,hspec-discover) | |
b58e5b84 TS |
15039 | ("ghc-mockery" ,ghc-mockery) |
15040 | ("ghc-raw-strings-qq" ,ghc-raw-strings-qq))) | |
dddbc90c RV |
15041 | (home-page "https://github.com/snoyberg/yaml/") |
15042 | (synopsis "Parsing and rendering YAML documents") | |
15043 | (description | |
15044 | "This package provides a library to parse and render YAML documents.") | |
15045 | (license license:bsd-3))) | |
15046 | ||
15047 | (define-public ghc-zip-archive | |
15048 | (package | |
15049 | (name "ghc-zip-archive") | |
93c1fdd3 | 15050 | (version "0.4.1") |
dddbc90c RV |
15051 | (source |
15052 | (origin | |
15053 | (method url-fetch) | |
15054 | (uri (string-append | |
15055 | "https://hackage.haskell.org/package/zip-archive/zip-archive-" | |
15056 | version | |
15057 | ".tar.gz")) | |
15058 | (sha256 | |
15059 | (base32 | |
93c1fdd3 | 15060 | "1cdix5mnxrbs7b2kivhdydhfzgxidd9dqlw71mdw5p21cabwkmf5")))) |
dddbc90c | 15061 | (build-system haskell-build-system) |
93c1fdd3 TS |
15062 | (arguments |
15063 | `(#:phases | |
15064 | (modify-phases %standard-phases | |
15065 | (add-before 'check 'set-PATH-for-tests | |
15066 | (lambda* (#:key inputs #:allow-other-keys) | |
15067 | (let ((unzip (assoc-ref inputs "unzip")) | |
15068 | (which (assoc-ref inputs "which")) | |
15069 | (path (getenv "PATH"))) | |
15070 | (setenv "PATH" (string-append unzip "/bin:" which "/bin:" path)) | |
15071 | #t)))))) | |
dddbc90c RV |
15072 | (inputs |
15073 | `(("ghc-digest" ,ghc-digest) | |
15074 | ("ghc-temporary" ,ghc-temporary) | |
15075 | ("ghc-zlib" ,ghc-zlib))) | |
15076 | (native-inputs | |
15077 | `(("ghc-hunit" ,ghc-hunit) | |
93c1fdd3 TS |
15078 | ("unzip" ,unzip) |
15079 | ("which" ,which))) | |
dddbc90c RV |
15080 | (home-page "https://hackage.haskell.org/package/zip-archive") |
15081 | (synopsis "Zip archive library for Haskell") | |
15082 | (description "The zip-archive library provides functions for creating, | |
15083 | modifying, and extracting files from zip archives in Haskell.") | |
15084 | (license license:bsd-3))) | |
15085 | ||
15086 | (define-public ghc-zlib | |
15087 | (package | |
15088 | (name "ghc-zlib") | |
bf12089a | 15089 | (version "0.6.2.1") |
534d6caa | 15090 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
15091 | (source |
15092 | (origin | |
15093 | (method url-fetch) | |
15094 | (uri (string-append | |
15095 | "https://hackage.haskell.org/package/zlib/zlib-" | |
15096 | version | |
15097 | ".tar.gz")) | |
15098 | (sha256 | |
15099 | (base32 | |
bf12089a | 15100 | "1l11jraslcrp9d4wnhwfyhwk4fsiq1aq8i6vj81vcq1m2zzi1y7h")))) |
dddbc90c RV |
15101 | (build-system haskell-build-system) |
15102 | (arguments | |
54a5fd07 TS |
15103 | `(#:extra-directories ("zlib") |
15104 | #:phases | |
dddbc90c RV |
15105 | (modify-phases %standard-phases |
15106 | (add-before 'configure 'strip-test-framework-constraints | |
15107 | (lambda _ | |
15108 | (substitute* "zlib.cabal" | |
15109 | (("tasty >= 0\\.8 && < 0\\.12") "tasty") | |
15110 | (("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit") | |
15111 | (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck"))))))) | |
15112 | (inputs `(("zlib" ,zlib))) | |
15113 | (native-inputs | |
15114 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
15115 | ("ghc-tasty" ,ghc-tasty) | |
15116 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
15117 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
15118 | (home-page "https://hackage.haskell.org/package/zlib") | |
15119 | (synopsis | |
15120 | "Compression and decompression in the gzip and zlib formats") | |
15121 | (description | |
15122 | "This package provides a pure interface for compressing and decompressing | |
15123 | streams of data represented as lazy @code{ByteString}s. It uses the zlib C | |
15124 | library so it has high performance. It supports the @code{zlib}, @code{gzip} | |
15125 | and @code{raw} compression formats. It provides a convenient high level API | |
15126 | suitable for most tasks and for the few cases where more control is needed it | |
15127 | provides access to the full zlib feature set.") | |
bbf8bf31 | 15128 | (license license:bsd-3))) |
14e41996 RV |
15129 | |
15130 | (define-public ghc-zlib-bindings | |
15131 | (package | |
15132 | (name "ghc-zlib-bindings") | |
15133 | (version "0.1.1.5") | |
15134 | (source | |
15135 | (origin | |
15136 | (method url-fetch) | |
15137 | (uri (string-append "https://hackage.haskell.org/package/" | |
15138 | "zlib-bindings/zlib-bindings-" version ".tar.gz")) | |
15139 | (sha256 | |
15140 | (base32 | |
15141 | "02ciywlz4wdlymgc3jsnicz9kzvymjw1www2163gxidnz4wb8fy8")))) | |
15142 | (build-system haskell-build-system) | |
15143 | (inputs | |
15144 | `(("ghc-zlib" ,ghc-zlib))) | |
15145 | (native-inputs | |
15146 | `(("ghc-hspec" ,ghc-hspec) | |
15147 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
15148 | (arguments | |
15149 | `(#:cabal-revision | |
15150 | ("2" "0fq49694gqkab8m0vq4i879blswczwd66n7xh4r4gwiahf0ryvqc"))) | |
15151 | (home-page "https://github.com/snapframework/zlib-bindings") | |
15152 | (synopsis "Low-level bindings to the @code{zlib} package") | |
15153 | (description "This package provides low-level bindings to the | |
15154 | @code{zlib} package.") | |
15155 | (license license:bsd-3))) | |
8428e92c TS |
15156 | |
15157 | (define-public ghc-zstd | |
15158 | (package | |
15159 | (name "ghc-zstd") | |
15160 | (version "0.1.1.2") | |
15161 | (source | |
15162 | (origin | |
15163 | (method url-fetch) | |
15164 | (uri (string-append "https://hackage.haskell.org/package/" | |
15165 | "zstd/zstd-" version ".tar.gz")) | |
15166 | (sha256 | |
15167 | (base32 | |
15168 | "147s496zvw13akxqzg65mgfvk3bvhrcilxgf8n786prxg5cm4jz2")))) | |
15169 | (build-system haskell-build-system) | |
15170 | (native-inputs | |
15171 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
15172 | ("ghc-test-framework" ,ghc-test-framework) | |
15173 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
15174 | (home-page "https://github.com/luispedro/hs-zstd") | |
15175 | (synopsis "Haskell bindings to the Zstandard compression algorithm") | |
15176 | (description "This library provides Haskell bindings to the | |
15177 | Zstandard compression algorithm, a fast lossless compression algorithm | |
15178 | targeting real-time compression scenarios at zlib-level and better | |
15179 | compression ratios.") | |
15180 | (license license:bsd-3))) |