10 stdenv.mkDerivation (finalAttrs: {
19 src = fetchFromGitHub {
22 rev = "v${finalAttrs.version}";
23 hash = "sha256-IHY9QtNYsxPz/ksxRMZGHleT+/bawfTYNVRSTAuYQ7Y=";
27 # https://github.com/Esri/lerc/pull/227
29 name = "use-cmake-install-full-dir.patch";
30 url = "https://github.com/Esri/lerc/commit/5462ca7f7dfb38c65e16f5abfd96873af177a0f8.patch";
31 hash = "sha256-qaNR3QwLe0AB6vu1nXOh9KhlPdWM3DmgCJj4d0VdOUk=";
39 passthru.tests.pkg-config = testers.hasPkgConfigModules {
40 package = finalAttrs.finalPackage;
44 description = "C++ library for Limited Error Raster Compression";
45 homepage = "https://github.com/esri/lerc";
46 license = lib.licenses.asl20;
47 maintainers = with lib.maintainers; [ dotlambda ];
48 pkgConfigModules = [ "Lerc" ];