Unverified Commit 86e5377d authored by Grimmauld's avatar Grimmauld Committed by GitHub
Browse files

laszip_2: fix build with cmake v4 (#445831)

parents 3354d448 224b861f
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -16,13 +16,19 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-TXzse4oLjNX5R2xDR721iV+gW/rP5z3Zciv4OgxfeqA=";
  };

  # fix build with cmake v4
  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail 'cmake_minimum_required(VERSION 2.6.0)' 'cmake_minimum_required(VERSION 3.10)'
  '';

  nativeBuildInputs = [ cmake ];

  meta = with lib; {
  meta = {
    description = "Turn quickly bulky LAS files into compact LAZ files without information loss";
    homepage = "https://laszip.org";
    license = licenses.lgpl2;
    maintainers = [ maintainers.michelk ];
    platforms = platforms.unix;
    license = lib.licenses.lgpl2;
    maintainers = with lib.maintainers; [ michelk ];
    platforms = lib.platforms.unix;
  };
})