rofi-pulse-select: init at 0.2.0

This commit is contained in:
Damien Cassou 2021-12-05 17:02:03 +01:00
parent 28eef230ec
commit 95655d9152
No known key found for this signature in database
GPG Key ID: B68746238E59B548
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ stdenv
, fetchFromGitLab
, lib
, makeWrapper
, ponymix
, rofi-unwrapped
}:
stdenv.mkDerivation rec {
pname = "rofi-pulse-select";
version = "0.2.0";
src = fetchFromGitLab {
owner = "DamienCassou";
repo = pname;
rev = "${version}";
sha256 = "1405v0bh2m8ip9c23l95i8iq2gfrpanc6f4dz17nysdcff2ay2p3";
};
installPhase = ''
runHook preInstall
install -D --target-directory=$out/bin/ ./rofi-pulse-select
wrapProgram $out/bin/rofi-pulse-select \
--prefix PATH ":" ${lib.makeBinPath [ rofi-unwrapped ponymix ]}
runHook postInstall
'';
nativeBuildInputs = [ makeWrapper ];
meta = with lib; {
description = "Rofi-based interface to select source/sink (aka input/output) with PulseAudio";
homepage = "https://gitlab.com/DamienCassou/rofi-pulse-select";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ DamienCassou ];
platforms = platforms.linux;
};
}

View File

@ -27114,6 +27114,8 @@ with pkgs;
rofi-power-menu = callPackage ../applications/misc/rofi-power-menu { }; rofi-power-menu = callPackage ../applications/misc/rofi-power-menu { };
rofi-pulse-select = callPackage ../applications/audio/rofi-pulse-select { };
rofi-vpn = callPackage ../applications/networking/rofi-vpn { }; rofi-vpn = callPackage ../applications/networking/rofi-vpn { };
ympd = callPackage ../applications/audio/ympd { }; ympd = callPackage ../applications/audio/ympd { };