nixpkgs-suyu/pkgs/development/python-modules/luftdaten/default.nix

26 lines
633 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, isPy3k, fetchPypi, aiohttp, async-timeout }:
buildPythonPackage rec {
pname = "luftdaten";
2018-11-04 11:35:05 +01:00
version = "0.3.4";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
2018-11-04 11:35:05 +01:00
sha256 = "c298ea749ff4eec6a95e04023f9068d017acb02133f1fdcc38eb98e5ebc69442";
};
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 ];
};
}