summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/elmax
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
committerRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
commit4bc5fbef9d159e143fb7e2c3231932e6e76f667c (patch)
treee2198f5c552e0667d838b8ec764ddb3a4d8f6dec /pkgs/development/python-modules/elmax
parentjq: fix build with structured-attrs on darwin (diff)
parentMerge pull request #123802 from superherointj/package-virtmanager-bugfix (diff)
downloadnixpkgs-origin/structured-attrs.tar.gz
Merge remote-tracking branch 'upstream/master' into structured-attrsorigin/structured-attrs
Diffstat (limited to 'pkgs/development/python-modules/elmax')
-rw-r--r--pkgs/development/python-modules/elmax/default.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/elmax/default.nix b/pkgs/development/python-modules/elmax/default.nix
index 7ec3b8d1c112..775050acb0c9 100644
--- a/pkgs/development/python-modules/elmax/default.nix
+++ b/pkgs/development/python-modules/elmax/default.nix
@@ -4,12 +4,15 @@
, httpx
, poetry-core
, pythonOlder
+, pytest-asyncio
+, pytest-httpx
+, pytestCheckHook
, yarl
}:
buildPythonPackage rec {
pname = "elmax";
- version = "0.1.1";
+ version = "0.1.2";
format = "pyproject";
disabled = pythonOlder "3.7";
@@ -17,7 +20,7 @@ buildPythonPackage rec {
owner = "home-assistant-ecosystem";
repo = "python-elmax";
rev = version;
- sha256 = "sha256-vDISJ/CVOjpM+GPF2TCm3/AMFTWTM0b/+ZPCpAEvNvY=";
+ sha256 = "sha256-Aq/OHxOmtUUmBNlFPu892C8AkTX+Ee0oca7D79InPXQ=";
};
nativeBuildInputs = [ poetry-core ];
@@ -27,8 +30,12 @@ buildPythonPackage rec {
yarl
];
- # Project has no tests
- doCheck = false;
+ checkInputs = [
+ pytest-asyncio
+ pytest-httpx
+ pytestCheckHook
+ ];
+
pythonImportsCheck = [ "elmax" ];
meta = with lib; {