pkgs: remove 'rofi-bluetooth'

Now that it is packaged upstream.
This commit is contained in:
Bruno BELANYI 2023-04-01 16:22:08 +01:00
parent f9ddcff5ee
commit 8fa1b9952c
2 changed files with 0 additions and 42 deletions

View file

@ -28,8 +28,6 @@ pkgs.lib.makeScope pkgs.newScope (pkgs: {
pnpm-lock-export = pkgs.callPackage ./pnpm-lock-export { }; pnpm-lock-export = pkgs.callPackage ./pnpm-lock-export { };
rofi-bluetooth = pkgs.callPackage ./rofi-bluetooth { };
unbound-zones-adblock = pkgs.callPackage ./unbound-zones-adblock { }; unbound-zones-adblock = pkgs.callPackage ./unbound-zones-adblock { };
unified-hosts-lists = pkgs.callPackage ./unified-hosts-lists { }; unified-hosts-lists = pkgs.callPackage ./unified-hosts-lists { };

View file

@ -1,40 +0,0 @@
{ lib, bluez, fetchFromGitHub, makeWrapper, rofi, stdenvNoCC }:
stdenvNoCC.mkDerivation rec {
pname = "rofi-bluetooth";
version = "unstable-2021-10-15";
src = fetchFromGitHub {
owner = "nickclyde";
repo = "rofi-bluetooth";
rev = "893db1f2b549e7bc0e9c62e7670314349a29cdf2";
sha256 = "sha256-3oROJKEQCuSnLfbJ+JSSc9hcmJTPrLHRQJsrUcaOMss=";
};
buildInputs = [
makeWrapper
];
installPhase = ''
mkdir -p $out/bin
cp $src/rofi-bluetooth $out/bin/
chmod a+x $out/bin/rofi-bluetooth
'';
wrapperPath = lib.makeBinPath [
rofi
bluez
];
fixupPhase = ''
patchShebangs $out/bin/${pname}
wrapProgram $out/bin/${pname} --prefix PATH : "${wrapperPath}"
'';
meta = with lib; {
description = "A rofi menu for managing bluetooth connections";
homepage = "https://github.com/nickclyde/rofi-bluetooth/commit/";
license = with licenses; [ gpl3Only ];
platforms = platforms.linux;
maintainers = with maintainers; [ ambroisie ];
};
}