diff options
Diffstat (limited to 'pkgs/desktops/xfce-4.6/applications/xfce4-mixer.nix')
-rw-r--r-- | pkgs/desktops/xfce-4.6/applications/xfce4-mixer.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/desktops/xfce-4.6/applications/xfce4-mixer.nix b/pkgs/desktops/xfce-4.6/applications/xfce4-mixer.nix new file mode 100644 index 0000000000000..db28274be0722 --- /dev/null +++ b/pkgs/desktops/xfce-4.6/applications/xfce4-mixer.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchurl, pkgconfig, intltool, glib, gst_all, gtk +, libxfce4util, libxfcegui4, xfce4panel, xfconf, makeWrapper }: + +let + + # The usual Gstreamer plugins package has a zillion dependencies + # that we don't need for a simple mixer, so build a minimal package. + gstPluginsBase = gst_all.gstPluginsBase.override { + minimalDeps = true; + }; + +in + +stdenv.mkDerivation rec { + name = "xfce4-mixer-4.6.1"; + + src = fetchurl { + url = "http://archive.xfce.org/src/apps/xfce4-mixer/4.6/${name}.tar.bz2"; + sha1 = "e86163782fc4fc31671c7cb212d23d34106ad3af"; + }; + + buildInputs = + [ pkgconfig intltool glib gst_all.gstreamer gstPluginsBase gtk + libxfce4util libxfcegui4 xfce4panel xfconf makeWrapper + ]; + + postInstall = + '' + mkdir -p $out/nix-support + echo ${gstPluginsBase} > $out/nix-support/propagated-user-env-packages + ''; + + meta = { + homepage = http://www.xfce.org/projects/xfce4-mixer; + description = "A volume control application for the Xfce desktop environment"; + license = "GPLv2+"; + }; +} |