From 98e5666672a02e8f48cb348aa94f3a10ed603897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Sat, 11 Feb 2023 17:12:53 +0100 Subject: [PATCH] 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). --- pkgs/applications/misc/rofi-bluetooth/default.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/misc/rofi-bluetooth/default.nix b/pkgs/applications/misc/rofi-bluetooth/default.nix index ed80e5d5af0e..d9824ca9977a 100644 --- a/pkgs/applications/misc/rofi-bluetooth/default.nix +++ b/pkgs/applications/misc/rofi-bluetooth/default.nix @@ -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; }; -} +})