guix-commits
[Top][All Lists]
Advanced

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

168/328: gnu: Add ghc-network-bsd.


From: guix-commits
Subject: 168/328: gnu: Add ghc-network-bsd.
Date: Sat, 16 Nov 2019 19:33:00 -0500 (EST)

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

commit 1f742a77c7698d359e12250f458104c6218ab85a
Author: Timothy Sample <address@hidden>
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 100db9a..d6f5653 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -6861,6 +6861,27 @@ ncurses.")
      "This package provides a low-level networking interface.")
     (license license:bsd-3)))
 
+(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")



reply via email to

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