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";
|
|
|
|
version = "9.0.18.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}";
|
2019-05-26 14:20:55 +01:00
|
|
|
sha256 = "0354fivb92ix341jds7a7qn3mgwimrnxbganhlhr4vayj25c3hw5";
|
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;
|
|
|
|
};
|
|
|
|
}
|