mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
python3Packages.pyroute2-nftables: init at 0.6.1
This commit is contained in:
parent
c48ebb385f
commit
1587fc4b62
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pyroute2-core
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyroute2-nftables";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pyroute2.nftables";
|
||||
inherit version;
|
||||
sha256 = "0g93jsjf77sxjxmgmd8pzy8daxnqnzp2fk9gbh9kxk1n1958p100";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyroute2-core
|
||||
];
|
||||
|
||||
# pyroute2 sub-modules have no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pr2modules.nftables"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Nftables module for pyroute2";
|
||||
homepage = "https://github.com/svinota/pyroute2";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -6170,6 +6170,8 @@ in {
|
||||
|
||||
pyroute2-ipset = callPackage ../development/python-modules/pyroute2-ipset { };
|
||||
|
||||
pyroute2-nftables = callPackage ../development/python-modules/pyroute2-nftables { };
|
||||
|
||||
pyroute2-protocols = callPackage ../development/python-modules/pyroute2-protocols { };
|
||||
|
||||
pyrr = callPackage ../development/python-modules/pyrr { };
|
||||
|
Loading…
Reference in New Issue
Block a user