New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pythonPackages.ffmpeg-python: init at 0.2.0 #73194
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't propagate packages into a user environment. This should basically never be done as it is likely to cause collisions.
sha256 = "09s19kvgc4f0g05z3xjj8w15xcwbabmv3j0i1vppii978srms8k5"; | ||
inherit pname version; | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nativeBuildInputs = [ pytestrunner ]; |
to avoid:
builder for '/nix/store/lr2xs105hj9q0f6hsa1n5q9bzr83v9p5-python3.8-ffmpeg-python-0.2.0.drv' failed with exit code 1; last 10 log lines:
dist = best[req.key] = env.best_match(
File "/nix/store/793ld8znz8abpkiwryyzdqhcgd6pqzfv-python3.8-setuptools-41.6.0/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1065, in best_match
return self.obtain(req, installer)
File "/nix/store/793ld8znz8abpkiwryyzdqhcgd6pqzfv-python3.8-setuptools-41.6.0/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1077, in obtain
return installer(requirement)
File "/nix/store/793ld8znz8abpkiwryyzdqhcgd6pqzfv-python3.8-setuptools-41.6.0/lib/python3.8/site-packages/setuptools/dist.py", line 787, in fetch_build_egg
return cmd.easy_install(req)
File "/nix/store/793ld8znz8abpkiwryyzdqhcgd6pqzfv-python3.8-setuptools-41.6.0/lib/python3.8/site-packages/setuptools/command/easy_install.py", line 673, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')
src = fetchPypi { | ||
sha256 = "09s19kvgc4f0g05z3xjj8w15xcwbabmv3j0i1vppii978srms8k5"; | ||
inherit pname version; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like tests aren't packaged, do you mind checking this out from github?
An ffmpeg wrapper for python, that support arbitrarily complex filter graphs.