about summary refs log tree commit diff
path: root/pkgs/applications/video/mpv
diff options
context:
space:
mode:
authorSamuel Gräfenstein <git@samuelgrf.com>2021-11-22 15:20:41 +0100
committerSamuel Gräfenstein <git@samuelgrf.com>2021-11-22 17:09:22 +0100
commit5c706a49a629cfe97386a95907c811975ba1f62b (patch)
treeb6b07da080db0231040244f4b65e48d4853ca20c /pkgs/applications/video/mpv
parentd63f471907601cace04c676a0cda68f541f5e040 (diff)
mpv: inherit meta from mpv-unwrapped
Co-authored-by: Thiago Kenji Okada <thiagokokada@gmail.com>
Diffstat (limited to 'pkgs/applications/video/mpv')
-rw-r--r--pkgs/applications/video/mpv/wrapper.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/video/mpv/wrapper.nix b/pkgs/applications/video/mpv/wrapper.nix
index c097489a33c45..28414c3756d99 100644
--- a/pkgs/applications/video/mpv/wrapper.nix
+++ b/pkgs/applications/video/mpv/wrapper.nix
@@ -80,7 +80,10 @@ let
         makeWrapper "${mpv}/Applications/mpv.app/Contents/MacOS/mpv" "$out/Applications/mpv.app/Contents/MacOS/mpv" ${mostMakeWrapperArgs}
       '';
 
-      meta.mainProgram = "mpv";
+      meta = {
+        inherit (mpv.meta) homepage description longDescription maintainers;
+        mainProgram = "mpv";
+      };
     };
 in
   lib.makeOverridable wrapper