mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
python3Packages.ttls: init at 1.4.2
This commit is contained in:
parent
f6068cbf1e
commit
4be4b4ee54
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 { };
|
trytond = callPackage ../development/python-modules/trytond { };
|
||||||
|
|
||||||
|
ttls = callPackage ../development/python-modules/ttls { };
|
||||||
|
|
||||||
ttp = callPackage ../development/python-modules/ttp { };
|
ttp = callPackage ../development/python-modules/ttp { };
|
||||||
|
|
||||||
tubes = callPackage ../development/python-modules/tubes { };
|
tubes = callPackage ../development/python-modules/tubes { };
|
||||||
|
Loading…
Reference in New Issue
Block a user