python3Packages.pylutron-caseta: init at 0.9.0
This commit is contained in:
parent
76019785f6
commit
d93a794679
2 changed files with 45 additions and 0 deletions
43
pkgs/development/python-modules/pylutron-caseta/default.nix
Normal file
43
pkgs/development/python-modules/pylutron-caseta/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, cryptography
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytest-sugar
|
||||||
|
, pytest-timeout
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pylutron-caseta";
|
||||||
|
version = "0.9.0";
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "gurumitts";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "07mz4hn0455qmfqs4xcqlhbf3qvrnmifd0vzpcqlqaqcn009iahq";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
cryptography
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-asyncio
|
||||||
|
pytest-sugar
|
||||||
|
pytest-timeout
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pylutron_caseta" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module o control Lutron Caseta devices";
|
||||||
|
homepage = "https://github.com/gurumitts/pylutron-caseta";
|
||||||
|
license = with licenses; [ asl20 ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5977,6 +5977,8 @@ in {
|
||||||
|
|
||||||
pylutron = callPackage ../development/python-modules/pylutron { };
|
pylutron = callPackage ../development/python-modules/pylutron { };
|
||||||
|
|
||||||
|
pylutron-caseta = callPackage ../development/python-modules/pylutron-caseta { };
|
||||||
|
|
||||||
pylxd = callPackage ../development/python-modules/pylxd { };
|
pylxd = callPackage ../development/python-modules/pylxd { };
|
||||||
|
|
||||||
pymacaroons = callPackage ../development/python-modules/pymacaroons { };
|
pymacaroons = callPackage ../development/python-modules/pymacaroons { };
|
||||||
|
|
Loading…
Reference in a new issue