rofi-bluetooth: unstable-2021-03-05 -> unstable-2023-02-03

Update rofi-bluetooth to newest version and give users the option to
use wayland supported rofi fork (disabled by default).
This commit is contained in:
Moritz Böhme 2023-02-11 17:12:53 +01:00
parent e94718ba34
commit 98e5666672
No known key found for this signature in database
GPG Key ID: 970C6E89EB0547A9

View File

@ -2,20 +2,19 @@
, stdenv
, fetchFromGitHub
, makeWrapper
, rofi-unwrapped
, bluez
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "rofi-bluetooth";
version = "unstable-2021-03-05";
version = "unstable-2023-02-03";
src = fetchFromGitHub {
owner = "nickclyde";
repo = "rofi-bluetooth";
repo = finalAttrs.pname;
# https://github.com/nickclyde/rofi-bluetooth/issues/19
rev = "893db1f2b549e7bc0e9c62e7670314349a29cdf2";
sha256 = "sha256-3oROJKEQCuSnLfbJ+JSSc9hcmJTPrLHRQJsrUcaOMss=";
rev = "9d91c048ff129819f4c6e9e48a17bd54343bbffb";
sha256 = "sha256-1Xe3QFThIvJDCUznDP5ZBzwZEMuqmxpDIV+BcVvQDG8=";
};
nativeBuildInputs = [ makeWrapper ];
@ -26,7 +25,7 @@ stdenv.mkDerivation rec {
install -D --target-directory=$out/bin/ ./rofi-bluetooth
wrapProgram $out/bin/rofi-bluetooth \
--prefix PATH ":" ${lib.makeBinPath [ rofi-unwrapped bluez ] }
--prefix PATH ":" ${lib.makeBinPath [ bluez ] }
runHook postInstall
'';
@ -38,4 +37,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ MoritzBoehme ];
platforms = platforms.linux;
};
}
})