ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pyairnow / default.nix
blob51497e8875b77472026bbb993b1859e69fa04b15
1 { lib
2 , aiohttp
3 , aioresponses
4 , buildPythonPackage
5 , fetchFromGitHub
6 , pytest-aiohttp
7 , poetry
8 , pytest-asyncio
9 , pytest-cov
10 , pytestCheckHook
13 buildPythonPackage rec {
14   pname = "pyairnow";
15   version = "1.1.0";
16   format = "pyproject";
18   src = fetchFromGitHub {
19     owner = "asymworks";
20     repo = pname;
21     rev = "v${version}";
22     sha256 = "1hkpfl8rdwyzqrr1drqlmcw3xpv3pi1jf19h1divspbzwarqxs1c";
23   };
25   nativeBuildInputs = [ poetry ];
27   propagatedBuildInputs = [ aiohttp ];
29   checkInputs = [
30     aioresponses
31     pytest-asyncio
32     pytest-aiohttp
33     pytest-cov
34     pytestCheckHook
35   ];
37   pythonImportsCheck = [ "pyairnow" ];
39   meta = with lib; {
40     description = "Python wrapper for EPA AirNow Air Quality API";
41     homepage = "https://github.com/asymworks/pyairnow";
42     license = with licenses; [ mit ];
43     maintainers = with maintainers; [ fab ];
44   };