1{ lib
2, aiohttp
3, aresponses
4, buildPythonPackage
5, dateparser
6, fetchFromGitHub
7, haversine
8, mock
9, pytest-asyncio
10, pytestCheckHook
11, pythonOlder
12, requests
13, xmltodict
14}:
15
16buildPythonPackage rec {
17 pname = "aio-georss-client";
18 version = "0.11";
19 format = "setuptools";
20
21 disabled = pythonOlder "3.7";
22
23 src = fetchFromGitHub {
24 owner = "exxamalte";
25 repo = "python-aio-georss-client";
26 rev = "refs/tags/v${version}";
27 hash = "sha256-Voc1ME0iGQCMaDfBXDSVnRp8olvId+fLhH8sqHwB2Ak=";
28 };
29
30 propagatedBuildInputs = [
31 aiohttp
32 haversine
33 xmltodict
34 requests
35 dateparser
36 ];
37
38 __darwinAllowLocalNetworking = true;
39
40 nativeCheckInputs = [
41 aresponses
42 mock
43 pytest-asyncio
44 pytestCheckHook
45 ];
46
47 pythonImportsCheck = [
48 "aio_georss_client"
49 ];
50
51 meta = with lib; {
52 description = "Python library for accessing GeoRSS feeds";
53 homepage = "https://github.com/exxamalte/python-aio-georss-client";
54 changelog = "https://github.com/exxamalte/python-aio-georss-client/blob/v${version}/CHANGELOG.md";
55 license = with licenses; [ asl20 ];
56 maintainers = with maintainers; [ fab ];
57 };
58}