Commit 374db7f8 authored by Jamie Magee's avatar Jamie Magee
Browse files

python3Packages.pyads: skip pre-release tags in update script



Co-authored-by: default avatarCopilot <copilot@github.com>
parent cc7503c5
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  adslib,
  buildPythonPackage,
  fetchFromGitHub,
  nix-update-script,
  pytestCheckHook,
  setuptools,
}:
@@ -45,6 +46,13 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "pyads" ];

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

  meta = {
    description = "Python wrapper for TwinCAT ADS library";
    homepage = "https://github.com/MrLeeh/pyads";