blob: 7515a4b837131ccc8a66028bb08534638b500be2 (
plain) (
blame)
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
37
38
39
40
41
42
43
44
45
46
47
|
{ lib
, aiohttp
, aiolimiter
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "tesla-fleet-api";
version = "0.5.3";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "Teslemetry";
repo = "python-tesla-fleet-api";
rev = "refs/tags/v${version}";
hash = "sha256-rVxrMgp1V8wlDE+PGGiyZbpe4OuU2LT/LFYQ6m6k98o=";
};
build-system = [
setuptools
];
dependencies = [
aiohttp
aiolimiter
];
# Module has no tests
doCheck =false;
pythonImportsCheck = [
"tesla_fleet_api"
];
meta = with lib; {
description = "Python library for Tesla Fleet API and Teslemetry";
homepage = "https://github.com/Teslemetry/python-tesla-fleet-api";
changelog = "https://github.com/Teslemetry/python-tesla-fleet-api/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}
|