nixpkgs/pkgs/applications/networking/browsers/mozilla-plugins/mplayerplug-in/default.nix
Ludovic Courtès adec4e74f5 Mozilla MPlayer plug-in 3.55.
svn path=/nixpkgs/trunk/; revision=12440
2008-07-28 16:43:16 +00:00

29 lines
765 B
Nix

{stdenv, fetchurl, pkgconfig, firefox, libXpm, gettext}:
# Note: we shouldn't be dependent on Firefox. The only thing we need
# are the include files so that we can access the plugin API (I
# think).
stdenv.mkDerivation rec {
name = "mplayerplug-in-3.55";
builder = ./builder.sh;
src = fetchurl {
url = "mirror://sourceforge/mplayerplug-in/${name}.tar.gz";
sha256 = "0zkvqrzibrbljiccvz3rhbmgifxadlrfjylqpz48jnjx9kggynms";
};
buildInputs = [pkgconfig firefox (firefox.gtk) libXpm gettext];
inherit firefox;
passthru = {
mozillaPlugin = "/lib/mozilla/plugins";
};
meta = {
description = "A browser plugin that uses mplayer to play digital media from websites";
homepage = http://mplayerplug-in.sourceforge.net/;
};
}