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