lol

treewide: fix assorted issues revealed by the meta checker

Turns out a couple of the licenses were wrong, as well as being strings.

+9 -5
+1 -1
pkgs/development/libraries/libxml2/default.nix
··· 70 70 meta = { 71 71 homepage = http://xmlsoft.org/; 72 72 description = "An XML parsing library for C"; 73 - license = "bsd"; 73 + license = lib.licenses.mit; 74 74 platforms = lib.platforms.unix; 75 75 maintainers = [ lib.maintainers.eelco ]; 76 76 };
+1 -1
pkgs/development/libraries/libxslt/default.nix
··· 48 48 meta = with stdenv.lib; { 49 49 homepage = http://xmlsoft.org/XSLT/; 50 50 description = "A C library and tools to do XSL transformations"; 51 - license = "bsd"; 51 + license = licenses.mit; 52 52 platforms = platforms.unix; 53 53 maintainers = [ maintainers.eelco ]; 54 54 };
+1 -1
pkgs/development/tools/misc/binutils/default.nix
··· 95 95 96 96 /* Give binutils a lower priority than gcc-wrapper to prevent a 97 97 collision due to the ld/as wrappers/symlinks in the latter. */ 98 - priority = "10"; 98 + priority = 10; 99 99 }; 100 100 }
+6 -2
pkgs/stdenv/generic/default.nix
··· 205 205 206 206 '' + ((builtins.getAttr reason remediation) attrs)); 207 207 208 - metaTypes = with lib.types; { 208 + metaTypes = with lib.types; rec { 209 209 # These keys are documented 210 210 description = str; 211 211 longDescription = str; 212 212 branch = str; 213 213 homepage = str; 214 214 downloadPage = str; 215 - license = either (listOf lib.types.attrs) lib.types.attrs; 215 + license = either (listOf lib.types.attrs) (either lib.types.attrs str); 216 216 maintainers = listOf str; 217 217 priority = int; 218 218 platforms = listOf str; ··· 223 223 version = str; 224 224 updateWalker = bool; 225 225 executables = listOf str; 226 + outputsToInstall = listOf str; 227 + position = str; 228 + repositories = attrsOf str; 229 + isBuildPythonPackage = platforms; 226 230 }; 227 231 228 232 checkMetaAttr = k: v: