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