1{ lib
2, buildPythonPackage
3, fetchPypi
4, aiohttp
5, async-timeout
6}:
7
8buildPythonPackage rec {
9 pname = "volkszaehler";
10 version = "0.2.2";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "sha256-1oqzhC3Yq2V30F3ilr80vKFnTmI/CdIVLuzMlIr40xI=";
15 };
16
17 propagatedBuildInputs = [
18 aiohttp
19 async-timeout
20 ];
21
22 # no tests are present
23 doCheck = false;
24
25 pythonImportsCheck = [ "volkszaehler" ];
26
27 meta = with lib; {
28 description = "Python Wrapper for interacting with the Volkszahler API";
29 homepage = "https://github.com/home-assistant-ecosystem/python-volkszaehler";
30 license = with licenses; [ mit ];
31 maintainers = with maintainers; [ fab ];
32 };
33}