going somewhere
This commit is contained in:
1 parent
a92eee0479
commit
f17e7c70fc
3 files changed
+2
-23
No files matched your search
@@ -47,21 +47,6 @@
|
||||
};
|
||||
|
||||
data-dir = pkgs.stdenv.mkDerivation {
|
||||
name = "data-dir";
|
||||
src = ./scripts;
|
||||
buildInputs = [ poly2geojson ];
|
||||
buildPhase = ''
|
||||
mkdir -p cities/canada/quebec
|
||||
${pkgs.babashka}/bin/bb to-geojson.clj ${quebec-cities-poly}/canada/québec/* > cities.json
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out/data
|
||||
cp ${quebec-osm-data} $out/data/quebec.osm.pbf
|
||||
cp cities.json $out/data
|
||||
'';
|
||||
};
|
||||
|
||||
dati = pkgs.stdenv.mkDerivation {
|
||||
name = "data-dir";
|
||||
src = ./scripts;
|
||||
buildInputs = [ poly2geojson pkgs.jdk23 osmosis ];
|
||||
@@ -87,7 +72,6 @@
|
||||
in {
|
||||
packages = {
|
||||
default = data-dir;
|
||||
dati = dati;
|
||||
poly2geojson = poly2geojson;
|
||||
osmosis = osmosis;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user