1{ lib
2, aiohttp
3, async-timeout
4, buildPythonPackage
5, fetchPypi
6}:
7
8buildPythonPackage rec {
9 pname = "waqiasync";
10 version = "1.0.0";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "1yxls7ywfg954c3vxgnp98qa1b8dsq9b2fld11fb9sx1k4mjc29d";
15 };
16
17 propagatedBuildInputs = [
18 aiohttp
19 async-timeout
20 ];
21
22 # Project has no tests
23 doCheck = false;
24 pythonImportsCheck = [ "waqiasync" ];
25
26 meta = with lib; {
27 description = "Python library for http://aqicn.org";
28 homepage = "https://github.com/andrey-git/waqi-async";
29 license = with licenses; [ mit ];
30 maintainers = with maintainers; [ fab ];
31 };
32}