nixpkgs/pkgs/by-name/as/asahi-btsync/package.nix
2024-04-11 21:29:29 +02:00

26 lines
653 B
Nix

{ 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;
};
}