manim 0 -> 1 attrpath: manim Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/bqbyjpfvic0cxqgvjrgmhs2p16lj3997-packages.json.drv building '/nix/store/bqbyjpfvic0cxqgvjrgmhs2p16lj3997-packages.json.drv'... Going to be running update for following packages: - manim-0.18.0 Press Enter key to continue... Running update for: - manim-0.18.0: UPDATING ... - manim-0.18.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/applications/video/manim/default.nix b/pkgs/applications/video/manim/default.nix index 423f8cf8eb9c..57186eec19f8 100644 --- a/pkgs/applications/video/manim/default.nix +++ b/pkgs/applications/video/manim/default.nix @@ -47,14 +47,14 @@ let in python.pkgs.buildPythonApplication rec { pname = "manim"; pyproject = true; - version = "0.18.0"; + version = "0.18.0.post0"; disabled = python3.pythonOlder "3.8"; src = fetchFromGitHub { owner = "ManimCommunity"; repo = "manim"; rev = "refs/tags/v${version}"; - hash = "sha256-TI7O0b1JvUZAxTj6XfpAJKhbGqrGnhcrE9eRJUVx4GM="; + hash = "sha256-4HwQ74oHloK+1KOD6SzXCzGIDD+Dc0jDabw6/+cqmos="; }; nativeBuildInputs = with python.pkgs; [ No auto update branch exists Old version 0.18.0" not present in master derivation file with contents: { lib , fetchFromGitHub , cairo , ffmpeg , texliveInfraOnly , python3 }: let # According to ManimCommunity documentation manim uses tex-packages packaged # in a custom distribution called "manim-latex", # # https://community.chocolatey.org/packages/manim-latex#files # # which includes another cutom distribution called tinytex, for which the # package list can be found at # # https://github.com/yihui/tinytex/blob/master/tools/pkgs-custom.txt # # these two combined add up to: manim-tinytex = texliveInfraOnly.withPackages (ps: with ps; [ # tinytex amsfonts amsmath atbegshi atveryend auxhook babel bibtex bigintcalc bitset booktabs cm dehyph dvipdfmx dvips ec epstopdf-pkg etex etexcmds etoolbox euenc everyshi fancyvrb filehook firstaid float fontspec framed geometry gettitlestring glyphlist graphics graphics-cfg graphics-def grffile helvetic hycolor hyperref hyph-utf8 iftex inconsolata infwarerr intcalc knuth-lib kvdefinekeys kvoptions kvsetkeys l3backend l3kernel l3packages latex latex-amsmath-dev latex-bin latex-fonts latex-tools-dev latexconfig latexmk letltxmacro lm lm-math ltxcmds lua-alt-getopt luahbtex lualatex-math lualibs luaotfload luatex mdwtools metafont mfware natbib pdfescape pdftex pdftexcmds plain psnfss refcount rerunfilecheck stringenc tex tex-ini-files times tipa tools unicode-data unicode-math uniquecounter url xcolor xetex xetexconfig xkeyval xunicode zapfding # manim-latex standalone everysel preview doublestroke ms setspace rsfs relsize ragged2e fundus-calligra microtype wasysym physics dvisvgm jknapltx wasy cm-super babel-english gnu-freefont mathastext cbfonts-fd ]); python = python3; in python.pkgs.buildPythonApplication rec { pname = "manim"; pyproject = true; version = "0.18.0.post0"; disabled = python3.pythonOlder "3.8"; src = fetchFromGitHub { owner = "ManimCommunity"; repo = "manim"; rev = "refs/tags/v${version}"; hash = "sha256-4HwQ74oHloK+1KOD6SzXCzGIDD+Dc0jDabw6/+cqmos="; }; nativeBuildInputs = with python.pkgs; [ poetry-core pythonRelaxDepsHook ]; pythonRelaxDeps = [ "cloup" "isosurfaces" "pillow" "skia-pathops" "watchdog" ]; patches = [ ./pytest-report-header.patch ]; postPatch = '' substituteInPlace pyproject.toml \ --replace "--no-cov-on-fail --cov=manim --cov-report xml --cov-report term" "" ''; buildInputs = [ cairo ]; propagatedBuildInputs = with python.pkgs; [ click click-default-group cloup colour grpcio grpcio-tools importlib-metadata isosurfaces jupyterlab manimpango mapbox-earcut moderngl moderngl-window networkx numpy pillow pycairo pydub pygments pysrt rich scipy screeninfo skia-pathops srt svgelements tqdm watchdog ]; makeWrapperArgs = [ "--prefix" "PATH" ":" (lib.makeBinPath [ ffmpeg manim-tinytex ]) ]; nativeCheckInputs = [ ffmpeg manim-tinytex ] ++ (with python.pkgs; [ pytest-xdist pytestCheckHook ]); # about 55 of ~600 tests failing mostly due to demand for display disabledTests = import ./failing_tests.nix; pythonImportsCheck = [ "manim" ]; meta = with lib; { description = "Animation engine for explanatory math videos - Community version"; longDescription = '' Manim is an animation engine for explanatory math videos. It's used to create precise animations programmatically, as seen in the videos of 3Blue1Brown on YouTube. This is the community maintained version of manim. ''; homepage = "https://github.com/ManimCommunity/manim"; license = licenses.mit; maintainers = with maintainers; [ friedelino ]; }; }