Merge pull request #327182 from anthonyroussel/update/jetty_2

jetty_11: 11.0.20 -> 11.0.22, jetty_12: 12.0.9 -> 12.0.11
This commit is contained in:
Weijia Wang
2024-07-17 03:50:21 +02:00
committed by GitHub
3 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import ./common.nix {
version = "11.0.20";
hash = "sha256-qOpIWht7Q8zjNRiHvpN5SBy+hOhddhgor5S55gWxHlQ=";
version = "11.0.22";
hash = "sha256-afFuUZ1csDuE60m+WKMriU/wObBZleTORLOCFU8qcJk=";
}
+2 -2
View File
@@ -1,4 +1,4 @@
import ./common.nix {
version = "12.0.9";
hash = "sha256-+/pn6Q24QDTaK+Slr+B17fshEXXh6sO1DWRuFGfi2h0=";
version = "12.0.11";
hash = "sha256-5fZMHb2ZpkoAFY/v124F+99Kq9vZypSYrG8QmQ/RK6k=";
}
+10 -2
View File
@@ -1,6 +1,6 @@
{ version, hash }:
{ lib, stdenvNoCC, fetchurl }:
{ lib, stdenvNoCC, fetchurl, gitUpdater }:
stdenvNoCC.mkDerivation rec {
pname = "jetty";
@@ -19,9 +19,17 @@ stdenvNoCC.mkDerivation rec {
mv etc lib modules start.jar $out
'';
passthru.updateScript = gitUpdater {
url = "https://github.com/jetty/jetty.project.git";
allowedVersions = "^${lib.versions.major version}\\.";
ignoredVersions = "(alpha|beta).*";
rev-prefix = "jetty-";
};
meta = with lib; {
changelog = "https://github.com/jetty/jetty.project/releases/tag/jetty-${version}";
description = "Web server and javax.servlet container";
homepage = "https://eclipse.dev/jetty/";
homepage = "https://jetty.org/";
platforms = platforms.all;
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = with licenses; [ asl20 epl10 ];