2016-04-14 03:09:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, glib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gnome-shell-volume-mixer";
|
2016-04-14 03:09:52 +00:00
|
|
|
version = "844ed80ad448855d8f6218847183a80474b523c7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aleho";
|
|
|
|
repo = "gnome-shell-volume-mixer";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1vcj2spbymhdi1nazvhldvcfgad23r3h7f0ihh4nianbxn7hjs9w";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
];
|
|
|
|
|
|
|
|
buildPhase = ''
|
2018-08-30 17:45:19 +00:00
|
|
|
glib-compile-schemas --targetdir=${uuid}/schemas ${uuid}/schemas
|
2016-04-14 03:09:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
cp -r ${uuid} $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
uuid = "shell-volume-mixer@derhofbauer.at";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "GNOME Shell Extension allowing separate configuration of PulseAudio devices";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ aneeshusa ];
|
|
|
|
homepage = https://github.com/aleho/gnome-shell-volume-mixer;
|
|
|
|
};
|
|
|
|
}
|