package.nix (896B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 boost, 7 bzip2, 8 expat, 9 fmt, 10 gdal, 11 libosmium, 12 protozero, 13 sqlite, 14 zlib, 15 }: 16 17 stdenv.mkDerivation { 18 pname = "osm-gis-export"; 19 version = "0-unstable-2024-12-16"; 20 21 __structuredAttrs = true; 22 23 src = fetchFromGitHub { 24 owner = "osmcode"; 25 repo = "osm-gis-export"; 26 rev = "2b3796c53b255018630fa4ee4042c8b2721b24e5"; 27 hash = "sha256-uQRIeBUGEiEilfNtnJIj6w8J7Q3GQvx5plgRNxLIoOY="; 28 }; 29 30 nativeBuildInputs = [ cmake ]; 31 32 buildInputs = [ 33 boost 34 bzip2 35 expat 36 fmt 37 gdal 38 libosmium 39 protozero 40 sqlite 41 zlib 42 ]; 43 44 meta = { 45 description = "Export OSM data to GIS formats like Shapefiles, Spatialite or PostGIS"; 46 homepage = "https://github.com/osmcode/osm-gis-export"; 47 license = lib.licenses.boost; 48 maintainers = [ lib.maintainers.sikmir ]; 49 platforms = lib.platforms.unix; 50 }; 51 }
