cosmic-player: add updateScript
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user