Commit 14518fc5 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

python313Packages.mrsqm: add updateScript

This is to try and prevent downgrade come next python-updates
parent adb168c5
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
  pip,
  setuptools,
  pytestCheckHook,
  nix-update-script,
}:

buildPythonPackage rec {
@@ -63,6 +64,13 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "mrsqm" ];

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

  meta = {
    description = "MrSQM (Multiple Representations Sequence Miner) is a time series classifier";
    homepage = "https://pypi.org/project/mrsqm";