default.nix (679B)
1 { lib, stdenvNoCC, fetchurl, p7zip }: 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "usa-osm-topo-routable"; 5 version = "39"; 6 7 src = fetchurl { 8 url = "https://gmaptool.eu/sites/default/files/download/USA_OSM_Topo_Base_v${version}.7z"; 9 hash = "sha256-MeXzOWmVRX11NFcFCNRdCn7k4i+ckqmJ4jNl9jVaqqk="; 10 }; 11 12 nativeBuildInputs = [ p7zip ]; 13 14 installPhase = "7z x USA_OSM_Topo_v${version}.7z -o$out"; 15 16 meta = with lib; { 17 description = "USA OSM Topo Routable"; 18 homepage = "https://www.gmaptool.eu/en/content/usa-osm-topo-routable"; 19 license = licenses.cc-by-nc-40; 20 maintainers = [ maintainers.sikmir ]; 21 platforms = platforms.all; 22 skip.ci = true; 23 }; 24 }