guix-patches
[Top][All Lists]
Advanced

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

[bug#38423] [PATCH 25/49] gnu: Add ghc-network-ip.


From: Robert Vollmert
Subject: [bug#38423] [PATCH 25/49] gnu: Add ghc-network-ip.
Date: Fri, 29 Nov 2019 12:37:27 +0100

* gnu/packages/haskell-xyz.scm (ghc-network-ip): New variable.
---
 gnu/packages/haskell-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index ed02b509ac..7c1b75a5ed 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -13714,3 +13714,38 @@ between data and its (human-friendly) textual 
representation.")
      "This library provides a basic set of operations for manipulating
 files and directories in a portable way.")
     (license license:bsd-3)))
+
+(define-public ghc-network-ip
+  (package
+    (name "ghc-network-ip")
+    (version "0.3.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/network-ip/network-ip-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1zjy232pamkd3977cyaq5w5r6ksbpqpgzzlds15zrahjccirs9gf"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-data-default-class"
+        ,ghc-data-default-class)
+       ("ghc-data-endian" ,ghc-data-endian)
+       ("ghc-data-dword" ,ghc-data-dword)
+       ("ghc-type-hint" ,ghc-type-hint)
+       ("ghc-hashable" ,ghc-hashable)
+       ("ghc-data-serializer" ,ghc-data-serializer)
+       ("ghc-text-printer" ,ghc-text-printer)
+       ("ghc-data-textual" ,ghc-data-textual)
+       ("ghc-parsers" ,ghc-parsers)))
+    (native-inputs
+     `(("ghc-tasty" ,ghc-tasty)
+       ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
+    (home-page "https://github.com/mvv/network-ip";)
+    (synopsis "Internet Protocol data structures")
+    (description
+     "This package provides Internet Protocol data structures")
+    (license license:bsd-3)))
-- 
2.21.0 (Apple Git-122.2)






reply via email to

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