python312Packages.netifaces-plus: init at 0.12.4
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
wheel,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "netifaces-plus";
|
||||
version = "0.12.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tsukumijima";
|
||||
repo = "netifaces-plus";
|
||||
tag = "release_${lib.replaceStrings [ "." ] [ "_" ] version}";
|
||||
hash = "sha256-3CYAe0doWMagcUIN9+ikH9gEST9AqglSQDlZsKOMnC8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "netifaces" ];
|
||||
|
||||
meta = {
|
||||
description = "Portable network interface information";
|
||||
homepage = "https://github.com/tsukumijima/netifaces-plus";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ getchoo ];
|
||||
};
|
||||
}
|
||||
@@ -9430,6 +9430,8 @@ self: super: with self; {
|
||||
|
||||
netifaces2 = callPackage ../development/python-modules/netifaces2 { };
|
||||
|
||||
netifaces-plus = callPackage ../development/python-modules/netifaces-plus { };
|
||||
|
||||
netmiko = callPackage ../development/python-modules/netmiko { };
|
||||
|
||||
netio = callPackage ../development/python-modules/netio { };
|
||||
|
||||
Reference in New Issue
Block a user