Merge pull request #279042 from fabaff/omnikinverter-bump

python311Packages.omnikinverter: 0.9.1 -> 1.0.0

authored by Fabian Affolter and committed by GitHub ac30c819 63f5f088

+13 -11
+13 -11
pkgs/development/python-modules/omnikinverter/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "omnikinverter"; 15 - version = "0.9.1"; 16 - format = "pyproject"; 17 18 - disabled = pythonOlder "3.9"; 19 20 src = fetchFromGitHub { 21 owner = "klaasnicolaas"; 22 repo = "python-omnikinverter"; 23 rev = "refs/tags/v${version}"; 24 - hash = "sha256-Vjfnwk9iIe5j+s/zJHQ2X095Eexp/aKtIi/k0sK45q0="; 25 }; 26 27 nativeBuildInputs = [ 28 poetry-core 29 ]; ··· 38 pytest-asyncio 39 pytestCheckHook 40 ]; 41 - 42 - postPatch = '' 43 - # Upstream doesn't set a version for the pyproject.toml 44 - substituteInPlace pyproject.toml \ 45 - --replace "0.0.0" "${version}" \ 46 - --replace "--cov" "" 47 - ''; 48 49 pythonImportsCheck = [ 50 "omnikinverter"
··· 12 13 buildPythonPackage rec { 14 pname = "omnikinverter"; 15 + version = "1.0.0"; 16 + pyproject = true; 17 18 + disabled = pythonOlder "3.11"; 19 20 src = fetchFromGitHub { 21 owner = "klaasnicolaas"; 22 repo = "python-omnikinverter"; 23 rev = "refs/tags/v${version}"; 24 + hash = "sha256-W9VeRhsCXLLgOgvJcNNCGNmPvakPtKHAtwQAGtYJbcY="; 25 }; 26 27 + __darwinAllowLocalNetworking = true; 28 + 29 + postPatch = '' 30 + # Upstream doesn't set a version for the pyproject.toml 31 + substituteInPlace pyproject.toml \ 32 + --replace "0.0.0" "${version}" \ 33 + --replace "--cov" "" 34 + ''; 35 + 36 nativeBuildInputs = [ 37 poetry-core 38 ]; ··· 47 pytest-asyncio 48 pytestCheckHook 49 ]; 50 51 pythonImportsCheck = [ 52 "omnikinverter"