python313Packages.mrsqm: add updateScript

This is to try and prevent downgrade come next python-updates
This commit is contained in:
Peder Bergebakken Sundt
2025-03-04 23:44:47 +01:00
parent adb168c52e
commit 14518fc5aa
@@ -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";