Use common licence attributes from lib/licenses.nix

Many (less easily automatically converted) old-style strings
remain.

Where there was any possible ambiguity about the exact version or
variant intended, nothing was changed. IANAL, nor a search robot.

Use `with stdenv.lib` wherever it makes sense.
This commit is contained in:
Tobias Geerinckx-Rice
2015-05-27 22:00:06 +02:00
parent 87fd373aac
commit b2d7f4b1ba
73 changed files with 269 additions and 234 deletions
@@ -17,12 +17,12 @@ stdenv.mkDerivation rec {
mkdir -p $out/lib
'';
buildInputs = [pkgconfig glib ncurses];
buildInputs = [ pkgconfig glib ncurses ];
meta = {
meta = with stdenv.lib; {
homepage = http://libvterm.sourceforge.net/;
description = "Terminal emulator library to mimic both vt100 and rxvt";
license = "GPLv2+";
platforms = stdenv.lib.platforms.linux;
license = with licenses; gpl2Plus;
platforms = platforms.linux;
};
}