depot/third_party/nixpkgs/pkgs/development/python-modules/aiolifx/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

49 lines
933 B
Nix

{
lib,
async-timeout,
bitstring,
buildPythonPackage,
click,
fetchPypi,
ifaddr,
inquirerpy,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "aiolifx";
version = "1.0.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Lzdd4UPyu3/avxKO0XPCFI8zhTjDF7zwSKf6RL1/k9M=";
};
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";
};
}