Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / aio-georss-client / default.nix
blob9c3cda759039aa464f2f9b77a5704a694f857052
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
16 buildPythonPackage rec {
17   pname = "aio-georss-client";
18   version = "0.11";
19   format = "setuptools";
21   disabled = pythonOlder "3.7";
23   src = fetchFromGitHub {
24     owner = "exxamalte";
25     repo = "python-aio-georss-client";
26     rev = "refs/tags/v${version}";
27     hash = "sha256-Voc1ME0iGQCMaDfBXDSVnRp8olvId+fLhH8sqHwB2Ak=";
28   };
30   propagatedBuildInputs = [
31     aiohttp
32     haversine
33     xmltodict
34     requests
35     dateparser
36   ];
38   __darwinAllowLocalNetworking = true;
40   nativeCheckInputs = [
41     aresponses
42     mock
43     pytest-asyncio
44     pytestCheckHook
45   ];
47   pythonImportsCheck = [
48     "aio_georss_client"
49   ];
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   };