mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 22:04:20 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
31 lines
706 B
Nix
31 lines
706 B
Nix
{ version, hash }:
|
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
|
|
|
stdenvNoCC.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 = "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 ];
|
|
};
|
|
}
|