python313Packages.tessie-api: init at 0.1.2 (#422987)

Changed files
+56 -1
pkgs
development
python-modules
tessie-api
servers
home-assistant
top-level
+51
pkgs/development/python-modules/tessie-api/default.nix
···
+
{
+
lib,
+
buildPythonPackage,
+
fetchFromGitHub,
+
aiohttp,
+
pythonOlder,
+
hatchling,
+
pytz,
+
pytestCheckHook,
+
pytest-asyncio,
+
}:
+
+
buildPythonPackage rec {
+
pname = "tessie-api";
+
version = "0.1.2";
+
pyproject = true;
+
+
disabled = pythonOlder "3.5";
+
+
src = fetchFromGitHub {
+
owner = "andrewgierens";
+
repo = "tessie_python_api";
+
tag = version;
+
hash = "sha256-uY52SSG2u4lcX9X7Ql/pn31uOwpqIy3kkuLMvsFBA3s=";
+
};
+
+
build-system = [ hatchling ];
+
+
dependencies = [
+
aiohttp
+
pytz
+
];
+
+
nativeCheckInputs = [
+
pytestCheckHook
+
pytest-asyncio
+
];
+
+
pythonImportsCheck = [ "tessie_api" ];
+
+
# Tests require API credentials
+
doCheck = false;
+
+
meta = {
+
description = "Python wrapper for the Tessie API";
+
homepage = "https://github.com/andrewgierens/tessie_python_api";
+
changelog = "https://github.com/andrewgierens/tessie_python_api/releases/tag/${version}";
+
license = lib.licenses.gpl3Plus;
+
maintainers = [ lib.maintainers.jamiemagee ];
+
};
+
}
+3 -1
pkgs/servers/home-assistant/component-packages.nix
···
"tessie" =
ps: with ps; [
tesla-fleet-api
-
]; # missing inputs: tessie-api
+
tessie-api
+
];
"text" =
ps: with ps; [
];
···
"tesla_fleet"
"tesla_wall_connector"
"teslemetry"
+
"tessie"
"text"
"thermobeacon"
"thermopro"
+2
pkgs/top-level/python-packages.nix
···
tesserocr = callPackage ../development/python-modules/tesserocr { };
+
tessie-api = callPackage ../development/python-modules/tessie-api { };
+
test-results-parser = callPackage ../development/python-modules/test-results-parser { };
test-tube = callPackage ../development/python-modules/test-tube { };