2004-10-17 06:13:24 -07:00
|
|
|
{stdenv, fetchurl, pkgconfig, firefox, libXpm}:
|
2003-11-13 05:11:38 -08:00
|
|
|
|
2004-10-17 06:13:24 -07:00
|
|
|
# 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).
|
2003-11-13 05:11:38 -08:00
|
|
|
|
2005-02-16 03:24:40 -08:00
|
|
|
(stdenv.mkDerivation {
|
2006-09-17 07:02:52 -07:00
|
|
|
name = "mplayerplug-in-3.31";
|
2003-11-13 05:11:38 -08:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2006-10-12 06:50:54 -07:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/mplayerplug-in-3.31.tar.gz;
|
2006-09-17 07:02:52 -07:00
|
|
|
md5 = "be26b17cde385c7a34fc634d2c88c5c9";
|
2003-11-13 05:11:38 -08:00
|
|
|
};
|
|
|
|
|
2004-10-17 06:13:24 -07:00
|
|
|
buildInputs = [pkgconfig firefox (firefox.gtk) libXpm];
|
|
|
|
|
|
|
|
inherit firefox;
|
2005-02-16 03:24:40 -08:00
|
|
|
}) // {mozillaPlugin = "/lib/mozilla/plugins";}
|