diff options
Diffstat (limited to 'pkgs/applications/video/manim/default.nix')
-rw-r--r-- | pkgs/applications/video/manim/default.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/applications/video/manim/default.nix b/pkgs/applications/video/manim/default.nix index 70b3ad8e1e455..2768dadad8265 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 ]; |