1{ stdenv, fetchPypi, buildPythonPackage, future, enum-compat }:
2
3buildPythonPackage rec {
4 pname = "yeelight";
5 version = "0.5.3";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "8d49846f0cede1e312cbcd1d0e44c42073910bbcadb31b87ce2a7d24dea3af38";
10 };
11
12 propagatedBuildInputs = [ future enum-compat ];
13
14 meta = with stdenv.lib; {
15 description = "A Python library for controlling YeeLight RGB bulbs";
16 homepage = "https://gitlab.com/stavros/python-yeelight/";
17 license = licenses.asl20;
18 maintainers = with maintainers; [ nyanloutre ];
19 };
20}