22 lines
527 B
Nix
22 lines
527 B
Nix
{stdenv, buildPythonPackage, fetchPypi}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyroute2";
|
|
version = "0.5.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ad679a91d453fe8426c4076d0da3a67265e5ccfe641879d75c9bc7660d075dfa";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|