cosmic-player: add updateScript

This commit is contained in:
Heitor Augusto
2025-02-26 16:48:41 -03:00
parent f38861be62
commit f50cace56b
+10
View File
@@ -12,6 +12,7 @@
gst_all_1,
libglvnd,
libgbm,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
@@ -70,6 +71,15 @@ rustPlatform.buildRustPackage rec {
libcosmicAppWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
'';
passthru.updateScript = nix-update-script {
extraArgs = [
"--version"
"unstable"
"--version-regex"
"epoch-(.*)"
];
};
meta = {
homepage = "https://github.com/pop-os/cosmic-player";
description = "Media player for the COSMIC Desktop Environment";