python3Packages.teltasync: init at 0.2.0 (#500170)
This commit is contained in:
@@ -13693,6 +13693,13 @@
|
||||
github = "karaolidis";
|
||||
githubId = 46189100;
|
||||
};
|
||||
karlbeecken = {
|
||||
name = "Karl Beecken";
|
||||
email = "karl@beecken.berlin";
|
||||
github = "karlbeecken";
|
||||
githubId = 32744028;
|
||||
keys = [ { fingerprint = "7577 13A4 9609 0C2F 51C4 018C B5C8 89A2 F195 28F6"; } ];
|
||||
};
|
||||
KarlJoad = {
|
||||
email = "karl@hallsby.com";
|
||||
github = "KarlJoad";
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromCodeberg,
|
||||
aiohttp,
|
||||
pydantic,
|
||||
uv-build,
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
syrupy,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "teltasync";
|
||||
version = "0.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromCodeberg {
|
||||
owner = "dmho";
|
||||
repo = "teltasync";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-skTJyWkDplgGJ5al6YMVnFAo1Js1yc5ViKUiPm9hhJg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "uv_build>=0.10.2,<0.11.0" "uv_build"
|
||||
'';
|
||||
|
||||
build-system = [ uv-build ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
pydantic
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
syrupy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "teltasync" ];
|
||||
|
||||
meta = {
|
||||
description = "Async, typed API client for Teltonika routers, built for Home Assistant";
|
||||
homepage = "https://codeberg.org/dmho/teltasync";
|
||||
changelog = "https://codeberg.org/dmho/teltasync/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.karlbeecken ];
|
||||
};
|
||||
})
|
||||
@@ -6184,7 +6184,8 @@
|
||||
];
|
||||
"teltonika" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: teltasync
|
||||
teltasync
|
||||
];
|
||||
"temper" =
|
||||
ps: with ps; [
|
||||
temperusb
|
||||
@@ -8124,6 +8125,7 @@
|
||||
"telegram"
|
||||
"telegram_bot"
|
||||
"tellduslive"
|
||||
"teltonika"
|
||||
"temper"
|
||||
"template"
|
||||
"tesla_fleet"
|
||||
|
||||
@@ -18944,6 +18944,8 @@ self: super: with self; {
|
||||
|
||||
tellduslive = callPackage ../development/python-modules/tellduslive { };
|
||||
|
||||
teltasync = callPackage ../development/python-modules/teltasync { };
|
||||
|
||||
temescal = callPackage ../development/python-modules/temescal { };
|
||||
|
||||
temperusb = callPackage ../development/python-modules/temperusb { };
|
||||
|
||||
Reference in New Issue
Block a user