package.nix (688B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 hdf5, 7 highfive, 8 }: 9 10 stdenv.mkDerivation (finalAttrs: { 11 pname = "kealib"; 12 version = "2.0.0"; 13 14 __structuredAttrs = true; 15 16 src = fetchFromGitHub { 17 owner = "ubarsc"; 18 repo = "kealib"; 19 tag = "kealib-${finalAttrs.version}"; 20 hash = "sha256-qfJmQy0iIu564tjAaMMypQ9pTbMCAwjjPHcvogt1guQ="; 21 }; 22 23 nativeBuildInputs = [ cmake ]; 24 25 buildInputs = [ 26 hdf5 27 highfive 28 ]; 29 30 meta = { 31 description = "KEALib provides an implementation of the GDAL data model"; 32 homepage = "http://kealib.org/"; 33 license = lib.licenses.mit; 34 maintainers = [ lib.maintainers.sikmir ]; 35 platforms = lib.platforms.unix; 36 }; 37 })
