guix-commits
[Top][All Lists]
Advanced

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

64/153: gnu: Add ghc-iproute.


From: Paul
Subject: 64/153: gnu: Add ghc-iproute.
Date: Wed, 21 Oct 2015 16:07:29 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit 96e7484e1c590bcce7f05c273a843b4304bc89f8
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 14:12:38 2015 +0200

    gnu: Add ghc-iproute.
    
    * gnu/packages/haskell.scm (ghc-iproute): New variable.
---
 gnu/packages/haskell.scm |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index d822698..fc1f836 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -972,6 +972,41 @@ transformers 0.2 or 0.3 compatibility to run on old 
versions of the platform,
 but also need those types.")
     (license bsd-3)))
 
+(define-public ghc-iproute
+  (package
+    (name "ghc-iproute")
+    (version "1.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/iproute/iproute-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1ply0i110c2sppjbfyysgw48jfjnsbam5zwil8xws0hp20rh1pb5"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
+                               ; exported by ghc-byteorder.
+    (propagated-inputs
+     `(("ghc-appar" ,ghc-appar)
+       ("ghc-byteorder" ,ghc-byteorder)))
+    (inputs
+     `(("ghc-network" ,ghc-network)
+       ("ghc-doctest" ,ghc-doctest)
+       ("ghc-hspec" ,ghc-hspec)
+       ("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-safe" ,ghc-safe)))
+    (home-page
+     "http://www.mew.org/~kazu/proj/iproute/";)
+    (synopsis "IP routing table")
+    (description
+     "IP Routing Table is a tree of IP ranges to search one of them on the
+longest match base.  It is a kind of TRIE with one way branching removed.
+Both IPv4 and IPv6 are supported.")
+    (license bsd-3)))
+
 (define-public ghc-regex-base
   (package
     (name "ghc-regex-base")



reply via email to

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