Loading pkgs/development/python-modules/easyenergy/default.nix +9 −6 Original line number Diff line number Diff line Loading @@ -6,15 +6,17 @@ fetchFromGitHub, poetry-core, pytest-asyncio, pytest-cov-stub, pytest-freezer, pytestCheckHook, pythonOlder, syrupy, yarl, }: buildPythonPackage rec { pname = "easyenergy"; version = "2.1.2"; version = "2.2.0"; pyproject = true; disabled = pythonOlder "3.11"; Loading @@ -23,13 +25,12 @@ buildPythonPackage rec { owner = "klaasnicolaas"; repo = "python-easyenergy"; tag = "v${version}"; hash = "sha256-tWKfcGznxck8VLK3YshOIbPet2CEbUZbT8JzgaAhAso="; hash = "sha256-AFEygSSHr7YJK4Yx4dvBVGR3wBswAeUNrC/7NndzfBg="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace '"0.0.0"' '"${version}"' \ --replace 'addopts = "--cov"' "" --replace '"0.0.0"' '"${version}"' ''; nativeBuildInputs = [ poetry-core ]; Loading @@ -42,8 +43,10 @@ buildPythonPackage rec { nativeCheckInputs = [ aresponses pytest-asyncio pytest-cov-stub pytest-freezer pytestCheckHook syrupy ]; pythonImportsCheck = [ "easyenergy" ]; Loading @@ -66,8 +69,8 @@ buildPythonPackage rec { meta = with lib; { description = "Module for getting energy/gas prices from easyEnergy"; homepage = "https://github.com/klaasnicolaas/python-easyenergy"; changelog = "https://github.com/klaasnicolaas/python-easyenergy/releases/tag/v${version}"; license = with licenses; [ mit ]; changelog = "https://github.com/klaasnicolaas/python-easyenergy/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; } Loading
pkgs/development/python-modules/easyenergy/default.nix +9 −6 Original line number Diff line number Diff line Loading @@ -6,15 +6,17 @@ fetchFromGitHub, poetry-core, pytest-asyncio, pytest-cov-stub, pytest-freezer, pytestCheckHook, pythonOlder, syrupy, yarl, }: buildPythonPackage rec { pname = "easyenergy"; version = "2.1.2"; version = "2.2.0"; pyproject = true; disabled = pythonOlder "3.11"; Loading @@ -23,13 +25,12 @@ buildPythonPackage rec { owner = "klaasnicolaas"; repo = "python-easyenergy"; tag = "v${version}"; hash = "sha256-tWKfcGznxck8VLK3YshOIbPet2CEbUZbT8JzgaAhAso="; hash = "sha256-AFEygSSHr7YJK4Yx4dvBVGR3wBswAeUNrC/7NndzfBg="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace '"0.0.0"' '"${version}"' \ --replace 'addopts = "--cov"' "" --replace '"0.0.0"' '"${version}"' ''; nativeBuildInputs = [ poetry-core ]; Loading @@ -42,8 +43,10 @@ buildPythonPackage rec { nativeCheckInputs = [ aresponses pytest-asyncio pytest-cov-stub pytest-freezer pytestCheckHook syrupy ]; pythonImportsCheck = [ "easyenergy" ]; Loading @@ -66,8 +69,8 @@ buildPythonPackage rec { meta = with lib; { description = "Module for getting energy/gas prices from easyEnergy"; homepage = "https://github.com/klaasnicolaas/python-easyenergy"; changelog = "https://github.com/klaasnicolaas/python-easyenergy/releases/tag/v${version}"; license = with licenses; [ mit ]; changelog = "https://github.com/klaasnicolaas/python-easyenergy/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }