Unverified Commit bd185d4c authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

jikken: add version-regex to updateScript (#428912)

parents 1652ad87 9303e05a
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";