diff --git a/pkgs/by-name/as/asahi-btsync/package.nix b/pkgs/by-name/as/asahi-btsync/package.nix new file mode 100644 index 000000000000..2b01e757086b --- /dev/null +++ b/pkgs/by-name/as/asahi-btsync/package.nix @@ -0,0 +1,26 @@ +{ 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; + }; +}