guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

205/328: gnu: Add ghc-network-byte-order.


From: guix-commits
Subject: 205/328: gnu: Add ghc-network-byte-order.
Date: Sat, 16 Nov 2019 19:33:08 -0500 (EST)

samplet pushed a commit to branch wip-haskell-updates
in repository guix.

commit 53122f53fe4e3535d575cb5e70855e702ee1aaec
Author: Timothy Sample <address@hidden>
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 46ed0f9..7b1c475 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]