15 buildPythonPackage rec {
20 disabled = pythonOlder "3.8";
22 src = fetchFromGitHub {
25 rev = "refs/tags/v${version}";
26 hash = "sha256-1xeXfhoXRfJ7vrpRPeYmwcAGjL09iNCOm/f4pPvuZLU=";
30 substituteInPlace pyproject.toml \
31 --replace-fail " --cov --cov-report term --cov-report html" ""
41 ] ++ lib.optionals (pythonOlder "3.9") [
52 pythonImportsCheck = [
57 description = "Python module to download Spanish electricity hourly prices (PVPC)";
58 homepage = "https://github.com/azogue/aiopvpc";
59 changelog = "https://github.com/azogue/aiopvpc/blob/v${version}/CHANGELOG.md";
60 license = with licenses; [ mit ];
61 maintainers = with maintainers; [ fab ];