2018-02-03 22:22:26 +00:00
|
|
|
{ lib, buildPythonPackage, isPy3k, fetchPypi, aiohttp, async-timeout }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "luftdaten";
|
2019-09-28 13:11:15 +00:00
|
|
|
version = "0.6.3";
|
2018-02-03 22:22:26 +00:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-09-28 13:11:15 +00:00
|
|
|
sha256 = "161g3s3nwbkn3s101g8l4axll0kk8xxahxnvjrjdg2cghcjq9n8n";
|
2018-02-03 22:22:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ aiohttp async-timeout ];
|
|
|
|
|
|
|
|
# No tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python API for interacting with luftdaten.info";
|
|
|
|
homepage = https://github.com/fabaff/python-luftdaten;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|