2018-06-23 06:27:58 -07:00
|
|
|
{stdenv, buildPythonPackage, fetchPypi}:
|
2016-12-23 15:53:15 -08:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 02:25:35 -07:00
|
|
|
pname = "pyroute2";
|
2020-02-20 21:50:13 -08:00
|
|
|
version = "0.5.9";
|
2016-12-23 15:53:15 -08:00
|
|
|
|
2018-06-23 06:27:58 -07:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-02-20 21:50:13 -08:00
|
|
|
sha256 = "1dymaa3rif05k42sh4c3g2m057v2dsc2f3f49hl2rw5yz8bd23i4";
|
2016-12-23 15:53:15 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
# requires root priviledges
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python Netlink library";
|
|
|
|
homepage = https://github.com/svinota/pyroute2;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [maintainers.mic92];
|
2019-02-17 05:00:33 -08:00
|
|
|
platforms = platforms.unix;
|
2016-12-23 15:53:15 -08:00
|
|
|
};
|
|
|
|
}
|