default.nix (684B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonApplication { 8 pname = "osm2geojson"; 9 version = "0.1.33"; 10 11 src = fetchFromGitHub { 12 owner = "aspectumapp"; 13 repo = "osm2geojson"; 14 rev = "068b83afe19cff1ae15b9efc2a9ff5a9be8928e7"; 15 hash = "sha256-9+xB/fd97HtnzdkJ2BawVW9AqDyArWUv6H1SZ7a8gkw="; 16 fetchSubmodules = true; 17 }; 18 19 dependencies = with python3Packages; [ 20 shapely 21 requests 22 ]; 23 24 doCheck = false; 25 26 meta = { 27 description = "Convert OSM and Overpass JSON to GeoJSON"; 28 homepage = "https://github.com/aspectumapp/osm2geojson"; 29 license = lib.licenses.mit; 30 maintainers = [ lib.maintainers.sikmir ]; 31 }; 32 }