21 lines
343 B
Nix
21 lines
343 B
Nix
{
|
|
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";
|
|
}
|