88abffb7d2
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
36 lines
682 B
Nix
36 lines
682 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, ifaddr
|
|
, bitstring
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiolifx";
|
|
version = "0.7.0";
|
|
|
|
disabled = pythonOlder "3.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-9FwTYcaXwGMMnhp+MXe1Iu8Og5aHL6qo9SVKWHFtc7o=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
bitstring
|
|
ifaddr
|
|
];
|
|
|
|
# tests are not implemented
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aiolifx" ];
|
|
|
|
meta = with lib; {
|
|
description = "API for local communication with LIFX devices over a LAN";
|
|
homepage = "https://github.com/frawau/aiolifx";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ netixx ];
|
|
};
|
|
}
|