My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/aiolifx/default.nix

39 lines
714 B

{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
, ifaddr
, bitstring
}:
buildPythonPackage rec {
pname = "aiolifx";
version = "0.8.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-w6d2qpU8jPrE2Dtuq4825qOCU1SoIpkEjOEX+BYxhuU=";
};
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 ];
};
}