nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit d60d2ee2bd762354cc85d493fa8a515291990e03
parent ff89b9ae00bb7cb59e6d35f549f561ce214e8900
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Wed, 11 Nov 2020 01:22:51 +0300

Update vlasenko-maps

Diffstat:
Dpkgs/data/maps/hiblovgpsmap/default.nix | 30------------------------------
Apkgs/data/maps/vlasenko-maps/default.nix | 56++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mpkgs/default.nix | 2+-
3 files changed, 57 insertions(+), 31 deletions(-)

diff --git a/pkgs/data/maps/hiblovgpsmap/default.nix b/pkgs/data/maps/hiblovgpsmap/default.nix @@ -1,30 +0,0 @@ -{ stdenvNoCC, lib, fetchgdrive, unzip }: -let - version = "2020-10-17"; - filename = "OV-Hib-Lov-${lib.replaceStrings [ "-" ] [ "" ] version}-1.03.zip"; -in -stdenvNoCC.mkDerivation { - pname = "hiblovgpsmap"; - inherit version; - - src = fetchgdrive { - id = "17DUaRG_qj_qgIZ5EuHOflaDCobO0pWlv"; - sha256 = "1dmc02jg6pgqz05s61qwym4dgwx1qb43j0capzsaiyzbq9m4z99d"; - name = filename; - }; - - unpackPhase = "${unzip}/bin/unzip $src"; - - installPhase = "install -Dm644 *.img -t $out"; - - preferLocalBuild = true; - - meta = with lib; { - description = "Detailed map of Khibins and Lovozero for GPS"; - homepage = "https://vk.com/hiblovgpsmap"; - license = licenses.free; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.all; - skip.ci = true; - }; -} diff --git a/pkgs/data/maps/vlasenko-maps/default.nix b/pkgs/data/maps/vlasenko-maps/default.nix @@ -0,0 +1,55 @@ +{ stdenvNoCC, lib, fetchgdrive, unzip }: + +{ + hib-lov = stdenvNoCC.mkDerivation rec { + pname = "Hib-Lov"; + version = "2020-10-17"; + + src = fetchgdrive { + id = "17DUaRG_qj_qgIZ5EuHOflaDCobO0pWlv"; + sha256 = "1dmc02jg6pgqz05s61qwym4dgwx1qb43j0capzsaiyzbq9m4z99d"; + name = "OV-Hib-Lov-${lib.replaceStrings [ "-" ] [ "" ] version}-1.03.zip"; + }; + + unpackPhase = "${unzip}/bin/unzip $src"; + + installPhase = "install -Dm644 *.img -t $out"; + + preferLocalBuild = true; + + meta = with lib; { + description = "OV Хибины и Ловозерские тундры"; + homepage = "https://vk.com/vlasenko_maps"; + license = licenses.free; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.all; + skip.ci = true; + }; + }; + + kamch = stdenvNoCC.mkDerivation rec { + pname = "Kamch"; + version = "2020-11-09"; + + src = fetchgdrive { + id = "1JWpkJxdnfqBrFc9Hd_FxndNDLlGM-dj0"; + sha256 = "11xkrs6b3ld0bx6xl56azbs9p2ai8pmjx0wmd5i0aacv884nh4aj"; + name = "OV-Kamch-${lib.replaceStrings [ "-" ] [ "" ] version}-1.05.zip"; + }; + + unpackPhase = "${unzip}/bin/unzip $src"; + + installPhase = "install -Dm644 *.img -t $out"; + + preferLocalBuild = true; + + meta = with lib; { + description = "OV Ключевская-Толбачик"; + homepage = "https://vk.com/vlasenko_maps"; + license = licenses.free; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.all; + skip.ci = true; + }; + }; +}+ \ No newline at end of file diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -71,7 +71,7 @@ lib.makeScope newScope ( freizeitkarte-osm = callPackage ./data/maps/freizeitkarte-osm { }; gpxsee-maps = callPackage ./data/maps/gpxsee-maps { }; gpxsee-poi = callPackage ./data/maps/gpxsee-poi { }; - hiblovgpsmap = callPackage ./data/maps/hiblovgpsmap { }; + vlasenko-maps = callPackage ./data/maps/vlasenko-maps { }; maptourist = callPackage ./data/maps/maptourist { }; mtk-suomi = callPackage ./data/maps/mtk-suomi { }; opentopomap = callPackage ./data/maps/opentopomap { };