commit c62fc068e8950e1ca90d94bf213a0c0aa54be872
parent 0af3f596fade7a7bfcfdc237d2941ac90c49df27
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Wed, 5 Aug 2020 11:25:17 +0300
Rename qmapshack-routinodb -> routinodb
Diffstat:
3 files changed, 45 insertions(+), 45 deletions(-)
diff --git a/pkgs/data/maps/qmapshack-routinodb/default.nix b/pkgs/data/maps/qmapshack-routinodb/default.nix
@@ -1,44 +0,0 @@
-{ stdenv, sources, routino }:
-let
- year = stdenv.lib.substring 0 2 sources.geofabrik-russia-nwfd.version;
- month = stdenv.lib.substring 2 2 sources.geofabrik-russia-nwfd.version;
- day = stdenv.lib.substring 4 2 sources.geofabrik-russia-nwfd.version;
-in
-stdenv.mkDerivation {
- pname = "qmapshack-routinodb";
- version = "20${year}-${month}-${day}";
- srcs = [
- sources.geofabrik-finland
- sources.geofabrik-estonia
- sources.geofabrik-russia-nwfd
- ];
-
- dontUnpack = true;
-
- installPhase = ''
- install -dm755 $out/share/qmapshack/Routino
-
- for src in $srcs; do
- ${routino}/bin/planetsplitter \
- --dir="$out/share/qmapshack/Routino" \
- --prefix=RussiaNW \
- --tagging=${routino}/share/routino/tagging.xml \
- --parse-only --append $src
- done
-
- ${routino}/bin/planetsplitter \
- --dir="$out/share/qmapshack/Routino" \
- --prefix=RussiaNW \
- --tagging=${routino}/share/routino/tagging.xml \
- --process-only
- '';
-
- meta = with stdenv.lib; {
- description = "Routino Database";
- homepage = "https://download.geofabrik.de/index.html";
- license = licenses.free;
- maintainers = [ maintainers.sikmir ];
- platforms = platforms.all;
- skip.ci = true;
- };
-}
diff --git a/pkgs/data/maps/routinodb/default.nix b/pkgs/data/maps/routinodb/default.nix
@@ -0,0 +1,44 @@
+{ stdenv, sources, routino }:
+let
+ year = stdenv.lib.substring 0 2 sources.geofabrik-russia-nwfd.version;
+ month = stdenv.lib.substring 2 2 sources.geofabrik-russia-nwfd.version;
+ day = stdenv.lib.substring 4 2 sources.geofabrik-russia-nwfd.version;
+in
+stdenv.mkDerivation {
+ pname = "routinodb";
+ version = "20${year}-${month}-${day}";
+ srcs = [
+ sources.geofabrik-finland
+ sources.geofabrik-estonia
+ sources.geofabrik-russia-nwfd
+ ];
+
+ dontUnpack = true;
+
+ installPhase = ''
+ install -dm755 $out
+
+ for src in $srcs; do
+ ${routino}/bin/planetsplitter \
+ --dir=$out \
+ --prefix=RussiaNW \
+ --tagging=${routino}/share/routino/tagging.xml \
+ --parse-only --append $src
+ done
+
+ ${routino}/bin/planetsplitter \
+ --dir=$out \
+ --prefix=RussiaNW \
+ --tagging=${routino}/share/routino/tagging.xml \
+ --process-only
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Routino Database";
+ homepage = "https://download.geofabrik.de/index.html";
+ license = licenses.free;
+ maintainers = [ maintainers.sikmir ];
+ platforms = platforms.all;
+ skip.ci = true;
+ };
+}
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -61,7 +61,7 @@ lib.makeScope newScope (
mtk-suomi = callPackage ./data/maps/mtk-suomi { };
opentopomap = callPackage ./data/maps/opentopomap { };
qmapshack-onlinemaps = callPackage ./data/maps/qmapshack-onlinemaps { };
- qmapshack-routinodb = callPackage ./data/maps/qmapshack-routinodb { };
+ routinodb = callPackage ./data/maps/routinodb { };
slazav-hr = callPackage ./data/maps/slazav/hr.nix { };
slazav-podm = callPackage ./data/maps/slazav/podm.nix { };