2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-25 14:48:10 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-05-30 04:18:25 +00:00
|
|
|
, pytestCheckHook
|
2018-10-25 14:48:10 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-07-16 10:59:11 +00:00
|
|
|
version = "0.2.0";
|
2018-10-25 14:48:10 +00:00
|
|
|
pname = "ifaddr";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-07-16 10:59:11 +00:00
|
|
|
sha256 = "sha256-zAy/yqv3ZdRFlYJfuWqZuxLHlxa3O0QzDqOO4rDErtQ=";
|
2018-10-25 14:48:10 +00:00
|
|
|
};
|
|
|
|
|
2022-05-30 04:18:25 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2018-10-25 14:48:10 +00:00
|
|
|
|
2022-05-30 04:18:25 +00:00
|
|
|
pythonImportsCheck = [ "ifaddr" ];
|
2018-10-25 14:48:10 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/pydron/ifaddr";
|
2018-10-25 14:48:10 +00:00
|
|
|
description = "Enumerates all IP addresses on all network adapters of the system";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|