lol

saga: 7.9.1 -> 8.4.0

+17 -20
+12 -16
pkgs/applications/gis/saga/default.nix
··· 3 , lib 4 , fetchurl 5 # native 6 - , autoreconfHook 7 , pkg-config 8 # not native 9 , gdal 10 - , wxGTK31 11 , proj 12 , dxflib 13 , curl ··· 31 32 mkDerivation rec { 33 pname = "saga"; 34 - version = "7.9.1"; 35 36 src = fetchurl { 37 url = "mirror://sourceforge/saga-gis/SAGA%20-%20${lib.versions.major version}/SAGA%20-%20${version}/saga-${version}.tar.gz"; 38 - sha256 = "sha256-Jq1LhBSeJuq9SlNl/ko5I8+jnjZnLMfGYNNUnzVWo7w="; 39 }; 40 41 nativeBuildInputs = [ 42 - # Upstream's gnerated ./configure is not reliable 43 - autoreconfHook 44 pkg-config 45 ]; 46 - configureFlags = [ 47 - "--with-system-svm" 48 - # hdf is no detected otherwise 49 - "HDF5_LIBS=-l${hdf5}/lib" 50 - "HDF5_CFLAGS=-I${hdf5.dev}/include" 51 - ]; 52 buildInputs = [ 53 curl 54 dxflib ··· 56 libsvm 57 hdf5 58 gdal 59 - wxGTK31 60 proj 61 libharu 62 opencv ··· 77 sqlite 78 ]; 79 80 - enableParallelBuilding = true; 81 - 82 - CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11 -Wno-narrowing"; 83 84 meta = with lib; { 85 description = "System for Automated Geoscientific Analyses";
··· 3 , lib 4 , fetchurl 5 # native 6 + , cmake 7 , pkg-config 8 # not native 9 , gdal 10 + , wxGTK32 11 , proj 12 , dxflib 13 , curl ··· 31 32 mkDerivation rec { 33 pname = "saga"; 34 + version = "8.4.0"; 35 36 src = fetchurl { 37 url = "mirror://sourceforge/saga-gis/SAGA%20-%20${lib.versions.major version}/SAGA%20-%20${version}/saga-${version}.tar.gz"; 38 + sha256 = "sha256-v6DPwV20fcsznrEaFJk0/ewU4z3cTjzYYuLkyMwSLV0="; 39 }; 40 41 + sourceRoot = "saga-${version}/saga-gis"; 42 + 43 nativeBuildInputs = [ 44 + cmake 45 pkg-config 46 ]; 47 + 48 buildInputs = [ 49 curl 50 dxflib ··· 52 libsvm 53 hdf5 54 gdal 55 + wxGTK32 56 proj 57 libharu 58 opencv ··· 73 sqlite 74 ]; 75 76 + cmakeFlags = [ 77 + "-DOpenMP_SUPPORT=${if stdenv.isDarwin then "OFF" else "ON"}" 78 + ]; 79 80 meta = with lib; { 81 description = "System for Automated Geoscientific Analyses";
+5 -4
pkgs/development/libraries/dxflib/default.nix
··· 1 - { lib, stdenv 2 , fetchurl 3 , qmake 4 }: ··· 19 ''; 20 installPhase = '' 21 install -d -m 0755 $out/lib 22 - cp -pr *.so* $out/lib 23 install -d -m 0755 $out/include/dxflib 24 cp -pr src/*.h $out/include/dxflib 25 # Generate pkg-config file ··· 39 40 meta = { 41 homepage = "https://qcad.org/en/90-dxflib"; 42 - maintainers = with lib.maintainers; [raskin]; 43 - platforms = lib.platforms.linux; 44 description = "DXF file format library"; 45 }; 46 }
··· 1 + { lib 2 + , stdenv 3 , fetchurl 4 , qmake 5 }: ··· 20 ''; 21 installPhase = '' 22 install -d -m 0755 $out/lib 23 + cp -pr *${stdenv.hostPlatform.extensions.sharedLibrary}* $out/lib 24 install -d -m 0755 $out/include/dxflib 25 cp -pr src/*.h $out/include/dxflib 26 # Generate pkg-config file ··· 40 41 meta = { 42 homepage = "https://qcad.org/en/90-dxflib"; 43 + maintainers = with lib.maintainers; [ raskin ]; 44 + platforms = lib.platforms.unix; 45 description = "DXF file format library"; 46 }; 47 }