wiremock: add passthru.updateScript

This commit is contained in:
Anthony Roussel 2023-11-03 11:48:21 +01:00
parent c4d3c3cc1a
commit 1f15c08dc9
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, jre, makeWrapper }:
{ lib, stdenv, fetchurl, jre, makeWrapper, gitUpdater }:
stdenv.mkDerivation rec {
pname = "wiremock";
@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
--add-flags "-jar $out/share/wiremock/wiremock.jar"
'';
passthru.updateScript = gitUpdater {
url = "https://github.com/wiremock/wiremock.git";
ignoredVersions = "(alpha|beta|rc).*";
};
meta = {
description = "A flexible tool for building mock APIs";
homepage = "https://wiremock.org/";