mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
d594f57f09
Diff: https://github.com/zabuldon/teslajsonpy/compare/refs/tags/v3.12.2...v3.12.3 Changelog: https://github.com/zabuldon/teslajsonpy/releases/tag/v3.12.3
61 lines
1.1 KiB
Nix
61 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
authcaptureproxy,
|
|
backoff,
|
|
beautifulsoup4,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
httpx,
|
|
orjson,
|
|
poetry-core,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
tenacity,
|
|
wrapt,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "teslajsonpy";
|
|
version = "3.12.3";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zabuldon";
|
|
repo = "teslajsonpy";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-LvkStE5iIDfJ6U939JkVWqNsPLojGBXM/TFiJZpZ8tA=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
authcaptureproxy
|
|
aiohttp
|
|
backoff
|
|
beautifulsoup4
|
|
httpx
|
|
orjson
|
|
tenacity
|
|
wrapt
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "teslajsonpy" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library to work with Tesla API";
|
|
homepage = "https://github.com/zabuldon/teslajsonpy";
|
|
changelog = "https://github.com/zabuldon/teslajsonpy/releases/tag/v${version}";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|