1{stdenv, buildPythonPackage, fetchPypi}:
2
3buildPythonPackage rec {
4 pname = "pyroute2";
5 version = "0.5.3";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "79f7b4286be773c46914df0201dabaf92717a9c06e341e0c420603b2dd31c6bf";
10 };
11
12 # requires root priviledges
13 doCheck = false;
14
15 meta = with stdenv.lib; {
16 description = "Python Netlink library";
17 homepage = https://github.com/svinota/pyroute2;
18 license = licenses.asl20;
19 maintainers = [maintainers.mic92];
20 platforms = platforms.unix;
21 };
22}