Server application for collaborative production of 3D assets and animations.
(define-module (vfx packages nvidia)
  #:use-module (gnu packages)
  #:use-module (guix)
  #:use-module (guix git-download)
  #:use-module (guix build-system cmake)
  #:use-module ((guix licenses) #:prefix licenses:))

(define-public nvidia-mdl
  (package
    (name "nvidia-mdl")
    (version "2022.1.1")
    (source
      (origin
        (method url-fetch)
        (uri
 	      (string-append "https://github.com/NVIDIA/MDL-SDK/"
	  	                   "archive/refs/tags/" version ".tar.gz"))
        (sha256
          (base32 "0jv7jia7gsx4cnm6g2wvvs3p20ysqsw97558dhr2i0n689rjdra6"))))
    (build-system cmake-build-system)

    ;; TODO: cuda-headers package for Nvidia MDL and Gatling
    ;;(inputs (list cuda-headers))

    (home-page "https://developer.nvidia.com/rendering-technologies/mdl-sdk")
    (synopsis "NVIDIA Material Definition Language (MDL) SDK")
    (description "The MDL SDK is a set of tools to enable quick integration
of physically-based materials into rendering applications. It contains
comprehensive C++ and Python APIs that allow applications to load MDL modules,
analyze and understand the structure of a material so it can build a UI for
material editing and render the results.")
    (license licenses:gpl3)))