2018-02-03 22:22:26 +00:00
|
|
|
{ lib, buildPythonPackage, isPy3k, fetchPypi, aiohttp, async-timeout }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "luftdaten";
|
2019-07-02 13:50:57 +01:00
|
|
|
version = "0.6.1";
|
2018-02-03 22:22:26 +00:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-02 13:50:57 +01:00
|
|
|
sha256 = "0jxp9yfabdgn2d6w69ijrw1bk1d9g897425cyybiyc13zhhs0kwg";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|