{ lib , aiohttp , buildPythonPackage , fetchFromGitHub , freezegun , metar , pytest-aiohttp , pytest-asyncio , pytest-cov , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "pynws"; version = "1.5.0"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "MatthewFlamm"; repo = pname; rev = "v${version}"; hash = "sha256-UGwK7HasDAPw3edQUdrzWOmrbbM9l5R1BVw3M+FNm1s="; }; propagatedBuildInputs = [ aiohttp metar ]; nativeCheckInputs = [ 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 ]; }; }