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
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ mesa glew freetype fontconfig fribidi libX11 ];
# FIXME: Configure fails to use system glew.
meta = {
meta = with stdenv.lib; {
description = "A free implementation of the OpenGL Character Renderer";
longDescription = ''
QuesoGLC is a free (as in free speech) implementation of the OpenGL
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
platform that supports both FreeType and the OpenGL API.
'';
homepage = http://quesoglc.sourceforge.net/;
license = [ "LGPLv2.1+" ];
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = with stdenv.lib.platforms; linux;
license = with licenses; [ lgpl21Plus ];
maintainers = with maintainers; [ astsmtl ];
platforms = with platforms; linux;
};
}