14 buildPythonPackage rec {
15 pname = "pyduke-energy";
17 format = "setuptools";
19 disabled = pythonOlder "3.7";
21 src = fetchFromGitHub {
24 rev = "refs/tags/v${version}";
25 sha256 = "sha256-0fxFZQr8Oti17egBvpvE92YsIZ+Jf8gYRh0J2g5WTIc=";
28 propagatedBuildInputs = [
41 pythonImportsCheck = [
46 description = "Python module for the Duke Energy API";
47 homepage = "https://github.com/mjmeli/pyduke-energy";
48 license = licenses.mit;
49 maintainers = with maintainers; [ fab ];