summary refs log tree commit diff
path: root/pkgs/servers/http/jetty/9.2.nix
blob: 4ac38e8d3cb1712ef1d8241a093c1601d710f8a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "jetty-9.2.5";

  src = fetchurl {
    url = "http://eclipse.org/downloads/download.php?file=/jetty/stable-9/dist/jetty-distribution-9.2.11.v20150529.tar.gz&r=1";
    name = "jetty-distribution-9.2.11.v20150529.tar.gz";
    sha256 = "1d9s9l64b1l3x6vkx8qwgzfqwm55iq5g9xjjm2h2akf494yx1mrd";
  };

  phases = [ "unpackPhase" "installPhase" ];

  installPhase = ''
    mkdir -p $out
    mv etc lib modules start.jar $out
  '';

  meta = {
    description = "A Web server and javax.servlet container";

    homepage = http://www.eclipse.org/jetty/;

    maintainers = [ stdenv.lib.maintainers.shlevy ];

    platforms = stdenv.lib.platforms.all;

    license = [ stdenv.lib.licenses.asl20 stdenv.lib.licenses.epl10 ];
  };
}