depot/third_party/nixpkgs/pkgs/development/python-modules/ifaddr/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

28 lines
577 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
}:
buildPythonPackage rec {
version = "0.2.0";
format = "setuptools";
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 = [ ];
};
}