1{
2 lib,
3 aio-georss-client,
4 aioresponses,
5 buildPythonPackage,
6 fetchFromGitHub,
7 pytest-asyncio,
8 pytestCheckHook,
9 python-dateutil,
10 pythonOlder,
11 setuptools,
12}:
13
14buildPythonPackage rec {
15 pname = "aio-georss-gdacs";
16 version = "0.10";
17 pyproject = true;
18
19 disabled = pythonOlder "3.9";
20
21 src = fetchFromGitHub {
22 owner = "exxamalte";
23 repo = "python-aio-georss-gdacs";
24 tag = "v${version}";
25 hash = "sha256-PhOI0v3dKTNGZLk1/5wIgvQkm4Cwfr1UYilr5rW7e3g=";
26 };
27
28 __darwinAllowLocalNetworking = true;
29
30 build-system = [ setuptools ];
31
32 dependencies = [
33 aio-georss-client
34 python-dateutil
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}