nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "aarch64-esr-decoder";
9 version = "0.2.4";
10
11 src = fetchFromGitHub {
12 owner = "google";
13 repo = "aarch64-esr-decoder";
14 tag = version;
15 hash = "sha256-ZpSrz7iwwzNrK+bFTMn5MPx4Zjceao9NKhjAyjuPLWY=";
16 };
17
18 cargoHash = "sha256-xOBJ8QYiWu5vmkRpttN2CXCXi4bNj+qph31hSkDadjI=";
19
20 meta = {
21 description = "Utility for decoding aarch64 ESR register values";
22 homepage = "https://github.com/google/aarch64-esr-decoder";
23 changelog = "https://github.com/google/aarch64-esr-decoder/blob/${version}/CHANGELOG.md";
24 license = lib.licenses.asl20;
25 maintainers = with lib.maintainers; [ jmbaur ];
26 mainProgram = "aarch64-esr-decoder";
27 };
28}