asahi-*: add update script

This commit is contained in:
sempiternal-aurora
2026-03-28 00:11:52 +11:00
parent ffc18bfa10
commit 40913cf190
5 changed files with 25 additions and 0 deletions
+5
View File
@@ -2,6 +2,7 @@
lib,
fetchCrate,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -16,6 +17,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-nfSJ9RkzFAWlxlfoUKk8ZmIXDJXoSyHCGgRgMy9FDkw=";
cargoDepsName = finalAttrs.pname;
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Tool to select active boot partition on ARM Macs";
homepage = "https://crates.io/crates/asahi-bless";
+5
View File
@@ -2,6 +2,7 @@
lib,
fetchCrate,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -16,6 +17,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-gGWhi0T7xDIsbzfw/KL3TSneLvQaiz/2xbpHeZt1i3I=";
cargoDepsName = finalAttrs.pname;
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Tool to sync Bluetooth pairing keys with macos on ARM Macs";
homepage = "https://crates.io/crates/asahi-btsync";
+5
View File
@@ -2,6 +2,7 @@
lib,
fetchCrate,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -16,6 +17,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-NW/puo/Xoum7DjSQjBgilQcKbY3mAfVgXxUK6+1H1JI=";
cargoDepsName = finalAttrs.pname;
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Tool to read and write nvram variables on ARM Macs";
homepage = "https://crates.io/crates/asahi-nvram";
@@ -2,6 +2,7 @@
lib,
fetchCrate,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -16,6 +17,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-ZxgRxQyDID3mBpr8dhHScctk14Pm9V51Gn24d24JyVk=";
cargoDepsName = finalAttrs.pname;
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Tool to sync Wifi passwords with macos on ARM Macs";
homepage = "https://crates.io/crates/asahi-wifisync";
+5
View File
@@ -12,6 +12,7 @@
pango,
udev,
udevCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -55,6 +56,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
};
meta = {
homepage = "https://github.com/AsahiLinux/tiny-dfr";
description = "Most basic dynamic function row daemon possible";