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