summary refs log tree commit diff
path: root/pkgs/games/tremulous
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/tremulous
parent87fd373aac3a1aaa84ddb328d43074aeebc1b133 (diff)
downloadnixpkgs-b2d7f4b1ba937951fefdd026314512ab0be91508.tar
nixpkgs-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.gz
nixpkgs-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.bz2
nixpkgs-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.lz
nixpkgs-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.xz
nixpkgs-b2d7f4b1ba937951fefdd026314512ab0be91508.tar.zst
nixpkgs-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/tremulous')
-rw-r--r--pkgs/games/tremulous/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/games/tremulous/default.nix b/pkgs/games/tremulous/default.nix
index 3fcbff42527..fd80eecfd55 100644
--- a/pkgs/games/tremulous/default.nix
+++ b/pkgs/games/tremulous/default.nix
@@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
     done
   '';
   dontPatchELF = true;
-  meta = {
+  meta = with stdenv.lib; {
     description = "A game that blends a team based FPS with elements of an RTS";
     longDescription = ''
       Tremulous is a free, open source game that blends a team based FPS with
@@ -70,9 +70,12 @@ stdenv.mkDerivation rec {
       degree), healing functions and much more...
     '';
     homepage = http://www.tremulous.net;
-    license = [ "GPLv2" ];  # media under cc by-sa 2.5
-    maintainers = with stdenv.lib.maintainers; [ astsmtl ];
-    platforms = with stdenv.lib.platforms; linux;
+    license = with licenses; [
+      gpl2
+      cc-by-sa-25 /* media */
+    ];
+    maintainers = with maintainers; [ astsmtl ];
+    platforms = with platforms; linux;
     broken = true;
   };
 }