wiremock: add passthru.updateScript
This commit is contained in:
parent
c4d3c3cc1a
commit
1f15c08dc9
@ -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/";
|
||||
|
Loading…
Reference in New Issue
Block a user