Loading pkgs/development/python-modules/energyzero/default.nix +8 −6 Original line number Diff line number Diff line Loading @@ -9,13 +9,14 @@ pytest-freezer, pytestCheckHook, pythonOlder, syrupy, yarl, }: buildPythonPackage rec { pname = "energyzero"; version = "2.1.0"; format = "pyproject"; version = "2.1.1"; pyproject = true; disabled = pythonOlder "3.11"; Loading @@ -23,16 +24,16 @@ buildPythonPackage rec { owner = "klaasnicolaas"; repo = "python-energyzero"; rev = "refs/tags/v${version}"; hash = "sha256-NZbCiLCZC+hTcV0twOeCoKKD3eZ0/ZzPTnVpFyMLSfw="; hash = "sha256-KOeYdTruD8AN/NkLEKKJDUB/JkOoQwfAMZkp/RvvUQE="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace '"0.0.0"' '"${version}"' \ --replace 'addopts = "--cov"' "" --replace-fail '"0.0.0"' '"${version}"' \ --replace-fail 'addopts = "--cov"' "" ''; nativeBuildInputs = [ poetry-core ]; build-system = [ poetry-core ]; propagatedBuildInputs = [ aiohttp Loading @@ -44,6 +45,7 @@ buildPythonPackage rec { pytest-asyncio pytest-freezer pytestCheckHook syrupy ]; pythonImportsCheck = [ "energyzero" ]; Loading Loading
pkgs/development/python-modules/energyzero/default.nix +8 −6 Original line number Diff line number Diff line Loading @@ -9,13 +9,14 @@ pytest-freezer, pytestCheckHook, pythonOlder, syrupy, yarl, }: buildPythonPackage rec { pname = "energyzero"; version = "2.1.0"; format = "pyproject"; version = "2.1.1"; pyproject = true; disabled = pythonOlder "3.11"; Loading @@ -23,16 +24,16 @@ buildPythonPackage rec { owner = "klaasnicolaas"; repo = "python-energyzero"; rev = "refs/tags/v${version}"; hash = "sha256-NZbCiLCZC+hTcV0twOeCoKKD3eZ0/ZzPTnVpFyMLSfw="; hash = "sha256-KOeYdTruD8AN/NkLEKKJDUB/JkOoQwfAMZkp/RvvUQE="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace '"0.0.0"' '"${version}"' \ --replace 'addopts = "--cov"' "" --replace-fail '"0.0.0"' '"${version}"' \ --replace-fail 'addopts = "--cov"' "" ''; nativeBuildInputs = [ poetry-core ]; build-system = [ poetry-core ]; propagatedBuildInputs = [ aiohttp Loading @@ -44,6 +45,7 @@ buildPythonPackage rec { pytest-asyncio pytest-freezer pytestCheckHook syrupy ]; pythonImportsCheck = [ "energyzero" ]; Loading