1{ lib 2, buildPythonPackage 3, dateparser 4, fetchFromGitHub 5, haversine 6, pytestCheckHook 7, pythonOlder 8, requests 9, xmltodict 10}: 11 12buildPythonPackage rec { 13 pname = "georss-client"; 14 version = "0.14"; 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "exxamalte"; 19 repo = "python-georss-client"; 20 rev = "v${version}"; 21 sha256 = "sha256-rviXXNmDLEVNYOCkqvLT9EXSuVpI5wMlCXnlpUUl1P0="; 22 }; 23 24 propagatedBuildInputs = [ 25 haversine 26 xmltodict 27 requests 28 dateparser 29 ]; 30 31 checkInputs = [ 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ "georss_client" ]; 36 37 meta = with lib; { 38 description = "Python library for accessing GeoRSS feeds"; 39 homepage = "https://github.com/exxamalte/python-georss-client"; 40 license = with licenses; [ asl20 ]; 41 maintainers = with maintainers; [ fab ]; 42 }; 43}