diff options
author | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-11-06 00:44:33 +0000 |
---|---|---|
committer | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-11-06 00:48:16 +0000 |
commit | 007f80c1d0440b89970000b92f78ce76186d99a5 (patch) | |
tree | 4e1b441ae8f3d451ebecde034fd4bc8456286f0c /pkgs/games/zangband | |
parent | d91986c24f1abc34b9785d9e4cd6dbe0bf398853 (diff) |
Turn more licenses into lib.licenses style
Should eval cleanly, as far as -A tarball tells me. Relevant: issue #2999, issue #739
Diffstat (limited to 'pkgs/games/zangband')
-rw-r--r-- | pkgs/games/zangband/default.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/games/zangband/default.nix b/pkgs/games/zangband/default.nix index b94633d8d3a6f..d7b1c18807696 100644 --- a/pkgs/games/zangband/default.nix +++ b/pkgs/games/zangband/default.nix @@ -1,8 +1,8 @@ -a : -let +a : +let fetchurl = a.fetchurl; - version = a.lib.attrByPath ["version"] "2.7.3" a; + version = a.lib.attrByPath ["version"] "2.7.3" a; buildInputs = with a; [ ncurses flex bison autoconf automake m4 ]; @@ -17,7 +17,7 @@ rec { configureFlags = []; preConfigure = a.fullDepEntry ('' - chmod a+rwX -R . + chmod a+rwX -R . sed -re 's/ch(own|grp|mod)/true/' -i lib/*/makefile.zb makefile.in sed -e '/FIXED_PATHS/d' -i src/z-config.h ./bootstrap @@ -42,7 +42,7 @@ rec { done mkdir -p lib/user lib/save for i in lib/*/*.raw; do - test -L "$i" && rm "$i"; + test -L "$i" && rm "$i"; done for i in $(find lib -type l); do if ! test -e $(readlink "$i"); then rm "$i"; fi; done; export ANGBAND_PATH="$PWD" @@ -53,10 +53,10 @@ rec { /* doConfigure should be removed if not needed */ phaseNames = ["preConfigure" "doConfigure" "doMakeInstall" "postInstall"]; - + name = "zangband-" + version; meta = { description = "rogue-like game"; - license = "non-free"; # Basically "not for commercial profit" + license = a.lib.licenses.unfree; }; } |