2021-10-14 00:43:12 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchgit
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "nv-codec-headers";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "11.1.5.1";
|
2021-10-14 00:43:12 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git";
|
|
|
|
rev = "n${version}";
|
2022-02-20 05:27:41 +00:00
|
|
|
sha256 = "sha256-yTOKLjyYLxT/nI1FBOMwHpkDhfuua3+6Z5Mpb7ZrRhU=";
|
2021-10-14 00:43:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "FFmpeg version of headers for NVENC";
|
|
|
|
homepage = "https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ MP2E ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|