python311Packages.pylutron-caseta: 0.18.3 -> 0.19.0
Diff: https://github.com/gurumitts/pylutron-caseta/compare/refs/tags/v0.18.3...v0.19.0 Changelog: https://github.com/gurumitts/pylutron-caseta/blob/v0.19.0/CHANGELOG.md
This commit is contained in:
parent
a25818162f
commit
2a611325ac
1 changed files with 19 additions and 6 deletions
|
@ -1,37 +1,50 @@
|
|||
{ lib
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, cryptography
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, pytest-asyncio
|
||||
, pytest-timeout
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, xdg
|
||||
, zeroconf
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylutron-caseta";
|
||||
version = "0.18.3";
|
||||
format = "pyproject";
|
||||
version = "0.19.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gurumitts";
|
||||
repo = pname;
|
||||
repo = "pylutron-caseta";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-tjmMu7LUne+hLLTXGqHhci9/PZiuQ10mQaARvL2sdIM=";
|
||||
hash = "sha256-/xTHtzXEFGL2/oP1oVxJj7GO3fSZ5CwjXDdp6OLhlzM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cryptography
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
async-timeout
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
cli = [
|
||||
click
|
||||
xdg
|
||||
zeroconf
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-timeout
|
||||
|
|
Loading…
Reference in a new issue