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
+4 -4
View File
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
cur_rpath=$(patchelf --print-rpath $p)
patchelf --set-rpath $cur_rpath:${mesa}/lib $p
'';
meta = {
meta = with stdenv.lib; {
description = "A multiplayer tactical FPS on top of Quake 3 engine";
longDescription = ''
Urban Terror is a free multiplayer first person shooter developed by
@@ -57,9 +57,9 @@ stdenv.mkDerivation rec {
realism". This results in a very unique, enjoyable and addictive game.
'';
homepage = http://www.urbanterror.net;
license = [ "unfree-redistributable" ];
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = stdenv.lib.platforms.linux;
license = with licenses; unfreeRedistributable;
maintainers = with maintainers; [ astsmtl ];
platforms = platforms.linux;
hydraPlatforms = [];
};
}