summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2020-07-02 21:18:01 -0700
committerRyan Mulligan <ryan@ryantm.com>2020-07-02 21:18:01 -0700
commit46e4bc8a7dddc705a67789609fd86f242bda883e (patch)
treede728f4701a8811b08a190e3fcabfa7df9c90b96 /lib
parente9f72106c788685e01ff84ea7f28623563f97b44 (diff)
downloadnixpkgs-46e4bc8a7dddc705a67789609fd86f242bda883e.tar
nixpkgs-46e4bc8a7dddc705a67789609fd86f242bda883e.tar.gz
nixpkgs-46e4bc8a7dddc705a67789609fd86f242bda883e.tar.bz2
nixpkgs-46e4bc8a7dddc705a67789609fd86f242bda883e.tar.lz
nixpkgs-46e4bc8a7dddc705a67789609fd86f242bda883e.tar.xz
nixpkgs-46e4bc8a7dddc705a67789609fd86f242bda883e.tar.zst
nixpkgs-46e4bc8a7dddc705a67789609fd86f242bda883e.zip
licenses: add bsd2Patent
Diffstat (limited to 'lib')
-rw-r--r--lib/licenses.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/licenses.nix b/lib/licenses.nix
index b799a6ae8a4..549e94c3451 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -95,6 +95,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) {
     fullName = ''BSD 2-clause "Simplified" License'';
   };
 
+  bsd2Patent = spdx {
+    spdxId = "BSD-2-Clause-Patent";
+    fullName = ''BSD-2-Clause Plus Patent License'';
+  };
+
   bsd3 = spdx {
     spdxId = "BSD-3-Clause";
     fullName = ''BSD 3-clause "New" or "Revised" License'';