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