depot/third_party/nixpkgs/pkgs/development/python-modules/aiolifx-connection/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

35 lines
750 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
pythonOlder,
aiolifx,
}:
buildPythonPackage rec {
pname = "aiolifx-connection";
version = "1.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "aiolifx_connection";
inherit version;
hash = "sha256:09fydp5fqqh1s0vav39mw98i1la6qcgk17gch0m5ihyl9q50ks13";
};
propagatedBuildInputs = [ aiolifx ];
# tests are not implemented
doCheck = false;
pythonImportsCheck = [ "aiolifx_connection" ];
meta = with lib; {
description = "Wrapper for aiolifx to connect to a single LIFX device";
homepage = "https://github.com/bdraco/aiolifx_connection";
license = licenses.bsd3;
maintainers = with maintainers; [ lukegb ];
};
}