python3Packages.pynws: init 1.3.0
This commit is contained in:
parent
4d2f44992c
commit
838a98defb
47
pkgs/development/python-modules/pynws/default.nix
Normal file
47
pkgs/development/python-modules/pynws/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, freezegun
|
||||
, metar
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytest-cov
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynws";
|
||||
version = "1.3.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MatthewFlamm";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "13ipmx60kicwh8qxjazap4vk94x8i3r0lnkdsap7gffaizwgp49d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
metar
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
freezegun
|
||||
pytest-aiohttp
|
||||
pytest-asyncio
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pynws" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to retrieve data from NWS/NOAA";
|
||||
homepage = "https://github.com/MatthewFlamm/pynws";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -542,8 +542,6 @@ in {
|
||||
|
||||
augeas = callPackage ../development/python-modules/augeas { inherit (pkgs) augeas; };
|
||||
|
||||
auroranoaa = callPackage ../development/python-modules/auroranoaa { };
|
||||
|
||||
auth0-python = callPackage ../development/python-modules/auth0-python { };
|
||||
|
||||
authheaders = callPackage ../development/python-modules/authheaders { };
|
||||
@ -4918,6 +4916,8 @@ in {
|
||||
|
||||
pynuki = callPackage ../development/python-modules/pynuki { };
|
||||
|
||||
pynws = callPackage ../development/python-modules/pynws { };
|
||||
|
||||
pysbd = callPackage ../development/python-modules/pysbd { };
|
||||
|
||||
pyshark = callPackage ../development/python-modules/pyshark { };
|
||||
|
Loading…
Reference in New Issue
Block a user