diff --git a/pkgs/development/python-modules/python-homeassistant-analytics/default.nix b/pkgs/development/python-modules/python-homeassistant-analytics/default.nix index 4433e441b6cb..0a30076c9e9b 100644 --- a/pkgs/development/python-modules/python-homeassistant-analytics/default.nix +++ b/pkgs/development/python-modules/python-homeassistant-analytics/default.nix @@ -16,13 +16,14 @@ # tests pytestCheckHook, aioresponses, + pytest-cov-stub, pytest-asyncio, syrupy, }: buildPythonPackage rec { pname = "python-homeassistant-analytics"; - version = "0.8.0"; + version = "0.8.1"; pyproject = true; disabled = pythonOlder "3.11"; @@ -31,14 +32,9 @@ buildPythonPackage rec { owner = "joostlek"; repo = "python-homeassistant-analytics"; rev = "refs/tags/v${version}"; - hash = "sha256-vyJseIYFmbxUYieZB0r3Z3j6/ZHmgs7ONa5YKQTwAXw="; + hash = "sha256-TfD1N4KoeIVoDp1YoOhBw8E7adow1nU1N6vj2j3W2No="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "--cov" "" - ''; - build-system = [ poetry-core ]; dependencies = [ @@ -51,6 +47,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook aioresponses + pytest-cov-stub pytest-asyncio syrupy ]; @@ -58,10 +55,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "python_homeassistant_analytics" ]; meta = with lib; { + description = "Asynchronous Python client for Home Assistant Analytics"; changelog = "https://github.com/joostlek/python-homeassistant-analytics/releases/tag/v${version}"; - description = "Asynchronous Python client for Homeassistant Analytics"; - homepage = "https://github.com/joostlek/python-homeassistant-analytics -"; + homepage = "https://github.com/joostlek/python-homeassistant-analytics"; license = licenses.mit; maintainers = with maintainers; [ jamiemagee ]; };