gnu: Add ghc-network-bsd.

* gnu/packages/haskell-xyz.scm (ghc-network-bsd): New variable.
This commit is contained in:
Timothy Sample 2019-11-01 22:14:20 -04:00
parent 97f267c85b
commit 30eebbe6c3
No known key found for this signature in database
GPG key ID: 2AC6A5EC1C357C59

View file

@ -6861,6 +6861,27 @@ (define-public ghc-network
"This package provides a low-level networking interface.") "This package provides a low-level networking interface.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public ghc-network-bsd
(package
(name "ghc-network-bsd")
(version "2.8.0.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/"
"network-bsd/network-bsd-" version ".tar.gz"))
(sha256
(base32
"0dfbwgrr28y6ypw7p1ppqg7v746qf14569q4xazj4ahdjw2xkpi5"))))
(build-system haskell-build-system)
(inputs
`(("ghc-network" ,ghc-network)))
(home-page "https://github.com/haskell/network-bsd")
(synopsis "POSIX network database (<netdb.h>) API")
(description "This package provides Haskell bindings to the the POSIX
network database (<netdb.h>) API.")
(license license:bsd-3)))
(define-public ghc-network-info (define-public ghc-network-info
(package (package
(name "ghc-network-info") (name "ghc-network-info")