2023-09-22 03:41:38 +02:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "aarch64-esr-decoder";
|
2024-01-12 05:02:18 +01:00
|
|
|
version = "0.2.3";
|
2023-09-22 03:41:38 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "aarch64-esr-decoder";
|
|
|
|
rev = version;
|
2024-01-12 05:02:18 +01:00
|
|
|
hash = "sha256-U9i5L3s4oQOIqlECSaKkHxS2Vzr6SY4tIUpvl3+oSl0=";
|
2023-09-22 03:41:38 +02:00
|
|
|
};
|
|
|
|
|
2024-01-12 05:02:18 +01:00
|
|
|
cargoHash = "sha256-BdxRvvU3AovlT7QloZ/LlkjRTVCWEsPUj4NkP4gBPsY=";
|
2023-09-22 03:41:38 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Utility for decoding aarch64 ESR register values";
|
|
|
|
homepage = "https://github.com/google/aarch64-esr-decoder";
|
|
|
|
changelog = "https://github.com/google/aarch64-esr-decoder/blob/${src.rev}/CHANGELOG.md";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ jmbaur ];
|
|
|
|
mainProgram = "aarch64-esr-decoder";
|
|
|
|
};
|
|
|
|
}
|