Merge pull request #109232 from fabaff/pylutron
This commit is contained in:
commit
c60ed40274
25
pkgs/development/python-modules/pylutron/default.nix
Normal file
25
pkgs/development/python-modules/pylutron/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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
|
||||
|
@ -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 { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user