Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.7 kB · 97 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder,
hatchling, hatch-fancy-pypi-readme, manim, ffmpeg,
beautifulsoup4, click, click-default-group, jinja2, lxml, numpy, pillow, pydantic, pydantic-extra-types, python-pptx, qtpy, requests, rich, rtoml, tqdm, pyqt6,
# Optional dependencies ipython,
# As Module or application? withGui ? false,}:buildPythonPackage rec { pname = "manim-slides"; version = "5.5.1"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "jeertmans"; repo = "manim-slides"; tag = "v${version}"; hash = "sha256-V1uopwyA6y+oTofaezA4pR+ewrh0TRmCwoYhIR/iH7I="; };
build-system = [ hatchling hatch-fancy-pypi-readme ];
pythonRelaxDeps = [ "rtoml" "qtpy" ];
dependencies = [ beautifulsoup4 click click-default-group jinja2 lxml numpy pillow pydantic pydantic-extra-types python-pptx qtpy requests rich rtoml tqdm
# avconv is a potential alternative ffmpeg # This could also be manimgl, but that is not (yet) packaged manim ] ++ lib.lists.optional (!withGui) ipython ++ lib.lists.optional withGui # dependency of qtpy (could also be pyqt5) pyqt6;
pythonImportsCheck = [ "manim_slides" ];
meta = { changelog = "https://github.com/jeertmans/manim-slides/blob/${src.tag}/CHANGELOG.md"; description = "Tool for live presentations using manim"; homepage = "https://github.com/jeertmans/manim-slides"; license = lib.licenses.mit; mainProgram = "manim-slides"; maintainers = with lib.maintainers; [ bpeetz ]; };}