depot/third_party/nixpkgs/pkgs/development/python-modules/pyroute2/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

22 lines
520 B
Nix

{lib, buildPythonPackage, fetchPypi}:
buildPythonPackage rec {
pname = "pyroute2";
version = "0.5.14";
src = fetchPypi {
inherit pname version;
sha256 = "774c5ecf05fe40f0f601a7ab33c19ca0b24f00bf4a094e58deaa5333b7ca49b5";
};
# requires root priviledges
doCheck = false;
meta = with lib; {
description = "Python Netlink library";
homepage = "https://github.com/svinota/pyroute2";
license = licenses.asl20;
maintainers = [maintainers.mic92];
platforms = platforms.unix;
};
}