Skip to content

Commit

Permalink
cudnn_cudatoolkit: add NVIDIA license
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenst authored and AndersonTorres committed Nov 8, 2023
1 parent dae1e0d commit 7525497
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
6 changes: 0 additions & 6 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
Expand Up @@ -883,12 +883,6 @@ in mkLicense lset) ({
free = false;
};

nvidiaCudnn = {
fullName = "cuDNN Supplement to Software License Agreement for NVIDIA Software Development Kits";
url = "https://docs.nvidia.com/deeplearning/sdk/cudnn-sla/index.html#supplement";
free = false;
};

obsidian = {
fullName = "Obsidian End User Agreement";
url = "https://obsidian.md/eula";
Expand Down
9 changes: 7 additions & 2 deletions pkgs/development/libraries/science/math/cudnn/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,13 @@ in
description = "NVIDIA CUDA Deep Neural Network library (cuDNN)";
homepage = "https://developer.nvidia.com/cudnn";
sourceProvenance = with sourceTypes; [binaryNativeCode];
# TODO: consider marking unfreRedistributable when not using runfile
license = licenses.unfree;
license = {
fullName = "cuDNN Supplement to Software License Agreement for NVIDIA Software Development Kits";
url = "https://docs.nvidia.com/deeplearning/sdk/cudnn-sla/index.html#supplement";
free = false;
} // lib.optionalAttrs (!useCudatoolkitRunfile) {
redistributable = true;
};
platforms = ["x86_64-linux"];
maintainers = with maintainers; [mdaiter samuela];
# Force the use of the default, fat output by default (even though `dev` exists, which
Expand Down

0 comments on commit 7525497

Please sign in to comment.