Unverified Commit 516db3f0 authored by Leona Maroni's avatar Leona Maroni Committed by GitHub
Browse files

art: update mainProgram (#449064)

parents e66f968a 0dda4b05
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -16,6 +16,14 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-luMqXqlJ6UzoawEDmbK38lm3GHosaZm/mFJntBF54Y4=";
  };

  # Fix the build with CMake 4.
  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail \
        'cmake_minimum_required (VERSION 2.6)' \
        'cmake_minimum_required(VERSION 3.10)'
  '';

  nativeBuildInputs = [
    cmake
  ];
+9 −1
Original line number Diff line number Diff line
@@ -49,6 +49,14 @@ stdenv.mkDerivation rec {
    hash = "sha256-dg0msZ0aeyl4L7RqqGur9Lalu1QtE0igEc54WT5F+SQ=";
  };

  # Fix the build with CMake 4.
  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail \
        'cmake_minimum_required(VERSION 3.9)' \
        'cmake_minimum_required(VERSION 3.10)'
  '';

  nativeBuildInputs = [
    cmake
    pkg-config
@@ -109,7 +117,7 @@ stdenv.mkDerivation rec {
    homepage = "https://art.pixls.us";
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ paperdigits ];
    mainProgram = "art";
    mainProgram = "ART";
    platforms = lib.platforms.linux;
  };
}