diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-05-27 21:56:04 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-05-27 22:00:06 +0200 |
commit | b2d7f4b1ba937951fefdd026314512ab0be91508 (patch) | |
tree | d1f7fc189bac34f376069294d67abfa3c8551693 /pkgs/games/0ad | |
parent | 87fd373aac3a1aaa84ddb328d43074aeebc1b133 (diff) | |
download | nixpkgs-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/0ad')
-rw-r--r-- | pkgs/games/0ad/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/games/0ad/default.nix b/pkgs/games/0ad/default.nix index bbcc6f11d1d..5a0bdcd70a7 100644 --- a/pkgs/games/0ad/default.nix +++ b/pkgs/games/0ad/default.nix @@ -112,10 +112,13 @@ stdenv.mkDerivation rec { done <build/resources/0ad.desktop >"$out"/share/applications/0ad.desktop ''; - meta = { + meta = with stdenv.lib; { description = "A free, open-source game of ancient warfare"; homepage = "http://wildfiregames.com/0ad/"; - license = [ "GPLv2" "LGPLv2.1" "MIT" "CC BY-SA 3.0" "zlib" ]; + license = with licenses; [ + gpl2 lgpl21 mit cc-by-sa-30 + licenses.zlib # otherwise masked by pkgs.zlib + ]; platforms = [ "x86_64-linux" "i686-linux" ]; }; } |