nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 ffmpeg_7-headless,
3 lib,
4 fetchFromGitHub,
5}:
6
7(ffmpeg_7-headless.override {
8 version = "7.0.1-unstable-2024-07-10";
9 withCudaLLVM = true;
10 source = fetchFromGitHub {
11 owner = "livepeer";
12 repo = "FFmpeg";
13 rev = "d9751c73e714b01b363483db358b1ea8022c9bea"; # From branch n*-livepeer
14 hash = "sha256-IJVpb/k+obGFD9uOoIVHCd2ZiGL3CA4CV3D+Q9vMbQM=";
15 };
16}).overrideAttrs
17 (old: {
18 pname = "ffmpeg-livepeer";
19
20 meta = {
21 inherit (old.meta)
22 license
23 mainProgram
24 pkgConfigModules
25 platforms
26 ;
27 maintainers = with lib.maintainers; [ bot-wxt1221 ];
28 };
29 })