2019-03-03 23:27:55 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-sound-output-device-chooser";
|
2019-09-23 23:53:03 +01:00
|
|
|
version = "24";
|
2019-03-03 23:27:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kgshank";
|
|
|
|
repo = "gse-sound-output-device-chooser";
|
2019-09-23 23:53:03 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0n1rf4pdf0b78ivmz89x223sqlzv30qydkvlnvn7hwx0j32kyr0x";
|
2019-03-03 23:27:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
uuid = "sound-output-device-chooser@kgshank.net";
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/gnome-shell/extensions
|
|
|
|
cp -r ${uuid} $out/share/gnome-shell/extensions
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "GNOME Shell extension adding audio device chooser to panel";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
|
|
homepage = https://github.com/kgshank/gse-sound-output-device-chooser;
|
|
|
|
};
|
|
|
|
}
|