diff options
author | Naoki Pross <np@0hm.ch> | 2021-10-20 19:08:25 +0200 |
---|---|---|
committer | Naoki Pross <np@0hm.ch> | 2021-10-20 19:08:25 +0200 |
commit | 2a8e1edcac88d92c50b8b7431fb5eef0c1241582 (patch) | |
tree | 477228b73d67230863ab706c6b60afbae22d73d0 /video/manimgl.nix | |
parent | Typos in theory, remove QAM, start QPSK picture (diff) | |
download | Fading-2a8e1edcac88d92c50b8b7431fb5eef0c1241582.tar.gz Fading-2a8e1edcac88d92c50b8b7431fb5eef0c1241582.zip |
Remove useless folders in video/
Diffstat (limited to 'video/manimgl.nix')
-rw-r--r-- | video/manimgl.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/video/manimgl.nix b/video/manimgl.nix new file mode 100644 index 0000000..cdab07e --- /dev/null +++ b/video/manimgl.nix @@ -0,0 +1,30 @@ +{ lib, pkgs, buildPythonApplication, buildPythonPackage, fetchPypi, pythonOlder, + manimpango, mapbox-earcut }: + +buildPythonApplication rec { + pname = "manimgl"; + version = "1.2.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "1bsrn72vjzfz3ldh3cjn9r2gxr18408ja2shz50qwh7jnwi8alyb"; + }; + + preConfigure = '' + sed -i '/argparse/d' manimgl.egg-info/requires.txt + sed -i '/argparse/d' setup.cfg + ''; + + doCheck = false; + + propagatedBuildInputs = [ manimpango mapbox-earcut ] ++ (with pkgs; [ + texlive.combined.scheme-full ffmpeg + ]) ++ (with pkgs.python3Packages; [ + cython sympy numpy pydub scipy pyyaml pyopengl pyopengl-accelerate moderngl moderngl-window + matplotlib colour rich screeninfo tqdm validators + ]); + + disabled = pythonOlder "3.7"; + + meta = { }; +} |