mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
cudaPackages: redist components: per-package license url
This commit is contained in:
parent
6c9c9ef2eb
commit
6cd3e9ce1a
@ -883,6 +883,14 @@ in mkLicense lset) ({
|
||||
free = false;
|
||||
};
|
||||
|
||||
nvidiaCudaRedist = {
|
||||
shortName = "CUDA EULA";
|
||||
fullName = "CUDA Toolkit End User License Agreement (EULA)";
|
||||
url = "https://docs.nvidia.com/cuda/eula/index.html#cuda-toolkit-supplement-license-agreement";
|
||||
free = false;
|
||||
redistributable = true;
|
||||
};
|
||||
|
||||
obsidian = {
|
||||
fullName = "Obsidian End User Agreement";
|
||||
url = "https://obsidian.md/eula";
|
||||
|
@ -165,7 +165,9 @@ backendStdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
inherit description platforms;
|
||||
license = lib.licenses.unfree;
|
||||
license = lib.licenses.nvidiaCudaRedist // {
|
||||
url = "https://developer.download.nvidia.com/compute/cuda/redist/${releaseAttrs.license_path or "${pname}/LICENSE.txt"}";
|
||||
};
|
||||
maintainers = lib.teams.cuda.members;
|
||||
# Force the use of the default, fat output by default (even though `dev` exists, which
|
||||
# causes Nix to prefer that output over the others if outputSpecified isn't set).
|
||||
|
Loading…
Reference in New Issue
Block a user