mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
python3Packages.ffmpy: 0.5.0 -> 0.6.0
Diff: https://github.com/Ch00k/ffmpy/compare/refs/tags/0.5.0...refs/tags/0.6.0
This commit is contained in:
parent
f67b454f0b
commit
4cd620aa48
1 changed files with 5 additions and 5 deletions
|
@ -4,7 +4,7 @@
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
poetry-core,
|
uv-build,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
go,
|
go,
|
||||||
ffmpeg-headless,
|
ffmpeg-headless,
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ffmpy";
|
pname = "ffmpy";
|
||||||
version = "0.5.0";
|
version = "0.6.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8.1";
|
disabled = pythonOlder "3.8.1";
|
||||||
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||||
owner = "Ch00k";
|
owner = "Ch00k";
|
||||||
repo = "ffmpy";
|
repo = "ffmpy";
|
||||||
tag = version;
|
tag = version;
|
||||||
hash = "sha256-spbyz1EyMJRXJTm7TqN9XoqR9ztBKsNZx3NURwV7N2w=";
|
hash = "sha256-U20mBg+428kkka6NY9qc7X8jH8A5bKa++g2+PTn/MYg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -33,13 +33,13 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
# The tests test a mock that does not behave like ffmpeg. If we default to the nix-store ffmpeg they fail.
|
# The tests test a mock that does not behave like ffmpeg. If we default to the nix-store ffmpeg they fail.
|
||||||
for fname in tests/*.py; do
|
for fname in tests/*.py; do
|
||||||
echo 'FFmpeg.__init__.__defaults__ = ("ffmpeg", *FFmpeg.__init__.__defaults__[1:])' >>"$fname"
|
echo >>"$fname" 'FFmpeg.__init__.__defaults__ = ("ffmpeg", *FFmpeg.__init__.__defaults__[1:])'
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "ffmpy" ];
|
pythonImportsCheck = [ "ffmpy" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ poetry-core ];
|
nativeBuildInputs = [ uv-build ];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue