default.nix (720B)
1 { lib, python3Packages, fetchFromGitHub }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "arcgis2geojson"; 5 version = "3.0.1"; 6 format = "pyproject"; 7 8 src = fetchFromGitHub { 9 owner = "chris48s"; 10 repo = "arcgis2geojson"; 11 rev = version; 12 hash = "sha256-6lXfQoazBABryyuch1PJF/7yPq7cOBuvGWCqBUVPdts="; 13 }; 14 15 postPatch = '' 16 substituteInPlace pyproject.toml \ 17 --replace "poetry.masonry" "poetry.core.masonry" 18 ''; 19 20 nativeBuildInputs = with python3Packages; [ poetry-core ]; 21 22 meta = with lib; { 23 description = "A Python library for converting ArcGIS JSON to GeoJSON"; 24 inherit (src.meta) homepage; 25 license = licenses.mit; 26 maintainers = [ maintainers.sikmir ]; 27 }; 28 }