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