1{ stdenv, fetchPypi, buildPythonPackage }:
2
3buildPythonPackage rec {
4 pname = "dpkt";
5 version = "1.9.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0rr9ygczhxkfb61778jx0cxs0sq46zwlcj5l3wn6xmd3iy3yx9y6";
10 };
11
12 meta = with stdenv.lib; {
13 description = "Fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols";
14 homepage = https://code.google.com/p/dpkt/;
15 license = licenses.bsd3;
16 maintainers = with maintainers; [ bjornfor ];
17 platforms = platforms.all;
18 };
19}