nixpkgs/pkgs/servers/http/jetty/default.nix
Eelco Dolstra 4b009da5fd * Jetty 5.1.12 (couldn't get 5.1.14 to work quickly).
svn path=/nixpkgs/trunk/; revision=10702
2008-02-15 10:56:31 +00:00

20 lines
348 B
Nix

{stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
name = "jetty-5.1.12";
src = fetchurl {
url = ftp://ftp.mortbay.org/pub/jetty-5/jetty-5.1.12.zip;
sha256 = "04nysajgrlyvfh810jpyr8iay38kwjrbmh6bgs10mwd30qhj4rd1";
};
buildInputs = [unzip];
buildPhase = "true";
installPhase = ''
ensureDir $out
cp -pr * $out/
'';
}