summary refs log tree commit diff
path: root/pkgs/games/warsow
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-05-27 21:56:04 +0200
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-05-27 22:00:06 +0200
commitb2d7f4b1ba937951fefdd026314512ab0be91508 (patch)
treed1f7fc189bac34f376069294d67abfa3c8551693 /pkgs/games/warsow
parent87fd373aac3a1aaa84ddb328d43074aeebc1b133 (diff)
downloadnixlib-b2d7f4b1ba937951fefdd026314512ab0be91508.tar
nixlib-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.gz
nixlib-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.bz2
nixlib-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.lz
nixlib-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.xz
nixlib-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.zst
nixlib-b2d7f4b1ba937951fefdd026314512ab0be91508.zip
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.
Diffstat (limited to 'pkgs/games/warsow')
-rw-r--r--pkgs/games/warsow/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/games/warsow/default.nix b/pkgs/games/warsow/default.nix
index 84d15efb810f..83c9b5d52fa5 100644
--- a/pkgs/games/warsow/default.nix
+++ b/pkgs/games/warsow/default.nix
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
     cur_rpath=$(patchelf --print-rpath $p)
     patchelf --set-rpath $cur_rpath:${mesa}/lib $p
   '';
-  meta = {
+  meta = with stdenv.lib; {
     description = "Multiplayer FPS game designed for competitive gaming";
     longDescription = ''
       Set in a futuristic cartoon-like world where rocketlauncher-wielding
@@ -56,8 +56,8 @@ stdenv.mkDerivation rec {
     '';
     homepage = http://www.warsow.net;
     # Engine is under GPLv2, everything else is under
-    license = [ "unfree-redistributable" ];
-    maintainers = with stdenv.lib.maintainers; [ astsmtl ];
-    platforms = with stdenv.lib.platforms; linux;
+    license = with licenses; unfreeRedistributable;
+    maintainers = with maintainers; [ astsmtl ];
+    platforms = with platforms; linux;
   };
 }