1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6}:
7
8buildPythonPackage rec {
9 version = "0.2.0";
10 format = "setuptools";
11 pname = "ifaddr";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-zAy/yqv3ZdRFlYJfuWqZuxLHlxa3O0QzDqOO4rDErtQ=";
16 };
17
18 nativeCheckInputs = [ pytestCheckHook ];
19
20 pythonImportsCheck = [ "ifaddr" ];
21
22 meta = with lib; {
23 homepage = "https://github.com/pydron/ifaddr";
24 description = "Enumerates all IP addresses on all network adapters of the system";
25 license = licenses.mit;
26 maintainers = [ ];
27 };
28}