mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 18:54:42 +00:00
volume-mixer gnome-shell extension: init
This commit is contained in:
parent
08125c4a5f
commit
74d7513a2a
34
pkgs/desktops/gnome-3/extensions/volume-mixer.nix
Normal file
34
pkgs/desktops/gnome-3/extensions/volume-mixer.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv, fetchFromGitHub, glib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnome-shell-volume-mixer-${version}";
|
||||
version = "844ed80ad448855d8f6218847183a80474b523c7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aleho";
|
||||
repo = "gnome-shell-volume-mixer";
|
||||
rev = version;
|
||||
sha256 = "1vcj2spbymhdi1nazvhldvcfgad23r3h7f0ihh4nianbxn7hjs9w";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
${glib}/bin/glib-compile-schemas --targetdir=${uuid}/schemas ${uuid}/schemas
|
||||
'';
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
@ -15175,6 +15175,7 @@ in
|
||||
gnome3 = self.gnome3_18 // {
|
||||
shellExtensions = {
|
||||
impatience = callPackage ../desktops/gnome-3/extensions/impatience.nix {};
|
||||
volume-mixer = callPackage ../desktops/gnome-3/extensions/volume-mixer.nix {};
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user