diff --git a/nongnu/packages/nvidia.scm b/nongnu/packages/nvidia.scm index f4241ca..5dabd3b 100644 --- a/nongnu/packages/nvidia.scm +++ b/nongnu/packages/nvidia.scm @@ -209,6 +209,37 @@ nvidia-smi.") NVIDIA Management Library") (license license-gnu:bsd-3))) +(define-public nv-codec-headers + (package + (name "nv-codec-headers") + (version "11.1.5.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url + "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git") + (commit (string-append "n" version)))) + (sha256 + (base32 + "05a6dfv6yackcyx7ysxfzf2h768y63ih8icdkkzi8bwq7hp8lcy9")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;no test suite + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'fix-prefix + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile" + (("/usr/local") (assoc-ref outputs "out")))))))) + (supported-systems '("i686-linux" "x86_64-linux")) + (home-page "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git") + (synopsis "FFmpeg headers required to interface with Nvidias codec APIs") + (description "This package provides FFmpeg headers required to interface +with Nvidias codec APIs.") + (license license-gnu:expat))) + (define-public nvidia-driver (package (name "nvidia-driver")