1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 georss-client, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "georss-generic-client"; 12 version = "0.8"; 13 format = "setuptools"; 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "exxamalte"; 18 repo = "python-georss-generic-client"; 19 rev = "v${version}"; 20 hash = "sha256-Y19zMHL6DjAqiDi47Lmst8m9d9kEtTgyRiECKo6CqZY="; 21 }; 22 23 propagatedBuildInputs = [ georss-client ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 pythonImportsCheck = [ "georss_generic_client" ]; 28 29 meta = with lib; { 30 description = "Python library for accessing generic GeoRSS feeds"; 31 homepage = "https://github.com/exxamalte/python-georss-generic-client"; 32 license = with licenses; [ asl20 ]; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}