about summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/mozilla-plugins/mplayerplug-in/default.nix
blob: 92dabe96a532c32c6d709b8dc87f59c338b1a8f1 (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, 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.35";

  builder = ./builder.sh;
  src = fetchurl {
    url = http://heanet.dl.sourceforge.net/sourceforge/mplayerplug-in/mplayerplug-in-3.35.tar.gz;
    sha256 = "0zxd2nnmj4n9rkndd614ljv7ylz4f4jqvx1wswqfw5j7hwxm34dw";
  };

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