nv-codec-headers-12: init at 12.0.16.0

This commit is contained in:
Justinas Stankevicius 2023-06-24 00:13:33 +03:00
parent 0ec28ceedf
commit f8a9063f53
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv
, lib
, fetchgit
}:
stdenv.mkDerivation rec {
pname = "nv-codec-headers";
version = "12.0.16.0";
src = fetchgit {
url = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git";
rev = "n${version}";
sha256 = "sha256-8YZU9pb0kzat0JBVEotaZUkNicQvLNIrIyPU9KTTjwg=";
};
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;
};
}

View file

@ -23465,6 +23465,7 @@ with pkgs;
nv-codec-headers = callPackage ../development/libraries/nv-codec-headers { };
nv-codec-headers-10 = callPackage ../development/libraries/nv-codec-headers/10_x.nix { };
nv-codec-headers-11 = callPackage ../development/libraries/nv-codec-headers/11_x.nix { };
nv-codec-headers-12 = callPackage ../development/libraries/nv-codec-headers/12_x.nix { };
mkNvidiaContainerPkg = { name, containerRuntimePath, configTemplate, additionalPaths ? [] }:
let