mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: Add ghc-http.
* gnu/packages/haskell.scm (ghc-http): New variable.
This commit is contained in:
parent
9ce031c57f
commit
a231ef7eec
1 changed files with 33 additions and 0 deletions
|
@ -838,4 +838,37 @@ (define-public ghc-network-uri
|
||||||
package into this package.")
|
package into this package.")
|
||||||
(license bsd-3)))
|
(license bsd-3)))
|
||||||
|
|
||||||
|
(define-public ghc-http
|
||||||
|
(package
|
||||||
|
(name "ghc-http")
|
||||||
|
(version "4000.2.19")
|
||||||
|
(outputs '("out" "doc"))
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"http://hackage.haskell.org/package/HTTP/HTTP-"
|
||||||
|
version
|
||||||
|
".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1yzm8gimh8g0wwbixcbxg60v4l3vgi63w9v55ms0x9qnm6vrgysz"))))
|
||||||
|
(build-system haskell-build-system)
|
||||||
|
(inputs
|
||||||
|
`(("ghc-hunit" ,ghc-hunit)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("ghc-parsec" ,ghc-parsec)
|
||||||
|
("ghc-mtl" ,ghc-mtl)
|
||||||
|
("ghc-network" ,ghc-network)
|
||||||
|
("ghc-network-uri" ,ghc-network-uri)))
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
|
||||||
|
(home-page "https://github.com/haskell/HTTP")
|
||||||
|
(synopsis "Library for client-side HTTP")
|
||||||
|
(description
|
||||||
|
"The HTTP package supports client-side web programming in Haskell. It
|
||||||
|
lets you set up HTTP connections, transmitting requests and processing the
|
||||||
|
responses coming back.")
|
||||||
|
(license bsd-3)))
|
||||||
|
|
||||||
;;; haskell.scm ends here
|
;;; haskell.scm ends here
|
||||||
|
|
Loading…
Reference in a new issue