saga: reformat with nixfmt

This commit is contained in:
Augustin Trancart 2024-09-21 15:45:13 +02:00
parent 98d3153bf6
commit 4ee01360f3

View File

@ -1,33 +1,34 @@
{ stdenv
, lib
, fetchurl
# native
, cmake
, desktopToDarwinBundle
, pkg-config
# not native
, gdal
, wxGTK32
, proj
, libsForQt5
, curl
, libiodbc
, xz
, libharu
, opencv
, vigra
, pdal
, postgresql
, darwin
, unixODBC
, poppler
, hdf5
, netcdf
, sqlite
, qhull
, giflib
, libsvm
, fftw
{
stdenv,
lib,
fetchurl,
# native
cmake,
desktopToDarwinBundle,
pkg-config,
# not native
gdal,
wxGTK32,
proj,
libsForQt5,
curl,
libiodbc,
xz,
libharu,
opencv,
vigra,
pdal,
postgresql,
darwin,
unixODBC,
poppler,
hdf5,
netcdf,
sqlite,
qhull,
giflib,
libsvm,
fftw,
}:
stdenv.mkDerivation rec {
@ -46,34 +47,35 @@ stdenv.mkDerivation rec {
pkg-config
] ++ lib.optional stdenv.hostPlatform.isDarwin desktopToDarwinBundle;
buildInputs = [
curl
libsForQt5.dxflib
fftw
libsvm
hdf5
gdal
wxGTK32
pdal
proj
libharu
opencv
vigra
postgresql
libiodbc
xz
qhull
giflib
]
# See https://groups.google.com/forum/#!topic/nix-devel/h_vSzEJAPXs
# for why the have additional buildInputs on darwin
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Cocoa
unixODBC
poppler
netcdf
sqlite
];
buildInputs =
[
curl
libsForQt5.dxflib
fftw
libsvm
hdf5
gdal
wxGTK32
pdal
proj
libharu
opencv
vigra
postgresql
libiodbc
xz
qhull
giflib
]
# See https://groups.google.com/forum/#!topic/nix-devel/h_vSzEJAPXs
# for why the have additional buildInputs on darwin
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Cocoa
unixODBC
poppler
netcdf
sqlite
];
cmakeFlags = [
(lib.cmakeBool "OpenMP_SUPPORT" (!stdenv.hostPlatform.isDarwin))
@ -84,7 +86,13 @@ stdenv.mkDerivation rec {
homepage = "https://saga-gis.sourceforge.io";
changelog = "https://sourceforge.net/p/saga-gis/wiki/Changelog ${version}/";
license = licenses.gpl2Plus;
maintainers = with maintainers; teams.geospatial.members ++ [ michelk mpickering ];
maintainers =
with maintainers;
teams.geospatial.members
++ [
michelk
mpickering
];
platforms = with platforms; unix;
};
}