Merge pull request #114771 from fabaff/PyViCare
This commit is contained in:
commit
4d7a0c8d5d
35
pkgs/development/python-modules/pyvicare/default.nix
Normal file
35
pkgs/development/python-modules/pyvicare/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 ];
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user