2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchgit }:
|
2018-05-12 10:45:22 +01:00
|
|
|
|
|
|
|
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/";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.MP2E ];
|
|
|
|
platforms = lib.platforms.all;
|
2018-05-12 10:45:22 +01:00
|
|
|
};
|
|
|
|
}
|