2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "jetty";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "11.0.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2022-03-30 09:31:56 +00:00
|
|
|
url = "mirror://maven/org/eclipse/jetty/jetty-home/${version}/jetty-home-${version}.tar.gz";
|
|
|
|
sha256 = "sha256-fHd0o5f+WLdbDK1nmSnHNKjDO0mV7+vkPs4zVEaqeyw=";
|
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
|
2022-03-30 09:31:56 +00:00
|
|
|
mv etc lib modules start.jar $out
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
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;
|
2022-06-16 17:23:12 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
2021-05-03 20:48:10 +00:00
|
|
|
license = with licenses; [ asl20 epl10 ];
|
|
|
|
maintainers = with maintainers; [ emmanuelrosa ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|