1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchPypi 5, geopy 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "pyipma"; 11 version = "2.1.5"; 12 disabled = pythonOlder "3.7"; 13 14 # Request for GitHub releases, https://github.com/dgomes/pyipma/issues/10 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "0hq5dasqpsn64x2sf6a28hdmysygmcdq4in6s08w97jfvwc6xmym"; 18 }; 19 20 propagatedBuildInputs = [ 21 aiohttp 22 geopy 23 ]; 24 25 # Project has no tests included in the PyPI releases 26 doCheck = false; 27 28 pythonImportsCheck = [ "pyipma" ]; 29 30 meta = with lib; { 31 description = "Python library to retrieve information from Instituto Português do Mar e Atmosfera"; 32 homepage = "https://github.com/dgomes/pyipma"; 33 license = with licenses; [ mit ]; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}