diff options
author | Aneesh Agrawal <aneeshusa@gmail.com> | 2016-04-13 23:09:52 -0400 |
---|---|---|
committer | Aneesh Agrawal <aneeshusa@gmail.com> | 2016-04-15 16:19:43 -0400 |
commit | 74d7513a2ab38ae9fb5d1f8083b0ca5027497179 (patch) | |
tree | f95d36fa5e4d358e801b7f378ca44c50fba8589b /pkgs/desktops | |
parent | 08125c4a5f1918696ca41c6b0c6f4568fc18da30 (diff) | |
download | nixpkgs-74d7513a2ab38ae9fb5d1f8083b0ca5027497179.tar nixpkgs-74d7513a2ab38ae9fb5d1f8083b0ca5027497179.tar.gz nixpkgs-74d7513a2ab38ae9fb5d1f8083b0ca5027497179.tar.bz2 nixpkgs-74d7513a2ab38ae9fb5d1f8083b0ca5027497179.tar.lz nixpkgs-74d7513a2ab38ae9fb5d1f8083b0ca5027497179.tar.xz nixpkgs-74d7513a2ab38ae9fb5d1f8083b0ca5027497179.tar.zst nixpkgs-74d7513a2ab38ae9fb5d1f8083b0ca5027497179.zip |
volume-mixer gnome-shell extension: init
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/gnome-3/extensions/volume-mixer.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome-3/extensions/volume-mixer.nix b/pkgs/desktops/gnome-3/extensions/volume-mixer.nix new file mode 100644 index 00000000000..845d21f5219 --- /dev/null +++ b/pkgs/desktops/gnome-3/extensions/volume-mixer.nix @@ -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; + }; +} |