From 287de4b092549f4d921ed3319ee879d1bc3c4431 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 17 Jan 2026 13:17:09 +0000 Subject: [PATCH] python3Packages.manim: 0.19.2 -> 0.20.0 Diff: https://github.com/ManimCommunity/manim/compare/v0.19.2...v0.20.0 Changelog: https://github.com/ManimCommunity/manim/releases/tag/v0.20.0 --- .../python-modules/manim/default.nix | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/manim/default.nix b/pkgs/development/python-modules/manim/default.nix index 560975af90a0..be20a1abbe51 100644 --- a/pkgs/development/python-modules/manim/default.nix +++ b/pkgs/development/python-modules/manim/default.nix @@ -185,16 +185,16 @@ let ] ); in -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "manim"; pyproject = true; - version = "0.19.2"; + version = "0.20.0"; src = fetchFromGitHub { owner = "ManimCommunity"; repo = "manim"; - tag = "v${version}"; - hash = "sha256-sM2IQdrqWVopo5Yzjmv6/KTHkgb/7Fma+plAc+gGwaM="; + tag = "v${finalAttrs.version}"; + hash = "sha256-sn33kI0AswuvE653hWmke+7+qdJo5COzPaL8Y2aGbsU="; }; build-system = [ @@ -205,6 +205,9 @@ buildPythonPackage rec { buildInputs = [ cairo ]; + pythonRelaxDeps = [ + "skia-pathops" + ]; dependencies = [ av beautifulsoup4 @@ -236,10 +239,6 @@ buildPythonPackage rec { audioop-lts ]; - pythonRelaxDeps = [ - "skia-pathops" - ]; - optional-dependencies = { jupyterlab = [ jupyterlab @@ -282,7 +281,7 @@ buildPythonPackage rec { manim. ''; mainProgram = "manim"; - changelog = "https://github.com/ManimCommunity/manim/releases/tag/${src.tag}"; + changelog = "https://github.com/ManimCommunity/manim/releases/tag/${finalAttrs.src.tag}"; homepage = "https://github.com/ManimCommunity/manim"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ @@ -290,4 +289,4 @@ buildPythonPackage rec { ivyfanchiang ]; }; -} +})