9 stdenv.mkDerivation (finalAttrs: {
13 outputs = [ "out" "dev" ];
15 src = fetchFromGitHub {
18 rev = "v${finalAttrs.version}";
19 hash = "sha256-IHY9QtNYsxPz/ksxRMZGHleT+/bawfTYNVRSTAuYQ7Y=";
23 # https://github.com/Esri/lerc/pull/227
25 name = "use-cmake-install-full-dir.patch";
26 url = "https://github.com/Esri/lerc/commit/5462ca7f7dfb38c65e16f5abfd96873af177a0f8.patch";
27 hash = "sha256-qaNR3QwLe0AB6vu1nXOh9KhlPdWM3DmgCJj4d0VdOUk=";
35 passthru.tests.pkg-config = testers.hasPkgConfigModules {
36 package = finalAttrs.finalPackage;
40 description = "C++ library for Limited Error Raster Compression";
41 homepage = "https://github.com/esri/lerc";
42 license = lib.licenses.asl20;
43 maintainers = with lib.maintainers; [ dotlambda ];
44 pkgConfigModules = [ "Lerc" ];