Skip to content

Commit

Permalink
perf_data_converter: 0-unstable-2024-07-25 -> 0-unstable-2024-10-14 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
pbsds authored Oct 24, 2024
2 parents 638402f + 97057b1 commit db11f98
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions pkgs/by-name/pe/perf_data_converter/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildBazelPackage,
fetchFromGitHub,
bazel_6,
Expand All @@ -8,25 +9,39 @@
libcap,
}:

let
system = stdenv.hostPlatform.system;
registry = fetchFromGitHub {
owner = "bazelbuild";
repo = "bazel-central-registry";
rev = "ef34e6bfad5a6ab54080ddcc83a4d65849855e3a";
hash = "sha256-PhacBegQDwWZqZeoZjoLR4akhVV3QrSPr1KflCuied0=";
};
in
buildBazelPackage rec {
pname = "perf_data_converter";
version = "0-unstable-2024-07-25";
version = "0-unstable-2024-10-14";

src = fetchFromGitHub {
owner = "google";
repo = "perf_data_converter";
rev = "571052793d8c49fd3e93121af548cc8ebd8920f0";
hash = "sha256-yoWOCSYAfnDVDQ6uwZ30P4p3pgvfmjVQiN9gu5auusY=";
rev = "f76cd4dd1e85bb54d60ea3fe69f92168fdf94edb";
hash = "sha256-AScXL74K0Eiajdib56+7ay3K/MMWbmeUWkRWMaEJRC8=";
};

bazel = bazel_6;
bazelFlags = [
"--java_runtime_version=local_jdk"
"--tool_java_runtime_version=local_jdk"
"--registry"
"file://${registry}"
];

fetchAttrs = {
hash = "sha256-Qm6Ng9cXvKx043P7qyNHyyMvdGK9aNarX1ZKeCp3mgY=";
hash =
{
aarch64-linux = "sha256-gSRSkLGZhHe8o3byZVFsUxXPM+xzetOPhfzkAVTGAUs=";
x86_64-linux = "sha256-ZYjFpdH0oYrJguw16DSJWiXjhfJusG+inShbx/BOrcY=";
}
.${system} or (throw "No hash for system: ${system}");
};

nativeBuildInputs = [ jdk ];
Expand Down

0 comments on commit db11f98

Please sign in to comment.