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