Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / tesla-fleet-api / default.nix
blobfad5795a930e5de4d0c0ae08a696c0fa1b6d4b71
1 { lib
2 , aiohttp
3 , aiolimiter
4 , buildPythonPackage
5 , fetchFromGitHub
6 , pythonOlder
7 , setuptools
8 }:
10 buildPythonPackage rec {
11   pname = "tesla-fleet-api";
12   version = "0.5.6";
13   pyproject = true;
15   disabled = pythonOlder "3.10";
17   src = fetchFromGitHub {
18     owner = "Teslemetry";
19     repo = "python-tesla-fleet-api";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-dkxKC0WAgfDvUD9YktRrNCgXpw2+6apfsMVqStZICII=";
22   };
24   build-system = [
25     setuptools
26   ];
28   dependencies = [
29     aiohttp
30     aiolimiter
31   ];
33   # Module has no tests
34   doCheck  =false;
36   pythonImportsCheck = [
37     "tesla_fleet_api"
38   ];
40   meta = with lib; {
41     description = "Python library for Tesla Fleet API and Teslemetry";
42     homepage = "https://github.com/Teslemetry/python-tesla-fleet-api";
43     changelog = "https://github.com/Teslemetry/python-tesla-fleet-api/releases/tag/v${version}";
44     license = licenses.asl20;
45     maintainers = with maintainers; [ fab ];
46   };