nur-packages

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

commit f37977e1cfb66e77b38c874c0d7525eeb34e5c80
parent ee1d99ad0afb6599a91029795f17e65777da2767
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Thu, 23 Jul 2020 16:11:52 +0300

Add gpxsee-poi.nashipohody

Diffstat:
Mpkgs/data/maps/gpxsee-poi/default.nix | 29+++++++++++++++++++++++++----
1 file changed, 25 insertions(+), 4 deletions(-)

diff --git a/pkgs/data/maps/gpxsee-poi/default.nix b/pkgs/data/maps/gpxsee-poi/default.nix @@ -2,9 +2,9 @@ { geocachingSu = fetchurl { - name = "geocaching_su-2020-07-16"; + name = "geocaching_su-2020-07-23"; url = "https://nakarte.me/geocachingSu/geocaching_su2.json"; - sha256 = "1xkh5k6awdcd787rh33fhz7b6nd8a8gfcd9lwsp0prfvlh1z9izj"; + sha256 = "1x2qmzhp4g42yghahmkpm2smkw8d9wxglwl0c3gy88jf62y76hxc"; downloadToTemp = true; recursiveHash = true; postFetch = '' @@ -25,9 +25,9 @@ }; laavut = fetchurl { - name = "laavut-2020-06-08"; + name = "laavut-2020-07-19"; url = "http://www.laavu.org/lataa.php?paikkakunta=kaikki"; - sha256 = "0y0wks3qs0rs112r2s0bncxya4l0q9svrhp5ykwk0w9mxqha67sf"; + sha256 = "15870d4kngk6plkyyk0mhjqck17n3ypbyh2l5szmjpg7s5kidfx1"; downloadToTemp = true; recursiveHash = true; postFetch = '' @@ -111,4 +111,25 @@ skip.ci = true; }; }; + + nashipohody = fetchurl { + name = "nashipohody-2020-07-23"; + url = "http://nashipohody.ru/wp-content/plugins/leaflet-maps-marker-pro/leaflet-kml.php?layer=1&name=show"; + sha256 = "0i7i4wh9sxykgp88zj3nbns6iy17psqsyaqd77ryx7q78qvwzm36"; + downloadToTemp = true; + recursiveHash = true; + postFetch = '' + install -dm755 $out/share/gpxsee/POI + cat $downloadedFile > $out/share/gpxsee/POI/nashipohody.kml + ''; + + meta = with lib; { + homepage = "http://nashipohody.ru"; + description = "Карта Достопримечательностей"; + maintainers = with maintainers; [ sikmir ]; + license = licenses.free; + platforms = platforms.all; + skip.ci = true; + }; + }; }