summary refs log tree commit diff
path: root/pkgs/applications/gis
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-12-06 22:59:45 +0000
committerJonathan Ringer <jonringer@users.noreply.github.com>2022-01-25 23:14:33 -0800
commit92b62e73530a19e6fd09d663984a4b064e5b4d5f (patch)
tree3f2616efbb7960ba2b823b6af1511d8cb4382e61 /pkgs/applications/gis
parentb9ea948aca2872b53bec94210f632d1a8c6ebb1d (diff)
downloadnixpkgs-92b62e73530a19e6fd09d663984a4b064e5b4d5f.tar
nixpkgs-92b62e73530a19e6fd09d663984a4b064e5b4d5f.tar.gz
nixpkgs-92b62e73530a19e6fd09d663984a4b064e5b4d5f.tar.bz2
nixpkgs-92b62e73530a19e6fd09d663984a4b064e5b4d5f.tar.lz
nixpkgs-92b62e73530a19e6fd09d663984a4b064e5b4d5f.tar.xz
nixpkgs-92b62e73530a19e6fd09d663984a4b064e5b4d5f.tar.zst
nixpkgs-92b62e73530a19e6fd09d663984a4b064e5b4d5f.zip
grass: Add pdal dep and missing feature flags
This is used for processing lidar point clouds.
Diffstat (limited to 'pkgs/applications/gis')
-rw-r--r--pkgs/applications/gis/grass/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/gis/grass/default.nix b/pkgs/applications/gis/grass/default.nix
index 842772ed31b..87f5686d019 100644
--- a/pkgs/applications/gis/grass/default.nix
+++ b/pkgs/applications/gis/grass/default.nix
@@ -1,7 +1,7 @@
 { lib, stdenv, fetchFromGitHub, flex, bison, pkg-config, zlib, libtiff, libpng, fftw
 , cairo, readline, ffmpeg, makeWrapper, wxGTK30, netcdf, blas
 , proj, gdal, geos, sqlite, postgresql, libmysqlclient, python3Packages, libLAS, proj-datumgrid
-, zstd
+, zstd, pdal
 }:
 
 stdenv.mkDerivation rec {
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ pkg-config ];
   buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite cairo
   readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql libmysqlclient blas
-  libLAS proj-datumgrid zstd ]
+  libLAS proj-datumgrid zstd pdal ]
     ++ (with python3Packages; [ python python-dateutil wxPython_4_1 numpy ]);
 
   # On Darwin the installer tries to symlink the help files into a system
@@ -38,6 +38,7 @@ stdenv.mkDerivation rec {
     "--with-readline"
     "--with-wxwidgets"
     "--with-netcdf"
+    "--with-pdal"
     "--with-geos"
     "--with-postgres"
     "--with-postgres-libs=${postgresql.lib}/lib/"
@@ -47,6 +48,9 @@ stdenv.mkDerivation rec {
     "--with-mysql-libs=${libmysqlclient}/lib/mysql"
     "--with-blas"
     "--with-liblas=${libLAS}/bin/liblas-config"
+    "--with-zstd"
+    "--with-fftw"
+    "--with-pthread"
   ];
 
   # Otherwise a very confusing "Can't load GDAL library" error