From defe78e553421a613310cad4d32a9ee19bf53034 Mon Sep 17 00:00:00 2001 From: Charles Strahan Date: Tue, 17 Nov 2015 16:23:39 -0500 Subject: [PATCH] licenses: add non-commercial Creative Commons --- lib/licenses.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/lib/licenses.nix b/lib/licenses.nix index ebd7d56d761..4703587ed56 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -85,6 +85,26 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec { fullName = "Creative Commons Zero v1.0 Universal"; }; + cc-by-nc-sa-20 = spdx { + spdxId = "CC-BY-NC-SA-2.0"; + fullName = "Creative Commons Attribution Non Commercial Share Alike 2.0"; + }; + + cc-by-nc-sa-25 = spdx { + spdxId = "CC-BY-NC-SA-2.5"; + fullName = "Creative Commons Attribution Non Commercial Share Alike 2.5"; + }; + + cc-by-nc-sa-30 = spdx { + spdxId = "CC-BY-NC-SA-3.0"; + fullName = "Creative Commons Attribution Non Commercial Share Alike 3.0"; + }; + + cc-by-nc-sa-40 = spdx { + spdxId = "CC-BY-NC-SA-4.0"; + fullName = "Creative Commons Attribution Non Commercial Share Alike 4.0"; + }; + cc-by-sa-25 = spdx { spdxId = "CC-BY-SA-2.5"; fullName = "Creative Commons Attribution Share Alike 2.5";