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