2014-09-22 12:54:24 +01:00
|
|
|
{ stdenv, fetchurl, gdal, wxGTK30, proj, libiodbc, lzma, jasper,
|
2018-04-17 20:36:47 +01:00
|
|
|
libharu, opencv, vigra, postgresql, Cocoa,
|
|
|
|
unixODBC , poppler, hdf4, hdf5, netcdf, sqlite }:
|
2014-09-17 06:48:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-28 07:31:32 +01:00
|
|
|
name = "saga-6.3.0";
|
2014-09-17 06:48:34 +01:00
|
|
|
|
2018-04-17 20:36:47 +01:00
|
|
|
# See https://groups.google.com/forum/#!topic/nix-devel/h_vSzEJAPXs
|
|
|
|
# for why the have additional buildInputs on darwin
|
|
|
|
buildInputs = [ gdal wxGTK30 proj libharu opencv vigra postgresql libiodbc lzma jasper ]
|
|
|
|
++ stdenv.lib.optionals stdenv.isDarwin
|
|
|
|
[ Cocoa unixODBC poppler hdf4.out hdf5 netcdf sqlite ];
|
2014-09-17 06:48:34 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-28 07:31:32 +01:00
|
|
|
url = "mirror://sourceforge/project/saga-gis/SAGA%20-%206/SAGA%20-%206.3.0/saga-6.3.0.tar.gz";
|
|
|
|
sha256 = "0hyjim8fcp3mna1hig22nnn4ki3j6b7096am2amcs99sdr09jjxv";
|
2014-09-17 06:48:34 +01:00
|
|
|
};
|
|
|
|
|
2018-04-17 20:36:47 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-03 10:24:47 +00:00
|
|
|
description = "System for Automated Geoscientific Analyses";
|
2014-09-17 06:48:34 +01:00
|
|
|
homepage = http://www.saga-gis.org;
|
2018-04-17 20:36:47 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.michelk ];
|
|
|
|
platforms = with platforms; unix;
|
2014-09-17 06:48:34 +01:00
|
|
|
};
|
|
|
|
}
|