summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2014-08-30 07:28:26 +0200
committerVladimír Čunát <vcunat@gmail.com>2014-08-30 07:28:26 +0200
commit3f0ebe7e7542c5cb81acfeffb025f9ab1a5a755a (patch)
treedb5c744f778e9799a74d5e29be115f62b7254164
parentf7aa6e1140fcc1e006a0030ae00b7e5ca646ae25 (diff)
downloadnixlib-3f0ebe7e7542c5cb81acfeffb025f9ab1a5a755a.tar
nixlib-3f0ebe7e7542c5cb81acfeffb025f9ab1a5a755a.tar.gz
nixlib-3f0ebe7e7542c5cb81acfeffb025f9ab1a5a755a.tar.bz2
nixlib-3f0ebe7e7542c5cb81acfeffb025f9ab1a5a755a.tar.lz
nixlib-3f0ebe7e7542c5cb81acfeffb025f9ab1a5a755a.tar.xz
nixlib-3f0ebe7e7542c5cb81acfeffb025f9ab1a5a755a.tar.zst
nixlib-3f0ebe7e7542c5cb81acfeffb025f9ab1a5a755a.zip
licenses: comment about two versions of MIT
I decided to follow spdx.org and not to differentiate those two.
Packages would often have the wrong version anyway.
-rw-r--r--lib/licenses.nix2
-rw-r--r--pkgs/applications/audio/pianobar/default.nix2
-rw-r--r--pkgs/development/libraries/expat/default.nix5
3 files changed, 6 insertions, 3 deletions
diff --git a/lib/licenses.nix b/lib/licenses.nix
index 812592c74f27..bdcf8a7b8a7b 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -194,6 +194,8 @@ rec {
     fullName = "Lucent Public License v1.02";
   };
 
+  # spdx.org does not (yet) differentiate between the X11 and Expat versions
+  # for details see http://en.wikipedia.org/wiki/MIT_License#Various_versions
   mit = spdx {
     shortName = "MIT";
     fullName = "MIT License";
diff --git a/pkgs/applications/audio/pianobar/default.nix b/pkgs/applications/audio/pianobar/default.nix
index b2f44513bbaa..a91f25126c1f 100644
--- a/pkgs/applications/audio/pianobar/default.nix
+++ b/pkgs/applications/audio/pianobar/default.nix
@@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
     description = "A console front-end for Pandora.com";
     homepage = "http://6xq.net/projects/pianobar/";
     platforms = stdenv.lib.platforms.linux;
-    license = stdenv.lib.licenses.mit;
+    license = stdenv.lib.licenses.mit; # expat version
   };
 }
diff --git a/pkgs/development/libraries/expat/default.nix b/pkgs/development/libraries/expat/default.nix
index d7915a93962c..9a49225d1723 100644
--- a/pkgs/development/libraries/expat/default.nix
+++ b/pkgs/development/libraries/expat/default.nix
@@ -8,9 +8,10 @@ stdenv.mkDerivation rec {
     sha256 = "11pblz61zyxh68s5pdcbhc30ha1b2vfjd83aiwfg4vc15x3hadw2";
   };
 
-  meta = {
+  meta = with stdenv.lib; {
     homepage = http://www.libexpat.org/;
     description = "A stream-oriented XML parser library written in C";
-    platforms = stdenv.lib.platforms.all;
+    platforms = platforms.all;
+    license = licenses.mit; # expat version
   };
 }