mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-15 00:24:47 +00:00
python312Packages.python-kasa: 0.7.0.3 -> 0.7.0.5
Diff: https://github.com/python-kasa/python-kasa/compare/refs/tags/0.7.0.3...0.7.0.5 Changelog: https://github.com/python-kasa/python-kasa/blob/0.7.0.5/CHANGELOG.md Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
This commit is contained in:
parent
451fb7a2bd
commit
31f445c003
@ -9,27 +9,29 @@
|
||||
kasa-crypt,
|
||||
orjson,
|
||||
poetry-core,
|
||||
ptpython,
|
||||
pydantic,
|
||||
pytest-asyncio,
|
||||
pytest-freezer,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
rich,
|
||||
voluptuous,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-kasa";
|
||||
version = "0.7.0.4";
|
||||
version = "0.7.0.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-kasa";
|
||||
repo = "python-kasa";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-MZgbHohp+QaTg7gdsIu3Q/4sLVqvtzDjmQScYSZO3Yw=";
|
||||
hash = "sha256-ITXezc6m7ocOqSHTVP583lZZmYaZQn9nQSErEB9fV/M=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
@ -51,6 +53,10 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
shell = [
|
||||
ptpython
|
||||
rich
|
||||
];
|
||||
speedups = [
|
||||
kasa-crypt
|
||||
orjson
|
||||
@ -68,10 +74,10 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API for TP-Link Kasa Smarthome products";
|
||||
mainProgram = "kasa";
|
||||
homepage = "https://python-kasa.readthedocs.io/";
|
||||
changelog = "https://github.com/python-kasa/python-kasa/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "kasa";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user