diff --git a/pkgs/development/libraries/lerc/default.nix b/pkgs/development/libraries/lerc/default.nix new file mode 100644 index 000000000000..99e18a76bf60 --- /dev/null +++ b/pkgs/development/libraries/lerc/default.nix @@ -0,0 +1,30 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +}: + +stdenv.mkDerivation rec { + pname = "lerc"; + version = "3.0"; + + outputs = [ "out" "dev" ]; + + src = fetchFromGitHub { + owner = "esri"; + repo = "lerc"; + rev = "v${version}"; + hash = "sha256-QO5+ouQy5nOcAgvxMeBDoSBP+G3ClDjXipnkuSIDcP0="; + }; + + nativeBuildInputs = [ + cmake + ]; + + meta = { + description = "C++ library for Limited Error Raster Compression"; + homepage = "https://github.com/esri/lerc"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4ddbb76db30c..fc21ad36f255 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19653,6 +19653,8 @@ with pkgs; leptonica = callPackage ../development/libraries/leptonica { }; + lerc = callPackage ../development/libraries/lerc { }; + lib2geom = callPackage ../development/libraries/lib2geom { }; lib3ds = callPackage ../development/libraries/lib3ds { };