depot/third_party/nixpkgs/pkgs/development/python-modules/yeelight/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

20 lines
571 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, future, enum-compat }:
buildPythonPackage rec {
pname = "yeelight";
version = "0.5.3";
src = fetchPypi {
inherit pname version;
sha256 = "8d49846f0cede1e312cbcd1d0e44c42073910bbcadb31b87ce2a7d24dea3af38";
};
propagatedBuildInputs = [ future enum-compat ];
meta = with stdenv.lib; {
description = "A Python library for controlling YeeLight RGB bulbs";
homepage = "https://gitlab.com/stavros/python-yeelight/";
license = licenses.asl20;
maintainers = with maintainers; [ nyanloutre ];
};
}