2014-04-08 10:36:44 +01:00
|
|
|
{ stdenv, fetchurl, jdk, gtk2, xulrunner, zip, pkgconfig, perl, npapi_sdk, bash }:
|
2014-03-24 19:52:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "icedtea-web-${version}";
|
|
|
|
|
2014-04-07 15:03:31 +01:00
|
|
|
version = "1.5";
|
2014-03-24 19:52:18 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://icedtea.wildebeest.org/download/source/${name}.tar.gz";
|
|
|
|
|
2014-04-07 15:03:31 +01:00
|
|
|
sha256 = "0bbwa944kaam0r8ldlqrrj9z9zj54v6zdc3q663ck59shw5z828w";
|
2014-03-24 19:52:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gtk2 xulrunner zip pkgconfig npapi_sdk ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace javac.in --replace '#!/usr/bin/perl' '#!${perl}/bin/perl'
|
2014-04-08 10:36:44 +01:00
|
|
|
|
|
|
|
configureFlags="BIN_BASH=${bash}/bin/bash $configureFlags"
|
2014-03-24 19:52:18 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-jdk-home=${jdk}"
|
|
|
|
];
|
|
|
|
|
|
|
|
mozillaPlugin = "/lib";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Java web browser plugin and an implementation of Java Web Start";
|
|
|
|
longDescription = ''
|
|
|
|
A Free Software web browser plugin running applets written in the Java
|
|
|
|
programming language and an implementation of Java Web Start, originally
|
|
|
|
based on the NetX project.
|
|
|
|
'';
|
|
|
|
homepage = http://icedtea.classpath.org/wiki/IcedTea-Web;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ wizeman ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|