Skip to content

Commit ca258d2

Browse files
committed
python3Packages.av: 11.0.0 -> 12.2.0
Pin FFmpeg to 6.x as upstream doesn’t even support 5.x any more. Unfortunately 7.x support is not yet there; I might have to handle it myself when we drop 6.
1 parent aef28c7 commit ca258d2

1 file changed

Lines changed: 4 additions & 14 deletions

File tree

pkgs/development/python-modules/av/default.nix

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
buildPythonPackage,
55
cython,
66
fetchFromGitHub,
7-
fetchpatch,
8-
ffmpeg_5-headless,
7+
ffmpeg_6-headless,
98
numpy,
109
pillow,
1110
pkg-config,
@@ -16,7 +15,7 @@
1615

1716
buildPythonPackage rec {
1817
pname = "av";
19-
version = "11.0.0";
18+
version = "12.2.0";
2019
pyproject = true;
2120

2221
disabled = pythonOlder "3.7";
@@ -25,25 +24,16 @@ buildPythonPackage rec {
2524
owner = "mikeboers";
2625
repo = "PyAV";
2726
rev = "refs/tags/v${version}";
28-
hash = "sha256-pCKP+4ZmZCJcG7/Qy9H6aS4svQdgaRA9S1QVNWFYhSQ=";
27+
hash = "sha256-yPVAtL71pL/ok3bli+r/IruCrmmhNyv98pr7z3m8sbo=";
2928
};
3029

31-
patches = [
32-
# merged upstream PR: https://github.com/PyAV-Org/PyAV/pull/1387
33-
(fetchpatch {
34-
name = "use-pkg-config-env-var-fix-cross.patch";
35-
url = "https://github.com/PyAV-Org/PyAV/commit/ba7a2c9f716af506838d399e6ed27ed6d64d2435.patch";
36-
sha256 = "sha256-oH+g8sVoVCQe6DimRN38VT2GdziriwHYRAhldNxz9/E=";
37-
})
38-
];
39-
4030
nativeBuildInputs = [
4131
cython
4232
pkg-config
4333
setuptools
4434
];
4535

46-
buildInputs = [ ffmpeg_5-headless ];
36+
buildInputs = [ ffmpeg_6-headless ];
4737

4838
preCheck = ''
4939
# ensure we import the built version

0 commit comments

Comments
 (0)