oscar: add passthru.updateScript (#430817)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user