python3Packages.pylutron-caseta: init at 0.9.0

This commit is contained in:
Fabian Affolter 2021-04-11 15:21:56 +02:00
parent 76019785f6
commit d93a794679
2 changed files with 45 additions and 0 deletions

View 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 ];
};
}

View file

@ -5977,6 +5977,8 @@ in {
pylutron = callPackage ../development/python-modules/pylutron { };
pylutron-caseta = callPackage ../development/python-modules/pylutron-caseta { };
pylxd = callPackage ../development/python-modules/pylxd { };
pymacaroons = callPackage ../development/python-modules/pymacaroons { };