14 buildPythonPackage rec {
19 disabled = pythonOlder "3.11";
21 src = fetchFromGitHub {
22 owner = "klaasnicolaas";
23 repo = "python-energyzero";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-NZbCiLCZC+hTcV0twOeCoKKD3eZ0/ZzPTnVpFyMLSfw=";
29 substituteInPlace pyproject.toml \
30 --replace '"0.0.0"' '"${version}"' \
31 --replace 'addopts = "--cov"' ""
38 propagatedBuildInputs = [
50 pythonImportsCheck = [
55 description = "Module for getting the dynamic prices from EnergyZero";
56 homepage = "https://github.com/klaasnicolaas/python-energyzero";
57 changelog = "https://github.com/klaasnicolaas/python-energyzero/releases/tag/v${version}";
58 license = with licenses; [ mit ];
59 maintainers = with maintainers; [ fab ];