1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
3 ;;; Copyright © 2015, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
4 ;;; Copyright © 2016, 2017, 2018 ng0 <ng0@n0.is>
5 ;;; Copyright © 2017 Danny Milosavljevic <dannym@scratchpost.org>
6 ;;; Copyright © 2017, 2018 Alex Vong <alexvong1995@gmail.com>
7 ;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
8 ;;; Copyright © 2018 Timothy Sample <samplet@ngyro.com>
9 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
10 ;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
11 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
12 ;;; Copyright © 2019 Kyle Meyer <kyle@kyleam.com>
13 ;;; Copyright © 2015 John Soo <jsoo1@asu.edu>
14 ;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
17 ;;; This file is part of GNU Guix.
19 ;;; GNU Guix is free software; you can redistribute it and/or modify it
20 ;;; under the terms of the GNU General Public License as published by
21 ;;; the Free Software Foundation; either version 3 of the License, or (at
22 ;;; your option) any later version.
24 ;;; GNU Guix is distributed in the hope that it will be useful, but
25 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
26 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 ;;; GNU General Public License for more details.
29 ;;; You should have received a copy of the GNU General Public License
30 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
32 (define-module (gnu packages haskell-apps)
33 #:use-module (guix download)
34 #:use-module (guix git-download)
35 #:use-module (guix packages)
36 #:use-module ((guix licenses) #:prefix license:)
37 #:use-module (guix build-system haskell)
38 #:use-module (gnu packages base)
39 #:use-module (gnu packages curl)
40 #:use-module (gnu packages gl)
41 #:use-module (gnu packages haskell)
42 #:use-module (gnu packages haskell-check)
43 #:use-module (gnu packages haskell-crypto)
44 #:use-module (gnu packages haskell-web)
45 #:use-module (gnu packages haskell-xyz)
46 #:use-module (gnu packages ncurses)
47 #:use-module (gnu packages perl)
48 #:use-module (gnu packages pkg-config)
49 #:use-module (gnu packages rsync)
50 #:use-module (gnu packages version-control))
52 (define-public cabal-install
54 (name "cabal-install")
60 "https://hackage.haskell.org/package/cabal-install/cabal-install-"
64 (base32 "1nd3ch7qr4dpfxhgkcq2lnhvszx2kjgnn1kwb44vk9y5jgfs4mn8"))))
65 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
66 (build-system haskell-build-system)
68 `(("ghc-async" ,ghc-async)
69 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
70 ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256)
71 ("ghc-echo" ,ghc-echo)
72 ("ghc-edit-distance" ,ghc-edit-distance)
73 ("ghc-hackage-security" ,ghc-hackage-security)
74 ("ghc-hashable" ,ghc-hashable)
75 ("ghc-http" ,ghc-http)
76 ("ghc-network-uri" ,ghc-network-uri)
77 ("ghc-network" ,ghc-network)
78 ("ghc-random" ,ghc-random)
79 ("ghc-resolv" ,ghc-resolv)
81 ("ghc-zlib" ,ghc-zlib)))
82 (home-page "https://www.haskell.org/cabal/")
83 (synopsis "Command-line interface for Cabal and Hackage")
85 "The cabal command-line program simplifies the process of managing
86 Haskell software by automating the fetching, configuration, compilation and
87 installation of Haskell libraries and programs.")
88 (license license:bsd-3)))
90 (define-public corrode
91 (let ((commit "b6699fb2fa552a07c6091276285a44133e5c9789"))
94 (version (string-append "0.0.1-" (string-take commit 7)))
99 (url "https://github.com/jameysharp/corrode.git")
100 (commit "b6699fb2fa552a07c6091276285a44133e5c9789")))
102 (string-append name "-" version "-checkout"))
104 (base32 "02v0yyj6sk4gpg2222wzsdqjxn8w66scbnf6b20x0kbmc69qcz4r"))))
105 (build-system haskell-build-system)
107 `(("ghc-language-c" ,ghc-language-c)
108 ("ghc-markdown-unlit" ,ghc-markdown-unlit)))
109 (home-page "https://github.com/jameysharp/corrode")
110 (synopsis "Automatic semantics-preserving translation from C to Rust")
112 "This program reads a C source file and prints an equivalent module in
113 Rust syntax. It is intended to be useful for two different purposes:
116 @item Partial automation for migrating legacy code that was implemented in C.
117 @item A new, complementary approach to static analysis for C programs.
119 (license license:gpl2+))))
129 "https://hackage.haskell.org/package/" name "/"
130 name "-" version ".tar.gz"))
133 "1bh524asqhk9v1s0wvipl0hgn7l63iy3js867yv0z3h5v2kn8vg5"))))
134 (build-system haskell-build-system)
136 `(("ghc-polyparse" ,ghc-polyparse)
137 ("ghc-old-locale" ,ghc-old-locale)
138 ("ghc-old-time" ,ghc-old-time)))
139 (home-page "http://projects.haskell.org/cpphs/")
140 (synopsis "Liberalised re-implementation of cpp, the C pre-processor")
141 (description "Cpphs is a re-implementation of the C pre-processor that is
142 both more compatible with Haskell, and itself written in Haskell so that it
143 can be distributed with compilers. This version of the C pre-processor is
144 pretty-much feature-complete and compatible with traditional (K&R)
145 pre-processors. Additional features include: a plain-text mode; an option to
146 unlit literate code files; and an option to turn off macro-expansion.")
147 (license (list license:lgpl2.1+ license:gpl3+))))
149 ;; Darcs has no https support: http://irclog.perlgeek.de/darcs/2016-09-17
150 ;; http://darcs.net/manual/Configuring_darcs.html#SECTION00440070000000000000
151 ;; and results of search engines will show that if the protocol is http, https
152 ;; is never mentioned.
160 (uri (string-append "https://hackage.haskell.org/package/darcs/"
161 "darcs-" version ".tar.gz"))
164 "0zm2486gyhiga1amclbg92cd09bvki6vgh0ll75hv5kl72j61lb5"))
165 (modules '((guix build utils)))
166 ;; Remove time-dependent code for reproducibility.
169 (substitute* "darcs/darcs.hs"
170 (("__DATE__") "\"1970-01-01\"")
171 (("__TIME__") "\"00:00:00\""))
173 (build-system haskell-build-system)
175 `(#:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded"
176 "-fnetwork-uri" "-fhttp" "--flag=executable"
179 (modify-phases %standard-phases
180 (add-after 'patch-source-shebangs 'patch-sh
182 (substitute* "tests/issue538.sh"
183 (("/bin/sh") (which "sh")))
186 `(("ghc-cmdargs" ,ghc-cmdargs)
187 ("ghc-split" ,ghc-split)
188 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
189 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
190 ("ghc-test-framework" ,ghc-test-framework)
191 ("ghc-quickcheck" ,ghc-quickcheck)
192 ("ghc-findbin" ,ghc-findbin)
193 ("ghc-hunit" ,ghc-hunit)
194 ("ghc-async" ,ghc-async)
195 ("ghc-attoparsec" ,ghc-attoparsec)
196 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
197 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
198 ("ghc-cryptohash" ,ghc-cryptohash)
199 ("ghc-data-ordlist" ,ghc-data-ordlist)
201 ("ghc-system-filepath" ,ghc-system-filepath)
202 ("ghc-graphviz" ,ghc-graphviz)
203 ("ghc-hashable" ,ghc-hashable)
204 ("ghc-html" ,ghc-html)
205 ("ghc-mmap" ,ghc-mmap)
206 ("ghc-old-time" ,ghc-old-time)
207 ("ghc-random" ,ghc-random)
208 ("ghc-regex-applicative" ,ghc-regex-applicative)
209 ("ghc-regex-compat-tdfa" ,ghc-regex-compat-tdfa)
210 ("ghc-sandi" ,ghc-sandi)
211 ("ghc-shelly" ,ghc-shelly)
213 ("ghc-transformers-compat" ,ghc-transformers-compat)
214 ("ghc-unix-compat" ,ghc-unix-compat)
215 ("ghc-utf8-string" ,ghc-utf8-string)
216 ("ghc-vector" ,ghc-vector)
217 ("ghc-zip-archive" ,ghc-zip-archive)
218 ("ghc-zlib" ,ghc-zlib)
219 ("ghc-http" ,ghc-http)
224 ("libiconv" ,libiconv)
225 ("ghc-network" ,ghc-network)
226 ("ghc-network-uri" ,ghc-network-uri)))
228 `(("pkg-config" ,pkg-config)))
229 (home-page "http://darcs.net")
230 (synopsis "Distributed Revision Control System")
232 "Darcs is a revision control system. It is:
235 @item Distributed: Every user has access to the full command set, removing boundaries
236 between server and client or committer and non-committers.
237 @item Interactive: Darcs is easy to learn and efficient to use because it asks you
238 questions in response to simple commands, giving you choices in your work flow.
239 You can choose to record one change in a file, while ignoring another. As you update
240 from upstream, you can review each patch name, even the full diff for interesting
242 @item Smart: Originally developed by physicist David Roundy, darcs is based on a
243 unique algebra of patches called @url{http://darcs.net/Theory,Patchtheory}.
245 (license license:gpl2)))
247 (define-public git-annex
250 (version "7.20191114")
254 (uri (string-append "https://hackage.haskell.org/package/"
255 "git-annex/git-annex-" version ".tar.gz"))
257 (base32 "1afrn5g3b80f3n6ncfph6pmf9jdpc7a6ay55k2pmkn96pyv4hfmm"))))
258 (build-system haskell-build-system)
261 '("--flags=-Android -Assistant -Pairing -Webapp -WebDAV")
263 (modify-phases %standard-phases
264 (add-before 'configure 'patch-shell-for-tests
266 ;; Shell.hs defines "/bin/sh" that is used in Git hooks. We
267 ;; shouldn't patch hooks with Guix's current bash because the
268 ;; hooks can exist after that bash is garbage collected, but
269 ;; let's temporarily patch it so that we can run the tests.
270 (copy-file "Utility/Shell.hs" "/tmp/Shell.hs")
271 (substitute* "Utility/Shell.hs"
272 (("/bin/sh") (which "sh")))
274 (add-before 'configure 'factor-setup
276 ;; Factor out necessary build logic from the provided
277 ;; `Setup.hs' script. The script as-is does not work because
278 ;; it cannot find its dependencies, and there is no obvious way
279 ;; to tell it where to look. Note that we do not preserve the
280 ;; code that installs man pages here.
281 (call-with-output-file "PreConf.hs"
283 (format out "import qualified Build.Configure as Configure~%")
284 (format out "main = Configure.run Configure.tests~%")))
285 (call-with-output-file "Setup.hs"
287 (format out "import Distribution.Simple~%")
288 (format out "main = defaultMain~%")))
290 (add-before 'configure 'pre-configure
292 (invoke "runhaskell" "PreConf.hs")
296 ;; We need to set the path so that Git recognizes
297 ;; `git annex' as a custom command.
298 (setenv "PATH" (string-append (getenv "PATH") ":"
299 (getcwd) "/dist/build/git-annex"))
300 (with-directory-excursion "dist/build/git-annex"
301 (symlink "git-annex" "git-annex-shell"))
302 (invoke "git-annex" "test")
304 (add-after 'check 'unpatch-shell-and-rebuild
306 ;; Undo `patch-shell-for-tests'.
307 (copy-file "/tmp/Shell.hs" "Utility/Shell.hs")
308 (apply (assoc-ref %standard-phases 'build) args)))
309 (add-after 'install 'install-symlinks
310 (lambda* (#:key outputs #:allow-other-keys)
311 (let* ((out (assoc-ref outputs "out"))
312 (bin (string-append out "/bin")))
313 (symlink (string-append bin "/git-annex")
314 (string-append bin "/git-annex-shell"))
315 (symlink (string-append bin "/git-annex")
316 (string-append bin "/git-remote-tor-annex"))
320 ("ghc-aeson" ,ghc-aeson)
321 ("ghc-async" ,ghc-async)
323 ("ghc-bloomfilter" ,ghc-bloomfilter)
324 ("ghc-byteable" ,ghc-byteable)
325 ("ghc-case-insensitive" ,ghc-case-insensitive)
326 ("ghc-concurrent-output" ,ghc-concurrent-output)
327 ("ghc-crypto-api" ,ghc-crypto-api)
328 ("ghc-cryptonite" ,ghc-cryptonite)
329 ("ghc-data-default" ,ghc-data-default)
330 ("ghc-disk-free-space" ,ghc-disk-free-space)
331 ("ghc-dlist" ,ghc-dlist)
332 ("ghc-edit-distance" ,ghc-edit-distance)
333 ("ghc-esqueleto" ,ghc-esqueleto)
334 ("ghc-exceptions" ,ghc-exceptions)
335 ("ghc-feed" ,ghc-feed)
336 ("ghc-free" ,ghc-free)
337 ("ghc-hslogger" ,ghc-hslogger)
338 ("ghc-http-client" ,ghc-http-client)
339 ("ghc-http-conduit" ,ghc-http-conduit)
340 ("ghc-http-types" ,ghc-http-types)
341 ("ghc-ifelse" ,ghc-ifelse)
342 ("ghc-magic" ,ghc-magic)
343 ("ghc-memory" ,ghc-memory)
344 ("ghc-monad-control" ,ghc-monad-control)
345 ("ghc-monad-logger" ,ghc-monad-logger)
346 ("ghc-network" ,ghc-network)
347 ("ghc-old-locale" ,ghc-old-locale)
348 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
349 ("ghc-persistent" ,ghc-persistent)
350 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
351 ("ghc-persistent-template" ,ghc-persistent-template)
352 ("ghc-quickcheck" ,ghc-quickcheck)
353 ("ghc-random" ,ghc-random)
354 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
355 ("ghc-resourcet" ,ghc-resourcet)
356 ("ghc-safesemaphore" ,ghc-safesemaphore)
357 ("ghc-sandi" ,ghc-sandi)
358 ("ghc-securemem" ,ghc-securemem)
359 ("ghc-socks" ,ghc-socks)
360 ("ghc-split" ,ghc-split)
361 ("ghc-stm-chans" ,ghc-stm-chans)
362 ("ghc-tagsoup" ,ghc-tagsoup)
363 ("ghc-unix-compat" ,ghc-unix-compat)
364 ("ghc-unordered-containers" ,ghc-unordered-containers)
365 ("ghc-utf8-string" ,ghc-utf8-string)
366 ("ghc-uuid" ,ghc-uuid)
370 `(("ghc-tasty" ,ghc-tasty)
371 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
372 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
373 ("ghc-tasty-rerun" ,ghc-tasty-rerun)))
374 (home-page "https://git-annex.branchable.com/")
375 (synopsis "Manage files with Git, without checking in their contents")
376 (description "This package allows managing files with Git, without
377 checking the file contents into Git. It can store files in many places,
378 such as local hard drives and cloud storage services. It can also be
379 used to keep a folder in sync between computers.")
380 ;; The main author has released all his changes under AGPLv3+ as of March
381 ;; 2019 (7.20190219-187-g40ecf58d4). These are also licensed under the
382 ;; original GPLv3+ license, but going forward new changes will be under
383 ;; only AGPLv3+. The other licenses below cover code written by others.
384 ;; See git-annex's COPYRIGHT file for details on each file.
385 (license (list license:agpl3+
399 "https://hackage.haskell.org/package/" name
400 "/" name "-" version ".tar.gz"))
403 "19as2m9g75cr6n1agzvsij0cvqhb0wbjlk31w4y5d5mns87dki0w"))))
404 (build-system haskell-build-system)
407 ("ghc-unordered-containers" ,ghc-unordered-containers)
408 ("ghc-yaml" ,ghc-yaml)
409 ("ghc-vector" ,ghc-vector)
410 ("ghc-data-default" ,ghc-data-default)
411 ("ghc-cmdargs" ,ghc-cmdargs)
412 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
413 ("ghc-haskell-src-exts-util" ,ghc-haskell-src-exts-util)
414 ("ghc-uniplate" ,ghc-uniplate)
415 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
416 ("ghc-extra" ,ghc-extra)
417 ("ghc-refact" ,ghc-refact)
418 ("ghc-aeson" ,ghc-aeson)
419 ("hscolour" ,hscolour)))
420 (home-page "http://community.haskell.org/~ndm/hlint/")
421 (synopsis "Suggest improvements for Haskell source code")
422 (description "HLint reads Haskell programs and suggests changes that
423 hopefully make them easier to read. HLint also makes it easy to disable
424 unwanted suggestions, and to add your own custom suggestions.")
425 (license license:bsd-3)))
427 (define-public hoogle
436 "https://hackage.haskell.org/package/hoogle/hoogle-"
440 "174gp41v0krzj37m75pnr3aawyhkbk2wq4q6zk2z3zh0avvvmgk6"))))
441 (build-system haskell-build-system)
443 `(("ghc-network-uri" ,ghc-network-uri)
444 ("ghc-network" ,ghc-network)
445 ("ghc-quickcheck" ,ghc-quickcheck)
446 ("ghc-aeson" ,ghc-aeson)
447 ("ghc-cmdargs" ,ghc-cmdargs)
448 ("ghc-conduit" ,ghc-conduit)
449 ("ghc-conduit-extra" ,ghc-conduit-extra)
450 ("ghc-connection" ,ghc-connection)
451 ("ghc-extra" ,ghc-extra)
452 ("ghc-old-locale" ,ghc-old-locale)
453 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
454 ("ghc-http-conduit" ,ghc-http-conduit)
455 ("ghc-http-types" ,ghc-http-types)
456 ("ghc-js-flot" ,ghc-js-flot)
457 ("ghc-js-jquery" ,ghc-js-jquery)
458 ("ghc-mmap" ,ghc-mmap)
459 ("ghc-process-extras" ,ghc-process-extras)
460 ("ghc-resourcet" ,ghc-resourcet)
461 ("ghc-storable-tuple" ,ghc-storable-tuple)
463 ("ghc-uniplate" ,ghc-uniplate)
464 ("ghc-utf8-string" ,ghc-utf8-string)
465 ("ghc-vector" ,ghc-vector)
467 ("ghc-wai-logger" ,ghc-wai-logger)
468 ("ghc-warp" ,ghc-warp)
469 ("ghc-warp-tls" ,ghc-warp-tls)
470 ("ghc-zlib" ,ghc-zlib)))
471 (home-page "https://hoogle.haskell.org/")
472 (synopsis "Haskell API Search")
473 (description "Hoogle is a Haskell API search engine, which allows
474 you to search many standard Haskell libraries by either function name,
475 or by approximate type signature.")
476 (license license:bsd-3)))
478 (define-public hscolour
486 "https://hackage.haskell.org/package/hscolour/hscolour-"
491 "079jwph4bwllfp03yfr26s5zc6m6kw3nhb1cggrifh99haq34cr4"))))
492 (build-system haskell-build-system)
493 (home-page "https://hackage.haskell.org/package/hscolour")
494 (synopsis "Script to colourise Haskell code")
495 (description "HSColour is a small Haskell script to colourise Haskell
496 code. It currently has six output formats: ANSI terminal codes (optionally
497 XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01
498 with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX,
499 and mIRC chat codes.")
500 (license license:bsd-3)))
502 (define-public kmonad
510 (url "https://github.com/david-janssen/kmonad.git")
511 (commit "06d7b8c709efa695be35df9bde91275cbb2ba099")))
512 (file-name (git-file-name name version))
514 (base32 "1rjr4h5yq63x3kad6yn4p8v26389sd9dgr5n2w73s1chafapzwwd"))))
515 (build-system haskell-build-system)
518 (modify-phases %standard-phases
519 (delete 'haddock) ; Haddock fails to generate docs
520 (add-after 'install 'install-udev-rules
521 (lambda* (#:key outputs #:allow-other-keys)
522 (let* ((out (assoc-ref outputs "out"))
523 (rules (string-append out "/lib/udev/rules.d")))
525 (call-with-output-file (string-append rules "/70-kmonad.rules")
529 "KERNEL==\"uinput\", MODE=\"0660\", "
530 "GROUP=\"input\", OPTIONS+=\"static_node=uinput\"\n")
533 (add-after 'install-udev-rules 'install-documentation
534 (lambda* (#:key outputs #:allow-other-keys)
535 (let* ((out (assoc-ref outputs "out"))
536 (doc (string-append out "/share/doc/kmonad-" ,version)))
537 (install-file "README.md" doc)
538 (copy-recursively "doc" doc)
539 (copy-recursively "example" (string-append doc "/example"))
542 `(("ghc-cereal" ,ghc-cereal)
543 ("ghc-exceptions" ,ghc-exceptions)
544 ("ghc-hashable" ,ghc-hashable)
545 ("ghc-lens" ,ghc-lens)
546 ("ghc-megaparsec" ,ghc-megaparsec-7)
547 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
548 ("ghc-unagi-chan" ,ghc-unagi-chan)
549 ("ghc-unliftio" ,ghc-unliftio)
550 ("ghc-unordered-containers" ,ghc-unordered-containers)))
551 (home-page "https://github.com/david-janssen/kmonad")
552 (synopsis "Advanced keyboard manager")
553 (description "KMonad is a keyboard remapping utility that supports
554 advanced functionality, such as custom keymap layers and modifiers, macros,
555 and conditional mappings that send a different keycode when tapped or held.
556 By operating at a lower level than most similar tools, it supports X11,
557 Wayland, and Linux console environments alike.")
558 (license license:expat)))
560 (define-public raincat
567 (uri (string-append "mirror://hackage/package/Raincat/"
568 "Raincat-" version ".tar.gz"))
571 "10y9zi22m6hf13c9h8zd9vg7mljpwbw0r3djb6r80bna701fdf6c"))))
572 (build-system haskell-build-system)
575 (modify-phases %standard-phases
576 (add-after 'install 'wrap-executable
577 (lambda* (#:key inputs outputs #:allow-other-keys)
578 (let ((out (assoc-ref outputs "out")))
579 (wrap-program (string-append out "/bin/raincat")
580 `("LD_LIBRARY_PATH" ":" =
581 (,(string-append (assoc-ref inputs "freeglut")
585 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
586 ("ghc-random" ,ghc-random)
587 ("ghc-glut" ,ghc-glut)
588 ("freeglut" ,freeglut)
589 ("ghc-opengl" ,ghc-opengl)
590 ("ghc-sdl2" ,ghc-sdl2)
591 ("ghc-sdl2-image" ,ghc-sdl2-image)
592 ("ghc-sdl2-mixer" ,ghc-sdl2-mixer)))
593 (home-page "http://www.bysusanlin.com/raincat/")
594 (synopsis "Puzzle game with a cat in lead role")
595 (description "Project Raincat is a game developed by Carnegie Mellon
596 students through GCS during the Fall 2008 semester. Raincat features game
597 play inspired from classics Lemmings and The Incredible Machine. The project
598 proved to be an excellent learning experience for the programmers. Everything
599 is programmed in Haskell.")
600 (license license:bsd-3)))
602 (define-public scroll
605 (version "1.20180421")
610 "https://hackage.haskell.org/package/scroll/scroll-"
614 "0apzrvf99rskj4dbmn57jjxrsf19j436s8a09m950df5aws3a0wj"))))
615 (build-system haskell-build-system)
617 `(("ghc-case-insensitive" ,ghc-case-insensitive)
618 ("ghc-data-default" ,ghc-data-default)
619 ("ghc-ifelse" ,ghc-ifelse)
620 ("ghc-monad-loops" ,ghc-monad-loops)
621 ("ghc-ncurses" ,ghc-ncurses)
622 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
623 ("ghc-random" ,ghc-random)
624 ("ghc-vector" ,ghc-vector)))
625 (home-page "https://joeyh.name/code/scroll/")
626 (synopsis "scroll(6), a roguelike game")
628 "You're a bookworm that's stuck on a scroll. You have to dodge between
629 words and use spells to make your way down the page as the scroll is read. Go
630 too slow and you'll get wound up in the scroll and crushed.")
631 (license license:gpl2)))
633 (define-public shellcheck
641 "https://hackage.haskell.org/package/ShellCheck/ShellCheck-"
644 (base32 "1vx895cp5k5h0680xfwj74lk97m9y627n965x6srds0gfnbkzy9s"))
645 (file-name (string-append name "-" version ".tar.gz"))))
646 (build-system haskell-build-system)
648 `(("ghc-aeson" ,ghc-aeson)
649 ("ghc-diff" ,ghc-diff)
650 ("ghc-quickcheck" ,ghc-quickcheck)
651 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
652 (home-page "https://github.com/koalaman/shellcheck")
653 (synopsis "Static analysis for shell scripts")
654 (description "@code{shellcheck} provides static analysis for
655 @command{bash} and @command{sh} shell scripts.
656 It gives warnings and suggestions in order to:
659 @item Point out and clarify typical beginner's syntax issues that cause
660 a shell to give cryptic error messages.
661 @item Point out and clarify typical intermediate level semantic problems
662 that cause a shell to behave strangely and counter-intuitively.
663 @item Point out subtle caveats, corner cases and pitfalls that may cause an
664 advanced user's otherwise working script to fail under future circumstances.
666 (license license:gpl3+)))
668 (define-public stylish-haskell
670 (name "stylish-haskell")
677 "mirror://hackage/package/stylish-haskell/"
678 "stylish-haskell-" version ".tar.gz"))
681 "1zs624xqp6j8vrl6pfv18dm8vz8hvz25grri65ximxhcizgwhnax"))))
682 (build-system haskell-build-system)
684 `(("ghc-aeson" ,ghc-aeson)
685 ("ghc-file-embed" ,ghc-file-embed)
686 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
687 ("ghc-semigroups" ,ghc-semigroups)
689 ("ghc-yaml" ,ghc-yaml)
690 ("ghc-strict" ,ghc-strict)
691 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
692 ("ghc-hunit" ,ghc-hunit)
693 ("ghc-test-framework" ,ghc-test-framework)
694 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
695 (home-page "https://github.com/jaspervdj/stylish-haskell")
696 (synopsis "Haskell code prettifier")
698 "A simple Haskell code prettifier. The goal is not to format all of the
699 code in a file, just clean up import statements and a few other tedious
700 items. This tool tries to help where necessary without getting in the way.")
701 (license license:bsd-3)))