lol
1{ lib
2, stdenvNoCC
3, fetchgit
4}:
5
6{ pname ? "nv-codec-headers"
7, version
8, hash
9}:
10
11stdenvNoCC.mkDerivation {
12 inherit pname version;
13
14 src = fetchgit {
15 url = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git";
16 rev = "n${version}";
17 inherit hash;
18 };
19
20 makeFlags = [
21 "PREFIX=$(out)"
22 ];
23
24 meta = {
25 description = "FFmpeg version of headers for NVENC";
26 homepage = "https://ffmpeg.org/";
27 downloadPage = "https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git";
28 license = with lib.licenses; [ mit ];
29 maintainers = with lib.maintainers; [ AndersonTorres ];
30 platforms = lib.platforms.all;
31 };
32}