python311Packages.python-tado: refactor
This commit is contained in:
parent
376abccfa8
commit
dd6ef3cd1b
@ -1,15 +1,16 @@
|
||||
{ buildPythonPackage
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-tado";
|
||||
version = "0.17.6";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
@ -20,7 +21,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-KcYxUKQuO7TLS4YPg2mrBjP+DMnvZeJokGzwmeM/CvE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
requests
|
||||
];
|
||||
|
||||
@ -28,12 +33,16 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"PyTado"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python binding for Tado web API. Pythonize your central heating!";
|
||||
mainProgram = "pytado";
|
||||
homepage = "https://github.com/wmalgadey/PyTado";
|
||||
changelog = "https://github.com/wmalgadey/PyTado/releases/tag/${version}";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ jamiemagee ];
|
||||
mainProgram = "pytado";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user