19 buildPythonPackage rec {
20 pname = "pytest-homeassistant-custom-component";
24 disabled = pythonOlder "3.12";
26 src = fetchFromGitHub {
27 owner = "MatthewFlamm";
28 repo = "pytest-homeassistant-custom-component";
29 rev = "refs/tags/${version}";
30 hash = "sha256-OLCGoZ5C39D4yYJagowO914qJlQcJVScm/a1ZbR2alM=";
33 build-system = [ setuptools ];
35 pythonRemoveDeps = true;
49 pythonImportsCheck = [ "pytest_homeassistant_custom_component.plugins" ];
51 nativeCheckInputs = [ pytestCheckHook ];
54 changelog = "https://github.com/MatthewFlamm/pytest-homeassistant-custom-component/blob/${src.rev}/CHANGELOG.md";
55 description = "Package to automatically extract testing plugins from Home Assistant for custom component testing";
56 homepage = "https://github.com/MatthewFlamm/pytest-homeassistant-custom-component";
57 license = lib.licenses.mit;
58 maintainers = with lib.maintainers; [ dotlambda ];