diff --git a/pkgs/data/maps/gpxsee-maps/default.nix b/pkgs/data/maps/gpxsee-maps/default.nix
index 66243b10f5368b117f284766a497203f84524bab..9d384c902c60b2bf37c46ce8fca973c32ed69c35 100644
--- a/pkgs/data/maps/gpxsee-maps/default.nix
+++ b/pkgs/data/maps/gpxsee-maps/default.nix
@@ -1,31 +1,60 @@
-{ stdenv
+{ stdenvNoCC
+, lib
, sources
, maptilerApiKey ? ""
, mapboxApiKey ? ""
+, thunderforestApiKey ? ""
+, openrouteserviceApiKey ? ""
+, hereApiKey ? ""
+, mapsList ? [
}:
let
pname = "gpxsee-maps";
version = "unstable-" + date;
in
-stdenv.mkDerivation {
+stdenvNoCC.mkDerivation {
inherit pname version;
src = sources.gpxsee-maps;
postPatch = ''
substitute World/MapTiler.tpl World/MapTiler.xml \
--replace "insert-your-apikey-here" "${maptilerApiKey}"
substitute World/Mapbox.tpl World/Mapbox.xml \
--replace "insert-your-apikey-here" "${mapboxApiKey}"
--replace "insert-your-apikey-here" "${openrouteserviceApiKey}"
substitute $m $m.xml \
--replace "insert-your-apikey-here" "${thunderforestApiKey}"
substitute $m $m.xml \
--replace "insert-your-apikey-here" "${hereApiKey}"
'';
installPhase = ''
'';
inherit (sources.gpxsee-maps) description homepage;
license = licenses.unlicense;
maintainers = [ maintainers.sikmir ];
application/octet-stream
This content has been proxied by September (3851b).