nur-packages

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

commit 9451f4f8670d38597e84ddfff682932015fb8934
parent 1ac96e0179c4244e475fbc00da9bdb40d024137f
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Fri, 11 Dec 2020 23:29:27 +0300

Add poi.novgorod-roads

Diffstat:
Mpkgs/data/misc/poi/default.nix | 23++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/pkgs/data/misc/poi/default.nix b/pkgs/data/misc/poi/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchurl, gzip, jq }: +{ lib, fetchurl, fetchymaps, gzip, jq, gdal }: { geocachingSu = fetchurl { @@ -125,4 +125,25 @@ skip.ci = true; }; }; + + novgorod-roads = fetchymaps { + name = "novgorod-roads-2013-06-05"; + um = "_WjokOS8OVNds5FVsSPwRN_dXQFBv99B"; + sha256 = "1hyilj5h24rdfnhmks3zk4z76zi3y6mn5qc47w9wd2yv2vzjdp53"; + downloadToTemp = true; + recursiveHash = true; + postFetch = '' + ${gdal}/bin/ogr2ogr novgorod-roads.geojson $downloadedFile + install -Dm644 novgorod-roads.geojson -t $out + ''; + + meta = with lib; { + homepage = "https://yandex.ru/maps/-/CCUER2fZpD"; + description = "Магистральные дороги Северо-Запада Новгородской земли"; + maintainers = [ maintainers.sikmir ]; + license = licenses.free; + platforms = platforms.all; + skip.ci = true; + }; + }; }