diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2010-03-16 06:44:02 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2010-03-16 06:44:02 +0000 |
commit | f05adf46bd7214cab91cbb617189934810c4772e (patch) | |
tree | 550ad5619dafdec4bb1a70ff2a5d5a952bab398f /pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/default.nix | |
parent | 2ce4840754850ff57dfb69392fb29f61fec0e743 (diff) |
Make FlashPlayer9 build for now..
svn path=/nixpkgs/trunk/; revision=20641
Diffstat (limited to 'pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/default.nix')
-rw-r--r-- | pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/default.nix index 899d9fb48d2d9..913aa985583e7 100644 --- a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/default.nix +++ b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/default.nix @@ -15,6 +15,8 @@ , glib , pango , atk + +, customSrc ? null }: assert stdenv.system == "i686-linux"; @@ -23,10 +25,12 @@ stdenv.mkDerivation { name = "flashplayer-9.0.124.0"; builder = ./builder.sh; - src = fetchurl { - url = http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz; - sha256 = "16p98jf3y9041p8fk6cq7dqj7s4l4m7g9nhvc3dmhmld0075qagl"; - }; + 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; inherit zlib alsaLib; @@ -40,5 +44,4 @@ stdenv.mkDerivation { description = "Adobe Flash Player browser plugin"; homepage = http://www.adobe.com/products/flashplayer/; }; - } |