mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
26 lines
633 B
Nix
26 lines
633 B
Nix
|
{ lib, buildPythonPackage, isPy3k, fetchPypi, aiohttp, async-timeout }:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "luftdaten";
|
||
|
version = "0.1.4";
|
||
|
|
||
|
disabled = !isPy3k;
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "d3e3af830ad2b731c36af223bbb5d47d68aa3786b2965411216917a7381e1179";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|