at 24.11-pre 52 lines 1.1 kB view raw
1{ 2 lib, 3 aio-georss-client, 4 aioresponses, 5 buildPythonPackage, 6 dateparser, 7 fetchFromGitHub, 8 pytest-asyncio, 9 pytestCheckHook, 10 pythonOlder, 11 setuptools, 12}: 13 14buildPythonPackage rec { 15 pname = "aio-georss-gdacs"; 16 version = "0.9"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.8"; 20 21 src = fetchFromGitHub { 22 owner = "exxamalte"; 23 repo = "python-aio-georss-gdacs"; 24 rev = "refs/tags/v${version}"; 25 hash = "sha256-B0qVCh2u0WleF0iv0o1/d5UIS2kbYCAqCgmNHyCpJ8Q="; 26 }; 27 28 __darwinAllowLocalNetworking = true; 29 30 nativeBuildInputs = [ setuptools ]; 31 32 propagatedBuildInputs = [ 33 aio-georss-client 34 dateparser 35 ]; 36 37 nativeCheckInputs = [ 38 aioresponses 39 pytest-asyncio 40 pytestCheckHook 41 ]; 42 43 pythonImportsCheck = [ "aio_georss_gdacs" ]; 44 45 meta = with lib; { 46 description = "Python library for accessing GeoRSS feeds"; 47 homepage = "https://github.com/exxamalte/python-aio-georss-gdacs"; 48 changelog = "https://github.com/exxamalte/python-aio-georss-gdacs/releases/tag/v${version}"; 49 license = with licenses; [ asl20 ]; 50 maintainers = with maintainers; [ fab ]; 51 }; 52}