about summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/mozilla-plugins/mplayerplug-in/default.nix
blob: 3e08603d65db8bbc91a8818910561fb0470d6b78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{stdenv, fetchurl, pkgconfig, firefox, libXpm}:

# 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-2.80";

  builder = ./builder.sh;
  src = fetchurl {
    url = http://catamaran.labs.cs.uu.nl/dist/tarballs/mplayerplug-in-2.80.tar.gz;
    md5 = "ce3235ff7d46fae416cfb175193a5f25";
  };

  buildInputs = [pkgconfig firefox (firefox.gtk) libXpm];
  
  inherit firefox;
}) // {mozillaPlugin = "/lib/mozilla/plugins";}