{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 { name = "mplayerplug-in-3.45"; builder = ./builder.sh; src = fetchurl { url = mirror://sourceforge/mplayerplug-in/mplayerplug-in-3.45.tar.gz; sha256 = "0cfl0s7v1bgdak39x7s2hnx968qs3vlv09gmwms27czimn8vijiz"; }; 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/; }; }