2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchgit }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "nv-codec-headers";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "9.1.23.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git";
|
|
|
|
rev = "n${version}";
|
2020-07-18 16:06:22 +00:00
|
|
|
sha256 = "1xfvb3mhz6wfx9c732888xa82ivaig903lhvvrqqzs31qfznsplh";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "FFmpeg version of headers for NVENC";
|
|
|
|
homepage = "https://ffmpeg.org/";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.MP2E ];
|
|
|
|
platforms = lib.platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|