Unverified Commit f50cace5 authored by Heitor Augusto's avatar Heitor Augusto
Browse files

cosmic-player: add updateScript

parent f38861be
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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";