default.nix (828B)
1 { 2 lib, 3 stdenvNoCC, 4 fetchurl, 5 unzip, 6 }: 7 8 stdenvNoCC.mkDerivation rec { 9 pname = "maptourist"; 10 version = "2024-11-10"; 11 12 src = fetchurl { 13 url = "https://maptourist.org/osm-garmin/archive/OSM-MapTourist-Russia-gmapsupp-RU_${version}.zip"; 14 hash = "sha256-Lrnqa3RCCo2A6/tLfb3gxqTjTFTY4DP6ZBv8wgBrUew="; 15 }; 16 17 sourceRoot = "."; 18 19 nativeBuildInputs = [ unzip ]; 20 21 installPhase = "install -Dm644 *.img -t $out"; 22 23 preferLocalBuild = true; 24 25 meta = { 26 description = "Ежедневная сборка карт из данных OpenStreetMap для навигационных приборов и приложений Garmin"; 27 homepage = "https://maptourist.org"; 28 license = lib.licenses.free; 29 maintainers = [ lib.maintainers.sikmir ]; 30 platforms = lib.platforms.all; 31 skip.ci = true; 32 }; 33 }