From e2d2b2c0247cf32ae3ee081f3a094d698a3d19bd Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Fri, 4 Jul 2025 11:20:05 +0200 Subject: [PATCH] assimp: 5.4.3 -> 6.0.2 Release notes: https://github.com/assimp/assimp/releases/tag/v6.0.2 https://github.com/assimp/assimp/releases/tag/v6.0.1 https://github.com/assimp/assimp/releases/tag/v6.0.0 Security fixes: CVE-2025-2751: https://github.com/advisories/GHSA-345v-qrhv-w227 CVE-2025-2757: https://github.com/advisories/GHSA-4p6w-747g-444c CVE-2025-2750: https://github.com/advisories/GHSA-6x45-4j6r-r8x8 CVE-2025-3158: https://github.com/advisories/GHSA-6r79-vpvw-rfjj Supersedes: https://github.com/NixOS/nixpkgs/pull/412783 --- pkgs/by-name/as/assimp/package.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/as/assimp/package.nix b/pkgs/by-name/as/assimp/package.nix index 33a3a0b5de58..ce40511fb1e2 100644 --- a/pkgs/by-name/as/assimp/package.nix +++ b/pkgs/by-name/as/assimp/package.nix @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { pname = "assimp"; - version = "5.4.3"; + version = "6.0.2"; outputs = [ "out" "lib" @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { owner = "assimp"; repo = "assimp"; rev = "v${version}"; - hash = "sha256-sOYhYHBz3Tg+pi1OIJ1mGmsjEc6dPO6nFH0aolfpLRA="; + hash = "sha256-ixtqK+3iiL17GEbEVHz5S6+gJDDQP7bVuSfRMJMGEOY="; }; nativeBuildInputs = [ cmake ]; @@ -29,11 +29,6 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DASSIMP_BUILD_ASSIMP_TOOLS=ON" ]; - env.NIX_CFLAGS_COMPILE = toString ([ - # Needed with GCC 12 - "-Wno-error=array-bounds" - ]); - meta = with lib; { description = "Library to import various 3D model formats"; mainProgram = "assimp";