3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/aiolifx/default.nix
2022-09-29 13:16:31 +00:00

40 lines
714 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
, ifaddr
, bitstring
}:
buildPythonPackage rec {
pname = "aiolifx";
version = "0.8.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-FJ7XMAl00KkZtLOOkj50gwVakYzjnr894QrUvwceTjo=";
};
propagatedBuildInputs = [
bitstring
ifaddr
];
# tests are not implemented
doCheck = false;
pythonImportsCheck = [
"aiolifx"
];
meta = with lib; {
description = "Module for local communication with LIFX devices over a LAN";
homepage = "https://github.com/frawau/aiolifx";
license = licenses.mit;
maintainers = with maintainers; [ netixx ];
};
}