python3Packages.elmax: 0.1.1 -> 0.1.2

This commit is contained in:
Fabian Affolter 2021-04-27 17:52:20 +02:00 committed by Martin Weinelt
parent 4100bb837a
commit 8456c41c67

View file

@ -4,12 +4,15 @@
, httpx , httpx
, poetry-core , poetry-core
, pythonOlder , pythonOlder
, pytest-asyncio
, pytest-httpx
, pytestCheckHook
, yarl , yarl
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "elmax"; pname = "elmax";
version = "0.1.1"; version = "0.1.2";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -17,7 +20,7 @@ buildPythonPackage rec {
owner = "home-assistant-ecosystem"; owner = "home-assistant-ecosystem";
repo = "python-elmax"; repo = "python-elmax";
rev = version; rev = version;
sha256 = "sha256-vDISJ/CVOjpM+GPF2TCm3/AMFTWTM0b/+ZPCpAEvNvY="; sha256 = "sha256-Aq/OHxOmtUUmBNlFPu892C8AkTX+Ee0oca7D79InPXQ=";
}; };
nativeBuildInputs = [ poetry-core ]; nativeBuildInputs = [ poetry-core ];
@ -27,8 +30,12 @@ buildPythonPackage rec {
yarl yarl
]; ];
# Project has no tests checkInputs = [
doCheck = false; pytest-asyncio
pytest-httpx
pytestCheckHook
];
pythonImportsCheck = [ "elmax" ]; pythonImportsCheck = [ "elmax" ];
meta = with lib; { meta = with lib; {