13 buildPythonPackage rec {
18 disabled = pythonOlder "3.11";
20 src = fetchFromGitHub {
23 rev = "refs/tags/${version}";
24 hash = "sha256-ZcTSf7UejEUqQo0qEXP3fWjZYRx0a3ZBNVkwS2dL3Yk=";
28 substituteInPlace requirements_setup.txt \
29 --replace-fail "==" ">="
37 nativeBuildInputs = [ incremental ];
45 # Project has no tests
48 pythonImportsCheck = [ "ovoenergy" ];
51 description = "Python client for getting data from OVO's API";
52 homepage = "https://github.com/timmo001/ovoenergy";
53 changelog = "https://github.com/timmo001/ovoenergy/releases/tag/${version}";
54 license = licenses.mit;
55 maintainers = with maintainers; [ fab ];