15 buildPythonPackage rec {
16 pname = "pyduke-energy";
18 format = "setuptools";
20 disabled = pythonOlder "3.7";
22 src = fetchFromGitHub {
26 hash = "sha256-7KkUpsHg3P2cF0bVl3FzyAQwzeaCmg+vzRHlM/TIcNA=";
29 propagatedBuildInputs = [
42 pythonImportsCheck = [ "pyduke_energy" ];
45 description = "Python module for the Duke Energy API";
46 homepage = "https://github.com/mjmeli/pyduke-energy";
47 changelog = "https://github.com/mjmeli/pyduke-energy/releases/tag/v${version}";
48 license = licenses.mit;
49 maintainers = with maintainers; [ fab ];