mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
jetty: add passthru.updateScript
This commit is contained in:
parent
fa9c8bb1b1
commit
f0e575ba95
@ -1,6 +1,6 @@
|
||||
{ version, hash }:
|
||||
|
||||
{ lib, stdenvNoCC, fetchurl }:
|
||||
{ lib, stdenvNoCC, fetchurl, gitUpdater }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "jetty";
|
||||
@ -19,6 +19,13 @@ 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; {
|
||||
description = "Web server and javax.servlet container";
|
||||
homepage = "https://eclipse.dev/jetty/";
|
||||
|
Loading…
Reference in New Issue
Block a user