shapefile-thing/default.nix

21 lines
343 B
Nix
Raw Normal View History

2024-01-08 17:14:18 -08:00
{
lib,
stdenv,
meson,
pkg-config,
ninja,
geographiclib,
shapelib,
strip ? false,
}:
stdenv.mkDerivation {
name = "shapething";
src = lib.cleanSource ./.;
nativeBuildInputs = [meson pkg-config ninja];
buildInputs = [geographiclib shapelib];
mesonBuildType = "release";
mesonFlags = lib.optional strip "--strip";
}