2007-02-27 16:15:20 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, firefox, libXpm, gettext}:
|
2003-11-13 14:11:38 +01:00
|
|
|
|
2008-07-28 18:43:16 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mplayerplug-in-3.55";
|
2003-11-13 14:11:38 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-07-28 18:43:16 +02:00
|
|
|
url = "mirror://sourceforge/mplayerplug-in/${name}.tar.gz";
|
|
|
|
sha256 = "0zkvqrzibrbljiccvz3rhbmgifxadlrfjylqpz48jnjx9kggynms";
|
2003-11-13 14:11:38 +01:00
|
|
|
};
|
|
|
|
|
2007-02-27 16:15:20 +01:00
|
|
|
buildInputs = [pkgconfig firefox (firefox.gtk) libXpm gettext];
|
2004-10-17 15:13:24 +02:00
|
|
|
|
2008-09-04 14:27:17 +02:00
|
|
|
installPhase = ''
|
|
|
|
ensureDir $out/lib/mozilla/plugins
|
|
|
|
cp -p mplayerplug-in*.so mplayerplug-in*.xpt $out/lib/mozilla/plugins
|
|
|
|
'';
|
2007-11-04 18:16:52 +01:00
|
|
|
|
|
|
|
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/;
|
|
|
|
};
|
|
|
|
}
|