2009-10-30 13:28:44 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, zlib
|
|
|
|
, alsaLib
|
|
|
|
, nss
|
|
|
|
, nspr
|
|
|
|
, fontconfig
|
|
|
|
, freetype
|
|
|
|
, expat
|
|
|
|
, libX11
|
|
|
|
, libXext
|
|
|
|
, libXrender
|
|
|
|
, libXt
|
|
|
|
, gtk
|
|
|
|
, glib
|
|
|
|
, pango
|
|
|
|
, atk
|
2010-03-16 07:44:02 +01:00
|
|
|
|
|
|
|
, customSrc ? null
|
2009-10-30 13:28:44 +01:00
|
|
|
}:
|
2006-11-01 15:27:20 +01:00
|
|
|
|
2007-05-16 16:34:27 +02:00
|
|
|
assert stdenv.system == "i686-linux";
|
|
|
|
|
2007-12-30 23:19:07 +01:00
|
|
|
stdenv.mkDerivation {
|
2008-05-26 15:32:23 +02:00
|
|
|
name = "flashplayer-9.0.124.0";
|
2006-11-01 15:27:20 +01:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
2010-03-16 07:44:02 +01:00
|
|
|
src = if customSrc == null then
|
|
|
|
fetchurl {
|
|
|
|
url = http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.tar.gz;
|
|
|
|
sha256 = "1cnsjgmy7rwj3spzb5mmpmvzxjp435jisl0dd8s4rf4xskyy6d6r";
|
|
|
|
}
|
|
|
|
else customSrc;
|
2006-11-01 15:27:20 +01:00
|
|
|
|
2007-01-24 19:01:00 +01:00
|
|
|
inherit zlib alsaLib;
|
2007-12-30 23:19:07 +01:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
mozillaPlugin = "/lib/mozilla/plugins";
|
|
|
|
};
|
|
|
|
|
2009-10-30 13:28:44 +01:00
|
|
|
rpath = stdenv.lib.makeLibraryPath [zlib alsaLib nss nspr fontconfig freetype expat libX11 libXext libXrender libXt gtk glib pango atk] ;
|
|
|
|
|
2007-12-30 23:19:07 +01:00
|
|
|
meta = {
|
|
|
|
description = "Adobe Flash Player browser plugin";
|
|
|
|
homepage = http://www.adobe.com/products/flashplayer/;
|
|
|
|
};
|
|
|
|
}
|