Unverified Commit 9303e05a authored by Vinny Meller's avatar Vinny Meller
Browse files

jikken: add version-regex to updateScript

parent abfaee3e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -25,7 +25,12 @@ rustPlatform.buildRustPackage rec {

  buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_15 ];

  passthru.updateScript = nix-update-script { };
  passthru.updateScript = nix-update-script {
    extraArgs = [
      "--version-regex"
      "^(v\\d+\\.\\d+\\.\\d+)$"
    ];
  };

  meta = with lib; {
    description = "Powerful, source control friendly REST API testing toolkit";