depot/third_party/nixpkgs/pkgs/development/python-modules/insteon-frontend-home-assistant/default.nix

36 lines
790 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "insteon-frontend-home-assistant";
version = "0.5.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchPypi {
inherit pname version;
hash = "sha256-NZwnx8tlXnsVCk4nvNjOg3cjSr2CnjqWcZG7xFTC2wA=";
};
nativeBuildInputs = [ setuptools ];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "insteon_frontend" ];
meta = with lib; {
changelog = "https://github.com/pyinsteon/insteon-panel/releases/tag/${version}";
description = "The Insteon frontend for Home Assistant";
homepage = "https://github.com/pyinsteon/insteon-panel";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}