1{ lib
2, aiohttp
3, async-timeout
4, buildPythonPackage
5, fetchPypi
6}:
7
8buildPythonPackage rec {
9 pname = "waqiasync";
10 version = "1.1.0";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "sha256-SOs998BQV4UlLnRB3Yf7zze51u43g2Npwgk6y80S+m8=";
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}