5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
28 lines
552 B
Nix
28 lines
552 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.2.0";
|
|
pname = "ifaddr";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-zAy/yqv3ZdRFlYJfuWqZuxLHlxa3O0QzDqOO4rDErtQ=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "ifaddr" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/pydron/ifaddr";
|
|
description = "Enumerates all IP addresses on all network adapters of the system";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|