python311Packages.omnikinverter: 0.9.1 -> 1.0.0
Diff: https://github.com/klaasnicolaas/python-omnikinverter/compare/refs/tags/v0.9.1...v1.0.0 Changelog: https://github.com/klaasnicolaas/python-omnikinverter/releases/tag/v1.0.0
This commit is contained in:
@@ -12,18 +12,25 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "omnikinverter";
|
||||
version = "0.9.1";
|
||||
format = "pyproject";
|
||||
version = "1.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "klaasnicolaas";
|
||||
repo = "python-omnikinverter";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Vjfnwk9iIe5j+s/zJHQ2X095Eexp/aKtIi/k0sK45q0=";
|
||||
hash = "sha256-W9VeRhsCXLLgOgvJcNNCGNmPvakPtKHAtwQAGtYJbcY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Upstream doesn't set a version for the pyproject.toml
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "0.0.0" "${version}" \
|
||||
--replace "--cov" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
@@ -39,13 +46,6 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Upstream doesn't set a version for the pyproject.toml
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "0.0.0" "${version}" \
|
||||
--replace "--cov" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"omnikinverter"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user