Merge pull request #109232 from fabaff/pylutron

This commit is contained in:
Sandro 2021-01-13 08:44:39 +01:00 committed by GitHub
commit c60ed40274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pylutron";
version = "0.2.6";
src = fetchPypi {
inherit pname version;
sha256 = "1q8qdy26s9hvfsh75pak7xiqjwrwsgq18p4d86dwf4dwmy5s4qj1";
};
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pylutron" ];
meta = with lib; {
description = "Python library for controlling a Lutron RadioRA 2 system";
homepage = "https://github.com/thecynic/pylutron";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -459,7 +459,7 @@
"luci" = ps: with ps; [ openwrt-luci-rpc ];
"luftdaten" = ps: with ps; [ luftdaten ];
"lupusec" = ps: with ps; [ ]; # missing inputs: lupupy
"lutron" = ps: with ps; [ ]; # missing inputs: pylutron
"lutron" = ps: with ps; [ pylutron ];
"lutron_caseta" = ps: with ps; [ ]; # missing inputs: pylutron-caseta
"lw12wifi" = ps: with ps; [ ]; # missing inputs: lw12
"lyft" = ps: with ps; [ ]; # missing inputs: lyft_rides

View File

@ -5472,6 +5472,8 @@ in {
PyLTI = callPackage ../development/python-modules/pylti { };
pylutron = callPackage ../development/python-modules/pylutron { };
pymacaroons = callPackage ../development/python-modules/pymacaroons { };
pymaging = callPackage ../development/python-modules/pymaging { };