Commit 9db50798 authored by Lukas Lihotzki's avatar Lukas Lihotzki
Browse files

asahi-nvram: init at 0.2.1

parent 04209b18
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -11787,6 +11787,12 @@
    githubId = 30468956;
    name = "Lukas Heiligenbrunner";
  };
  lukaslihotzki = {
    email = "lukas@lihotzki.de";
    github = "lukaslihotzki";
    githubId = 10326063;
    name = "Lukas Lihotzki";
  };
  lukaswrz = {
    email = "lukas@wrz.one";
    github = "lukaswrz";
+26 −0
Original line number Diff line number Diff line
{ 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;
  };
}