depot/third_party/nixpkgs/pkgs/development/python-modules/ifaddr/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

28 lines
575 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
version = "0.2.0";
pname = "ifaddr";
src = fetchPypi {
inherit pname version;
sha256 = "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 = [ maintainers.costrouc ];
};
}