14 buildPythonPackage rec {
15 pname = "tesla-powerwall";
19 disabled = pythonOlder "3.7";
21 src = fetchFromGitHub {
23 repo = "tesla_powerwall";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-cAsJKFM0i0e7w2T4HP4a5ybJGuDvBAGCGmPEKFzNFAY=";
28 nativeBuildInputs = [ setuptools ];
30 propagatedBuildInputs = [
42 # yarl compat issue https://github.com/jrester/tesla_powerwall/issues/68
46 pytestFlagsArray = [ "tests/unit" ];
48 pythonImportsCheck = [ "tesla_powerwall" ];
51 description = "API for Tesla Powerwall";
52 homepage = "https://github.com/jrester/tesla_powerwall";
53 changelog = "https://github.com/jrester/tesla_powerwall/blob/v${version}/CHANGELOG";
54 license = licenses.mit;
55 maintainers = with maintainers; [ dotlambda ];