10 pname = "rofi-bluetooth";
11 version = "unstable-2023-02-03";
13 src = fetchFromGitHub {
15 repo = "rofi-bluetooth";
16 # https://github.com/nickclyde/rofi-bluetooth/issues/19
17 rev = "9d91c048ff129819f4c6e9e48a17bd54343bbffb";
18 sha256 = "sha256-1Xe3QFThIvJDCUznDP5ZBzwZEMuqmxpDIV+BcVvQDG8=";
21 nativeBuildInputs = [ makeWrapper ];
26 install -D --target-directory=$out/bin/ ./rofi-bluetooth
28 wrapProgram $out/bin/rofi-bluetooth \
29 --prefix PATH ":" ${lib.makeBinPath [ bc bluez ] }
35 description = "Rofi-based interface to connect to bluetooth devices and display status info";
36 homepage = "https://github.com/nickclyde/rofi-bluetooth";
37 license = licenses.gpl3Only;
38 maintainers = with maintainers; [ MoritzBoehme ];
39 mainProgram = "rofi-bluetooth";
40 platforms = platforms.linux;