package.nix (807B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 boost188, 7 gdal, 8 gsl, 9 hdf5, 10 kealib, 11 muparser, 12 python3, 13 }: 14 15 stdenv.mkDerivation (finalAttrs: { 16 pname = "rsgislib"; 17 version = "5.2.1"; 18 19 __structuredAttrs = true; 20 21 src = fetchFromGitHub { 22 owner = "remotesensinginfo"; 23 repo = "rsgislib"; 24 tag = finalAttrs.version; 25 hash = "sha256-2U5Kyrp7mc/x2GP/HMU5grVk4Trzo5Jq4YjMbGBZvm4="; 26 }; 27 28 nativeBuildInputs = [ cmake ]; 29 30 buildInputs = [ 31 boost188 32 gdal 33 gsl 34 hdf5 35 kealib 36 muparser 37 python3 38 ]; 39 40 meta = { 41 description = "Remote Sensing and GIS Software Library"; 42 homepage = "https://www.rsgislib.org/"; 43 license = lib.licenses.gpl3Plus; 44 maintainers = [ lib.maintainers.sikmir ]; 45 platforms = lib.platforms.unix; 46 skip.ci = true; 47 }; 48 })
