mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: Add ghc-network.
* gnu/packages/haskell.scm (ghc-network): New variable.
This commit is contained in:
parent
f50fc13815
commit
abfed253e6
1 changed files with 30 additions and 0 deletions
|
@ -777,4 +777,34 @@ (define-public ghc-vector
|
||||||
mutable and immutable), with a powerful loop optimisation framework.")
|
mutable and immutable), with a powerful loop optimisation framework.")
|
||||||
(license bsd-3)))
|
(license bsd-3)))
|
||||||
|
|
||||||
|
(define-public ghc-network
|
||||||
|
(package
|
||||||
|
(name "ghc-network")
|
||||||
|
(version "2.6.0.2")
|
||||||
|
(outputs '("out" "doc"))
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"http://hackage.haskell.org/package/network/network-"
|
||||||
|
version
|
||||||
|
".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"12b7saam5ga6l4cplgkad49xa4vkynz2ri9jxidx1cxiqjcl0vc4"))))
|
||||||
|
(build-system haskell-build-system)
|
||||||
|
(inputs
|
||||||
|
`(("ghc-hunit" ,ghc-hunit)))
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ; FIXME: currently missing libraries used for tests.
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before configure set-sh
|
||||||
|
(lambda _ (setenv "CONFIG_SHELL" "sh"))))))
|
||||||
|
(home-page "https://github.com/haskell/network")
|
||||||
|
(synopsis "Low-level networking interface")
|
||||||
|
(description
|
||||||
|
"This package provides a low-level networking interface.")
|
||||||
|
(license bsd-3)))
|
||||||
|
|
||||||
;;; haskell.scm ends here
|
;;; haskell.scm ends here
|
||||||
|
|
Loading…
Reference in a new issue