1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
4 ;;; This file is part of GNU Guix.
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
7 ;;; under the terms of the GNU General Public License as published by
8 ;;; the Free Software Foundation; either version 3 of the License, or (at
9 ;;; your option) any later version.
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;; GNU General Public License for more details.
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19 (define-module (gnu packages haskell)
20 #:use-module (ice-9 regex)
21 #:use-module ((guix licenses) #:select (bsd-3))
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix utils)
25 #:use-module (guix build-system gnu)
26 #:use-module (guix build-system haskell)
27 #:use-module (gnu packages perl)
28 #:use-module (gnu packages compression)
29 #:use-module (gnu packages elf)
30 #:use-module (gnu packages bootstrap)
31 #:use-module (gnu packages ghostscript)
32 #:use-module (gnu packages libffi)
33 #:use-module (gnu packages libedit)
34 #:use-module (gnu packages multiprecision)
35 #:use-module (gnu packages ncurses)
36 #:use-module (gnu packages python))
38 (define ghc-bootstrap-x86_64-7.8.4
42 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-x86_64-unknown-linux-deb7.tar.xz")
45 "13azsl53xgj20mi1hj9x0xb32vvcvs6cpmvwx6znxhas7blh0bpn"))))
47 (define ghc-bootstrap-i686-7.8.4
51 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-i386-unknown-linux-deb7.tar.xz")
54 "0wj5s435j0zgww70bj1d3f6wvnnpzlxwvwcyh2qv4qjq5z8j64kg"))))
56 ;; 43 tests out of 3965 fail.
58 ;; Most of them do not appear to be serious:
60 ;; - some tests generate files referring to "/bin/sh" and "/bin/ls". I've not
61 ;; figured out how these references are generated.
63 ;; - Some tests allocate more memory than expected (ca. 3% above upper limit)
65 ;; - Some tests try to load unavailable libriries: Control.Concurrent.STM,
66 ;; Data.Vector, Control.Monad.State.
68 ;; - Test posix010 tries to check the existence of a user on the system:
69 ;; getUserEntryForName: does not exist (no such user)
77 (uri (string-append "https://www.haskell.org/ghc/dist/"
78 version "/" name "-" version "-src.tar.xz"))
81 "1i4254akbb4ym437rf469gc0m40bxm31blp6s1z1g15jmnacs6f3"))))
82 (build-system gnu-build-system)
83 (supported-systems '("i686-linux" "x86_64-linux"))
84 (outputs '("out" "doc"))
94 "https://www.haskell.org/ghc/dist/"
95 version "/" name "-" version "-testsuite.tar.xz"))
98 "0q95whf87y4mxjzwzy899g7z7l9pazq4si6iciyhxkcdhqq2ycyh"))))))
101 ("python" ,python-2) ; for tests (fails with python-3)
102 ("ghostscript" ,ghostscript) ; for tests
103 ("patchelf" ,patchelf)
104 ;; GHC is built with GHC. Therefore we need bootstrap binaries.
106 ,(if (string-match "x86_64" (or (%current-target-system) (%current-system)))
107 ghc-bootstrap-x86_64-7.8.4
108 ghc-bootstrap-i686-7.8.4))))
110 `(#:test-target "test"
111 ;; We get a smaller number of test failures by disabling parallel test
115 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
116 ;; gremlin) doesn't support it yet, so skip this phase.
117 #:validate-runpath? #f
119 #:modules ((guix build gnu-build-system)
124 #:imported-modules (,@%gnu-build-system-modules
128 (string-append "--with-gmp-libraries="
129 (assoc-ref %build-inputs "gmp") "/lib")
130 (string-append "--with-gmp-includes="
131 (assoc-ref %build-inputs "gmp") "/include")
132 "--with-system-libffi"
133 (string-append "--with-ffi-libraries="
134 (assoc-ref %build-inputs "libffi") "/lib")
135 (string-append "--with-ffi-includes="
136 (assoc-ref %build-inputs "libffi") "/include"))
137 ;; FIXME: The user-guide needs dblatex, docbook-xsl and docbook-utils.
138 ;; Currently we do not have the last one.
140 ;; (list "BUILD_DOCBOOK_HTML = YES")
142 (let* ((ghc-bootstrap-path
143 (string-append (getcwd) "/" ,name "-" ,version "/ghc-bin"))
144 (ghc-bootstrap-prefix
145 (string-append ghc-bootstrap-path "/usr" )))
147 'unpack-bin 'unpack-and-fix-testsuite
148 (lambda* (#:key inputs outputs #:allow-other-keys)
149 (with-directory-excursion ".."
150 (copy-file (assoc-ref inputs "ghc-testsuite")
151 "ghc-testsuite.tar.xz")
152 (system* "tar" "xvf" "ghc-testsuite.tar.xz"))
154 (list "testsuite/timeout/Makefile"
155 "testsuite/timeout/timeout.py"
156 "testsuite/timeout/timeout.hs"
157 "testsuite/tests/rename/prog006/Setup.lhs"
158 "testsuite/tests/programs/life_space_leak/life.test")
159 (("/bin/sh") (which "sh"))
164 (lambda* (#:key inputs outputs #:allow-other-keys)
165 (mkdir-p ghc-bootstrap-prefix)
166 (with-directory-excursion ghc-bootstrap-path
167 (copy-file (assoc-ref inputs "ghc-binary")
169 (zero? (system* "tar" "xvf" "ghc-bin.tar.xz"))))
171 'install-bin 'configure-bin
172 (lambda* (#:key inputs outputs #:allow-other-keys)
175 "./utils/ghc-pwd/dist-install/build/tmp/ghc-pwd"
176 "./utils/hpc/dist-install/build/tmp/hpc"
177 "./utils/haddock/dist/build/tmp/haddock"
178 "./utils/hsc2hs/dist-install/build/tmp/hsc2hs"
179 "./utils/runghc/dist-install/build/tmp/runghc"
180 "./utils/ghc-cabal/dist-install/build/tmp/ghc-cabal"
181 "./utils/hp2ps/dist/build/tmp/hp2ps"
182 "./utils/ghc-pkg/dist-install/build/tmp/ghc-pkg"
183 "./utils/unlit/dist/build/tmp/unlit"
184 "./ghc/stage2/build/tmp/ghc-stage2"))
185 (gmp (assoc-ref inputs "gmp"))
186 (gmp-lib (string-append gmp "/lib"))
187 (gmp-include (string-append gmp "/include"))
189 (string-append (assoc-ref inputs "ncurses") "/lib"))
190 (ld-so (string-append (assoc-ref inputs "libc")
191 ,(glibc-dynamic-linker)))
193 (string-append ghc-bootstrap-prefix
194 "/lib/ghc-7.8.4/terminfo-0.4.0.0")))
195 (with-directory-excursion
196 (string-append ghc-bootstrap-path "/" ,name "-" ,version)
197 (setenv "CONFIG_SHELL" (which "bash"))
198 (setenv "LD_LIBRARY_PATH" gmp-lib)
199 ;; The binaries have "/lib64/ld-linux-x86-64.so.2" hardcoded.
201 (cut system* "patchelf" "--set-interpreter" ld-so <>)
203 ;; The binaries include a reference to libtinfo.so.5 which
204 ;; is a subset of libncurses.so.5. We create a symlink in a
205 ;; directory included in the bootstrap binaries rpath.
206 (mkdir-p libtinfo-dir)
208 (string-append ncurses-lib "/libncursesw.so."
209 ,(version-major+minor
210 (package-version ncurses)))
211 (string-append libtinfo-dir "/libtinfo.so.5"))
213 (string-append (getenv "PATH") ":"
214 ghc-bootstrap-prefix "/bin"))
216 (string-append (getcwd) "/configure")
217 (string-append "--prefix=" ghc-bootstrap-prefix)
218 (string-append "--with-gmp-libraries=" gmp-lib)
219 (string-append "--with-gmp-includes=" gmp-include)))))
221 'configure 'install-bin
222 (lambda* (#:key inputs outputs #:allow-other-keys)
223 (with-directory-excursion
224 (string-append ghc-bootstrap-path "/" ,name "-" ,version)
225 (zero? (system* "make" "install"))))
226 %standard-phases)))))))
227 (home-page "https://www.haskell.org/ghc")
228 (synopsis "The Glasgow Haskell Compiler")
230 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
231 interactive environment for the functional language Haskell.")
234 (define-public ghc-mtl
238 (outputs '("out" "doc"))
243 "http://hackage.haskell.org/package/mtl/mtl-"
248 "1xpn2wjmqbh2cg1yssc6749xpgcqlrrg4iilwqgkcjgvaxlpdbvp"))))
249 (build-system haskell-build-system)
250 (home-page "http://github.com/ekmett/mtl")
252 "Monad classes, using functional dependencies")
254 "Monad classes using functional dependencies, with instances
255 for various monad transformers, inspired by the paper
256 'Functional Programming with Overloading and Higher-Order Polymorphism',
257 by Mark P Jones, in 'Advanced School of Functional Programming', 1995
258 http://web.cecs.pdx.edu/~mpj/pubs/springschool.html.")
261 (define-public ghc-paths
265 (outputs '("out" "doc"))
270 "http://hackage.haskell.org/package/ghc-paths/ghc-paths-"
275 "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg"))))
276 (build-system haskell-build-system)
277 (home-page "https://github.com/simonmar/ghc-paths")
279 "Knowledge of GHC's installation directories")
281 "Knowledge of GHC's installation directories.")
284 (define-public ghc-zlib
288 (outputs '("out" "doc"))
293 "http://hackage.haskell.org/package/zlib/zlib-"
298 "15hhsk7z3gvm7sz2ic2z1ca5c6rpsln2rr391mdbm1bxlzc1gmkm"))))
299 (build-system haskell-build-system)
300 (inputs `(("zlib" ,zlib)))
301 (home-page "http://hackage.haskell.org/package/zlib")
303 "Compression and decompression in the gzip and zlib formats")
305 "This package provides a pure interface for compressing and decompressing
306 streams of data represented as lazy 'ByteString's. It uses the zlib C library
307 so it has high performance. It supports the 'zlib', 'gzip' and 'raw'
308 compression formats. It provides a convenient high level API suitable for
309 most tasks and for the few cases where more control is needed it provides
310 access to the full zlib feature set.")
313 (define-public ghc-stm
317 (outputs '("out" "doc"))
322 "http://hackage.haskell.org/package/stm/stm-"
327 "0gc8zvdijp3rwmidkpxv76b4i0dc8dw6nbd92rxl4vxl0655iysx"))))
328 (build-system haskell-build-system)
329 (home-page "http://hackage.haskell.org/package/stm")
330 (synopsis "Software Transactional Memory")
332 "A modular composable concurrency abstraction.")
335 (define-public ghc-parallel
337 (name "ghc-parallel")
339 (outputs '("out" "doc"))
344 "http://hackage.haskell.org/package/parallel/parallel-"
349 "0hp6vf4zxsw6vz6lj505xihmnfhgjp39c9q7nyzlgcmps3xx6a5r"))))
350 (build-system haskell-build-system)
351 (home-page "http://hackage.haskell.org/package/parallel")
352 (synopsis "Parallel programming library")
354 "This package provides a library for parallel programming.")
357 (define-public ghc-text
361 (outputs '("out" "doc"))
366 "http://hackage.haskell.org/package/text/text-"
371 "004p1c74crs8wmjafwsmw3mmycspq1j8fpm1lvfpq6acha7bnpc6"))))
372 (build-system haskell-build-system)
374 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
375 (home-page "https://github.com/bos/text")
376 (synopsis "Efficient packed Unicode text type library")
378 "An efficient packed, immutable Unicode text type (both strict and
379 lazy), with a powerful loop fusion optimization framework.
381 The 'Text' type represents Unicode character strings, in a time and
382 space-efficient manner. This package provides text processing
383 capabilities that are optimized for performance critical use, both
384 in terms of large data quantities and high speed.")
387 (define-public ghc-hashable
389 (name "ghc-hashable")
391 (outputs '("out" "doc"))
396 "http://hackage.haskell.org/package/hashable/hashable-"
401 "0h9295pv2sgbaqlwpwbx2bap6nngm0jcdhkqham1wpjwyxqgqrlc"))))
402 (build-system haskell-build-system)
404 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
405 ;; these inputs are necessary to use this library
407 `(("ghc-text" ,ghc-text)))
408 (home-page "http://github.com/tibbe/hashable")
410 "Class for types that can be converted to a hash value")
412 "This package defines a class, 'Hashable', for types that can be
413 converted to a hash value. This class exists for the benefit of hashing-based
414 data structures. The package provides instances for basic types and a way to
415 combine hash values.")
418 (define-public ghc-hunit
422 (outputs '("out" "doc"))
427 "http://hackage.haskell.org/package/HUnit/HUnit-"
432 "0hcs6qh8bqhip1kkjjnw7ccgcsmawdz5yvffjj5y8zd2vcsavx8a"))))
433 (build-system haskell-build-system)
434 (home-page "http://hunit.sourceforge.net/")
435 (synopsis "Unit testing framework for Haskell")
437 "HUnit is a unit testing framework for Haskell, inspired by the
438 JUnit tool for Java.")
441 (define-public ghc-random
445 (outputs '("out" "doc"))
450 "http://hackage.haskell.org/package/random/random-"
454 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
455 (build-system haskell-build-system)
456 (home-page "http://hackage.haskell.org/package/random")
457 (synopsis "Random number library")
458 (description "This package provides a basic random number generation
459 library, including the ability to split random number generators.")
462 (define-public ghc-primitive
464 (name "ghc-primitive")
466 (outputs '("out" "doc"))
471 "http://hackage.haskell.org/package/primitive/primitive-"
476 "05gdgj383xdrdkhxh26imlvs8ji0z28ny38ms9snpvv5i8l2lg10"))))
477 (build-system haskell-build-system)
479 "https://github.com/haskell/primitive")
480 (synopsis "Primitive memory-related operations")
482 "This package provides various primitive memory-related operations.")
485 (define-public ghc-tf-random
487 (name "ghc-tf-random")
489 (outputs '("out" "doc"))
494 "http://hackage.haskell.org/package/tf-random/tf-random-"
498 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
499 (build-system haskell-build-system)
500 ;; these inputs are necessary to use this package
502 `(("ghc-primitive" ,ghc-primitive)
503 ("ghc-random" ,ghc-random)))
504 (home-page "http://hackage.haskell.org/package/tf-random")
505 (synopsis "High-quality splittable pseudorandom number generator")
506 (description "This package contains an implementation of a high-quality
507 splittable pseudorandom number generator. The generator is based on a
508 cryptographic hash function built on top of the ThreeFish block cipher. See
509 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
510 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
513 (define-public ghc-quickcheck
515 (name "ghc-quickcheck")
517 (outputs '("out" "doc"))
522 "http://hackage.haskell.org/package/QuickCheck/QuickCheck-"
527 "04xs6mq22bcnkpi616qrbm7jlivh9csnhmvjgp1ifq52an1wr4rx"))))
528 (build-system haskell-build-system)
530 `(#:tests? #f ; FIXME: currently missing libraries used for tests.
531 #:configure-flags '("-f base4")))
532 ;; these inputs are necessary to use this package
534 `(("ghc-tf-random" ,ghc-tf-random)))
536 "https://github.com/nick8325/quickcheck")
538 "Automatic testing of Haskell programs")
540 "QuickCheck is a library for random testing of program properties.")
543 (define-public ghc-case-insensitive
545 (name "ghc-case-insensitive")
547 (outputs '("out" "doc"))
552 "http://hackage.haskell.org/package/case-insensitive/case-insensitive-"
557 "07nm40r9yw2p9qsfp3pjbsmyn4dabrxw34p48171zmccdd5hv0v3"))))
558 (build-system haskell-build-system)
560 `(("ghc-hunit" ,ghc-hunit)))
561 ;; these inputs are necessary to use this library
563 `(("ghc-text" ,ghc-text)
564 ("ghc-hashable" ,ghc-hashable)))
566 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
568 "https://github.com/basvandijk/case-insensitive")
569 (synopsis "Case insensitive string comparison")
571 "The module 'Data.CaseInsensitive' provides the 'CI' type constructor
572 which can be parameterised by a string-like type like: 'String', 'ByteString',
573 'Text', etc.. Comparisons of values of the resulting type will be insensitive
577 (define-public ghc-syb
581 (outputs '("out" "doc"))
586 "http://hackage.haskell.org/package/syb/syb-"
591 "11sc9kmfvcn9bfxf227fgmny502z2h9xs3z0m9ak66lk0dw6f406"))))
592 (build-system haskell-build-system)
594 `(("ghc-hunit" ,ghc-hunit)
595 ("ghc-mtl" ,ghc-mtl)))
597 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
598 (synopsis "Scrap Your Boilerplate")
600 "This package contains the generics system described in the
601 /Scrap Your Boilerplate/ papers (see
602 <http://www.cs.uu.nl/wiki/GenericProgramming/SYB>).
603 It defines the 'Data' class of types permitting folding and unfolding
604 of constructor applications, instances of this class for primitive
605 types, and a variety of traversals.")
608 (define-public ghc-containers
610 (name "ghc-containers")
612 (outputs '("out" "doc"))
617 "http://hackage.haskell.org/package/containers/containers-"
622 "1kcd55nl0vzi99i8sr8fmc5j25fv7m0a9hd3nihnq1pd64pfciqn"))))
623 (build-system haskell-build-system)
625 `(("ghc-hunit" ,ghc-hunit)
626 ("ghc-quickcheck" ,ghc-quickcheck)))
628 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
629 (home-page "http://hackage.haskell.org/package/containers")
630 (synopsis "Assorted concrete container types")
632 "This package contains efficient general-purpose implementations of
633 various basic immutable container types. The declared cost of each operation
634 is either worst-case or amortized, but remains valid even if structures are
638 (define-public ghc-fgl
642 (outputs '("out" "doc"))
647 "http://hackage.haskell.org/package/fgl/fgl-"
652 "0rcmz0xlyr1wj490ffja29z1jgl51gz19ka609da6bx39bwx7nga"))))
653 (build-system haskell-build-system)
654 (inputs `(("ghc-mtl" ,ghc-mtl)))
655 (home-page "http://web.engr.oregonstate.edu/~erwig/fgl/haskell")
657 "Martin Erwig's Functional Graph Library")
658 (description "The functional graph library, FGL, is a collection of type
659 and function definitions to address graph problems. The basis of the library
660 is an inductive definition of graphs in the style of algebraic data types that
661 encourages inductive, recursive definitions of graph algorithms.")
664 (define-public ghc-unordered-containers
666 (name "ghc-unordered-containers")
668 (outputs '("out" "doc"))
673 "http://hackage.haskell.org/package/unordered-containers/unordered-containers-"
678 "06l1xv7vhpxly75saxdrbc6p2zlgz1az278arfkz4rgawfnphn3f"))))
679 (build-system haskell-build-system)
681 `(("ghc-hunit" ,ghc-hunit)
682 ("ghc-quickcheck" ,ghc-quickcheck)))
683 ;; these inputs are necessary to use this library
684 (propagated-inputs `(("ghc-hashable" ,ghc-hashable)))
686 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
688 "https://github.com/tibbe/unordered-containers")
690 "Efficient hashing-based container types")
692 "Efficient hashing-based container types. The containers have been
693 optimized for performance critical use, both in terms of large data quantities
697 (define-public ghc-split
701 (outputs '("out" "doc"))
706 "http://hackage.haskell.org/package/split/split-"
711 "0xa3j0gwr6k5vizxybnzk5fgb3pppgspi6mysnp2gwjp2dbrxkzr"))))
712 (build-system haskell-build-system)
714 `(("ghc-quickcheck" ,ghc-quickcheck)))
715 (home-page "http://hackage.haskell.org/package/split")
717 "Combinator library for splitting lists")
718 (description "A collection of various methods for splitting lists into
719 parts, akin to the 'split' function found in several mainstream languages.")
722 (define-public ghc-parsec
726 (outputs '("out" "doc"))
731 "http://hackage.haskell.org/package/parsec/parsec-"
735 (base32 "1ja20cmj6v336jy87c6h3jzjp00sdbakwbdwp11iln499k913xvi"))))
736 (build-system haskell-build-system)
738 `(("ghc-hunit" ,ghc-hunit)))
739 ;; these inputs are necessary to use this library
741 `(("ghc-text" ,ghc-text)
742 ("ghc-mtl" ,ghc-mtl)))
744 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
746 "https://github.com/aslatter/parsec")
747 (synopsis "Monadic parser combinators")
748 (description "Parsec is a parser library. It is simple, safe, well
749 documented, has extensive libraries, good error messages, and is fast. It is
750 defined as a monad transformer that can be stacked on arbitrary monads, and it
751 is also parametric in the input stream type.")
754 (define-public ghc-vector
757 (version "0.10.12.2")
758 (outputs '("out" "doc"))
763 "http://hackage.haskell.org/package/vector/vector-"
768 "01hc71k1z9m0g0dv4zsvq5d2dvbgyc5p01hryw5c53792yi2fm25"))))
769 (build-system haskell-build-system)
771 `(("ghc-quickcheck" ,ghc-quickcheck)))
772 ;; these inputs are necessary to use this library
774 `(("ghc-primitive" ,ghc-primitive)))
776 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
777 (home-page "https://github.com/haskell/vector")
778 (synopsis "Efficient Arrays")
779 (description "An efficient implementation of Int-indexed arrays (both
780 mutable and immutable), with a powerful loop optimisation framework.")
783 (define-public ghc-network
787 (outputs '("out" "doc"))
792 "http://hackage.haskell.org/package/network/network-"
797 "12b7saam5ga6l4cplgkad49xa4vkynz2ri9jxidx1cxiqjcl0vc4"))))
798 (build-system haskell-build-system)
800 `(("ghc-hunit" ,ghc-hunit)))
802 `(#:tests? #f ; FIXME: currently missing libraries used for tests.
804 (modify-phases %standard-phases
805 (add-before 'configure 'set-sh
806 (lambda _ (setenv "CONFIG_SHELL" "sh"))))))
807 (home-page "https://github.com/haskell/network")
808 (synopsis "Low-level networking interface")
810 "This package provides a low-level networking interface.")
813 (define-public ghc-network-uri
815 (name "ghc-network-uri")
817 (outputs '("out" "doc"))
822 "http://hackage.haskell.org/package/network-uri/network-uri-"
827 "09ymamb128jgqghpda4nixncr73all8qc6q53976aricm6a27p37"))))
828 (build-system haskell-build-system)
830 `(("ghc-hunit" ,ghc-hunit)
831 ("ghc-network" ,ghc-network)))
833 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
835 `(("ghc-parsec" ,ghc-parsec)))
837 "https://github.com/haskell/network-uri")
838 (synopsis "Labrary for URI manipulation")
839 (description "This package provides an URI manipulation inteface. In
840 'network-2.6' the 'Network.URI' module was split off from the 'network'
841 package into this package.")
844 (define-public ghc-http
847 (version "4000.2.19")
848 (outputs '("out" "doc"))
853 "http://hackage.haskell.org/package/HTTP/HTTP-"
858 "1yzm8gimh8g0wwbixcbxg60v4l3vgi63w9v55ms0x9qnm6vrgysz"))))
859 (build-system haskell-build-system)
861 `(("ghc-hunit" ,ghc-hunit)))
863 `(("ghc-parsec" ,ghc-parsec)
865 ("ghc-network" ,ghc-network)
866 ("ghc-network-uri" ,ghc-network-uri)))
868 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
869 (home-page "https://github.com/haskell/HTTP")
870 (synopsis "Library for client-side HTTP")
872 "The HTTP package supports client-side web programming in Haskell. It
873 lets you set up HTTP connections, transmitting requests and processing the
874 responses coming back.")
877 ;;; haskell.scm ends here