From d17e6f2c3e9fca9e5291a5dda17b9f7ce78d7e25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Moritz=20K=C3=BCttel?= <moritz.kuettel@wsl.ch>
Date: Wed, 7 Mar 2018 21:15:33 +0100
Subject: [PATCH] add the CPAL-1.0 license

The 'Common Public Attribution License 1.0' is used
for projectlibre and required for packaging it into nixpkgs.
---
 lib/licenses.nix | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/licenses.nix b/lib/licenses.nix
index 03af13b990e2..ba575c27052d 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -179,6 +179,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
     fullName  = "CeCILL-C Free Software License Agreement";
   };
 
+  cpal10 = spdx {
+    spdxId = "CPAL-1.0";
+    fullName = "Common Public Attribution License 1.0";
+  };
+
   cpl10 = spdx {
     spdxId = "CPL-1.0";
     fullName = "Common Public License 1.0";