summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-02-02 14:28:15 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-02-02 14:37:19 +0100
commitf5a005354694735c74f8828cf68369b3f654b844 (patch)
tree17b58749ed91671dd2fa2b2af78ac9b1d5e4bd4d /lib
parent67bdaf0655f598f37523b6676a286a6453be6f6a (diff)
downloadnixpkgs-f5a005354694735c74f8828cf68369b3f654b844.tar
nixpkgs-f5a005354694735c74f8828cf68369b3f654b844.tar.gz
nixpkgs-f5a005354694735c74f8828cf68369b3f654b844.tar.bz2
nixpkgs-f5a005354694735c74f8828cf68369b3f654b844.tar.lz
nixpkgs-f5a005354694735c74f8828cf68369b3f654b844.tar.xz
nixpkgs-f5a005354694735c74f8828cf68369b3f654b844.tar.zst
nixpkgs-f5a005354694735c74f8828cf68369b3f654b844.zip
lib.licenses: add bsd1 (BSD 1-Clause License)
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 190eeefc1bf..830cb95aff9 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -100,6 +100,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) {
     fullName = "BSD Zero Clause License";
   };
 
+  bsd1 = spdx {
+    spdxId = "BSD-1-Clause";
+    fullName = "BSD 1-Clause License";
+  };
+
   bsd2 = spdx {
     spdxId = "BSD-2-Clause";
     fullName = ''BSD 2-clause "Simplified" License'';