mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
perf_data_converter: 0-unstable-2024-07-25 -> 0-unstable-2024-10-14
This commit is contained in:
parent
47dd18486f
commit
97057b19d4
@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildBazelPackage,
|
||||
fetchFromGitHub,
|
||||
bazel_6,
|
||||
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user