python3Packages.pyvesync: init at 1.3.1

This commit is contained in:
Fabian Affolter 2021-02-12 20:17:00 +01:00
parent 04e9e9e510
commit 50ff159473
2 changed files with 32 additions and 0 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

@ -6534,6 +6534,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 { };