python3Packages.pyairnow: init at 1.1.0
This commit is contained in:
parent
dd65c8b2a7
commit
b984c72b06
45
pkgs/development/python-modules/pyairnow/default.nix
Normal file
45
pkgs/development/python-modules/pyairnow/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-aiohttp
|
||||
, poetry
|
||||
, pytest-asyncio
|
||||
, pytest-cov
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyairnow";
|
||||
version = "1.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "asymworks";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1hkpfl8rdwyzqrr1drqlmcw3xpv3pi1jf19h1divspbzwarqxs1c";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry ];
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
checkInputs = [
|
||||
aioresponses
|
||||
pytest-asyncio
|
||||
pytest-aiohttp
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyairnow" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python wrapper for EPA AirNow Air Quality API";
|
||||
homepage = "https://github.com/asymworks/pyairnow";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -5195,6 +5195,8 @@ in {
|
||||
|
||||
pyahocorasick = callPackage ../development/python-modules/pyahocorasick { };
|
||||
|
||||
pyairnow = callPackage ../development/python-modules/pyairnow { };
|
||||
|
||||
pyairvisual = callPackage ../development/python-modules/pyairvisual { };
|
||||
|
||||
pyalgotrade = callPackage ../development/python-modules/pyalgotrade { };
|
||||
|
Loading…
Reference in New Issue
Block a user