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 12 13 13 buildPythonPackage rec { 14 14 pname = "omnikinverter"; 15 - version = "0.9.1"; 16 - format = "pyproject"; 15 + version = "1.0.0"; 16 + pyproject = true; 17 17 18 - disabled = pythonOlder "3.9"; 18 + disabled = pythonOlder "3.11"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "klaasnicolaas"; 22 22 repo = "python-omnikinverter"; 23 23 rev = "refs/tags/v${version}"; 24 - hash = "sha256-Vjfnwk9iIe5j+s/zJHQ2X095Eexp/aKtIi/k0sK45q0="; 24 + hash = "sha256-W9VeRhsCXLLgOgvJcNNCGNmPvakPtKHAtwQAGtYJbcY="; 25 25 }; 26 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 + 27 36 nativeBuildInputs = [ 28 37 poetry-core 29 38 ]; ··· 38 47 pytest-asyncio 39 48 pytestCheckHook 40 49 ]; 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 50 49 51 pythonImportsCheck = [ 50 52 "omnikinverter"