Unverified Commit 10494366 authored by Florian Klink's avatar Florian Klink Committed by GitHub
Browse files

Merge pull request #302205 from lukaslihotzki/asahi-nvram

asahi-*: init
parents 865ce9d5 22865a32
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -11828,6 +11828,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-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 = "A 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;
  };
}
+26 −0
Original line number Diff line number Diff line
{ lib
, fetchCrate
, rustPlatform
}:

rustPlatform.buildRustPackage rec {
  pname = "asahi-btsync";
  version = "0.2.0";

  src = fetchCrate {
    inherit pname version;
    hash = "sha256-jp05WcwY1cWh4mBQj+3jRCZoG32OhDvTB84hOAGemX8=";
  };

  cargoHash = "sha256-XsgWqdwb0DDsK6HkaoVGQB/mm1U1TVzJM5q/gt9GryA=";
  cargoDepsName = pname;

  meta = with lib; {
    description = "A tool to sync Bluetooth pairing keys with macos on ARM Macs";
    homepage = "https://crates.io/crates/asahi-btsync";
    license = licenses.mit;
    maintainers = with maintainers; [ lukaslihotzki ];
    mainProgram = "asahi-btsync";
    platforms = platforms.linux;
  };
}
+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;
  };
}
+26 −0
Original line number Diff line number Diff line
{ lib
, fetchCrate
, rustPlatform
}:

rustPlatform.buildRustPackage rec {
  pname = "asahi-wifisync";
  version = "0.2.0";

  src = fetchCrate {
    inherit pname version;
    hash = "sha256-wKd6rUUnegvl6cHODVQlllaOXuAGlmwx9gr73I/2l/c=";
  };

  cargoHash = "sha256-UF1T0uAFO/ydTWigYXOP9Ju1qgV1oBmJuXSq4faSzJM=";
  cargoDepsName = pname;

  meta = with lib; {
    description = "A tool to sync Wifi passwords with macos on ARM Macs";
    homepage = "https://crates.io/crates/asahi-wifisync";
    license = licenses.mit;
    maintainers = with maintainers; [ lukaslihotzki ];
    mainProgram = "asahi-wifisync";
    platforms = platforms.linux;
  };
}