1 { lib, stdenv, fetchurl, unzip }:
3 stdenv.mkDerivation rec {
4 pname = "nvidia-video-sdk";
8 url = "https://developer.nvidia.com/video-sdk-601";
9 name = "nvidia_video_sdk_${version}.zip";
10 sha256 = "08h1vnqsv22js9v3pyim5yb80z87baxb7s2g5gsvvjax07j7w8h5";
13 nativeBuildInputs = [ unzip ];
15 # We only need the header files. The library files are
16 # in the nvidia_x11 driver.
19 cp -R Samples/common/inc/* $out/include
23 description = "The NVIDIA Video Codec SDK";
24 homepage = "https://developer.nvidia.com/nvidia-video-codec-sdk";
25 license = licenses.unfree;