summary refs log tree commit diff
path: root/lib/licenses.nix
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2020-08-03 21:20:05 +0100
committerJon <jonringer@users.noreply.github.com>2020-08-03 14:39:36 -0700
commitf26cbd0caa96d491532a11da5477c67e5f7fceef (patch)
tree27d77b46232f5ab081cd6fe57f1ef6cfb0afd06d /lib/licenses.nix
parent64a8d0115bbf43b5fd618d366040bafb83504cbd (diff)
downloadnixpkgs-f26cbd0caa96d491532a11da5477c67e5f7fceef.tar
nixpkgs-f26cbd0caa96d491532a11da5477c67e5f7fceef.tar.gz
nixpkgs-f26cbd0caa96d491532a11da5477c67e5f7fceef.tar.bz2
nixpkgs-f26cbd0caa96d491532a11da5477c67e5f7fceef.tar.lz
nixpkgs-f26cbd0caa96d491532a11da5477c67e5f7fceef.tar.xz
nixpkgs-f26cbd0caa96d491532a11da5477c67e5f7fceef.tar.zst
nixpkgs-f26cbd0caa96d491532a11da5477c67e5f7fceef.zip
licenses: add bsdProtection
see https://spdx.org/licenses/BSD-Protection.html
Diffstat (limited to 'lib/licenses.nix')
-rw-r--r--lib/licenses.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/licenses.nix b/lib/licenses.nix
index 2c6da3a865f..2f9fc04cb7c 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -110,6 +110,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) {
     fullName = ''BSD 4-clause "Original" or "Old" License'';
   };
 
+  bsdProtection = spdx {
+    spdxId = "BSD-Protection";
+    fullName = "BSD Protection License";
+  };
+
   bsl11 = {
     fullName = "Business Source License 1.1";
     url = "https://mariadb.com/bsl11";