nur-packages

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

commit 8634303ce965f77d9b8def50839c1faf1f96b3f6
parent fb5587656ce127bee973d24c50b29892d454d962
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Thu, 16 May 2024 23:18:42 +0400

Remove usa-osm-topo-routable, gadm

Diffstat:
Dpkgs/data/maps/usa-osm-topo-routable/default.nix | 24------------------------
Dpkgs/data/misc/gadm/default.nix | 28----------------------------
Mpkgs/default.nix | 2--
3 files changed, 0 insertions(+), 54 deletions(-)

diff --git a/pkgs/data/maps/usa-osm-topo-routable/default.nix b/pkgs/data/maps/usa-osm-topo-routable/default.nix @@ -1,24 +0,0 @@ -{ lib, stdenvNoCC, fetchurl, p7zip }: - -stdenvNoCC.mkDerivation rec { - pname = "usa-osm-topo-routable"; - version = "39"; - - src = fetchurl { - url = "https://gmaptool.eu/sites/default/files/download/USA_OSM_Topo_Base_v${version}.7z"; - hash = "sha256-MeXzOWmVRX11NFcFCNRdCn7k4i+ckqmJ4jNl9jVaqqk="; - }; - - nativeBuildInputs = [ p7zip ]; - - installPhase = "7z x USA_OSM_Topo_v${version}.7z -o$out"; - - meta = with lib; { - description = "USA OSM Topo Routable"; - homepage = "https://www.gmaptool.eu/en/content/usa-osm-topo-routable"; - license = licenses.cc-by-nc-40; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.all; - skip.ci = true; - }; -} diff --git a/pkgs/data/misc/gadm/default.nix b/pkgs/data/misc/gadm/default.nix @@ -1,28 +0,0 @@ -{ lib, fetchurl, unzip, country ? "RUS" }: -let - pname = "gadm-" + country; - version = "3.6"; -in -fetchurl { - name = "${pname}-${version}"; - url = "https://biogeo.ucdavis.edu/data/gadm${version}/gpkg/gadm${lib.replaceStrings [ "." ] [ "" ] version}_${country}_gpkg.zip"; - hash = { - RUS = "sha256-buGdrpsbgcYlaJSxOOeHLXQLEmAHMfy7/eDf4ZpXs/4="; - FIN = "sha256-avDQrL5OWix/13MbfQdoUd/dmRPmcCnMt0ohmUqlkGQ="; - EST = "sha256-+9vErTSvu52eG03ohnRcC9hk9d10Unpyji8WVbfuaq4="; - }.${country}; - downloadToTemp = true; - recursiveHash = true; - preferLocalBuild = true; - postFetch = "${unzip}/bin/unzip $downloadedFile -d $out"; - - meta = with lib; { - description = "GADM data"; - homepage = "https://gadm.org"; - changelog = "https://gadm.org/changelog.html"; - license = licenses.free; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.all; - skip.ci = true; - }; -} diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -66,9 +66,7 @@ lib.makeScope newScope ( slazav-podm = callPackage ./data/maps/slazav/podm.nix { }; slazav-podm-bin = callPackage ./data/maps/slazav/podm-bin.nix { }; uralla = callPackage ./data/maps/uralla { }; - usa-osm-topo-routable = callPackage ./data/maps/usa-osm-topo-routable { }; - gadm = callPackage ./data/misc/gadm { }; poi = callPackage ./data/misc/poi { }; osm-extracts = callPackage ./data/osm/osm-extracts { };