python3Packages.pyefergy: 0.1.5 -> 22.1.1

This commit is contained in:
Fabian Affolter 2022-02-20 22:37:29 +01:00 committed by Martin Weinelt
parent 1e60e4a708
commit 67725f02df
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,15 +1,18 @@
{ lib
, aiohttp
, aresponses
, buildPythonPackage
, fetchFromGitHub
, iso4217
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pytz
}:
buildPythonPackage rec {
pname = "pyefergy";
version = "0.1.5";
version = "22.1.1";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -18,7 +21,7 @@ buildPythonPackage rec {
owner = "tkdrob";
repo = pname;
rev = version;
sha256 = "sha256-8xcKgsZ6buaQdrKD8Qn7jB5IlQ0NkR0nZGuFk+Dd8Q8=";
sha256 = "sha256-AdoM+PcVoajxhnEfkyN9UuNufChu8XGmZDLNC3mjrps=";
};
propagatedBuildInputs = [
@ -27,10 +30,15 @@ buildPythonPackage rec {
pytz
];
# Project has no tests
doCheck = false;
checkInputs = [
aresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "pyefergy" ];
pythonImportsCheck = [
"pyefergy"
];
meta = with lib; {
description = "Python API library for Efergy energy meters";