2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip }:
|
2016-06-14 16:50:53 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2016-06-14 16:50:53 +01:00
|
|
|
name = "nvidia-video-sdk-6.0.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://developer.nvidia.com/video-sdk-601";
|
|
|
|
name = "nvidia_video_sdk_6.0.1.zip";
|
|
|
|
sha256 = "08h1vnqsv22js9v3pyim5yb80z87baxb7s2g5gsvvjax07j7w8h5";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
|
|
|
|
# We only need the header files. The library files are
|
|
|
|
# in the nvidia_x11 driver.
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include
|
|
|
|
cp -R Samples/common/inc/* $out/include
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-06-14 16:50:53 +01:00
|
|
|
description = "The NVIDIA Video Codec SDK";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://developer.nvidia.com/nvidia-video-codec-sdk";
|
2016-06-14 16:50:53 +01:00
|
|
|
license = licenses.unfree;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|