2022-12-28T09:02:44 rocthrust 5.4.0 -> 5.4.1 https://repology.org/metapackage/rocthrust/versions 2022-12-28T09:02:46 attrpath: rocthrust 2022-12-28T09:02:46 Checking auto update branch... 2022-12-28T09:02:49 [version] 2022-12-28T09:02:49 [version] skipping because derivation has updateScript 2022-12-28T09:02:49 [rustCrateVersion] 2022-12-28T09:02:49 [rustCrateVersion] No cargoSha256 found 2022-12-28T09:02:49 [golangModuleVersion] 2022-12-28T09:02:49 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-12-28T09:02:49 [updateScript] 2022-12-28T09:02:54 [updateScript] Success 2022-12-28T09:02:54 [updateScript] these 2 derivations will be built: /nix/store/i3r7ql9gms956hq23wvd1fch6lbf6v9y-update.sh.drv /nix/store/9d35fsjm3wy9kp8ka4hc4nwc0pma38b5-packages.json.drv building '/nix/store/i3r7ql9gms956hq23wvd1fch6lbf6v9y-update.sh.drv'... building '/nix/store/9d35fsjm3wy9kp8ka4hc4nwc0pma38b5-packages.json.drv'... Going to be running update for following packages: - rocthrust-5.4.0 Press Enter key to continue... Running update for: - rocthrust-5.4.0: UPDATING ... - rocthrust-5.4.0: DONE. Packages updated! 2022-12-28T09:02:54 2022-12-28T09:02:54 [quotedUrls] 2022-12-28T09:02:54 [quotedUrls] nothing found to replace 2022-12-28T09:02:54 Diff after rewrites: diff --git a/pkgs/development/libraries/rocthrust/default.nix b/pkgs/development/libraries/rocthrust/default.nix index 28162078083..b0fddd58480 100644 --- a/pkgs/development/libraries/rocthrust/default.nix +++ b/pkgs/development/libraries/rocthrust/default.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "rocthrust"; - version = "5.4.0"; + version = "5.3.3"; # Comment out these outputs until tests/benchmarks are fixed (upstream?) # outputs = [ @@ -31,7 +31,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "ROCmSoftwarePlatform"; repo = "rocThrust"; rev = "rocm-${finalAttrs.version}"; - hash = "sha256-3OcJUL6T1HJz6TQb1//lumsTxqfwbWbQ4lGuZoKmqbY="; + hash = "sha256-WODOeWWL0AOYu0djwDlVZuiJDxcchsAT7BFG9JKYScw="; }; nativeBuildInputs = [ 2022-12-28T09:04:20 Old version 5.4.0" not present in staging derivation file with contents: { lib , stdenv , fetchFromGitHub , rocmUpdateScript , cmake , rocm-cmake , rocprim , hip , gtest , buildTests ? false , buildBenchmarks ? false }: stdenv.mkDerivation (finalAttrs: { pname = "rocthrust"; version = "5.4.1"; outputs = [ "out" ] ++ lib.optionals buildTests [ "test" ] ++ lib.optionals buildBenchmarks [ "benchmark" ]; src = fetchFromGitHub { owner = "ROCmSoftwarePlatform"; repo = "rocThrust"; rev = "rocm-${finalAttrs.version}"; hash = "sha256-3OcJUL6T1HJz6TQb1//lumsTxqfwbWbQ4lGuZoKmqbY="; }; nativeBuildInputs = [ cmake rocm-cmake rocprim hip ]; buildInputs = lib.optionals buildTests [ gtest ]; cmakeFlags = [ "-DCMAKE_CXX_COMPILER=hipcc" "-DHIP_ROOT_DIR=${hip}" # Manually define CMAKE_INSTALL_ # See: https://github.com/NixOS/nixpkgs/pull/197838 "-DCMAKE_INSTALL_BINDIR=bin" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_INCLUDEDIR=include" ] ++ lib.optionals buildTests [ "-DBUILD_TEST=ON" ] ++ lib.optionals buildBenchmarks [ "-DBUILD_BENCHMARKS=ON" ] ++ lib.optionals (buildTests || buildBenchmarks) [ "-DCMAKE_CXX_FLAGS=-Wno-deprecated-builtins" # Too much spam ]; postInstall = lib.optionalString buildTests '' mkdir -p $test/bin mv $out/bin/{test_*,*.hip} $test/bin '' + lib.optionalString buildBenchmarks '' mkdir -p $benchmark/bin mv $out/bin/benchmark_* $benchmark/bin '' + lib.optionalString (buildTests || buildBenchmarks) '' rm -rf $out/bin ''; passthru.updateScript = rocmUpdateScript { name = finalAttrs.pname; owner = finalAttrs.src.owner; repo = finalAttrs.src.repo; }; meta = with lib; { description = "ROCm parallel algorithm library"; homepage = "https://github.com/ROCmSoftwarePlatform/rocThrust"; license = with licenses; [ asl20 ]; maintainers = teams.rocm.members; broken = finalAttrs.version != hip.version; }; })