11 buildPythonPackage rec {
12 pname = "smart-meter-texas";
15 disabled = pythonOlder "3.6";
17 src = fetchFromGitHub {
18 owner = "grahamwetzler";
19 repo = "smart-meter-texas";
21 hash = "sha256-rjMRV5MekwRkipes2nWos/1zi3sD+Ls8LyD3+t5FOZc=";
25 substituteInPlace setup.py \
26 --replace "pytest-runner" ""
29 propagatedBuildInputs = [
36 # no tests implemented
40 description = "Connect to and retrieve data from the unofficial Smart Meter Texas API";
41 homepage = "https://github.com/grahamwetzler/smart-meter-texas";
42 license = licenses.mit;
43 maintainers = with maintainers; [ dotlambda ];