oscar: add passthru.updateScript (#430817)

This commit is contained in:
Weijia Wang
2025-08-04 11:22:00 -06:00
committed by GitHub
+8
View File
@@ -4,6 +4,7 @@
qt5,
fetchFromGitLab,
libGLU,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "oscar";
@@ -50,6 +51,13 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"^v([0-9.]+)$"
];
};
meta = with lib; {
homepage = "https://www.sleepfiles.com/OSCAR/";
description = "Software for reviewing and exploring data produced by CPAP and related machines used in the treatment of sleep apnea";