2018-05-12 10:45:22 +01:00
|
|
|
{ stdenv, fetchgit }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "nv-codec-headers-${version}";
|
2019-01-05 01:20:00 +00:00
|
|
|
version = "8.2.15.6";
|
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}";
|
|
|
|
sha256 = "0216ww8byjxz639kagyw0mr9vxxwj89xdnj448d579vjr54jychv";
|
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";
|
2018-05-12 10:45:22 +01:00
|
|
|
homepage = http://ffmpeg.org/;
|
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.MP2E ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|