12 buildPythonPackage rec {
17 disabled = pythonOlder "3.9";
19 src = fetchFromGitHub {
20 owner = "lamoreauxlab";
21 repo = "srpenergy-api-client-python";
22 rev = "refs/tags/${version}";
23 hash = "sha256-bdBF5y9hRj4rceUD5qjHOM9TIaHGElJ36YjWCJgCzX8=";
27 substituteInPlace pyproject.toml \
28 --replace-fail "setuptools==" "setuptools>="
31 build-system = [ setuptools ];
38 nativeCheckInputs = [ pytestCheckHook ];
40 pythonImportsCheck = [ "srpenergy.client" ];
43 changelog = "https://github.com/lamoreauxlab/srpenergy-api-client-python/releases/tag/${version}";
44 description = "Unofficial Python module for interacting with Srp Energy data";
45 homepage = "https://github.com/lamoreauxlab/srpenergy-api-client-python";
46 license = licenses.mit;
47 maintainers = with maintainers; [ dotlambda ];