Merge pull request #147018 from fabaff/bump-pytado
python3Packages.pytado: 0.11.0 -> 0.13.0
This commit is contained in:
commit
b8b236b9ec
1 changed files with 25 additions and 8 deletions
|
@ -1,19 +1,36 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, requests
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "PyTado";
|
pname = "pytado";
|
||||||
version = "0.2.7";
|
version = "0.13.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wmalgadey";
|
owner = "wmalgadey";
|
||||||
repo = pname;
|
repo = "PyTado";
|
||||||
# Upstream hasn't tagged this release yet. This commit fixes the build.
|
# Upstream hasn't tagged 0.13.0 yet
|
||||||
rev = "79a5dfdf75cd9a3e1a1ee8a8ff0d08923aebda7b";
|
rev = "2a243174e9ae01ef7adae940ecc6e340992ab28d";
|
||||||
sha256 = "14xdfw4913g4j4h576hjbigm7fiw8k0dc8s98gh2ag9xrc2ifgr0";
|
sha256 = "Y1FxEzs/AF0ZTPdOK/1v+2U2fidfu+AmZbPddJCWIFc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"PyTado"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python binding for Tado web API. Pythonize your central heating!";
|
description = "Python binding for Tado web API";
|
||||||
homepage = "https://github.com/wmalgadey/PyTado";
|
homepage = "https://github.com/wmalgadey/PyTado";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ elseym ];
|
maintainers = with maintainers; [ elseym ];
|
||||||
|
|
Loading…
Reference in a new issue