diff --git a/pkgs/data/misc/osm-extracts/default.nix b/pkgs/data/misc/osm-extracts/default.nix
index 89d3da8eb19256b334faaf189ec439c85c35a2ae..7fa3ffe815ecd8814d4c24464942500848cd4fb7 100644
--- a/pkgs/data/misc/osm-extracts/default.nix
+++ b/pkgs/data/misc/osm-extracts/default.nix
@@ -1,50 +1,36 @@
-{ lib, stdenv, fetchurl, gdal, osmium-tool }:
-let
-in
-{
+{ lib, stdenv, fetchurl, osmium-tool, region ? "RU-LEN" }:
url = "https://download.geofabrik.de/russia/northwestern-fed-district-${version}.osm.pbf";
hash = "sha256-ZFVnt7AbMZZdUgiv3AHvH4v+qrwRPNjJ1xyw4NMJFaM=";
+stdenv.mkDerivation rec {
(name: ''
osmium tags-filter -o ${name}-boundary.osm $src r/ISO3166-2=${name}
osmium extract -p ${name}-boundary.osm $src -s simple -o ${name}.osm
ogr2ogr -f GeoJSON ${name}-boundary.geojson ${name}-boundary.osm multipolygons
'')
regions;
description = "Administrative boundaries (NWFD)";
homepage = "https://wiki.openstreetmap.org/wiki/Tag:boundary%3Dadministrative";
license = licenses.free;
maintainers = [ maintainers.sikmir ];
platforms = platforms.all;
skip.ci = true;
};
}
diff --git a/pkgs/data/misc/routinodb/default.nix b/pkgs/data/misc/routinodb/default.nix
index 84b827da6e5256fdb588694f5bb43795482035a5..7a3a542a1f8e876a0d76616c82b82f259a6abc22 100644
--- a/pkgs/data/misc/routinodb/default.nix
+++ b/pkgs/data/misc/routinodb/default.nix
@@ -2,20 +2,20 @@ { lib, stdenv, fetchurl, routino }:
stdenv.mkDerivation rec {
pname = "routinodb";
srcs = [
(fetchurl {
url = "https://download.geofabrik.de/europe/finland-${version}.osm.pbf";
hash = "sha256-E2SHTZ21Tq/f+3KffJouQIbo0g2SR+W0gtzhIKkCxuo=";
hash = "sha256-57IpvP9ygQoaBMfbEn9cuaX6SonyyjOhaP1HcMmEWOM=";
})
(fetchurl {
url = "https://download.geofabrik.de/europe/estonia-${version}.osm.pbf";
hash = "sha256-GScnl+2y7f9FfHIotVpfBejAEUF5cU0jEPdYQbGfPzI=";
hash = "sha256-usbKCiJotnODkn1jwPNmRgmYqEoAbku2zDTlZ3q/98E=";
})
(fetchurl {
url = "https://download.geofabrik.de/russia/northwestern-fed-district-${version}.osm.pbf";
hash = "sha256-MXLlLywPo0JwCgLQOoHRZ2hrw9YEuH+Ey/3zrBvQIIc=";
hash = "sha256-U7vR/EgDXOChoVxGpi1XWw6r3Ey1tdeJtk3vcLRzRGs=";
})
];
diff --git a/pkgs/gpx/gpx-animator/default.nix b/pkgs/gpx/gpx-animator/default.nix
index 0d3c35eba10467c792a6ddc3022f51bc3c03cb99..d9eae7c31e258a57553fbcc1ceeb72286c62b9fa 100644
--- a/pkgs/gpx/gpx-animator/default.nix
+++ b/pkgs/gpx/gpx-animator/default.nix
@@ -26,7 +26,6 @@ description = "GPX Animator";
homepage = "https://gpx-animator.app/";
license = licenses.asl20;
maintainers = [ maintainers.sikmir ];
};
}
diff --git a/pkgs/linguistics/i18n-editor/default.nix b/pkgs/linguistics/i18n-editor/default.nix
index 2d80854755ae827c422327bf2a536af532e3a5dd..027bb5722e0e71fc50662bc98344c8957e0cb3ed 100644
--- a/pkgs/linguistics/i18n-editor/default.nix
+++ b/pkgs/linguistics/i18n-editor/default.nix
@@ -31,7 +31,6 @@ description = "GUI for editing your i18n translation files";
inherit (src.meta) homepage;
license = licenses.mit;
maintainers = [ maintainers.sikmir ];
};
}
application/octet-stream
This content has been proxied by September (3851b).