2023-11-16 04:20:00 +00:00
|
|
|
{ version, hash }:
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "jetty";
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
inherit version;
|
|
|
|
|
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";
|
2023-11-16 04:20:00 +00:00
|
|
|
inherit hash;
|
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";
|
2023-11-16 04:20:00 +00:00
|
|
|
homepage = "https://eclipse.dev/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 ];
|
2023-11-16 04:20:00 +00:00
|
|
|
maintainers = with maintainers; [ emmanuelrosa anthonyroussel ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|