File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
pkgs/development/python-modules/omnikinverter Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 1212
1313buildPythonPackage rec {
1414 pname = "omnikinverter" ;
15- version = "0.9.1 " ;
16- format = "pyproject" ;
15+ version = "1.0.0 " ;
16+ pyproject = true ;
1717
18- disabled = pythonOlder "3.9 " ;
18+ disabled = pythonOlder "3.11 " ;
1919
2020 src = fetchFromGitHub {
2121 owner = "klaasnicolaas" ;
2222 repo = "python-omnikinverter" ;
2323 rev = "refs/tags/v${ version } " ;
24- hash = "sha256-Vjfnwk9iIe5j+s/zJHQ2X095Eexp/aKtIi/k0sK45q0 =" ;
24+ hash = "sha256-W9VeRhsCXLLgOgvJcNNCGNmPvakPtKHAtwQAGtYJbcY =" ;
2525 } ;
2626
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+
2736 nativeBuildInputs = [
2837 poetry-core
2938 ] ;
@@ -39,13 +48,6 @@ buildPythonPackage rec {
3948 pytestCheckHook
4049 ] ;
4150
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-
4951 pythonImportsCheck = [
5052 "omnikinverter"
5153 ] ;
You can’t perform that action at this time.
0 commit comments