summary refs log tree commit diff
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-02-01 16:25:47 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-02-01 16:29:30 +0100
commit071e26e5e8ea391099c8918cc8a4cc7d017227fe (patch)
tree98094fb494ee3ca51cda957e5a5f2d422b75ed5d
parent40de4d73b8aa7e7c26e0abf8cb35a46da215b68e (diff)
downloadnixlib-071e26e5e8ea391099c8918cc8a4cc7d017227fe.tar
nixlib-071e26e5e8ea391099c8918cc8a4cc7d017227fe.tar.gz
nixlib-071e26e5e8ea391099c8918cc8a4cc7d017227fe.tar.bz2
nixlib-071e26e5e8ea391099c8918cc8a4cc7d017227fe.tar.lz
nixlib-071e26e5e8ea391099c8918cc8a4cc7d017227fe.tar.xz
nixlib-071e26e5e8ea391099c8918cc8a4cc7d017227fe.tar.zst
nixlib-071e26e5e8ea391099c8918cc8a4cc7d017227fe.zip
python-dpkt: new package
dpkt is a fast, simple packet creation / parsing module, with
definitions for the basic TCP/IP protocols.
-rw-r--r--pkgs/top-level/python-packages.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index c9039ec09727..b639f739a052 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -1418,6 +1418,27 @@ pythonPackages = modules // import ./python-packages-generated.nix {
   };
 
 
+  dpkt = buildPythonPackage rec {
+    name = "dpkt-1.8";
+
+    src = fetchurl {
+      url = "https://dpkt.googlecode.com/files/${name}.tar.gz";
+      sha256 = "01q5prynymaqyfsfi2296xncicdpid2hs3yyasim8iigvkwy4vf5";
+    };
+
+    # error: invalid command 'test'
+    doCheck = false;
+
+    meta = with stdenv.lib; {
+      description = "Fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols";
+      homepage = https://code.google.com/p/dpkt/;
+      license = licenses.bsd3;
+      maintainers = [ maintainers.bjornfor ];
+      platforms = stdenv.lib.platforms.all;
+    };
+  };
+
+
   evdev = buildPythonPackage rec {
     version = "0.3.2";
     name = "evdev-${version}";