diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/http/jetty')
-rw-r--r-- | nixpkgs/pkgs/servers/http/jetty/11.x.nix | 4 | ||||
-rw-r--r-- | nixpkgs/pkgs/servers/http/jetty/12.x.nix | 4 | ||||
-rw-r--r-- | nixpkgs/pkgs/servers/http/jetty/common.nix | 30 |
3 files changed, 38 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/http/jetty/11.x.nix b/nixpkgs/pkgs/servers/http/jetty/11.x.nix new file mode 100644 index 000000000000..0744d76a32d1 --- /dev/null +++ b/nixpkgs/pkgs/servers/http/jetty/11.x.nix @@ -0,0 +1,4 @@ +import ./common.nix { + version = "11.0.20"; + hash = "sha256-qOpIWht7Q8zjNRiHvpN5SBy+hOhddhgor5S55gWxHlQ="; +} diff --git a/nixpkgs/pkgs/servers/http/jetty/12.x.nix b/nixpkgs/pkgs/servers/http/jetty/12.x.nix new file mode 100644 index 000000000000..c3ad743310da --- /dev/null +++ b/nixpkgs/pkgs/servers/http/jetty/12.x.nix @@ -0,0 +1,4 @@ +import ./common.nix { + version = "12.0.7"; + hash = "sha256-n85MgRRWCaa7+KvGH1QyiQ03TFoAw7N2jPCJbmuGZNg="; +} diff --git a/nixpkgs/pkgs/servers/http/jetty/common.nix b/nixpkgs/pkgs/servers/http/jetty/common.nix new file mode 100644 index 000000000000..83adac4ddd0d --- /dev/null +++ b/nixpkgs/pkgs/servers/http/jetty/common.nix @@ -0,0 +1,30 @@ +{ 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 ]; + }; +} |