Merge pull request #112935 from fabaff/pyvesync

This commit is contained in:
Sandro 2021-02-12 20:46:32 +01:00 committed by GitHub
commit ae146069b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 1 deletions

View file

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyvesync";
version = "1.3.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "02fpbyg46mlpc2c1j4zylw9a1h6bacxvigrl3cndsf6fxlhfx15z";
};
propagatedBuildInputs = [ requests ];
# Test are not available (not in PyPI tarball and there are no GitHub releases)
doCheck = false;
pythonImportsCheck = [ "pyvesync" ];
meta = with lib; {
description = "Python library to manage Etekcity Devices and Levoit Air Purifier";
homepage = "https://github.com/webdjoe/pyvesync";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -901,7 +901,7 @@
"verisure" = ps: with ps; [ jsonpath vsure ];
"versasense" = ps: with ps; [ ]; # missing inputs: pyversasense
"version" = ps: with ps; [ pyhaversion ];
"vesync" = ps: with ps; [ ]; # missing inputs: pyvesync
"vesync" = ps: with ps; [ pyvesync ];
"viaggiatreno" = ps: with ps; [ ];
"vicare" = ps: with ps; [ ]; # missing inputs: PyViCare
"vilfo" = ps: with ps; [ ]; # missing inputs: vilfo-api-client

View file

@ -6536,6 +6536,8 @@ in {
pyvera = callPackage ../development/python-modules/pyvera { };
pyvesync = callPackage ../development/python-modules/pyvesync { };
pyvex = callPackage ../development/python-modules/pyvex { };
pyviz-comms = callPackage ../development/python-modules/pyviz-comms { };