mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
python3Packages.ttls: init at 1.4.2
This commit is contained in:
parent
f6068cbf1e
commit
4be4b4ee54
2 changed files with 48 additions and 0 deletions
46
pkgs/development/python-modules/ttls/default.nix
Normal file
46
pkgs/development/python-modules/ttls/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue