commit 7e0a07e1b4d1f38ce76060e68cb0512e816962a3
parent 80fda29977520c2725a039631e7463a36ec7a6b9
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Fri, 19 Feb 2021 17:41:49 +0300
Add meridian maps
Diffstat:
3 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/pkgs/data/maps/meridian/base.nix b/pkgs/data/maps/meridian/base.nix
@@ -0,0 +1,27 @@
+{ lib, stdenvNoCC, fetchurl, unrar, pname, version, sha256 }:
+
+stdenvNoCC.mkDerivation {
+ inherit pname version;
+
+ src = fetchurl {
+ url = "http://meridian.perm.ru/04_maps/gpsmap/${pname}.rar";
+ inherit sha256;
+ };
+
+ sourceRoot = ".";
+
+ nativeBuildInputs = [ unrar ];
+
+ installPhase = "install -Dm644 *.img -t $out";
+
+ preferLocalBuild = true;
+
+ meta = with lib; {
+ description = "Самодельные векторные карты для GPS-навигаторов";
+ homepage = "http://meridian.perm.ru/04_maps/maps_for_gps.shtml";
+ license = licenses.free;
+ maintainers = [ maintainers.sikmir ];
+ platforms = platforms.all;
+ skip.ci = true;
+ };
+}
diff --git a/pkgs/data/maps/meridian/default.nix b/pkgs/data/maps/meridian/default.nix
@@ -0,0 +1,33 @@
+{ callPackage }:
+
+{
+ pripolarural = callPackage ./base.nix {
+ pname = "PripolarUralIMG";
+ version = "2011-08-21";
+ sha256 = "0jgmn81skr4vq1h0bcxm5647gg4wip74mrq88mr9fi5s0z0v59bf";
+ };
+
+ middleural = callPackage ./base.nix {
+ pname = "MiddleUral";
+ version = "2019-12-26";
+ sha256 = "1pal12kfkgi8iild0jym27fch8g189krkkwpsphlglf1r8544aqf";
+ };
+
+ guh = callPackage ./base.nix {
+ pname = "GUH";
+ version = "2018-01-19";
+ sha256 = "03ylyyng5qhp202pq0b0lmsnh6yigcbmkm3yblgawsz7crz7xwl4";
+ };
+
+ manpup = callPackage ./base.nix {
+ pname = "MANPUP";
+ version = "2018-01-19";
+ sha256 = "19546w5752y21i9z6r4d5sy3b09dqn3plnyhj4z8aar00p7j1dal";
+ };
+
+ polarural = callPackage ./base.nix {
+ pname = "PolarUral";
+ version = "2010-12-05";
+ sha256 = "1hdw8a565c1f65iv26y04sjw90q5kcqjw2q6jj10r1aksx0vwlxx";
+ };
+}
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -70,6 +70,7 @@ lib.makeScope newScope (
gpxsee-maps = callPackage ./data/maps/gpxsee-maps { };
vlasenko-maps = callPackage ./data/maps/vlasenko-maps { };
maptourist = callPackage ./data/maps/maptourist { };
+ meridian = callPackage ./data/maps/meridian { };
mtk-suomi = callPackage ./data/maps/mtk-suomi { };
opentopomap = callPackage ./data/maps/opentopomap { };
qmapshack-onlinemaps = callPackage ./data/maps/qmapshack-onlinemaps { };