2015-09-18 23:09:20 +03:00
|
|
|
{ stdenv, fetchurl, jdk, gtk2, xulrunner, zip, pkgconfig, perl, npapi_sdk, bash, bc }:
|
2014-03-24 23:52:18 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "icedtea-web-${version}";
|
|
|
|
|
2015-09-18 23:09:20 +03:00
|
|
|
version = "1.6.1";
|
2014-03-24 23:52:18 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://icedtea.wildebeest.org/download/source/${name}.tar.gz";
|
2015-09-18 23:09:20 +03:00
|
|
|
sha256 = "0869j9jn0z5b5pfspp4v5cj2ksmbqmmmjhqicn4kqc6wr6v6md59";
|
2014-03-24 23:52:18 +04:00
|
|
|
};
|
|
|
|
|
2015-09-18 23:09:20 +03:00
|
|
|
nativeBuildInputs = [ pkgconfig bc perl ];
|
|
|
|
buildInputs = [ gtk2 xulrunner zip npapi_sdk ];
|
2014-03-24 23:52:18 +04:00
|
|
|
|
|
|
|
preConfigure = ''
|
2015-09-18 23:09:20 +03:00
|
|
|
#patchShebangs javac.in
|
|
|
|
configureFlagsArray+=("BIN_BASH=${bash}/bin/bash")
|
2014-03-24 23:52:18 +04:00
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [
|
2015-01-07 22:26:59 +03:00
|
|
|
"--with-jdk-home=${jdk.home}"
|
2015-09-18 23:09:20 +03:00
|
|
|
"--disable-docs"
|
2014-03-24 23:52:18 +04:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|