Unverified Commit 6e78ba82 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

mni_autoreg: unstable-2022-05-20 -> 0.99.70-unstable-2024-10-04, unbreak on GCC 14 (#392153)

parents 43ab99c2 4bff863c
Loading
Loading
Loading
Loading
+12 −7
Original line number Diff line number Diff line
@@ -10,13 +10,13 @@

stdenv.mkDerivation {
  pname = "mni_autoreg";
  version = "unstable-2022-05-20";
  version = "0.99.70-unstable-2024-10-04";

  src = fetchFromGitHub {
    owner = "BIC-MNI";
    repo = "mni_autoreg";
    rev = "be7bd25bf7776974e0f2c1d90b6e7f8ccc0c8874";
    sha256 = "sGMZbCrdV6yAOgGiqvBFOUr6pGlTCqwy8yNrPxMoKco=";
    rev = "85265398d90dc1bfef886e2cf876a1a2caae86b4";
    hash = "sha256-tKCDrIHlkArF5Xv6NlSkvmNMIMDsxEf5O3ATzm6DabQ=";
  };

  nativeBuildInputs = [
@@ -30,6 +30,11 @@ stdenv.mkDerivation {
    MNI-Perllib
  ];

  env.NIX_CFLAGS_COMPILE = toString [
    "-Wno-error=implicit-function-declaration"
    "-Wno-error=incompatible-pointer-types"
  ];

  cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/cmake" ];
  # testing broken: './minc_wrapper: Permission denied' from Testing/ellipse0.mnc

@@ -40,11 +45,11 @@ stdenv.mkDerivation {
    done
  '';

  meta = with lib; {
  meta = {
    homepage = "https://github.com/BIC-MNI/mni_autoreg";
    description = "Tools for automated registration using the MINC image format";
    maintainers = with maintainers; [ bcdarwin ];
    platforms = platforms.unix;
    license = licenses.free;
    maintainers = with lib.maintainers; [ bcdarwin ];
    platforms = lib.platforms.unix;
    license = lib.licenses.free;
  };
}