depot/third_party/nixpkgs/pkgs/development/python-modules/aiolifx/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

49 lines
935 B
Nix

{
lib,
async-timeout,
bitstring,
buildPythonPackage,
click,
fetchPypi,
ifaddr,
inquirerpy,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "aiolifx";
version = "1.1.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-oZpq2qUAtqDaRhgW9SbbQY9z81VqrqXhRLmpaPto9+A=";
};
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/aiolifx/aiolifx";
changelog = "https://github.com/aiolifx/aiolifx/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ netixx ];
mainProgram = "aiolifx";
};
}