2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
2023-04-29 16:46:19 +00:00
|
|
|
, async-timeout
|
2023-05-24 13:37:59 +00:00
|
|
|
, click
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
2021-09-18 10:52:07 +00:00
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
, ifaddr
|
2023-05-24 13:37:59 +00:00
|
|
|
, inquirerpy
|
2020-04-24 23:36:52 +00:00
|
|
|
, bitstring
|
2024-01-02 11:29:13 +00:00
|
|
|
, setuptools
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiolifx";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "1.0.1";
|
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-01-25 14:12:00 +00:00
|
|
|
hash = "sha256-r42M7aqKKLdGgRaCym44M1nvu0vTGK7ricBp/AsbFRk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
propagatedBuildInputs = [
|
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;
|
|
|
|
|
2022-04-27 09:35:20 +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";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/frawau/aiolifx";
|
2023-04-29 16:46:19 +00:00
|
|
|
changelog = "https://github.com/frawau/aiolifx/releases/tag/${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ netixx ];
|
|
|
|
};
|
|
|
|
}
|