Merge pull request #114771 from fabaff/PyViCare

This commit is contained in:
Sandro 2021-03-01 19:56:30 +01:00 committed by GitHub
commit 4d7a0c8d5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 1 deletions

View file

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests_oauthlib
, simplejson
}:
buildPythonPackage rec {
pname = "pyvicare";
version = "0.2.5";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "PyViCare";
inherit version;
sha256 = "16wqqjs238ad6znlz2gjadqj8891226bd02a1106xyz6vbbk2gdk";
};
propagatedBuildInputs = [
requests_oauthlib
simplejson
];
# The published tarball on PyPI is incomplete and there are GitHub releases
doCheck = false;
pythonImportsCheck = [ "PyViCare" ];
meta = with lib; {
description = "Python Library to access Viessmann ViCare API";
homepage = "https://github.com/somm15/PyViCare";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -903,7 +903,7 @@
"version" = ps: with ps; [ pyhaversion ];
"vesync" = ps: with ps; [ pyvesync ];
"viaggiatreno" = ps: with ps; [ ];
"vicare" = ps: with ps; [ ]; # missing inputs: PyViCare
"vicare" = ps: with ps; [ pyvicare ];
"vilfo" = ps: with ps; [ ]; # missing inputs: vilfo-api-client
"vivotek" = ps: with ps; [ ]; # missing inputs: libpyvivotek
"vizio" = ps: with ps; [ pyvizio ];

View file

@ -6634,6 +6634,8 @@ in {
pyvex = callPackage ../development/python-modules/pyvex { };
pyvicare = callPackage ../development/python-modules/pyvicare { };
pyviz-comms = callPackage ../development/python-modules/pyviz-comms { };
pyvizio = callPackage ../development/python-modules/pyvizio { };