mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
640 B
Nix
27 lines
640 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 = "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;
|
|
};
|
|
}
|