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 nativeCheckInputs = [
39 aresponses
40 mock
41 pytest-asyncio
42 pytestCheckHook
43 ];
44
45 pythonImportsCheck = [
46 "aio_georss_client"
47 ];
48
49 meta = with lib; {
50 description = "Python library for accessing GeoRSS feeds";
51 homepage = "https://github.com/exxamalte/python-aio-georss-client";
52 changelog = "https://github.com/exxamalte/python-aio-georss-client/blob/v${version}/CHANGELOG.md";
53 license = with licenses; [ asl20 ];
54 maintainers = with maintainers; [ fab ];
55 };
56}