Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion pkgs/development/python-modules/av/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,

# build-system
cython,
Expand Down Expand Up @@ -35,6 +35,21 @@ buildPythonPackage rec {
hash = "sha256-mz0VI72lqtur5HdCkPNxInk0pUWxji0boIZnfvdrxIs=";
};

patches = [
# Upstream PR: https://github.com/PyAV-Org/PyAV/pull/2204
(fetchpatch {
name = "ffmpeg-8.1-compat-test_skip_samples_remux.patch";
url = "https://github.com/PyAV-Org/PyAV/commit/57d8f4d7215a7b7cc7d01415613fc6aa2831a8d3.patch";
hash = "sha256-bDp8p2Qy9tU1GD9YqxU3O0ozPxhX/Fu9p9Zy1BIlPXA=";
})
# Upstream PR: https://github.com/PyAV-Org/PyAV/pull/2205
(fetchpatch {
name = "ffmpeg-8.1-compat-test_reformat_pixel_format_align.patch";
url = "https://github.com/PyAV-Org/PyAV/commit/900e39b9f0f7df33c3ea192b6dc13736e0b1561c.patch";
hash = "sha256-5SDLg5kQl2XjKX73rEIVSTznWAbC1oHr6EXfcufwhNM=";
})
];

build-system = [
cython
setuptools
Expand Down
Loading