nixpkgs/pkgs/servers/http/jetty/9.2.nix

29 lines
724 B
Nix
Raw Normal View History

2014-11-24 00:27:11 +00:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "jetty-9.2.5";
src = fetchurl {
2015-06-10 20:40:42 +00:00
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";
2014-11-24 00:27:11 +00:00
};
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/;
platforms = stdenv.lib.platforms.all;
license = [ stdenv.lib.licenses.asl20 stdenv.lib.licenses.epl10 ];
};
}