nixpkgs/pkgs/by-name/as/asahi-nvram/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
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/'
2024-06-09 23:07:45 +02:00

26 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;
};
}