diff options
Diffstat (limited to 'pkgs/development/python-modules/aiowaqi/default.nix')
-rw-r--r-- | pkgs/development/python-modules/aiowaqi/default.nix | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/pkgs/development/python-modules/aiowaqi/default.nix b/pkgs/development/python-modules/aiowaqi/default.nix index 19e133e27cbd..370b28cb6f76 100644 --- a/pkgs/development/python-modules/aiowaqi/default.nix +++ b/pkgs/development/python-modules/aiowaqi/default.nix @@ -1,19 +1,20 @@ -{ lib -, aiohttp -, aresponses -, buildPythonPackage -, fetchFromGitHub -, poetry-core -, pytest-asyncio -, pytestCheckHook -, pythonOlder -, syrupy -, yarl +{ + lib, + aiohttp, + aresponses, + buildPythonPackage, + fetchFromGitHub, + poetry-core, + pytest-asyncio, + pytestCheckHook, + pythonOlder, + syrupy, + yarl, }: buildPythonPackage rec { pname = "aiowaqi"; - version = "3.0.1"; + version = "3.1.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -22,19 +23,17 @@ buildPythonPackage rec { owner = "joostlek"; repo = "python-waqi"; rev = "refs/tags/v${version}"; - hash = "sha256-+4l820FGQI66GGr+KGEeDmPUFwRrMNvYFJuSouesakY="; + hash = "sha256-YWTGEOSSkZ0XbZUE3k+Dn9qg8Pmwip9wCp8e/j1D9io="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace "--cov" "" + --replace-fail "--cov" "" ''; - nativeBuildInputs = [ - poetry-core - ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp yarl ]; @@ -46,18 +45,14 @@ buildPythonPackage rec { syrupy ]; - pythonImportsCheck = [ - "aiowaqi" - ]; + pythonImportsCheck = [ "aiowaqi" ]; disabledTests = [ # Upstream mocking fails "test_search" ]; - pytestFlagsArray = [ - "--snapshot-update" - ]; + pytestFlagsArray = [ "--snapshot-update" ]; meta = with lib; { description = "Module to interact with the WAQI API"; |