binutils: extend meta.platforms to unix to fix #12606

Also refactor meta.
Maybe we could have platforms.all in there, but I leave it here.

+3 -3
+3 -3
pkgs/development/tools/misc/binutils/default.nix
··· 67 67 68 68 enableParallelBuilding = true; 69 69 70 - meta = { 70 + meta = with stdenv.lib; { 71 71 description = "Tools for manipulating binaries (linker, assembler, etc.)"; 72 72 longDescription = '' 73 73 The GNU Binutils are a collection of binary tools. The main ··· 76 76 `gprof', `nm', `strip', etc. 77 77 ''; 78 78 homepage = http://www.gnu.org/software/binutils/; 79 - license = stdenv.lib.licenses.gpl3Plus; 80 - platforms = stdenv.lib.platforms.linux; 79 + license = licenses.gpl3Plus; 80 + platforms = platforms.unix; 81 81 82 82 /* Give binutils a lower priority than gcc-wrapper to prevent a 83 83 collision due to the ld/as wrappers/symlinks in the latter. */