587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
49 lines
933 B
Nix
49 lines
933 B
Nix
{
|
|
lib,
|
|
async-timeout,
|
|
bitstring,
|
|
buildPythonPackage,
|
|
click,
|
|
fetchPypi,
|
|
ifaddr,
|
|
inquirerpy,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiolifx";
|
|
version = "1.0.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-E3UxNTqss3urpMTwhLhIoAnBekGOIyFy0+sOj3mGlss=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
async-timeout
|
|
bitstring
|
|
click
|
|
ifaddr
|
|
inquirerpy
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aiolifx" ];
|
|
|
|
meta = with lib; {
|
|
description = "Module for local communication with LIFX devices over a LAN";
|
|
homepage = "https://github.com/frawau/aiolifx";
|
|
changelog = "https://github.com/frawau/aiolifx/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ netixx ];
|
|
mainProgram = "aiolifx";
|
|
};
|
|
}
|