diff options
author | Anthony Roussel <anthony@roussel.dev> | 2023-11-03 11:48:21 +0100 |
---|---|---|
committer | Anthony Roussel <anthony@roussel.dev> | 2023-11-03 11:52:04 +0100 |
commit | 1f15c08dc995e1bf0e4687b484c69a13c11a5b6e (patch) | |
tree | 8c02e9046ed3bc416c9db48ae2d4c922a2b91dac /pkgs/by-name/wi | |
parent | c4d3c3cc1a4fc86e816b27433711fed76e04e5d4 (diff) |
wiremock: add passthru.updateScript
Diffstat (limited to 'pkgs/by-name/wi')
-rw-r--r-- | pkgs/by-name/wi/wiremock/package.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/by-name/wi/wiremock/package.nix b/pkgs/by-name/wi/wiremock/package.nix index 225e5b953bc23..380f3f1caa9d2 100644 --- a/pkgs/by-name/wi/wiremock/package.nix +++ b/pkgs/by-name/wi/wiremock/package.nix @@ -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/"; |