Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, aiohttp 3, aresponses 4, buildPythonPackage 5, aio-geojson-client 6, fetchFromGitHub 7, pytest-asyncio 8, pytestCheckHook 9, pythonOlder 10, pytz 11}: 12 13buildPythonPackage rec { 14 pname = "aio-geojson-generic-client"; 15 version = "0.3"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "exxamalte"; 22 repo = "python-aio-geojson-generic-client"; 23 rev = "refs/tags/v${version}"; 24 hash = "sha256-toDvliFMxicaEhlxb7wCadDJErpsIPcZbJz7TpO83GE="; 25 }; 26 27 propagatedBuildInputs = [ 28 aiohttp 29 aio-geojson-client 30 pytz 31 ]; 32 33 nativeCheckInputs = [ 34 aresponses 35 pytest-asyncio 36 pytestCheckHook 37 ]; 38 39 pythonImportsCheck = [ 40 "aio_geojson_generic_client" 41 ]; 42 43 meta = with lib; { 44 description = "Python library for accessing GeoJSON feeds"; 45 homepage = "https://github.com/exxamalte/python-aio-geojson-generic-client"; 46 changelog = "https://github.com/exxamalte/python-aio-geojson-generic-client/blob/v${version}/CHANGELOG.md"; 47 license = with licenses; [ asl20 ]; 48 maintainers = with maintainers; [ fab ]; 49 }; 50}