rofi-bluetooth: init at unstable-2021-03-05 (#185883)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
ee1795cc87
commit
63ac216215
41
pkgs/applications/misc/rofi-bluetooth/default.nix
Normal file
41
pkgs/applications/misc/rofi-bluetooth/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, makeWrapper
|
||||||
|
, rofi-unwrapped
|
||||||
|
, bluez
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "rofi-bluetooth";
|
||||||
|
version = "unstable-2021-03-05";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nickclyde";
|
||||||
|
repo = "rofi-bluetooth";
|
||||||
|
# https://github.com/nickclyde/rofi-bluetooth/issues/19
|
||||||
|
rev = "893db1f2b549e7bc0e9c62e7670314349a29cdf2";
|
||||||
|
sha256 = "sha256-3oROJKEQCuSnLfbJ+JSSc9hcmJTPrLHRQJsrUcaOMss=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -D --target-directory=$out/bin/ ./rofi-bluetooth
|
||||||
|
|
||||||
|
wrapProgram $out/bin/rofi-bluetooth \
|
||||||
|
--prefix PATH ":" ${lib.makeBinPath [ rofi-unwrapped bluez ] }
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Rofi-based interface to connect to bluetooth devices and display status info";
|
||||||
|
homepage = "https://github.com/nickclyde/rofi-bluetooth";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ MoritzBoehme ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -29534,6 +29534,8 @@ with pkgs;
|
||||||
|
|
||||||
rofi-mpd = callPackage ../applications/audio/rofi-mpd { };
|
rofi-mpd = callPackage ../applications/audio/rofi-mpd { };
|
||||||
|
|
||||||
|
rofi-bluetooth = callPackage ../applications/misc/rofi-bluetooth { };
|
||||||
|
|
||||||
rofi-calc = callPackage ../applications/science/math/rofi-calc { };
|
rofi-calc = callPackage ../applications/science/math/rofi-calc { };
|
||||||
|
|
||||||
rofi-emoji = callPackage ../applications/misc/rofi-emoji { };
|
rofi-emoji = callPackage ../applications/misc/rofi-emoji { };
|
||||||
|
|
Loading…
Reference in a new issue