1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 07:34:36 +00:00
nixpkgs/pkgs/development/compilers/icedtea-web/default.nix

40 lines
1.1 KiB
Nix
Raw Normal View History

2015-09-18 21:09:20 +01:00
{ stdenv, fetchurl, jdk, gtk2, xulrunner, zip, pkgconfig, perl, npapi_sdk, bash, bc }:
stdenv.mkDerivation rec {
name = "icedtea-web-${version}";
2016-02-08 11:29:37 +00:00
version = "1.6.2";
src = fetchurl {
url = "http://icedtea.wildebeest.org/download/source/${name}.tar.gz";
2016-02-08 11:29:37 +00:00
sha256 = "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf";
};
2015-09-18 21:09:20 +01:00
nativeBuildInputs = [ pkgconfig bc perl ];
buildInputs = [ gtk2 xulrunner zip npapi_sdk ];
preConfigure = ''
2015-09-18 21:09:20 +01:00
#patchShebangs javac.in
configureFlagsArray+=("BIN_BASH=${bash}/bin/bash")
'';
configureFlags = [
2015-01-07 19:26:59 +00:00
"--with-jdk-home=${jdk.home}"
2015-09-18 21:09:20 +01:00
"--disable-docs"
];
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;
};
}