Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / aio-geojson-generic-client / default.nix
blob4ff502a2cf83a956c0e85cb4cd10e1394c03adfb
1 { lib
2 , aiohttp
3 , aresponses
4 , buildPythonPackage
5 , aio-geojson-client
6 , fetchFromGitHub
7 , pytest-asyncio
8 , pytestCheckHook
9 , pythonOlder
10 , pytz
13 buildPythonPackage rec {
14   pname = "aio-geojson-generic-client";
15   version = "0.3";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "exxamalte";
22     repo = "python-aio-geojson-generic-client";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-toDvliFMxicaEhlxb7wCadDJErpsIPcZbJz7TpO83GE=";
25   };
27   propagatedBuildInputs = [
28     aiohttp
29     aio-geojson-client
30     pytz
31   ];
33   __darwinAllowLocalNetworking = true;
35   nativeCheckInputs = [
36     aresponses
37     pytest-asyncio
38     pytestCheckHook
39   ];
41   pythonImportsCheck = [
42     "aio_geojson_generic_client"
43   ];
45   meta = with lib; {
46     description = "Python library for accessing GeoJSON feeds";
47     homepage = "https://github.com/exxamalte/python-aio-geojson-generic-client";
48     changelog = "https://github.com/exxamalte/python-aio-geojson-generic-client/blob/v${version}/CHANGELOG.md";
49     license = with licenses; [ asl20 ];
50     maintainers = with maintainers; [ fab ];
51   };