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