nixpkgs/pkgs/by-name/as/asahi-nvram/package.nix
2024-04-11 21:29:29 +02:00

27 lines
642 B
Nix

{ lib
, fetchCrate
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "asahi-nvram";
version = "0.2.1";
src = fetchCrate {
inherit pname version;
hash = "sha256-bFUFjHVTYj0eUmhijraOdeCvAt2UGX8+yyvooYN1Uo0=";
};
cargoHash = "sha256-WhySIQew8xxdwXLWkpvTYQZFiqCEPjEAjr7NVxfjDkU=";
cargoDepsName = pname;
meta = with lib; {
description = "A tool to read and write nvram variables on ARM Macs";
homepage = "https://crates.io/crates/asahi-nvram";
license = licenses.mit;
maintainers = with maintainers; [ lukaslihotzki ];
mainProgram = "asahi-nvram";
platforms = platforms.linux;
};
}