mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +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
638 B
Nix
27 lines
638 B
Nix
{ lib
|
|
, fetchCrate
|
|
, rustPlatform
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "asahi-bless";
|
|
version = "0.3.0";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-pgl424SqeHODsjGwNRJtVHT6sKRlYxlXl3esEKK02jc=";
|
|
};
|
|
|
|
cargoHash = "sha256-ilblP8nqb/eY0+9Iua298M7NQKv+IwtdliGd9ZYAVaM=";
|
|
cargoDepsName = pname;
|
|
|
|
meta = with lib; {
|
|
description = "Tool to select active boot partition on ARM Macs";
|
|
homepage = "https://crates.io/crates/asahi-bless";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ lukaslihotzki ];
|
|
mainProgram = "asahi-bless";
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|