about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorLukas Lihotzki <lukas@lihotzki.de>2024-04-08 01:17:48 +0200
committerLukas Lihotzki <lukas@lihotzki.de>2024-04-11 21:29:29 +0200
commit5d5d9bb3db5483a5649d53084726768f6d4fff49 (patch)
tree534d9e90eb89572ff4530d68c2436076d4acbf95 /pkgs
parent9db507982c26f50152d073cc818149de3cb42994 (diff)
asahi-bless: init at 0.3.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/by-name/as/asahi-bless/package.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/by-name/as/asahi-bless/package.nix b/pkgs/by-name/as/asahi-bless/package.nix
new file mode 100644
index 0000000000000..96943722a3c52
--- /dev/null
+++ b/pkgs/by-name/as/asahi-bless/package.nix
@@ -0,0 +1,26 @@
+{ 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;
+  };
+}