1{ stdenv, buildPythonPackage, fetchFromGitHub
2, aiohttp, zigpy
3, pytest, isPy27 }:
4
5buildPythonPackage rec {
6 pname = "flux_led";
7 version = "0.22";
8 disabled = isPy27;
9
10 src = fetchFromGitHub {
11 owner = "Danielhiversen";
12 repo = "flux_led";
13 rev = version;
14 sha256 = "1zgajlkhclyrqhkmivna4ha2lyvfpk5929s042gy59p7mzpkvjx7";
15 };
16
17 meta = with stdenv.lib; {
18 description = "A Python library to communicate with the flux_led smart bulbs";
19 homepage = "https://github.com/Danielhiversen/flux_led";
20 license = licenses.lgpl3;
21 maintainers = with maintainers; [ colemickens ];
22 platforms = platforms.linux;
23 };
24}