35 stdenv.mkDerivation rec {
40 url = "mirror://sourceforge/saga-gis/saga-${version}.tar.gz";
41 hash = "sha256-M4228GDo9jIVJMfl61n7cgTAmBYZrmHdXb+mD40vWqY";
44 sourceRoot = "saga-${version}/saga-gis";
50 ] ++ lib.optional stdenv.hostPlatform.isDarwin desktopToDarwinBundle;
72 # See https://groups.google.com/forum/#!topic/nix-devel/h_vSzEJAPXs
73 # for why the have additional buildInputs on darwin
74 ++ lib.optionals stdenv.hostPlatform.isDarwin [
75 darwin.apple_sdk.frameworks.Cocoa
83 (lib.cmakeBool "OpenMP_SUPPORT" (!stdenv.hostPlatform.isDarwin))
87 description = "System for Automated Geoscientific Analyses";
88 homepage = "https://saga-gis.sourceforge.io";
89 changelog = "https://sourceforge.net/p/saga-gis/wiki/Changelog ${version}/";
90 license = licenses.gpl2Plus;
93 teams.geospatial.members
98 platforms = with platforms; unix;