From b2ee4b62745b0b85fa5708b5429fa419b48eb101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 14 Nov 2025 06:57:21 -0800 Subject: [PATCH] python3Packages.manim: don't override av Overriding Python packages isn't allowed within python3Packages. --- pkgs/development/python-modules/manim/default.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/manim/default.nix b/pkgs/development/python-modules/manim/default.nix index 67d820774f35..04d864118ac3 100644 --- a/pkgs/development/python-modules/manim/default.nix +++ b/pkgs/development/python-modules/manim/default.nix @@ -183,16 +183,6 @@ let cbfonts-fd ] ); - # https://github.com/ManimCommunity/manim/pull/4037 - av_13_1 = av.overridePythonAttrs rec { - version = "13.1.0"; - src = fetchFromGitHub { - owner = "PyAV-Org"; - repo = "PyAV"; - tag = "v${version}"; - hash = "sha256-x2a9SC4uRplC6p0cD7fZcepFpRidbr6JJEEOaGSWl60="; - }; - }; in buildPythonPackage rec { pname = "manim"; @@ -216,7 +206,7 @@ buildPythonPackage rec { buildInputs = [ cairo ]; dependencies = [ - av_13_1 + av beautifulsoup4 click cloup @@ -278,6 +268,8 @@ buildPythonPackage rec { pythonImportsCheck = [ "manim" ]; meta = { + # https://github.com/ManimCommunity/manim/pull/4037 + broken = lib.versionAtLeast av.version "14"; description = "Animation engine for explanatory math videos - Community version"; longDescription = '' Manim is an animation engine for explanatory math videos. It's used to