Merge pull request #125490 from fabaff/pykulersky

This commit is contained in:
Sandro 2021-06-15 02:40:25 +02:00 committed by GitHub
commit 39adc3ab9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 1 deletions

View file

@ -0,0 +1,43 @@
{ lib
, bleak
, buildPythonPackage
, click
, fetchFromGitHub
, pytest-asyncio
, pytest-mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pykulersky";
version = "0.5.2";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "emlove";
repo = pname;
rev = version;
sha256 = "1fzfixnl28rny7c3wr6gcdpqhyrz7z2aqq6qfwkxnkq2kqdbpmmg";
};
propagatedBuildInputs = [
bleak
click
];
checkInputs = [
pytest-asyncio
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "pykulersky" ];
meta = with lib; {
description = "Python module to control Brightech Kuler Sky Bluetooth LED devices";
homepage = "https://github.com/emlove/pykulersky";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -433,7 +433,7 @@
"konnected" = ps: with ps; [ aiohttp-cors ]; # missing inputs: konnected
"kostal_plenticore" = ps: with ps; [ ]; # missing inputs: kostal_plenticore
"kraken" = ps: with ps; [ ]; # missing inputs: krakenex pykrakenapi
"kulersky" = ps: with ps; [ ]; # missing inputs: pykulersky
"kulersky" = ps: with ps; [ pykulersky ];
"kwb" = ps: with ps; [ ]; # missing inputs: pykwb
"lacrosse" = ps: with ps; [ pylacrosse ];
"lametric" = ps: with ps; [ ]; # missing inputs: lmnotify

View file

@ -453,6 +453,7 @@ in with py.pkgs; buildPythonApplication rec {
"kmtronic"
"knx"
"kodi"
"kulersky"
"lastfm"
"lcn"
"light"

View file

@ -5920,6 +5920,8 @@ in {
pykoplenti = callPackage ../development/python-modules/pykoplenti { };
pykulersky = callPackage ../development/python-modules/pykulersky { };
pykwalify = callPackage ../development/python-modules/pykwalify { };
pylacrosse = callPackage ../development/python-modules/pylacrosse { };