22 lines
527 B
Nix
22 lines
527 B
Nix
{stdenv, buildPythonPackage, fetchPypi}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyroute2";
|
|
version = "0.5.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "963fce07da2841456d39e3b932b071f6de28d23dadfae014022d67a752916f98";
|
|
};
|
|
|
|
# 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];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|