nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildRedist,
3 libcufft,
4 libcurand,
5 libGLU,
6 libglut,
7 libglvnd,
8 mesa,
9}:
10buildRedist {
11 redistName = "cuda";
12 pname = "cuda_demo_suite";
13
14 buildInputs = [
15 libcufft
16 libcurand
17 libGLU
18 libglut
19 libglvnd
20 mesa
21 ];
22
23 outputs = [ "out" ];
24
25 meta = {
26 description = "Pre-built applications which use CUDA";
27 longDescription = ''
28 The CUDA Demo Suite contains pre-built applications which use CUDA. These applications demonstrate the
29 capabilities and details of NVIDIA GPUs.
30 '';
31 homepage = "https://docs.nvidia.com/cuda/demo-suite";
32 };
33}