nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 58 lines 1.2 kB view raw
1{ 2 lib, 3 aio-geojson-client, 4 aiohttp, 5 aioresponses, 6 buildPythonPackage, 7 fetchFromGitHub, 8 geojson, 9 pytest-asyncio, 10 pytestCheckHook, 11 pytz, 12 setuptools, 13}: 14 15buildPythonPackage rec { 16 pname = "aio-geojson-generic-client"; 17 version = "0.5"; 18 pyproject = true; 19 20 src = fetchFromGitHub { 21 owner = "exxamalte"; 22 repo = "python-aio-geojson-generic-client"; 23 tag = "v${version}"; 24 hash = "sha256-/I/n/XXRvm7G16WqVmU+KkyP5DeadqhEpy2EAtDFlCk="; 25 }; 26 27 __darwinAllowLocalNetworking = true; 28 29 build-system = [ setuptools ]; 30 31 pythonRelaxDeps = [ 32 # geojson>=2.4.0,<3, but we have 3.x 33 "geojson" 34 ]; 35 36 dependencies = [ 37 aiohttp 38 aio-geojson-client 39 geojson 40 pytz 41 ]; 42 43 nativeCheckInputs = [ 44 aioresponses 45 pytest-asyncio 46 pytestCheckHook 47 ]; 48 49 pythonImportsCheck = [ "aio_geojson_generic_client" ]; 50 51 meta = { 52 description = "Python library for accessing GeoJSON feeds"; 53 homepage = "https://github.com/exxamalte/python-aio-geojson-generic-client"; 54 changelog = "https://github.com/exxamalte/python-aio-geojson-generic-client/blob/v${version}/CHANGELOG.md"; 55 license = lib.licenses.asl20; 56 maintainers = with lib.maintainers; [ fab ]; 57 }; 58}