nixpkgs/pkgs/desktops/xfce-4.8/applications/xfce4-mixer.nix
Eelco Dolstra d80391b7df * Add Xfce 4.8 to the channel.
svn path=/nixpkgs/trunk/; revision=29050
2011-09-05 23:30:26 +00:00

41 lines
1.1 KiB
Nix

{ stdenv, fetchurl, pkgconfig, intltool, glib, gst_all, gtk
, libxfce4util, libxfce4ui, xfce4panel, xfconf }:
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.8.0";
src = fetchurl {
url = "http://archive.xfce.org/src/apps/xfce4-mixer/4.8/${name}.tar.bz2";
sha1 = "24f3401a68f10d2c620e354a6de98e09fe808665";
};
buildInputs =
[ pkgconfig intltool glib gst_all.gstreamer gstPluginsBase gtk
libxfce4util libxfce4ui xfce4panel xfconf
];
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+";
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}