mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
icedtea7_web: New package
Java web browser plugin and an implementation of Java Web Start.
This commit is contained in:
parent
2d821edb92
commit
5fbc63be35
37
pkgs/development/compilers/icedtea-web/default.nix
Normal file
37
pkgs/development/compilers/icedtea-web/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv, fetchurl, jdk, gtk2, xulrunner, zip, pkgconfig, perl, npapi_sdk }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "icedtea-web-${version}";
|
||||||
|
|
||||||
|
version = "1.4.2";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://icedtea.wildebeest.org/download/source/${name}.tar.gz";
|
||||||
|
|
||||||
|
sha256 = "0bfw4icxjfkdxqmiqgp9lfs1ca9rydl57g3yhlxrif0fpzyyb3fl";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ gtk2 xulrunner zip pkgconfig npapi_sdk ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
substituteInPlace javac.in --replace '#!/usr/bin/perl' '#!${perl}/bin/perl'
|
||||||
|
'';
|
||||||
|
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
}
|
@ -2795,6 +2795,10 @@ let
|
|||||||
{ description = "Free Java runtime environment based on OpenJDK 7.0 and the IcedTea project"; }
|
{ description = "Free Java runtime environment based on OpenJDK 7.0 and the IcedTea project"; }
|
||||||
pkgs.icedtea7_jdk.jre)) // { outputs = [ "jre" ]; };
|
pkgs.icedtea7_jdk.jre)) // { outputs = [ "jre" ]; };
|
||||||
|
|
||||||
|
icedtea7_web = callPackage ../development/compilers/icedtea-web {
|
||||||
|
jdk = "${icedtea7_jdk}/lib/icedtea";
|
||||||
|
};
|
||||||
|
|
||||||
ikarus = callPackage ../development/compilers/ikarus { };
|
ikarus = callPackage ../development/compilers/ikarus { };
|
||||||
|
|
||||||
hugs = callPackage ../development/compilers/hugs { };
|
hugs = callPackage ../development/compilers/hugs { };
|
||||||
|
Loading…
Reference in New Issue
Block a user