2016-12-24 00:53:15 +01:00
|
|
|
{stdenv, buildPythonPackage, fetchurl}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-02-19 09:56:31 +01:00
|
|
|
name = "pyroute2-0.4.13";
|
2016-12-24 00:53:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/p/pyroute2/${name}.tar.gz";
|
2017-02-19 09:56:31 +01:00
|
|
|
sha256 = "0f8a1ihxc1r78m6dqwhks2vdp4vwwbw72mbv88v70qmkb0pxgwwk";
|
2016-12-24 00:53:15 +01: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];
|
|
|
|
platform = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|