python3Packages.ttls: init at 1.4.2

This commit is contained in:
Fabian Affolter 2022-02-03 19:01:02 +01:00 committed by Jonathan Ringer
parent f6068cbf1e
commit 4be4b4ee54
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,46 @@
{ lib
, aiohttp
, buildPythonPackage
, colour
, fetchFromGitHub
, poetry-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "ttls";
version = "1.4.2";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "jschlyter";
repo = pname;
rev = "v${version}";
hash = "sha256-zDMgH9o9obfuihX8pXj226T1eMiKx33xyYOGKjdB1wk=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
colour
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"ttls"
];
meta = with lib; {
description = "Module to interact with Twinkly LEDs";
homepage = "https://github.com/jschlyter/ttls";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -9931,6 +9931,8 @@ in {
trytond = callPackage ../development/python-modules/trytond { };
ttls = callPackage ../development/python-modules/ttls { };
ttp = callPackage ../development/python-modules/ttp { };
tubes = callPackage ../development/python-modules/tubes { };