2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchFromGitHub
|
2020-01-01 00:23:03 +01:00
|
|
|
, aiohttp, zigpy
|
|
|
|
, pytest, isPy27 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flux_led";
|
|
|
|
version = "0.22";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Danielhiversen";
|
|
|
|
repo = "flux_led";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1zgajlkhclyrqhkmivna4ha2lyvfpk5929s042gy59p7mzpkvjx7";
|
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-01-01 00:23:03 +01:00
|
|
|
description = "A Python library to communicate with the flux_led smart bulbs";
|
|
|
|
homepage = "https://github.com/Danielhiversen/flux_led";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ colemickens ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|