2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "jetty";
|
2021-07-14 22:03:04 +00:00
|
|
|
version = "9.4.43.v20210629";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "mirror://maven/org/eclipse/jetty/jetty-distribution/${version}/jetty-distribution-${version}.tar.gz";
|
2021-07-14 22:03:04 +00:00
|
|
|
sha256 = "sha256-AfrmVLCZMuRGAZqoWeevbgXifbreErVM17rjJJ/HI9k=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
dontBuild = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
mv etc lib modules start.ini start.jar $out
|
|
|
|
'';
|
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A Web server and javax.servlet container";
|
|
|
|
homepage = "https://www.eclipse.org/jetty/";
|
2021-05-03 20:48:10 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = with licenses; [ asl20 epl10 ];
|
|
|
|
maintainers = with maintainers; [ emmanuelrosa ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|