Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: assimp 6.0.2 -> 6.0.4 https://github.com/assimp/assimp/releases attrpath: assimp Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/1n0xj295ahf6r5p64pxp66i2hjkkv071-packages.json.drv building '/nix/store/1n0xj295ahf6r5p64pxp66i2hjkkv071-packages.json.drv'... Going to be running update for following packages: - assimp-6.0.2 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - assimp-6.0.2: UPDATING ... - assimp-6.0.2: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/as/assimp/package.nix b/pkgs/by-name/as/assimp/package.nix index e09e2ed5723f..5a9bff1539fa 100644 --- a/pkgs/by-name/as/assimp/package.nix +++ b/pkgs/by-name/as/assimp/package.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "assimp"; - version = "6.0.2"; + version = "6.0.4"; outputs = [ "out" "lib" @@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "assimp"; repo = "assimp"; tag = "v${finalAttrs.version}"; - hash = "sha256-ixtqK+3iiL17GEbEVHz5S6+gJDDQP7bVuSfRMJMGEOY="; + hash = "sha256-ryTgsN0z9BZBz7i9aUMKuneN5oqfxpduwJlb+Q0q3Mk="; }; patches = [ No auto update branch exists Old version 6.0.2" not present in staging derivation file with contents: { lib, stdenv, fetchFromGitHub, cmake, zlib, nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "assimp"; version = "6.0.4"; outputs = [ "out" "lib" "dev" ]; src = fetchFromGitHub { owner = "assimp"; repo = "assimp"; tag = "v${finalAttrs.version}"; hash = "sha256-ryTgsN0z9BZBz7i9aUMKuneN5oqfxpduwJlb+Q0q3Mk="; }; postPatch = '' # nix build sandbox does not set /var/tmp up: # https://github.com/assimp/assimp/issues/6270 substituteInPlace test/unit/UnitTestFileGenerator.h \ --replace-fail 'define TMP_PATH "/var/tmp/"' 'define TMP_PATH "/tmp/"' ''; nativeBuildInputs = [ cmake ]; buildInputs = [ zlib ]; strictDeps = true; enableParallelBuilding = true; cmakeFlags = [ (lib.cmakeBool "ASSIMP_BUILD_ASSIMP_TOOLS" true) (lib.cmakeBool "ASSIMP_BUILD_TESTS" finalAttrs.finalPackage.doCheck) ]; # Some matrix tests fail on non-86_64-linux: # https://github.com/assimp/assimp/issues/6246 # https://github.com/assimp/assimp/issues/6247 # On Darwin, the bundled googletest is not compatible with Clang 21. # contrib/googletest/googletest/include/gtest/gtest-printers.h:498:35: # error: implicit conversion from 'char16_t' to 'char32_t' may change the meaning of the represented code unit # [-Werror,-Wcharacter-conversion] doCheck = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64; checkPhase = '' runHook preCheck bin/unit runHook postCheck ''; passthru.updateScript = nix-update-script { }; meta = { changelog = "https://github.com/assimp/assimp/releases/tag/${finalAttrs.src.tag}"; description = "Library to import various 3D model formats"; mainProgram = "assimp"; homepage = "https://www.assimp.org/"; license = lib.licenses.bsd3; maintainers = [ ]; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; })