Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.9 kB · 97 lines
Nix
at llvm-cleanup
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798{ lib, buildPythonPackage, decorator, fetchFromGitHub, imageio, imageio-ffmpeg, matplotlib, numpy, proglog, pytestCheckHook, pythonOlder, requests, scikit-image, scikit-learn, scipy, setuptools, tqdm, youtube-dl,}:
buildPythonPackage rec { pname = "moviepy"; version = "1.0.3"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "Zulko"; repo = "moviepy"; rev = "refs/tags/v${version}"; hash = "sha256-l7AwzAKSaEV+pPbltKgwllK6X54oruU2w0AvoCsrESE="; };
postPatch = '' substituteInPlace setup.py \ --replace-fail "decorator>=4.0.2,<5.0" "decorator>=4.0.2,<6.0" '';
build-system = [ setuptools ];
dependencies = [ decorator imageio imageio-ffmpeg numpy proglog requests tqdm ];
passthru.optional-dependencies = { optionals = [ matplotlib scikit-image scikit-learn scipy youtube-dl ]; };
nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [ "moviepy" ];
disabledTests = [ "test_cuts1" "test_issue" "test_PR" "test_setup" "test_subtitles" "test_sys_write_flush" ];
disabledTestPaths = [ "tests/test_compositing.py" "tests/test_fx.py" "tests/test_ImageSequenceClip.py" "tests/test_resourcerelease.py" "tests/test_resourcereleasedemo.py" "tests/test_TextClip.py" "tests/test_VideoClip.py" "tests/test_Videos.py" "tests/test_videotools.py" ];
meta = with lib; { description = "Video editing with Python"; homepage = "https://zulko.github.io/moviepy/"; changelog = "https://github.com/Zulko/moviepy/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ ]; };}