samplet pushed a commit to branch wip-haskell-updates
in repository guix.
commit 9f5ce5779768256c967e98e72d6e30c67fc160e8
Author: Timothy Sample <[email protected]>
Date: Sun Nov 3 22:11:16 2019 -0500
gnu: Add ghc-network-byte-order.
* gnu/packages/haskell-xyz.scm (ghc-network-byte-order): New variable.
---
gnu/packages/haskell-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 9d4b263..392553d 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -6898,6 +6898,28 @@ between 2 and 3 times faster than the Mersenne Twister.")
network database (<netdb.h>) API.")
(license license:bsd-3)))
+(define-public ghc-network-byte-order
+ (package
+ (name "ghc-network-byte-order")
+ (version "0.1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "network-byte-order/network-byte-order-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "19cs6157amcc925vwr92q1azwwzkbam5g0k70i6qi80fhpikh37c"))))
+ (build-system haskell-build-system)
+ (native-inputs
+ `(("ghc-doctest" ,ghc-doctest)))
+ (home-page "http://hackage.haskell.org/package/network-byte-order")
+ (synopsis "Network byte order utilities")
+ (description "This library provides peek and poke functions for network
+byte order.")
+ (license license:bsd-3)))
+
(define-public ghc-network-info
(package
(name "ghc-network-info")