default.nix (867B)
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 src = fetchFromGitHub { 22 owner = "osmcode"; 23 repo = "osm-gis-export"; 24 rev = "2b3796c53b255018630fa4ee4042c8b2721b24e5"; 25 hash = "sha256-uQRIeBUGEiEilfNtnJIj6w8J7Q3GQvx5plgRNxLIoOY="; 26 }; 27 28 nativeBuildInputs = [ cmake ]; 29 30 buildInputs = [ 31 boost 32 bzip2 33 expat 34 fmt 35 gdal 36 libosmium 37 protozero 38 sqlite 39 zlib 40 ]; 41 42 meta = { 43 description = "Export OSM data to GIS formats like Shapefiles, Spatialite or PostGIS"; 44 homepage = "https://github.com/osmcode/osm-gis-export"; 45 license = lib.licenses.boost; 46 maintainers = [ lib.maintainers.sikmir ]; 47 platforms = lib.platforms.unix; 48 }; 49 }