nixpkgs/pkgs/development/python-modules/ifaddr/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
569 B
Nix
Raw Normal View History

{ lib
2018-10-25 14:48:10 +00:00
, buildPythonPackage
, fetchPypi
, 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
};
checkInputs = [
pytestCheckHook
];
2018-10-25 14:48:10 +00:00
pythonImportsCheck = [ "ifaddr" ];
2018-10-25 14:48:10 +00:00
meta = with lib; {
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 ];
};
}