mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
31 lines
700 B
Nix
31 lines
700 B
Nix
{ version, hash }:
|
|
|
|
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "jetty";
|
|
|
|
inherit version;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://maven/org/eclipse/jetty/jetty-home/${version}/jetty-home-${version}.tar.gz";
|
|
inherit hash;
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
mv etc lib modules start.jar $out
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A Web server and javax.servlet container";
|
|
homepage = "https://eclipse.dev/jetty/";
|
|
platforms = platforms.all;
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
|
license = with licenses; [ asl20 epl10 ];
|
|
maintainers = with maintainers; [ emmanuelrosa anthonyroussel ];
|
|
};
|
|
}
|