nixpkgs/pkgs/development/python-modules/aiolifx-connection/default.nix
Luke Granger-Brown 372af7edf6 aiolifx-connection: init at 1.0.0
This package is very simple and a little silly but it's needed for Home
Assistant's Lifx integration now apparently.
2022-08-17 09:57:43 +01:00

39 lines
755 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 ];
};
}