python3Packages.trmnl: init at 0.1.1 (#506845)
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
aiohttp,
|
||||
mashumaro,
|
||||
orjson,
|
||||
yarl,
|
||||
aioresponses,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
syrupy,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "trmnl";
|
||||
version = "0.1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "joostlek";
|
||||
repo = "python-trmnl";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Gpyhp+d27/IxDOTFxcN9ltYbOJOg9scf17qVb/ArBw0=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
mashumaro
|
||||
orjson
|
||||
yarl
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aioresponses
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
syrupy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "trmnl" ];
|
||||
|
||||
meta = {
|
||||
description = "Asynchronous Python client for TRMNL";
|
||||
homepage = "https://github.com/joostlek/python-trmnl";
|
||||
changelog = "https://github.com/joostlek/python-trmnl/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ jamiemagee ];
|
||||
};
|
||||
})
|
||||
@@ -6626,7 +6626,8 @@
|
||||
];
|
||||
"trmnl" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: trmnl
|
||||
trmnl
|
||||
];
|
||||
"tts" =
|
||||
ps: with ps; [
|
||||
ha-ffmpeg
|
||||
@@ -8332,6 +8333,7 @@
|
||||
"transport_nsw"
|
||||
"trend"
|
||||
"triggercmd"
|
||||
"trmnl"
|
||||
"tts"
|
||||
"tuya"
|
||||
"twentemilieu"
|
||||
|
||||
@@ -19718,6 +19718,8 @@ self: super: with self; {
|
||||
}
|
||||
);
|
||||
|
||||
trmnl = callPackage ../development/python-modules/trmnl { };
|
||||
|
||||
troi = callPackage ../development/python-modules/troi { };
|
||||
|
||||
troposphere = callPackage ../development/python-modules/troposphere { };
|
||||
|
||||
Reference in New Issue
Block a user