mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
23 lines
527 B
Nix
23 lines
527 B
Nix
{stdenv, buildPythonPackage, fetchPypi}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyroute2";
|
|
version = "0.5.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "deae0e6191a04c3ee213c6fae6ed779602ef5da5ca5e2fa533f27bc04326bfbe";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|