summary refs log tree commit diff
path: root/lib/licenses.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2014-07-30 18:16:36 +0200
committerVladimír Čunát <vcunat@gmail.com>2014-07-30 18:16:36 +0200
commit0f2101215dd31409fc56bea2cf72006871f1ef9e (patch)
tree8eb1b618cc4bd6dc75e0abdca72fd8b119b58f46 /lib/licenses.nix
parent32c237d78262dcddbc6db0365930799a9915693a (diff)
downloadnixpkgs-0f2101215dd31409fc56bea2cf72006871f1ef9e.tar
nixpkgs-0f2101215dd31409fc56bea2cf72006871f1ef9e.tar.gz
nixpkgs-0f2101215dd31409fc56bea2cf72006871f1ef9e.tar.bz2
nixpkgs-0f2101215dd31409fc56bea2cf72006871f1ef9e.tar.lz
nixpkgs-0f2101215dd31409fc56bea2cf72006871f1ef9e.tar.xz
nixpkgs-0f2101215dd31409fc56bea2cf72006871f1ef9e.tar.zst
nixpkgs-0f2101215dd31409fc56bea2cf72006871f1ef9e.zip
lib/licenses.nix: improve sortedness
Diffstat (limited to 'lib/licenses.nix')
-rw-r--r--lib/licenses.nix88
1 files changed, 45 insertions, 43 deletions
diff --git a/lib/licenses.nix b/lib/licenses.nix
index 19f2f488851..29144264ddd 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -10,11 +10,6 @@ rec {
    * add it to this list. The URL mentioned above is a good source for inspiration.
    */
 
-  artistic2 = spdx {
-    shortName = "Artistic-2.0";
-    fullName = "Artistic License 2.0";
-  };
-
   agpl3 = spdx {
     shortName = "AGPL-3.0";
     fullName = "GNU Affero General Public License v3.0";
@@ -37,6 +32,11 @@ rec {
     fullName = "Apple Public Source License 2.0";
   };
 
+  artistic2 = spdx {
+    shortName = "Artistic-2.0";
+    fullName = "Artistic License 2.0";
+  };
+
   asl20 = spdx {
     shortName = "Apache-2.0";
     fullName = "Apache License 2.0";
@@ -72,6 +72,11 @@ rec {
     fullName = "Common Development and Distribution License 1.0";
   };
 
+  cecill-c = spdx {
+    shortName = "CECILL-C";
+    fullName  = "CeCILL-C Free Software License Agreement";
+  };
+
   cpl10 = spdx {
     shortName = "CPL-1.0";
     fullName = "Common Public License 1.0";
@@ -116,9 +121,10 @@ rec {
     url = https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception;
   };
 
-  isc = spdx {
-    shortName = "ISC";
-    fullName = "ISC License";
+  inria = {
+    shortName = "INRIA-NCLA";
+    fullName  = "INRIA Non-Commercial License Agreement";
+    url       = "http://compcert.inria.fr/doc/LICENSE";
   };
 
   ipa = spdx {
@@ -131,10 +137,9 @@ rec {
     fullName = "IBM Public License v1.0";
   };
 
-  libtiff = {
-    shortName = "libtiff";
-    fullName = "libtiff license";
-    url = https://fedoraproject.org/wiki/Licensing/libtiff;
+  isc = spdx {
+    shortName = "ISC";
+    fullName = "ISC License";
   };
 
   lgpl2 = spdx {
@@ -157,12 +162,6 @@ rec {
     fullName = "GNU Library General Public License v2.1 or later";
   };
 
-  llgpl21 = {
-    shortName = "LLGPL-2.1";
-    fullName = "Lisp LGPL; GNU Lesser General Public License version 2.1 with Franz Inc. preamble for clarification of LGPL terms in context of Lisp";
-    url = http://opensource.franz.com/preamble.html;
-  };
-
   lgpl3 = spdx {
     shortName = "LGPL-3.0";
     fullName = "GNU Lesser General Public License v3.0 only";
@@ -173,6 +172,18 @@ rec {
     fullName = "GNU Lesser General Public License v3.0 or later";
   };
 
+  libtiff = {
+    shortName = "libtiff";
+    fullName = "libtiff license";
+    url = https://fedoraproject.org/wiki/Licensing/libtiff;
+  };
+
+  llgpl21 = {
+    shortName = "LLGPL-2.1";
+    fullName = "Lisp LGPL; GNU Lesser General Public License version 2.1 with Franz Inc. preamble for clarification of LGPL terms in context of Lisp";
+    url = http://opensource.franz.com/preamble.html;
+  };
+
   mit = spdx {
     shortName = "MIT";
     fullName = "MIT License";
@@ -188,6 +199,12 @@ rec {
     fullName = "Mozilla Public License 2.0";
   };
 
+  msrla = {
+    shortName = "MSR-LA";
+    fullName  = "Microsoft Research License Agreement";
+    url       = "http://research.microsoft.com/en-us/projects/pex/msr-la.txt";
+  };
+
   ofl = spdx {
     shortName = "OFL-1.1";
     fullName = "SIL Open Font License 1.1";
@@ -198,15 +215,20 @@ rec {
     fullName = "OpenSSL License";
   };
 
+  psfl = spdx {
+    shortName = "Python-2.0";
+    fullName = "Python Software Foundation License version 2";
+    #url = http://docs.python.org/license.html;
+  };
+
   publicDomain = {
     shortName = "Public Domain";
     fullname = "Public Domain";
   };
 
-  psfl = spdx {
-    shortName = "Python-2.0";
-    fullName = "Python Software Foundation License version 2";
-    #url = http://docs.python.org/license.html;
+  sleepycat = spdx {
+    shortName = "Sleepycat";
+    fullName  = "Sleepycat License";
   };
 
   tcltk = {
@@ -242,25 +264,5 @@ rec {
     fullName = "Zope Public License 2.1";
   };
 
-  sleepycat = spdx {
-    shortName = "Sleepycat";
-    fullName  = "Sleepycat License";
-  };
-
-  cecill-c = spdx {
-    shortName = "CECILL-C";
-    fullName  = "CeCILL-C Free Software License Agreement";
-  };
-
-  msrla = {
-    shortName = "MSR-LA";
-    fullName  = "Microsoft Research License Agreement";
-    url       = "http://research.microsoft.com/en-us/projects/pex/msr-la.txt";
-  };
-
-  inria = {
-    shortName = "INRIA-NCLA";
-    fullName  = "INRIA Non-Commercial License Agreement";
-    url       = "http://compcert.inria.fr/doc/LICENSE";
-  };
 }
+