blob: 7a1cc3be459fb92e2a59ff452e4a804e409c3893 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
hatchling,
uv-dynamic-versioning,
}:
buildPythonPackage rec {
pname = "ttls";
version = "1.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jschlyter";
repo = "ttls";
tag = "v${version}";
hash = "sha256-ETqjL7pl/FekzMusBtq8jMr72/j7Dy/zadcObSNaKqU=";
};
build-system = [
hatchling
uv-dynamic-versioning
];
dependencies = [ aiohttp ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "ttls" ];
meta = {
description = "Module to interact with Twinkly LEDs";
homepage = "https://github.com/jschlyter/ttls";
changelog = "https://github.com/jschlyter/ttls/blob/${src.tag}/CHANGES.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "ttls";
};
}
|