2018-05-12 10:45:22 +01:00
|
|
|
{ stdenv, fetchgit }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-26 14:20:55 +01:00
|
|
|
pname = "nv-codec-headers";
|
2020-06-16 04:54:31 +01:00
|
|
|
version = "9.1.23.1";
|
2018-05-12 10:45:22 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git";
|
2019-01-05 01:20:00 +00:00
|
|
|
rev = "n${version}";
|
2020-06-16 04:54:31 +01:00
|
|
|
sha256 = "1xfvb3mhz6wfx9c732888xa82ivaig903lhvvrqqzs31qfznsplh";
|
2018-05-12 10:45:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = {
|
2019-01-05 01:20:00 +00:00
|
|
|
description = "FFmpeg version of headers for NVENC";
|
2019-05-26 14:20:55 +01:00
|
|
|
homepage = "https://ffmpeg.org/";
|
2019-05-10 12:05:26 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2018-05-12 10:45:22 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.MP2E ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|