build-bazel-package: added rm of extra local folders for toolchain configuration...
[NixPkgs.git] / pkgs / development / python-modules / pyairnow / default.nix
blobeef69a9c2fae62976f0c5cafb6fc84fd59ce8214
2   lib,
3   aiohttp,
4   aioresponses,
5   buildPythonPackage,
6   fetchFromGitHub,
7   poetry-core,
8   pytest-aiohttp,
9   pytest-asyncio,
10   pytest-cov-stub,
11   pytestCheckHook,
12   pythonOlder,
15 buildPythonPackage rec {
16   pname = "pyairnow";
17   version = "1.2.2";
18   pyproject = true;
20   disabled = pythonOlder "3.8";
22   src = fetchFromGitHub {
23     owner = "asymworks";
24     repo = "pyairnow";
25     tag = "v${version}";
26     hash = "sha256-KjOu9V92n2rq8iOkgutlK7EMRvirFAEK8oxseI+dr2s=";
27   };
29   build-system = [ poetry-core ];
31   dependencies = [ aiohttp ];
33   nativeCheckInputs = [
34     aioresponses
35     pytest-asyncio
36     pytest-aiohttp
37     pytest-cov-stub
38     pytestCheckHook
39   ];
41   pythonImportsCheck = [ "pyairnow" ];
43   meta = with lib; {
44     description = "Python wrapper for EPA AirNow Air Quality API";
45     homepage = "https://github.com/asymworks/pyairnow";
46     changelog = "https://github.com/asymworks/pyairnow/blob/v${version}/CHANGELOG.md";
47     license = licenses.mit;
48     maintainers = with maintainers; [ fab ];
49   };