summary refs log tree commit diff
path: root/lib/licenses.nix
diff options
context:
space:
mode:
authorDomen Kozar <domen@dev.si>2014-03-12 21:20:01 +0100
committerDomen Kozar <domen@dev.si>2014-03-12 21:20:43 +0100
commit059e8e179bb03e7a315ddd6400c59d36163eaca7 (patch)
tree3ba02da89c5c994460ee81a9a3f947b826a7962e /lib/licenses.nix
parentb13a5d4ccae1b38a1ba1c1a846d7528ba1227ec2 (diff)
downloadnixpkgs-059e8e179bb03e7a315ddd6400c59d36163eaca7.tar
nixpkgs-059e8e179bb03e7a315ddd6400c59d36163eaca7.tar.gz
nixpkgs-059e8e179bb03e7a315ddd6400c59d36163eaca7.tar.bz2
nixpkgs-059e8e179bb03e7a315ddd6400c59d36163eaca7.tar.lz
nixpkgs-059e8e179bb03e7a315ddd6400c59d36163eaca7.tar.xz
nixpkgs-059e8e179bb03e7a315ddd6400c59d36163eaca7.tar.zst
nixpkgs-059e8e179bb03e7a315ddd6400c59d36163eaca7.zip
set all licenses to be attributes (and wait for Nix 1.7)
Diffstat (limited to 'lib/licenses.nix')
-rw-r--r--lib/licenses.nix38
1 files changed, 27 insertions, 11 deletions
diff --git a/lib/licenses.nix b/lib/licenses.nix
index cda43583279..d82402cd3af 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -25,12 +25,14 @@
   amd = {
     shortName = "amd";
     fullName = "AMD License Agreement";
-    url = "http://developer.amd.com/amd-license-agreement/";
-  };
+    url = http://developer.amd.com/amd-license-agreement/;
+  };#
 
-  # Apple Public Source License 2.0;
-  # http://opensource.org/licenses/APSL-2.0
-  apsl20 = "APSL 2.0";
+  apsl20 = {
+    shortName = "APSL 2.0";
+    fullName = "Apple Public Source License 2.0";
+    url = http://opensource.org/licenses/APSL-2.0;
+  };
 
   asl20 = {
     shortName = "ASL2.0";
@@ -80,7 +82,11 @@
     url = http://www.eclipse.org/legal/epl-v10.html;
   };
 
-  gpl2 = "GPLv2";
+  gpl2 = {
+    shortName = "GPLv2";
+    fullName = "GNU General Public License version 2";
+    url = http://www.gnu.org/licenses/old-licenses/gpl-2.0.html;
+  };
 
   gpl2Oss = {
     shortName = "GPLv2+OSS";
@@ -88,9 +94,11 @@
     url = http://www.mysql.com/about/legal/licensing/foss-exception;
   };
 
-  # GNU General Public License version 2 or later;
-  # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-  gpl2Plus = "GPLv2+";
+  gpl2Plus = {
+    shortName = "GPLv2+";
+    fullName = "GNU General Public License version 2 or later";
+    url = http://www.gnu.org/licenses/old-licenses/gpl-2.0.html;
+  };
 
   gpl3 = {
     shortName = "GPLv3";
@@ -134,7 +142,11 @@
     url = https://fedoraproject.org/wiki/Licensing/libtiff;
   };
 
-  lgpl2 = "LGPLv2";
+  lgpl2 = {
+    shortName = "LGPLv2";
+    fullName = "GNU Library General Public License version 2";
+    url = http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html;
+  };
 
   lgpl2Plus = {
     shortName = "LGPLv2+";
@@ -142,7 +154,11 @@
     url = http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html;
   };
 
-  lgpl21 = "LGPLv2.1";
+  lgpl21 = {
+    shortName = "LGPLv2.1";
+    fullName = "GNU Lesser General Public License version 2.1";
+    url = http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html;
+  };
 
   lgpl21Plus = {
     shortName = "LGPLv2.1+";