aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTimothy Sample <samplet@ngyro.com>2019-11-03 22:11:16 -0500
committerTimothy Sample <samplet@ngyro.com>2019-11-20 20:48:31 -0500
commit096781a111253211a911b9721b376903e51b18d8 (patch)
treed5661b1b3b1bd4649f491645ddd4ebebae4dafc2 /gnu
parent5e18bb9e93589e2bdbbc30d63176767b772954c6 (diff)
downloadpatches-096781a111253211a911b9721b376903e51b18d8.tar
patches-096781a111253211a911b9721b376903e51b18d8.tar.gz
gnu: Add ghc-network-byte-order.
* gnu/packages/haskell-xyz.scm (ghc-network-byte-order): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/haskell-xyz.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 46ed0f9f48..7b1c4756fb 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -6900,6 +6900,28 @@ ncurses.")
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")