1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 aiohttp, 7}: 8 9buildPythonPackage rec { 10 pname = "teslemetry-stream"; 11 version = "0.7.9"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "Teslemetry"; 16 repo = "python-teslemetry-stream"; 17 tag = "v${version}"; 18 hash = "sha256-qfe73wLj4CGfHU4MyQfUfM/P+R52Hd6FLr39wbIGg9Y="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ aiohttp ]; 24 25 doCheck = false; # no tests 26 27 pythonImportsCheck = [ "teslemetry_stream" ]; 28 29 meta = { 30 changelog = "https://github.com/Teslemetry/python-teslemetry-stream/releases/tag/${src.tag}"; 31 description = "Python library for the Teslemetry Streaming API"; 32 homepage = "https://github.com/Teslemetry/python-teslemetry-stream"; 33 license = lib.licenses.asl20; 34 maintainers = with lib.maintainers; [ hexa ]; 35 }; 36}