From 35685c55e8dd0bb8a4c49a9f182c862d25e42b4c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 30 May 2026 20:20:49 +0200 Subject: [PATCH] mplayer: enable strictDeps and structuredAttrs --- pkgs/applications/video/mplayer/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/video/mplayer/default.nix b/pkgs/applications/video/mplayer/default.nix index e4801c2f8935..b54747b99a42 100644 --- a/pkgs/applications/video/mplayer/default.nix +++ b/pkgs/applications/video/mplayer/default.nix @@ -137,6 +137,9 @@ stdenv.mkDerivation { nativeBuildInputs = [ pkg-config yasm + ] + ++ lib.optionals cacaSupport [ + libcaca # caca-config ]; buildInputs = [ freetype @@ -176,6 +179,8 @@ stdenv.mkDerivation { ++ lib.optional bs2bSupport libbs2b ++ lib.optional v4lSupport libv4l; + strictDeps = true; + configurePlatforms = [ ]; configureFlags = [ (lib.enableFeature true "freetype") @@ -278,6 +283,8 @@ stdenv.mkDerivation { fi ''; + __structuredAttrs = true; + meta = { description = "Movie player that supports many video formats"; homepage = "http://mplayerhq.hu";