From 8f77ea4e05fd52fd2a294d57b08198b2f0ab8996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 17 Jan 2024 19:24:43 -0800 Subject: [PATCH] manim: relax version constraints --- pkgs/applications/video/manim/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/video/manim/default.nix b/pkgs/applications/video/manim/default.nix index 70b3ad8e1e45..2768dadad826 100644 --- a/pkgs/applications/video/manim/default.nix +++ b/pkgs/applications/video/manim/default.nix @@ -54,11 +54,18 @@ in python.pkgs.buildPythonApplication rec { owner = "ManimCommunity"; repo = "manim"; rev = "refs/tags/v${version}"; - sha256 = "sha256-TI7O0b1JvUZAxTj6XfpAJKhbGqrGnhcrE9eRJUVx4GM="; + hash = "sha256-TI7O0b1JvUZAxTj6XfpAJKhbGqrGnhcrE9eRJUVx4GM="; }; nativeBuildInputs = with python.pkgs; [ poetry-core + pythonRelaxDepsHook + ]; + + pythonRelaxDeps = [ + "cloup" + "pillow" + "skia-pathops" ]; patches = [ @@ -67,8 +74,7 @@ in python.pkgs.buildPythonApplication rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace "--no-cov-on-fail --cov=manim --cov-report xml --cov-report term" "" \ - --replace 'cloup = "^0.13.0"' 'cloup = "*"' \ + --replace "--no-cov-on-fail --cov=manim --cov-report xml --cov-report term" "" ''; buildInputs = [ cairo ];