samplet pushed a commit to branch wip-haskell-updates
in repository guix.
commit bbba477a23da522ca4d772944f2fb89845a1d0e1
Author: Timothy Sample <[email protected]>
Date: Fri Nov 1 22:14:20 2019 -0400
gnu: Add ghc-network-bsd.
* gnu/packages/haskell-xyz.scm (ghc-network-bsd): New variable.
---
gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index a542c49..df1eeed 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -6859,6 +6859,27 @@ between 2 and 3 times faster than the Mersenne Twister.")
(base32
"0im8k51rw3ahmr23ny10pshwbz09jfg0fdpam0hzf2hgxnzmvxb1")))))))
+(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
(package
(name "ghc-network-info")