mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
6145541032
https://github.com/MatthewFlamm/pytest-homeassistant-custom-component/blob/refs/tags/0.13.172/CHANGELOG.md
61 lines
1.3 KiB
Nix
61 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
aiohttp,
|
|
bcrypt,
|
|
freezegun,
|
|
homeassistant,
|
|
pytest-asyncio,
|
|
pytest-socket,
|
|
requests-mock,
|
|
respx,
|
|
syrupy,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-homeassistant-custom-component";
|
|
version = "0.13.172";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MatthewFlamm";
|
|
repo = "pytest-homeassistant-custom-component";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-azTnNgbdj7AMBLTz+y5BLeQDKUqA5wkxFMG3g30f6wo=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonRemoveDeps = true;
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
bcrypt
|
|
freezegun
|
|
homeassistant
|
|
pytest-asyncio
|
|
pytest-socket
|
|
requests-mock
|
|
respx
|
|
syrupy
|
|
];
|
|
|
|
pythonImportsCheck = [ "pytest_homeassistant_custom_component.plugins" ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/MatthewFlamm/pytest-homeassistant-custom-component/blob/${src.rev}/CHANGELOG.md";
|
|
description = "Package to automatically extract testing plugins from Home Assistant for custom component testing";
|
|
homepage = "https://github.com/MatthewFlamm/pytest-homeassistant-custom-component";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|