2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
async-timeout,
|
|
|
|
bitstring,
|
|
|
|
buildPythonPackage,
|
|
|
|
click,
|
|
|
|
fetchPypi,
|
|
|
|
ifaddr,
|
|
|
|
inquirerpy,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiolifx";
|
2024-07-31 10:19:44 +00:00
|
|
|
version = "1.0.6";
|
2024-01-02 11:29:13 +00:00
|
|
|
pyproject = true;
|
2021-09-18 10:52:07 +00:00
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-31 10:19:44 +00:00
|
|
|
hash = "sha256-DA949hZogSY3KkLSeILvB5Ay6rXZoLe8ndbOtagTtvM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
dependencies = [
|
2023-04-29 16:46:19 +00:00
|
|
|
async-timeout
|
2021-09-18 10:52:07 +00:00
|
|
|
bitstring
|
2023-05-24 13:37:59 +00:00
|
|
|
click
|
2021-09-18 10:52:07 +00:00
|
|
|
ifaddr
|
2023-05-24 13:37:59 +00:00
|
|
|
inquirerpy
|
2021-09-18 10:52:07 +00:00
|
|
|
];
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
# Module has no tests
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
pythonImportsCheck = [ "aiolifx" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2022-04-27 09:35:20 +00:00
|
|
|
description = "Module for local communication with LIFX devices over a LAN";
|
2024-07-31 10:19:44 +00:00
|
|
|
homepage = "https://github.com/aiolifx/aiolifx";
|
|
|
|
changelog = "https://github.com/aiolifx/aiolifx/releases/tag/${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ netixx ];
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "aiolifx";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|