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;
|
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 = {
|
obsidian = {
|
||||||
fullName = "Obsidian End User Agreement";
|
fullName = "Obsidian End User Agreement";
|
||||||
url = "https://obsidian.md/eula";
|
url = "https://obsidian.md/eula";
|
||||||
|
@ -165,7 +165,9 @@ backendStdenv.mkDerivation {
|
|||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
inherit description platforms;
|
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;
|
maintainers = lib.teams.cuda.members;
|
||||||
# Force the use of the default, fat output by default (even though `dev` exists, which
|
# 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).
|
# causes Nix to prefer that output over the others if outputSpecified isn't set).
|
||||||
|
Loading…
Reference in New Issue
Block a user