lol

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
5f551322 e8096ee1

+2078 -1141
+7 -7
doc/languages-frameworks/python.section.md
··· 285 285 286 286 ```nix 287 287 { lib 288 - , python3 288 + , python3Packages 289 289 , fetchPypi 290 290 }: 291 291 292 - python3.pkgs.buildPythonApplication rec { 292 + python3Packages.buildPythonApplication rec { 293 293 pname = "luigi"; 294 294 version = "2.7.9"; 295 295 pyproject = true; ··· 300 300 }; 301 301 302 302 nativeBuildInputs = [ 303 - python3.pkgs.setuptools 304 - python3.pkgs.wheel 303 + python3Packages.setuptools 304 + python3Packages.wheel 305 305 ]; 306 306 307 - propagatedBuildInputs = with python3.pkgs; [ 308 - tornado 309 - python-daemon 307 + propagatedBuildInputs = [ 308 + python3Packages.tornado 309 + python3Packages.python-daemon 310 310 ]; 311 311 312 312 meta = with lib; {
-1
lib/fileset/README.md
··· 244 244 - > The file set library is currently somewhat limited but is being expanded to include more functions over time. 245 245 246 246 in [the manual](../../doc/functions/fileset.section.md) 247 - - If/Once a function to convert `lib.sources` values into file sets exists, the `_coerce` and `toSource` functions should be updated to mention that function in the error when such a value is passed 248 247 - If/Once a function exists that can optionally include a path depending on whether it exists, the error message for the path not existing in `_coerce` should mention the new function
+77 -1
lib/fileset/default.nix
··· 3 3 4 4 inherit (import ./internal.nix { inherit lib; }) 5 5 _coerce 6 + _singleton 6 7 _coerceMany 7 8 _toSourceFilter 9 + _fromSourceFilter 8 10 _unionMany 9 11 _fileFilter 10 12 _printFileset ··· 152 154 sourceFilter = _toSourceFilter fileset; 153 155 in 154 156 if ! isPath root then 155 - if isStringLike root then 157 + if root ? _isLibCleanSourceWith then 158 + throw '' 159 + lib.fileset.toSource: `root` is a `lib.sources`-based value, but it should be a path instead. 160 + To use a `lib.sources`-based value, convert it to a file set using `lib.fileset.fromSource` and pass it as `fileset`. 161 + Note that this only works for sources created from paths.'' 162 + else if isStringLike root then 156 163 throw '' 157 164 lib.fileset.toSource: `root` (${toString root}) is a string-like value, but it should be a path instead. 158 165 Paths in strings are not supported by `lib.fileset`, use `lib.sources` or derivations instead.'' ··· 187 194 src = root; 188 195 filter = sourceFilter; 189 196 }; 197 + 198 + /* 199 + Create a file set with the same files as a `lib.sources`-based value. 200 + This does not import any of the files into the store. 201 + 202 + This can be used to gradually migrate from `lib.sources`-based filtering to `lib.fileset`. 203 + 204 + A file set can be turned back into a source using [`toSource`](#function-library-lib.fileset.toSource). 205 + 206 + :::{.note} 207 + File sets cannot represent empty directories. 208 + Turning the result of this function back into a source using `toSource` will therefore not preserve empty directories. 209 + ::: 210 + 211 + Type: 212 + fromSource :: SourceLike -> FileSet 213 + 214 + Example: 215 + # There's no cleanSource-like function for file sets yet, 216 + # but we can just convert cleanSource to a file set and use it that way 217 + toSource { 218 + root = ./.; 219 + fileset = fromSource (lib.sources.cleanSource ./.); 220 + } 221 + 222 + # Keeping a previous sourceByRegex (which could be migrated to `lib.fileset.unions`), 223 + # but removing a subdirectory using file set functions 224 + difference 225 + (fromSource (lib.sources.sourceByRegex ./. [ 226 + "^README\.md$" 227 + # This regex includes everything in ./doc 228 + "^doc(/.*)?$" 229 + ]) 230 + ./doc/generated 231 + 232 + # Use cleanSource, but limit it to only include ./Makefile and files under ./src 233 + intersection 234 + (fromSource (lib.sources.cleanSource ./.)) 235 + (unions [ 236 + ./Makefile 237 + ./src 238 + ]); 239 + */ 240 + fromSource = source: 241 + let 242 + # This function uses `._isLibCleanSourceWith`, `.origSrc` and `.filter`, 243 + # which are technically internal to lib.sources, 244 + # but we'll allow this since both libraries are in the same code base 245 + # and this function is a bridge between them. 246 + isFiltered = source ? _isLibCleanSourceWith; 247 + path = if isFiltered then source.origSrc else source; 248 + in 249 + # We can only support sources created from paths 250 + if ! isPath path then 251 + if isStringLike path then 252 + throw '' 253 + lib.fileset.fromSource: The source origin of the argument is a string-like value ("${toString path}"), but it should be a path instead. 254 + Sources created from paths in strings cannot be turned into file sets, use `lib.sources` or derivations instead.'' 255 + else 256 + throw '' 257 + lib.fileset.fromSource: The source origin of the argument is of type ${typeOf path}, but it should be a path instead.'' 258 + else if ! pathExists path then 259 + throw '' 260 + lib.fileset.fromSource: The source origin (${toString path}) of the argument does not exist.'' 261 + else if isFiltered then 262 + _fromSourceFilter path source.filter 263 + else 264 + # If there's no filter, no need to run the expensive conversion, all subpaths will be included 265 + _singleton path; 190 266 191 267 /* 192 268 The file set containing all files that are in either of two given file sets.
+59 -1
lib/fileset/internal.nix
··· 167 167 else 168 168 value 169 169 else if ! isPath value then 170 - if isStringLike value then 170 + if value ? _isLibCleanSourceWith then 171 + throw '' 172 + ${context} is a `lib.sources`-based value, but it should be a file set or a path instead. 173 + To convert a `lib.sources`-based value to a file set you can use `lib.fileset.fromSource`. 174 + Note that this only works for sources created from paths.'' 175 + else if isStringLike value then 171 176 throw '' 172 177 ${context} ("${toString value}") is a string-like value, but it should be a file set or a path instead. 173 178 Paths represented as strings are not supported by `lib.fileset`, use `lib.sources` or derivations instead.'' ··· 469 474 empty 470 475 else 471 476 nonEmpty; 477 + 478 + # Turn a builtins.filterSource-based source filter on a root path into a file set 479 + # containing only files included by the filter. 480 + # The filter is lazily called as necessary to determine whether paths are included 481 + # Type: Path -> (String -> String -> Bool) -> fileset 482 + _fromSourceFilter = root: sourceFilter: 483 + let 484 + # During the recursion we need to track both: 485 + # - The path value such that we can safely call `readDir` on it 486 + # - The path string value such that we can correctly call the `filter` with it 487 + # 488 + # While we could just recurse with the path value, 489 + # this would then require converting it to a path string for every path, 490 + # which is a fairly expensive operation 491 + 492 + # Create a file set from a directory entry 493 + fromDirEntry = path: pathString: type: 494 + # The filter needs to run on the path as a string 495 + if ! sourceFilter pathString type then 496 + null 497 + else if type == "directory" then 498 + fromDir path pathString 499 + else 500 + type; 501 + 502 + # Create a file set from a directory 503 + fromDir = path: pathString: 504 + mapAttrs 505 + # This looks a bit funny, but we need both the path-based and the path string-based values 506 + (name: fromDirEntry (path + "/${name}") (pathString + "/${name}")) 507 + # We need to readDir on the path value, because reading on a path string 508 + # would be unspecified if there are multiple filesystem roots 509 + (readDir path); 510 + 511 + rootPathType = pathType root; 512 + 513 + # We need to convert the path to a string to imitate what builtins.path calls the filter function with. 514 + # We don't want to rely on `toString` for this though because it's not very well defined, see ../path/README.md 515 + # So instead we use `lib.path.splitRoot` to safely deconstruct the path into its filesystem root and subpath 516 + # We don't need the filesystem root though, builtins.path doesn't expose that in any way to the filter. 517 + # So we only need the components, which we then turn into a string as one would expect. 518 + rootString = "/" + concatStringsSep "/" (components (splitRoot root).subpath); 519 + in 520 + if rootPathType == "directory" then 521 + # We imitate builtins.path not calling the filter on the root path 522 + _create root (fromDir root rootString) 523 + else 524 + # Direct files are always included by builtins.path without calling the filter 525 + # But we need to lift up the base path to its parent to satisfy the base path invariant 526 + _create (dirOf root) 527 + { 528 + ${baseNameOf root} = rootPathType; 529 + }; 472 530 473 531 # Transforms the filesetTree of a file set to a shorter base path, e.g. 474 532 # _shortenTreeBase [ "foo" ] (_create /foo/bar null)
+262 -26
lib/fileset/tests.sh
··· 1 1 #!/usr/bin/env bash 2 2 # shellcheck disable=SC2016 3 + # shellcheck disable=SC2317 4 + # shellcheck disable=SC2192 3 5 4 6 # Tests lib.fileset 5 7 # Run: ··· 224 226 fi 225 227 } 226 228 229 + 230 + # Create the tree structure declared in the tree variable, usage: 231 + # 232 + # tree=( 233 + # [a/b] = # Declare that file a/b should exist 234 + # [c/a] = # Declare that file c/a should exist 235 + # [c/d/]= # Declare that directory c/d/ should exist 236 + # ) 237 + # createTree 238 + declare -A tree 239 + createTree() { 240 + # Track which paths need to be created 241 + local -a dirsToCreate=() 242 + local -a filesToCreate=() 243 + for p in "${!tree[@]}"; do 244 + # If keys end with a `/` we treat them as directories, otherwise files 245 + if [[ "$p" =~ /$ ]]; then 246 + dirsToCreate+=("$p") 247 + else 248 + filesToCreate+=("$p") 249 + fi 250 + done 251 + 252 + # Create all the necessary paths. 253 + # This is done with only a fixed number of processes, 254 + # in order to not be too slow 255 + # Though this does mean we're a bit limited with how many files can be created 256 + if (( ${#dirsToCreate[@]} != 0 )); then 257 + mkdir -p "${dirsToCreate[@]}" 258 + fi 259 + if (( ${#filesToCreate[@]} != 0 )); then 260 + readarray -d '' -t parentsToCreate < <(dirname -z "${filesToCreate[@]}") 261 + mkdir -p "${parentsToCreate[@]}" 262 + touch "${filesToCreate[@]}" 263 + fi 264 + } 265 + 227 266 # Check whether a file set includes/excludes declared paths as expected, usage: 228 267 # 229 268 # tree=( ··· 232 271 # [c/d/]= # Declare that directory c/d/ should exist and expect it to be excluded in the store path 233 272 # ) 234 273 # checkFileset './a' # Pass the fileset as the argument 235 - declare -A tree 236 274 checkFileset() { 237 275 # New subshell so that we can have a separate trap handler, see `trap` below 238 276 local fileset=$1 239 277 278 + # Create the tree 279 + createTree 280 + 240 281 # Process the tree into separate arrays for included paths, excluded paths and excluded files. 241 282 local -a included=() 242 283 local -a excluded=() 243 284 local -a excludedFiles=() 244 - # Track which paths need to be created 245 - local -a dirsToCreate=() 246 - local -a filesToCreate=() 247 285 for p in "${!tree[@]}"; do 248 - # If keys end with a `/` we treat them as directories, otherwise files 249 - if [[ "$p" =~ /$ ]]; then 250 - dirsToCreate+=("$p") 251 - isFile= 252 - else 253 - filesToCreate+=("$p") 254 - isFile=1 255 - fi 256 286 case "${tree[$p]}" in 257 287 1) 258 288 included+=("$p") 259 289 ;; 260 290 0) 261 291 excluded+=("$p") 262 - if [[ -n "$isFile" ]]; then 292 + # If keys end with a `/` we treat them as directories, otherwise files 293 + if [[ ! "$p" =~ /$ ]]; then 263 294 excludedFiles+=("$p") 264 295 fi 265 296 ;; ··· 268 299 esac 269 300 done 270 301 271 - # Create all the necessary paths. 272 - # This is done with only a fixed number of processes, 273 - # in order to not be too slow 274 - # Though this does mean we're a bit limited with how many files can be created 275 - if (( ${#dirsToCreate[@]} != 0 )); then 276 - mkdir -p "${dirsToCreate[@]}" 277 - fi 278 - if (( ${#filesToCreate[@]} != 0 )); then 279 - readarray -d '' -t parentsToCreate < <(dirname -z "${filesToCreate[@]}") 280 - mkdir -p "${parentsToCreate[@]}" 281 - touch "${filesToCreate[@]}" 282 - fi 283 - 284 302 expression="toSource { root = ./.; fileset = $fileset; }" 285 303 286 304 # We don't have lambda's in bash unfortunately, ··· 321 339 expectFailure 'toSource { root = "/nix/store/foobar"; fileset = ./.; }' 'lib.fileset.toSource: `root` \(/nix/store/foobar\) is a string-like value, but it should be a path instead. 322 340 \s*Paths in strings are not supported by `lib.fileset`, use `lib.sources` or derivations instead.' 323 341 342 + expectFailure 'toSource { root = cleanSourceWith { src = ./.; }; fileset = ./.; }' 'lib.fileset.toSource: `root` is a `lib.sources`-based value, but it should be a path instead. 343 + \s*To use a `lib.sources`-based value, convert it to a file set using `lib.fileset.fromSource` and pass it as `fileset`. 344 + \s*Note that this only works for sources created from paths.' 345 + 324 346 # Only paths are accepted as `root` 325 347 expectFailure 'toSource { root = 10; fileset = ./.; }' 'lib.fileset.toSource: `root` is of type int, but it should be a path instead.' 326 348 ··· 365 387 expectFailure 'toSource { root = ./.; fileset = 10; }' 'lib.fileset.toSource: `fileset` is of type int, but it should be a file set or a path instead.' 366 388 expectFailure 'toSource { root = ./.; fileset = "/some/path"; }' 'lib.fileset.toSource: `fileset` \("/some/path"\) is a string-like value, but it should be a file set or a path instead. 367 389 \s*Paths represented as strings are not supported by `lib.fileset`, use `lib.sources` or derivations instead.' 390 + expectFailure 'toSource { root = ./.; fileset = cleanSourceWith { src = ./.; }; }' 'lib.fileset.toSource: `fileset` is a `lib.sources`-based value, but it should be a file set or a path instead. 391 + \s*To convert a `lib.sources`-based value to a file set you can use `lib.fileset.fromSource`. 392 + \s*Note that this only works for sources created from paths.' 368 393 369 394 # Path coercion errors for non-existent paths 370 395 expectFailure 'toSource { root = ./.; fileset = ./a; }' 'lib.fileset.toSource: `fileset` \('"$work"'/a\) is a path that does not exist.' ··· 993 1018 # We need an excluded file so it doesn't print as `(all files in directory)` 994 1019 touch 0 "${filesToCreate[@]}" 995 1020 expectTrace 'unions (mapAttrsToList (n: _: ./. + "/${n}") (removeAttrs (builtins.readDir ./.) [ "0" ]))' "$expectedTrace" 1021 + rm -rf -- * 1022 + 1023 + ## lib.fileset.fromSource 1024 + 1025 + # Check error messages 1026 + expectFailure 'fromSource null' 'lib.fileset.fromSource: The source origin of the argument is of type null, but it should be a path instead.' 1027 + 1028 + expectFailure 'fromSource (lib.cleanSource "")' 'lib.fileset.fromSource: The source origin of the argument is a string-like value \(""\), but it should be a path instead. 1029 + \s*Sources created from paths in strings cannot be turned into file sets, use `lib.sources` or derivations instead.' 1030 + 1031 + expectFailure 'fromSource (lib.cleanSource null)' 'lib.fileset.fromSource: The source origin of the argument is of type null, but it should be a path instead.' 1032 + 1033 + # fromSource on a path works and is the same as coercing that path 1034 + mkdir a 1035 + touch a/b c 1036 + expectEqual 'trace (fromSource ./.) null' 'trace ./. null' 1037 + rm -rf -- * 1038 + 1039 + # Check that converting to a file set doesn't read the included files 1040 + mkdir a 1041 + touch a/b 1042 + run() { 1043 + expectEqual "trace (fromSource (lib.cleanSourceWith { src = ./a; })) null" "builtins.trace \"$work/a (all files in directory)\" null" 1044 + rm a/b 1045 + } 1046 + withFileMonitor run a/b 1047 + rm -rf -- * 1048 + 1049 + # Check that converting to a file set doesn't read entries for directories that are filtered out 1050 + mkdir -p a/b 1051 + touch a/b/c 1052 + run() { 1053 + expectEqual "trace (fromSource (lib.cleanSourceWith { 1054 + src = ./a; 1055 + filter = pathString: type: false; 1056 + })) null" "builtins.trace \"(empty)\" null" 1057 + rm a/b/c 1058 + rmdir a/b 1059 + } 1060 + withFileMonitor run a/b 1061 + rm -rf -- * 1062 + 1063 + # The filter is not needed on empty directories 1064 + expectEqual 'trace (fromSource (lib.cleanSourceWith { 1065 + src = ./.; 1066 + filter = abort "filter should not be needed"; 1067 + })) null' 'trace _emptyWithoutBase null' 1068 + 1069 + # Single files also work 1070 + touch a b 1071 + expectEqual 'trace (fromSource (cleanSourceWith { src = ./a; })) null' 'trace ./a null' 1072 + rm -rf -- * 1073 + 1074 + # For a tree assigning each subpath true/false, 1075 + # check whether a source filter with those results includes the same files 1076 + # as a file set created using fromSource. Usage: 1077 + # 1078 + # tree=( 1079 + # [a]=1 # ./a is a file and the filter should return true for it 1080 + # [b/]=0 # ./b is a directory and the filter should return false for it 1081 + # ) 1082 + # checkSource 1083 + checkSource() { 1084 + createTree 1085 + 1086 + # Serialise the tree as JSON (there's only minimal savings with jq, 1087 + # and we don't need to handle escapes) 1088 + { 1089 + echo "{" 1090 + first=1 1091 + for p in "${!tree[@]}"; do 1092 + if [[ -z "$first" ]]; then 1093 + echo "," 1094 + else 1095 + first= 1096 + fi 1097 + echo "\"$p\":" 1098 + case "${tree[$p]}" in 1099 + 1) 1100 + echo "true" 1101 + ;; 1102 + 0) 1103 + echo "false" 1104 + ;; 1105 + *) 1106 + die "Unsupported tree value: ${tree[$p]}" 1107 + esac 1108 + done 1109 + echo "}" 1110 + } > "$tmp/tree.json" 1111 + 1112 + # An expression to create a source value with a filter matching the tree 1113 + sourceExpr=' 1114 + let 1115 + tree = importJSON '"$tmp"'/tree.json; 1116 + in 1117 + cleanSourceWith { 1118 + src = ./.; 1119 + filter = 1120 + pathString: type: 1121 + let 1122 + stripped = removePrefix (toString ./. + "/") pathString; 1123 + key = stripped + optionalString (type == "directory") "/"; 1124 + in 1125 + tree.${key} or 1126 + (throw "tree key ${key} missing"); 1127 + } 1128 + ' 1129 + 1130 + filesetExpr=' 1131 + toSource { 1132 + root = ./.; 1133 + fileset = fromSource ('"$sourceExpr"'); 1134 + } 1135 + ' 1136 + 1137 + # Turn both into store paths 1138 + sourceStorePath=$(expectStorePath "$sourceExpr") 1139 + filesetStorePath=$(expectStorePath "$filesetExpr") 1140 + 1141 + # Loop through each path in the tree 1142 + while IFS= read -r -d $'\0' subpath; do 1143 + if [[ ! -e "$sourceStorePath"/"$subpath" ]]; then 1144 + # If it's not in the source store path, it's also not in the file set store path 1145 + if [[ -e "$filesetStorePath"/"$subpath" ]]; then 1146 + die "The store path $sourceStorePath created by $expr doesn't contain $subpath, but the corresponding store path $filesetStorePath created via fromSource does contain $subpath" 1147 + fi 1148 + elif [[ -z "$(find "$sourceStorePath"/"$subpath" -type f)" ]]; then 1149 + # If it's an empty directory in the source store path, it shouldn't be in the file set store path 1150 + if [[ -e "$filesetStorePath"/"$subpath" ]]; then 1151 + die "The store path $sourceStorePath created by $expr contains the path $subpath without any files, but the corresponding store path $filesetStorePath created via fromSource didn't omit it" 1152 + fi 1153 + else 1154 + # If it's non-empty directory or a file, it should be in the file set store path 1155 + if [[ ! -e "$filesetStorePath"/"$subpath" ]]; then 1156 + die "The store path $sourceStorePath created by $expr contains the non-empty path $subpath, but the corresponding store path $filesetStorePath created via fromSource doesn't include it" 1157 + fi 1158 + fi 1159 + done < <(find . -mindepth 1 -print0) 1160 + 1161 + rm -rf -- * 1162 + } 1163 + 1164 + # Check whether the filter is evaluated correctly 1165 + tree=( 1166 + [a]= 1167 + [b/]= 1168 + [b/c]= 1169 + [b/d]= 1170 + [e/]= 1171 + [e/e/]= 1172 + ) 1173 + # We fill out the above tree values with all possible combinations of 0 and 1 1174 + # Then check whether a filter based on those return values gets turned into the corresponding file set 1175 + for i in $(seq 0 $((2 ** ${#tree[@]} - 1 ))); do 1176 + for p in "${!tree[@]}"; do 1177 + tree[$p]=$(( i % 2 )) 1178 + (( i /= 2 )) || true 1179 + done 1180 + checkSource 1181 + done 1182 + 1183 + # The filter is called with the same arguments in the same order 1184 + mkdir a e 1185 + touch a/b a/c d e 1186 + expectEqual ' 1187 + trace (fromSource (cleanSourceWith { 1188 + src = ./.; 1189 + filter = pathString: type: builtins.trace "${pathString} ${toString type}" true; 1190 + })) null 1191 + ' ' 1192 + builtins.seq (cleanSourceWith { 1193 + src = ./.; 1194 + filter = pathString: type: builtins.trace "${pathString} ${toString type}" true; 1195 + }).outPath 1196 + builtins.trace "'"$work"' (all files in directory)" 1197 + null 1198 + ' 1199 + rm -rf -- * 1200 + 1201 + # Test that if a directory is not included, the filter isn't called on its contents 1202 + mkdir a b 1203 + touch a/c b/d 1204 + expectEqual 'trace (fromSource (cleanSourceWith { 1205 + src = ./.; 1206 + filter = pathString: type: 1207 + if pathString == toString ./a then 1208 + false 1209 + else if pathString == toString ./b then 1210 + true 1211 + else if pathString == toString ./b/d then 1212 + true 1213 + else 1214 + abort "This filter should not be called with path ${pathString}"; 1215 + })) null' 'trace (_create ./. { b = "directory"; }) null' 1216 + rm -rf -- * 1217 + 1218 + # The filter is called lazily: 1219 + # If a later say intersection removes a part of the tree, the filter won't run on it 1220 + mkdir a d 1221 + touch a/{b,c} d/e 1222 + expectEqual 'trace (intersection ./a (fromSource (lib.cleanSourceWith { 1223 + src = ./.; 1224 + filter = pathString: type: 1225 + if pathString == toString ./a || pathString == toString ./a/b then 1226 + true 1227 + else if pathString == toString ./a/c then 1228 + false 1229 + else 1230 + abort "filter should not be called on ${pathString}"; 1231 + }))) null' 'trace ./a/b null' 996 1232 rm -rf -- * 997 1233 998 1234 # TODO: Once we have combinators and a property testing library, derive property tests from https://en.wikipedia.org/wiki/Algebra_of_sets
+16
nixos/doc/manual/development/running-nixos-tests-interactively.section.md
··· 57 57 Once the connection is established, you can enter commands in the socat terminal 58 58 where socat is running. 59 59 60 + ## Port forwarding to NixOS test VMs {#sec-nixos-test-port-forwarding} 61 + 62 + If your test has only a single VM, you may use e.g. 63 + 64 + ```ShellSession 65 + $ QEMU_NET_OPTS="hostfwd=tcp:127.0.0.1:2222-127.0.0.1:22" ./result/bin/nixos-test-driver 66 + ``` 67 + 68 + to port-forward a port in the VM (here `22`) to the host machine (here port `2222`). 69 + 70 + This naturally does not work when multiple machines are involved, 71 + since a single port on the host cannot forward to multiple VMs. 72 + 73 + If the test defines multiple machines, you may opt to _temporarily_ set 74 + `virtualisation.forwardPorts` in the test definition for debugging. 75 + 60 76 ## Reuse VM state {#sec-nixos-test-reuse-vm-state} 61 77 62 78 You can re-use the VM states coming from a previous run by setting the
+1 -1
nixos/doc/manual/installation/changing-config.chapter.md
··· 89 89 port 22 (SSH): 90 90 91 91 ```ShellSession 92 - $ QEMU_NET_OPTS="hostfwd=tcp::2222-:22" ./result/bin/run-*-vm 92 + $ QEMU_NET_OPTS="hostfwd=tcp:127.0.0.1:2222-127.0.0.1:22" ./result/bin/run-*-vm 93 93 ``` 94 94 95 95 allowing you to log in via SSH (assuming you have set the appropriate
+6
nixos/doc/manual/release-notes/rl-2311.section.md
··· 33 33 - All [ROCm](https://rocm.docs.amd.com/en/latest/) packages have been updated to 5.7.0. 34 34 - [ROCm](https://rocm.docs.amd.com/en/latest/) package attribute sets are versioned: `rocmPackages` -> `rocmPackages_5`. 35 35 36 + - `yarn-berry` has been updated to 4.0.1. This means that NodeJS versions less than `18.12` are no longer supported by it. More details at the [upstream changelog](https://github.com/yarnpkg/berry/blob/master/CHANGELOG.md). 37 + 36 38 - If the user has a custom shell enabled via `users.users.${USERNAME}.shell = ${CUSTOMSHELL}`, the 37 39 assertion will require them to also set `programs.${CUSTOMSHELL}.enable = 38 40 true`. This is generally safe behavior, but for anyone needing to opt out from ··· 373 375 374 376 - The `junicode` font package has been updated to [major version 2](https://github.com/psb1558/Junicode-font/releases/tag/v2.001), which is now a font family. In particular, plain `Junicode.ttf` no longer exists. In addition, TrueType font files are now placed in `font/truetype` instead of `font/junicode-ttf`; this change does not affect use via `fonts.packages` NixOS option. 375 377 378 + - The `prayer` package as well as `services.prayer` have been removed because it's been unmaintained for several years and the author's website has vanished. 379 + 376 380 ## Other Notable Changes {#sec-release-23.11-notable-changes} 377 381 378 382 - A new option `system.switch.enable` was added. By default, this is option is ··· 524 528 - `fusuma` now enables the following plugins: [appmatcher](https://github.com/iberianpig/fusuma-plugin-appmatcher), [keypress](https://github.com/iberianpig/fusuma-plugin-keypress), [sendkey](https://github.com/iberianpig/fusuma-plugin-sendkey), [tap](https://github.com/iberianpig/fusuma-plugin-tap) and [wmctrl](https://github.com/iberianpig/fusuma-plugin-wmctrl). 525 529 526 530 - `services.bitcoind` now properly respects the `enable` option. 531 + 532 + - The Home Assistant module now offers support for installing custom components and lovelace modules. Available at [`services.home-assistant.customComponents`](#opt-services.home-assistant.customComponents) and [`services.home-assistant.customLovelaceModules`](#opt-services.home-assistant.customLovelaceModules). 527 533 528 534 ## Nixpkgs internals {#sec-release-23.11-nixpkgs-internals} 529 535
+2 -2
nixos/modules/misc/ids.nix
··· 86 86 #rtkit = 45; # dynamically allocated 2021-09-03 87 87 dovecot2 = 46; 88 88 dovenull2 = 47; 89 - prayer = 49; 89 + # prayer = 49; # dropped in 23.11 90 90 mpd = 50; 91 91 clamav = 51; 92 92 #fprot = 52; # unused ··· 411 411 #rtkit = 45; # unused 412 412 dovecot2 = 46; 413 413 dovenull2 = 47; 414 - prayer = 49; 414 + # prayer = 49; # dropped in 23.11 415 415 mpd = 50; 416 416 clamav = 51; 417 417 #fprot = 52; # unused
-1
nixos/modules/module-list.nix
··· 1041 1041 ./services/networking/powerdns.nix 1042 1042 ./services/networking/pppd.nix 1043 1043 ./services/networking/pptpd.nix 1044 - ./services/networking/prayer.nix 1045 1044 ./services/networking/privoxy.nix 1046 1045 ./services/networking/prosody.nix 1047 1046 ./services/networking/quassel.nix
+1
nixos/modules/rename.nix
··· 111 111 (mkRemovedOptionModule [ "services" "riak" ] "The corresponding package was removed from nixpkgs.") 112 112 (mkRemovedOptionModule [ "services" "cryptpad" ] "The corresponding package was removed from nixpkgs.") 113 113 (mkRemovedOptionModule [ "services" "rtsp-simple-server" ] "Package has been completely rebranded by upstream as mediamtx, and thus the service and the package were renamed in NixOS as well.") 114 + (mkRemovedOptionModule [ "services" "prayer" ] "The corresponding package was removed from nixpkgs.") 114 115 115 116 (mkRemovedOptionModule [ "i18n" "inputMethod" "fcitx" ] "The fcitx module has been removed. Please use fcitx5 instead") 116 117 (mkRemovedOptionModule [ "services" "dhcpd4" ] ''
+1 -1
nixos/modules/services/desktops/gnome/at-spi2-core.nix
··· 51 51 }) 52 52 53 53 (mkIf (!config.services.gnome.at-spi2-core.enable) { 54 - environment.variables = { 54 + environment.sessionVariables = { 55 55 NO_AT_BRIDGE = "1"; 56 56 GTK_A11Y = "none"; 57 57 };
+81 -3
nixos/modules/services/home-automation/home-assistant.nix
··· 16 16 cp ${format.generate "configuration.yaml" filteredConfig} $out 17 17 sed -i -e "s/'\!\([a-z_]\+\) \(.*\)'/\!\1 \2/;s/^\!\!/\!/;" $out 18 18 ''; 19 - lovelaceConfig = cfg.lovelaceConfig or {}; 19 + lovelaceConfig = if (cfg.lovelaceConfig == null) then {} 20 + else (lib.recursiveUpdate customLovelaceModulesResources cfg.lovelaceConfig); 20 21 lovelaceConfigFile = format.generate "ui-lovelace.yaml" lovelaceConfig; 21 22 22 23 # Components advertised by the home-assistant package ··· 62 63 # Respect overrides that already exist in the passed package and 63 64 # concat it with values passed via the module. 64 65 extraComponents = oldArgs.extraComponents or [] ++ extraComponents; 65 - extraPackages = ps: (oldArgs.extraPackages or (_: []) ps) ++ (cfg.extraPackages ps); 66 + extraPackages = ps: (oldArgs.extraPackages or (_: []) ps) 67 + ++ (cfg.extraPackages ps) 68 + ++ (lib.concatMap (component: component.propagatedBuildInputs or []) cfg.customComponents); 66 69 })); 70 + 71 + # Create a directory that holds all lovelace modules 72 + customLovelaceModulesDir = pkgs.buildEnv { 73 + name = "home-assistant-custom-lovelace-modules"; 74 + paths = cfg.customLovelaceModules; 75 + }; 76 + 77 + # Create parts of the lovelace config that reference lovelave modules as resources 78 + customLovelaceModulesResources = { 79 + lovelace.resources = map (card: { 80 + url = "/local/nixos-lovelace-modules/${card.entrypoint or card.pname}.js?${card.version}"; 81 + type = "module"; 82 + }) cfg.customLovelaceModules; 83 + }; 67 84 in { 68 85 imports = [ 69 86 # Migrations in NixOS 22.05 ··· 134 151 135 152 A popular example is `python3Packages.psycopg2` 136 153 for PostgreSQL support in the recorder component. 154 + ''; 155 + }; 156 + 157 + customComponents = mkOption { 158 + type = types.listOf types.package; 159 + default = []; 160 + example = literalExpression '' 161 + with pkgs.home-assistant-custom-components; [ 162 + prometheus-sensor 163 + ]; 164 + ''; 165 + description = lib.mdDoc '' 166 + List of custom component packages to install. 167 + 168 + Available components can be found below `pkgs.home-assistant-custom-components`. 169 + ''; 170 + }; 171 + 172 + customLovelaceModules = mkOption { 173 + type = types.listOf types.package; 174 + default = []; 175 + example = literalExpression '' 176 + with pkgs.home-assistant-custom-lovelace-modules; [ 177 + mini-graph-card 178 + mini-media-player 179 + ]; 180 + ''; 181 + description = lib.mdDoc '' 182 + List of custom lovelace card packages to load as lovelace resources. 183 + 184 + Available cards can be found below `pkgs.home-assistant-custom-lovelace-modules`. 185 + 186 + ::: {.note} 187 + Automatic loading only works with lovelace in `yaml` mode. 188 + ::: 137 189 ''; 138 190 }; 139 191 ··· 408 460 rm -f "${cfg.configDir}/ui-lovelace.yaml" 409 461 ln -s /etc/home-assistant/ui-lovelace.yaml "${cfg.configDir}/ui-lovelace.yaml" 410 462 ''; 463 + copyCustomLovelaceModules = if cfg.customLovelaceModules != [] then '' 464 + mkdir -p "${cfg.configDir}/www" 465 + ln -fns ${customLovelaceModulesDir} "${cfg.configDir}/www/nixos-lovelace-modules" 466 + '' else '' 467 + rm -f "${cfg.configDir}/www/nixos-lovelace-modules" 468 + ''; 469 + copyCustomComponents = '' 470 + mkdir -p "${cfg.configDir}/custom_components" 471 + 472 + # remove components symlinked in from below the /nix/store 473 + components="$(find "${cfg.configDir}/custom_components" -maxdepth 1 -type l)" 474 + for component in "$components"; do 475 + if [[ "$(readlink "$component")" =~ ^${escapeShellArg builtins.storeDir} ]]; then 476 + rm "$component" 477 + fi 478 + done 479 + 480 + # recreate symlinks for desired components 481 + declare -a components=(${escapeShellArgs cfg.customComponents}) 482 + for component in "''${components[@]}"; do 483 + path="$(dirname $(find "$component" -name "manifest.json"))" 484 + ln -fns "$path" "${cfg.configDir}/custom_components/" 485 + done 486 + ''; 411 487 in 412 488 (optionalString (cfg.config != null) copyConfig) + 413 - (optionalString (cfg.lovelaceConfig != null) copyLovelaceConfig) 489 + (optionalString (cfg.lovelaceConfig != null) copyLovelaceConfig) + 490 + copyCustomLovelaceModules + 491 + copyCustomComponents 414 492 ; 415 493 environment.PYTHONPATH = package.pythonPath; 416 494 serviceConfig = let
-90
nixos/modules/services/networking/prayer.nix
··· 1 - { config, lib, pkgs, ... }: 2 - 3 - with lib; 4 - 5 - let 6 - 7 - inherit (pkgs) prayer; 8 - 9 - cfg = config.services.prayer; 10 - 11 - stateDir = "/var/lib/prayer"; 12 - 13 - prayerUser = "prayer"; 14 - prayerGroup = "prayer"; 15 - 16 - prayerExtraCfg = pkgs.writeText "extraprayer.cf" '' 17 - prefix = "${prayer}" 18 - var_prefix = "${stateDir}" 19 - prayer_user = "${prayerUser}" 20 - prayer_group = "${prayerGroup}" 21 - sendmail_path = "/run/wrappers/bin/sendmail" 22 - 23 - use_http_port ${cfg.port} 24 - 25 - ${cfg.extraConfig} 26 - ''; 27 - 28 - prayerCfg = pkgs.runCommand "prayer.cf" { preferLocalBuild = true; } '' 29 - # We have to remove the http_port 80, or it will start a server there 30 - cat ${prayer}/etc/prayer.cf | grep -v http_port > $out 31 - cat ${prayerExtraCfg} >> $out 32 - ''; 33 - 34 - in 35 - 36 - { 37 - 38 - ###### interface 39 - 40 - options = { 41 - 42 - services.prayer = { 43 - 44 - enable = mkEnableOption (lib.mdDoc "the prayer webmail http server"); 45 - 46 - port = mkOption { 47 - default = 2080; 48 - type = types.port; 49 - description = lib.mdDoc '' 50 - Port the prayer http server is listening to. 51 - ''; 52 - }; 53 - 54 - extraConfig = mkOption { 55 - type = types.lines; 56 - default = "" ; 57 - description = lib.mdDoc '' 58 - Extra configuration. Contents will be added verbatim to the configuration file. 59 - ''; 60 - }; 61 - }; 62 - 63 - }; 64 - 65 - 66 - ###### implementation 67 - 68 - config = mkIf config.services.prayer.enable { 69 - environment.systemPackages = [ prayer ]; 70 - 71 - users.users.${prayerUser} = 72 - { uid = config.ids.uids.prayer; 73 - description = "Prayer daemon user"; 74 - home = stateDir; 75 - }; 76 - 77 - users.groups.${prayerGroup} = 78 - { gid = config.ids.gids.prayer; }; 79 - 80 - systemd.services.prayer = { 81 - wantedBy = [ "multi-user.target" ]; 82 - serviceConfig.Type = "forking"; 83 - preStart = '' 84 - mkdir -m 0755 -p ${stateDir} 85 - chown ${prayerUser}:${prayerGroup} ${stateDir} 86 - ''; 87 - script = "${prayer}/sbin/prayer --config-file=${prayerCfg}"; 88 - }; 89 - }; 90 - }
+33
nixos/tests/home-assistant.nix
··· 43 43 psycopg2 44 44 ]; 45 45 46 + # test loading custom components 47 + customComponents = with pkgs.home-assistant-custom-components; [ 48 + prometheus-sensor 49 + ]; 50 + 51 + # test loading lovelace modules 52 + customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules; [ 53 + mini-graph-card 54 + ]; 55 + 46 56 config = { 47 57 homeassistant = { 48 58 name = "Home"; ··· 114 124 inheritParentConfig = true; 115 125 configuration.services.home-assistant.config.backup = {}; 116 126 }; 127 + 128 + specialisation.removeCustomThings = { 129 + inheritParentConfig = true; 130 + configuration.services.home-assistant = { 131 + customComponents = lib.mkForce []; 132 + customLovelaceModules = lib.mkForce []; 133 + }; 134 + }; 117 135 }; 118 136 119 137 testScript = { nodes, ... }: let ··· 161 179 hass.wait_for_open_port(8123) 162 180 hass.succeed("curl --fail http://localhost:8123/lovelace") 163 181 182 + with subtest("Check that custom components get installed"): 183 + hass.succeed("test -f ${configDir}/custom_components/prometheus_sensor/manifest.json") 184 + hass.wait_until_succeeds("journalctl -u home-assistant.service | grep -q 'We found a custom integration prometheus_sensor which has not been tested by Home Assistant'") 185 + 186 + with subtest("Check that lovelace modules are referenced and fetchable"): 187 + hass.succeed("grep -q 'mini-graph-card-bundle.js' '${configDir}/ui-lovelace.yaml'") 188 + hass.succeed("curl --fail http://localhost:8123/local/nixos-lovelace-modules/mini-graph-card-bundle.js") 189 + 164 190 with subtest("Check that optional dependencies are in the PYTHONPATH"): 165 191 env = get_unit_property("Environment") 166 192 python_path = env.split("PYTHONPATH=")[1].split()[0] ··· 199 225 journal = get_journal_since(cursor) 200 226 for domain in ["backup"]: 201 227 assert f"Setup of domain {domain} took" in journal, f"{domain} setup missing" 228 + 229 + with subtest("Check custom components and custom lovelace modules get removed"): 230 + cursor = get_journal_cursor() 231 + hass.succeed("${system}/specialisation/removeCustomThings/bin/switch-to-configuration test") 232 + hass.fail("grep -q 'mini-graph-card-bundle.js' '${configDir}/ui-lovelace.yaml'") 233 + hass.fail("test -f ${configDir}/custom_components/prometheus_sensor/manifest.json") 234 + wait_for_homeassistant(cursor) 202 235 203 236 with subtest("Check that no errors were logged"): 204 237 hass.fail("journalctl -u home-assistant -o cat | grep -q ERROR")
+12 -6
pkgs/applications/audio/vorbis-tools/default.nix
··· 1 - { lib, stdenv, fetchurl, libogg, libvorbis, libao, pkg-config, curl 1 + { lib, stdenv, fetchurl, fetchpatch, libogg, libvorbis, libao, pkg-config, curl, libiconv 2 2 , speex, flac 3 3 , autoreconfHook }: 4 4 ··· 11 11 sha256 = "1c7h4ivgfdyygz2hyh6nfibxlkz8kdk868a576qkkjgj5gn78xyv"; 12 12 }; 13 13 14 - nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 - buildInputs = [ libogg libvorbis libao curl speex flac ]; 14 + patches = lib.optionals stdenv.cc.isClang [ 15 + # Fixes a call to undeclared function `utf8_decode`. 16 + # https://github.com/xiph/vorbis-tools/pull/33 17 + (fetchpatch { 18 + url = "https://github.com/xiph/vorbis-tools/commit/8a645f78b45ae7e370c0dc2a52d0f2612aa6110b.patch"; 19 + hash = "sha256-RkT9Xa0pRu/oO9E9qhDa17L0luWgYHI2yINIkPZanmI="; 20 + }) 21 + ]; 16 22 17 - env = lib.optionalAttrs stdenv.cc.isClang { 18 - NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration"; 19 - }; 23 + nativeBuildInputs = [ autoreconfHook pkg-config ]; 24 + buildInputs = [ libogg libvorbis libao curl speex flac ] 25 + ++ lib.optionals stdenv.isDarwin [ libiconv ]; 20 26 21 27 meta = with lib; { 22 28 description = "Extra tools for Ogg-Vorbis audio codec";
+6 -6
pkgs/applications/editors/vscode/extensions/default.nix
··· 1575 1575 mktplcRef = { 1576 1576 publisher = "github"; 1577 1577 name = "copilot"; 1578 - version = "1.126.493"; 1579 - sha256 = "1an7z8z3xz2piw2xz1hdrs6l5rhpyvnjmb650ff2m4k24n01svfy"; 1578 + version = "1.135.544"; 1579 + sha256 = "sha256-OeG1nkQbQAfu8NuDEA+iaWy0ioFyXPe7Qm/CZIKPiX8="; 1580 1580 }; 1581 1581 1582 1582 meta = { ··· 1592 1592 mktplcRef = { 1593 1593 publisher = "github"; 1594 1594 name = "copilot-chat"; 1595 - version = "0.3.2023061502"; 1596 - sha256 = "sha256-sUoKwlPDMz+iQbmIsD2JhyDwmUQzOyCHXaXCUaizQ7k="; 1595 + version = "0.11.2023111001"; 1596 + sha256 = "sha256-sBDvqqyq0R0ZyS81G61fI9Vd860RIjhNzCqY0bdz1mg="; 1597 1597 }; 1598 1598 meta = { 1599 1599 description = "GitHub Copilot Chat is a companion extension to GitHub Copilot that houses experimental chat features"; ··· 3554 3554 mktplcRef = { 3555 3555 name = "uiua-vscode"; 3556 3556 publisher = "uiua-lang"; 3557 - version = "0.0.22"; 3558 - sha256 = "sha256-fJcSJwwRVofduWEEMa5f2VrSfyONKPkFl9OW+++lSRw="; 3557 + version = "0.0.23"; 3558 + sha256 = "sha256-NauXoYTAka8qXNPYlW5g7r6NNX1x8cnvDRbEGkRsMoY="; 3559 3559 }; 3560 3560 meta = { 3561 3561 description = "VSCode language extension for Uiua";
+11 -29
pkgs/applications/emulators/flycast/default.nix
··· 6 6 , makeWrapper 7 7 , alsa-lib 8 8 , curl 9 - , egl-wayland 10 9 , libao 11 - , libdecor 12 - , libevdev 13 - , libffi 14 - , libGL 15 10 , libpulseaudio 16 - , libX11 17 - , libXext 18 - , libxkbcommon 19 11 , libzip 20 - , mesa 12 + , lua 21 13 , miniupnpc 22 - , udev 23 - , vulkan-headers 14 + , SDL2 24 15 , vulkan-loader 25 - , wayland 26 - , zlib 27 16 }: 28 17 29 18 stdenv.mkDerivation rec { 30 19 pname = "flycast"; 31 - version = "2.1"; 20 + version = "2.2"; 32 21 33 22 src = fetchFromGitHub { 34 23 owner = "flyinghead"; 35 24 repo = "flycast"; 36 - rev = "V${version}"; 37 - sha256 = "sha256-PRInOqg9OpaUVLwSj1lOxDtjpVaYehkRsp0jLrVKPyY="; 25 + rev = "v${version}"; 26 + sha256 = "sha256-eQMKaUaZ1b0oXre4Ouli4qIyNaG64KntyRGk3/YIopc="; 38 27 fetchSubmodules = true; 39 28 }; 40 29 ··· 47 36 buildInputs = [ 48 37 alsa-lib 49 38 curl 50 - egl-wayland 51 39 libao 52 - libdecor 53 - libevdev 54 - libffi 55 - libGL 56 40 libpulseaudio 57 - libX11 58 - libXext 59 - libxkbcommon 60 41 libzip 61 - mesa # for libgbm 42 + lua 62 43 miniupnpc 63 - udev 64 - vulkan-headers 65 - wayland 66 - zlib 44 + SDL2 45 + ]; 46 + 47 + cmakeFlags = [ 48 + "-DUSE_HOST_SDL=ON" 67 49 ]; 68 50 69 51 postFixup = ''
+21
pkgs/applications/gis/grass/clang-integer-conversion.patch
··· 1 + diff -ur a/db/drivers/mysql/db.c b/db/drivers/mysql/db.c 2 + --- a/db/drivers/mysql/db.c 1969-12-31 19:00:01.000000000 -0500 3 + +++ b/db/drivers/mysql/db.c 2023-11-09 23:26:25.329700495 -0500 4 + @@ -52,9 +52,16 @@ 5 + 6 + db_get_login2("mysql", name, &user, &password, &host, &port); 7 + 8 + + const char* errstr; 9 + + unsigned int port_number = (unsigned int)strtonum(port, 0, 65536, &errstr); 10 + + if (errstr != NULL) { 11 + + db_d_append_error("%s", errstr); 12 + + return DB_FAILED; 13 + + } 14 + + 15 + connection = mysql_init(NULL); 16 + res = mysql_real_connect(connection, host, user, password, 17 + - connpar.dbname, port, NULL, 0); 18 + + connpar.dbname, port_number, NULL, 0); 19 + 20 + if (res == NULL) { 21 + db_d_append_error("%s\n%s", _("Connection failed."),
+5 -4
pkgs/applications/gis/grass/default.nix
··· 81 81 82 82 strictDeps = true; 83 83 84 - # On Darwin the installer tries to symlink the help files into a system 85 - # directory 86 - patches = [ ./no_symbolic_links.patch ]; 84 + patches = lib.optionals stdenv.isDarwin [ 85 + # Fix conversion of const char* to unsigned int. 86 + ./clang-integer-conversion.patch 87 + ]; 87 88 88 89 # Correct mysql_config query 89 - patchPhase = '' 90 + postPatch = '' 90 91 substituteInPlace configure --replace "--libmysqld-libs" "--libs" 91 92 ''; 92 93
-37
pkgs/applications/gis/grass/no_symbolic_links.patch
··· 1 - diff --git a/include/Make/Install.make b/include/Make/Install.make 2 - index 0aba138..8ba74bc 100644 3 - --- a/include/Make/Install.make 4 - +++ b/include/Make/Install.make 5 - @@ -116,11 +116,6 @@ real-install: | $(INST_DIR) $(UNIX_BIN) 6 - -$(INSTALL) config.status $(INST_DIR)/config.status 7 - -$(CHMOD) -R a+rX $(INST_DIR) 2>/dev/null 8 - 9 - -ifneq ($(findstring darwin,$(ARCH)),) 10 - - @# enable OSX Help Viewer 11 - - @/bin/ln -sfh "$(INST_DIR)/docs/html" /Library/Documentation/Help/GRASS-$(GRASS_VERSION_MAJOR).$(GRASS_VERSION_MINOR) 12 - -endif 13 - - 14 - $(INST_DIR) $(UNIX_BIN): 15 - $(MAKE_DIR_CMD) $@ 16 - 17 - diff --git a/macosx/app/build_html_user_index.sh b/macosx/app/build_html_user_index.sh 18 - index 04e63eb..c9d9c2c 100755 19 - --- a/macosx/app/build_html_user_index.sh 20 - +++ b/macosx/app/build_html_user_index.sh 21 - @@ -140,7 +140,6 @@ else 22 - # echo "<tr><td valign=\"top\"><a href=\"$HTMLDIRG/$i\">$BASENAME</a></td> <td>$SHORTDESC</td></tr>" >> $FULLINDEX 23 - # make them local to user to simplify page links 24 - echo "<tr><td valign=\"top\"><a href=\"global_$i\">$BASENAME</a></td> <td>$SHORTDESC</td></tr>" >> $FULLINDEX 25 - - ln -sf "$HTMLDIRG/$i" global_$i 26 - done 27 - done 28 - fi 29 - @@ -183,8 +182,3 @@ echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"> 30 - </html>" > $i.html 31 - done 32 - 33 - -# add Help Viewer links in user docs folder 34 - - 35 - -mkdir -p $HOME/Library/Documentation/Help/ 36 - -ln -sfh ../../GRASS/$GRASS_MMVER/Modules/docs/html $HOME/Library/Documentation/Help/GRASS-$GRASS_MMVER-addon 37 - -ln -sfh $GISBASE/docs/html $HOME/Library/Documentation/Help/GRASS-$GRASS_MMVER
+2 -2
pkgs/applications/misc/camunda-modeler/default.nix
··· 9 9 10 10 stdenvNoCC.mkDerivation rec { 11 11 pname = "camunda-modeler"; 12 - version = "5.16.0"; 12 + version = "5.17.0"; 13 13 14 14 src = fetchurl { 15 15 url = "https://github.com/camunda/camunda-modeler/releases/download/v${version}/camunda-modeler-${version}-linux-x64.tar.gz"; 16 - hash = "sha256-Y+v/r5bhtgXBjRQic0s5FA+KMWx5R7DOK+qZ9Izdnb0="; 16 + hash = "sha256-yxph3Aor5nZOhu2PY4MGcfScaz9w24JXqXbhT+QKlNI="; 17 17 }; 18 18 sourceRoot = "camunda-modeler-${version}-linux-x64"; 19 19
+2 -2
pkgs/applications/misc/jetbrains-toolbox/default.nix
··· 10 10 }: 11 11 let 12 12 pname = "jetbrains-toolbox"; 13 - version = "2.0.5.17700"; 13 + version = "2.1.0.18144"; 14 14 15 15 src = fetchzip { 16 16 url = "https://download.jetbrains.com/toolbox/jetbrains-toolbox-${version}.tar.gz"; 17 - sha256 = "sha256-BO9W9miQUltsg1tCyTl9j5xRCJUCsO02hUKDCYt7hd8="; 17 + sha256 = "sha256-K65naW+RWAy4uxQq2GQmL0kwCH+G73ez1kgTtnTwjEw="; 18 18 stripRoot = false; 19 19 }; 20 20
-38
pkgs/applications/misc/kemai/000-cmake-disable-conan.diff
··· 1 - diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index ce78a9d..3cd51e0 100644 3 - --- a/CMakeLists.txt 4 - +++ b/CMakeLists.txt 5 - @@ -8,18 +8,21 @@ list(APPEND CMAKE_PREFIX_PATH ${CMAKE_BINARY_DIR}) 6 - # Common configuration 7 - set(CMAKE_CXX_STANDARD 20) 8 - set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 - - 10 - -# Setup Conan 11 - -if(NOT EXISTS "${CMAKE_BINARY_DIR}/conan.cmake") 12 - - message(STATUS "Downloading conan.cmake from https://github.com/conan-io/cmake-conan") 13 - - file(DOWNLOAD "https://raw.githubusercontent.com/conan-io/cmake-conan/0.18.1/conan.cmake" 14 - - "${CMAKE_BINARY_DIR}/conan.cmake" 15 - - TLS_VERIFY ON) 16 - -endif() 17 - -include(${CMAKE_BINARY_DIR}/conan.cmake) 18 - - 19 - -conan_cmake_autodetect(settings) 20 - -conan_cmake_install(PATH_OR_REFERENCE ${CMAKE_SOURCE_DIR} BUILD missing SETTINGS ${settings}) 21 - +set(USE_CONAN ON CACHE BOOL "Use conan for dependency managment") 22 - + 23 - +if(USE_CONAN) 24 - + # Setup Conan 25 - + if(NOT EXISTS "${CMAKE_BINARY_DIR}/conan.cmake") 26 - + message(STATUS "Downloading conan.cmake from https://github.com/conan-io/cmake-conan") 27 - + file(DOWNLOAD "https://raw.githubusercontent.com/conan-io/cmake-conan/0.18.1/conan.cmake" 28 - + "${CMAKE_BINARY_DIR}/conan.cmake" 29 - + TLS_VERIFY ON) 30 - + endif() 31 - + include(${CMAKE_BINARY_DIR}/conan.cmake) 32 - + 33 - + conan_cmake_autodetect(settings) 34 - + conan_cmake_install(PATH_OR_REFERENCE ${CMAKE_SOURCE_DIR} BUILD missing SETTINGS ${settings}) 35 - +endif () 36 - 37 - # Setup Qt 38 - set(CMAKE_AUTOMOC ON)
+22 -4
pkgs/applications/misc/kemai/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , cmake 5 6 , magic-enum 7 + , range-v3 6 8 , spdlog 7 9 , qtbase 8 10 , qtconnectivity 9 11 , qttools 10 12 , qtlanguageserver 13 + , qtwayland 11 14 , wrapQtAppsHook 12 15 , libXScrnSaver 13 16 , nix-update-script ··· 15 18 16 19 stdenv.mkDerivation rec { 17 20 pname = "kemai"; 18 - version = "0.9.2"; 21 + version = "0.10.0"; 19 22 20 23 src = fetchFromGitHub { 21 24 owner = "AlexandrePTJ"; 22 25 repo = "kemai"; 23 26 rev = version; 24 - hash = "sha256-PDjNO2iMPK0J3TSHVZ/DW3W0GkdB8yNZYoTGEd2snac="; 27 + hash = "sha256-wclBAgeDyAIw/nGF6lzIwbwdoZMBTu+tjxsnIxIkODM="; 25 28 }; 26 29 30 + patches = [ 31 + # Backport the fix for an issue where LICENSE.txt ends up in /bin 32 + # Remove in next release 33 + (fetchpatch { 34 + url = "https://github.com/AlexandrePTJ/kemai/commit/e279679dd7308efebe004252d168d7308f3b99ce.patch"; 35 + hash = "sha256-5cmRRMVATf4ul4HhaQKiE0yTN2qd+MfNFQzGTLLpOyg="; 36 + }) 37 + ]; 38 + 27 39 buildInputs = [ 28 40 qtbase 29 41 qtconnectivity ··· 31 43 qtlanguageserver 32 44 libXScrnSaver 33 45 magic-enum 46 + range-v3 34 47 spdlog 48 + ] ++ lib.optional stdenv.hostPlatform.isLinux qtwayland; 49 + cmakeFlags = [ 50 + "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" 51 + "-DFETCHCONTENT_QUIET=OFF" 52 + "-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS" 35 53 ]; 36 - cmakeFlags = [ "-DUSE_CONAN=OFF" ]; 37 - patches = [ ./000-cmake-disable-conan.diff ]; 38 54 39 55 nativeBuildInputs = [ cmake wrapQtAppsHook ]; 40 56 ··· 48 64 license = licenses.mit; 49 65 maintainers = with maintainers; [ poelzi ]; 50 66 platforms = platforms.unix; 67 + broken = stdenv.isDarwin; 68 + mainProgram = "Kemai"; 51 69 }; 52 70 }
+3
pkgs/applications/networking/browsers/firefox/common.nix
··· 503 503 504 504 preBuild = '' 505 505 cd mozobj 506 + '' + lib.optionalString (lib.versionAtLeast version "120") '' 507 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1864083 508 + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config dbus-1 --cflags)" 506 509 ''; 507 510 508 511 postBuild = ''
+4 -4
pkgs/applications/networking/browsers/firefox/packages.nix
··· 30 30 31 31 firefox-beta = buildMozillaMach rec { 32 32 pname = "firefox-beta"; 33 - version = "119.0b9"; 33 + version = "120.0b9"; 34 34 applicationName = "Mozilla Firefox Beta"; 35 35 src = fetchurl { 36 36 url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz"; 37 - sha512 = "11d07474e3ca72a4e2f60053882e09a215e0d29d6830d0cd41447bb67370118356090af7adcbacd7703ad9fcdda83c9f909419c86b8f3bf2eacd9ca3d3aa3f54"; 37 + sha512 = "7ac5562ce393ea84663eac5c6ee1a0ca527ff4a8a9ec6aaaef37213ff071076846949e80af21d95ec8e32d3cbc740b772a9d7cc54965b7bbc8e015da22ae927f"; 38 38 }; 39 39 40 40 meta = { ··· 58 58 59 59 firefox-devedition = (buildMozillaMach rec { 60 60 pname = "firefox-devedition"; 61 - version = "119.0b9"; 61 + version = "120.0b9"; 62 62 applicationName = "Mozilla Firefox Developer Edition"; 63 63 branding = "browser/branding/aurora"; 64 64 src = fetchurl { 65 65 url = "mirror://mozilla/devedition/releases/${version}/source/firefox-${version}.source.tar.xz"; 66 - sha512 = "ce3e2adb3171aa05c7af3b7a4ea25eaafbc109c522b90e26aad577192a0902000fb7d705fa5707a9a7d0be2ab1c0cddc5a98abbe6549e1377c0a1d765bda62eb"; 66 + sha512 = "07bf1a58550e70c683719adef55fa3d1ee06876e0cb086c28242879c683269c4aa784b1dce639218b3ad24a546192088fe5224a52e13a0086f205ec5470e2428"; 67 67 }; 68 68 69 69 meta = {
+3 -3
pkgs/applications/networking/browsers/palemoon/bin.nix
··· 18 18 19 19 stdenv.mkDerivation (finalAttrs: { 20 20 pname = "palemoon-bin"; 21 - version = "32.4.1"; 21 + version = "32.5.0"; 22 22 23 23 src = fetchzip { 24 24 urls = [ ··· 26 26 "https://rm-us.palemoon.org/release/palemoon-${finalAttrs.version}.linux-x86_64-gtk${if withGTK3 then "3" else "2"}.tar.xz" 27 27 ]; 28 28 hash = if withGTK3 then 29 - "sha256-c/rfnMpiLWqlNZppqPRNWXsgAQ1FofAdel5EFnK+mrY=" 29 + "sha256-1MJ5K9Zc/BHeQwwlq3XyUV8XTFEpPytNyTnsDpE1tBI=" 30 30 else 31 - "sha256-27njFdqq2DUctlz/UOtH5tlOduQNpoapuCYS+48K9dk="; 31 + "sha256-xXunZTqoc2A+ilosRUUluxDwewD3xwITF5nb5Lbyv7Y="; 32 32 }; 33 33 34 34 preferLocalBuild = true;
+3
pkgs/applications/networking/browsers/webmacs/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , mkDerivationWith 3 4 , fetchFromGitHub 4 5 , python3Packages ··· 6 7 }: 7 8 8 9 mkDerivationWith python3Packages.buildPythonApplication rec { 10 + inherit stdenv; 11 + 9 12 pname = "webmacs"; 10 13 version = "0.8"; 11 14
+1
pkgs/applications/networking/cluster/terraform-providers/default.nix
··· 95 95 removed = name: date: throw "the ${name} terraform provider removed from nixpkgs on ${date}"; 96 96 in 97 97 lib.optionalAttrs config.allowAliases { 98 + fly = archived "fly" "2023/10"; 98 99 ksyun = removed "ksyun" "2023/04"; 99 100 }; 100 101
-9
pkgs/applications/networking/cluster/terraform-providers/providers.json
··· 425 425 "spdx": "MPL-2.0", 426 426 "vendorHash": "sha256-RqYzqKPzb5GcrzHnEDZC7GaBt1zP8g28Wo3WNAe07Ck=" 427 427 }, 428 - "fly": { 429 - "hash": "sha256-9QB2fbggCKcJz8tkSYgq/X8r+MB2M76VCWXgsHARTkU=", 430 - "homepage": "https://registry.terraform.io/providers/fly-apps/fly", 431 - "owner": "fly-apps", 432 - "repo": "terraform-provider-fly", 433 - "rev": "v0.0.23", 434 - "spdx": "BSD-3-Clause", 435 - "vendorHash": "sha256-f+Z6Y2WPxqJoHoCwuK6sgFa8nUnkW/WwrD55dtU0wtM=" 436 - }, 437 428 "fortios": { 438 429 "hash": "sha256-RpcKMndbO3wbkHmrINkbsQ+UeFsZrQ7x02dv8ZpFMec=", 439 430 "homepage": "https://registry.terraform.io/providers/fortinetdev/fortios",
+20
pkgs/by-name/ro/rockyou/package.nix
··· 1 + { seclists 2 + , stdenvNoCC 3 + }: 4 + stdenvNoCC.mkDerivation { 5 + pname = "rockyou"; 6 + inherit (seclists) version src; 7 + 8 + installPhase = '' 9 + runHook preInstall 10 + 11 + mkdir -p $out/share/wordlists/ 12 + tar -xvzf ${seclists}/share/wordlists/seclists/Passwords/Leaked-Databases/rockyou.txt.tar.gz -C $out/share/wordlists/ 13 + 14 + runHook postInstall 15 + ''; 16 + 17 + meta = seclists.meta // { 18 + description = "A famous wordlist often used for brute force attacks"; 19 + }; 20 + }
+34
pkgs/by-name/se/seclists/package.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , stdenvNoCC 4 + }: 5 + 6 + stdenvNoCC.mkDerivation { 7 + pname = "seclists"; 8 + version = "2023.2"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "danielmiessler"; 12 + repo = "SecLists"; 13 + rev = "2023.2"; 14 + hash = "sha256-yVxb5GaQDuCsyjIV+oZzNUEFoq6gMPeaIeQviwGdAgY="; 15 + }; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 + 20 + mkdir -p $out/share/wordlists/seclists 21 + find . -maxdepth 1 -type d -regextype posix-extended -regex '^./[A-Z].*' -exec cp -R {} $out/share/wordlists/seclists \; 22 + find $out/share/wordlists/seclists -name "*.md" -delete 23 + 24 + runHook postInstall 25 + ''; 26 + 27 + meta = with lib; { 28 + description = "A collection of multiple types of lists used during security assessments, collected in one place"; 29 + homepage = "https://github.com/danielmiessler/seclists"; 30 + license = licenses.mit; 31 + maintainers = with maintainers; [ tochiaha janik pamplemousse ]; 32 + }; 33 + } 34 +
+3 -3
pkgs/by-name/ui/uiua/package.nix
··· 14 14 15 15 rustPlatform.buildRustPackage rec { 16 16 pname = "uiua"; 17 - version = "0.1.0"; 17 + version = "0.2.0"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "uiua-lang"; 21 21 repo = "uiua"; 22 22 rev = version; 23 - hash = "sha256-ZoiT7Yf8Mdwh2vBkRCDxhkbvTkekhTopFNWjUnyoPUQ="; 23 + hash = "sha256-RAMQC9weEvTV44nAXjwMYv+4O5aSNNM5UOf/xBb4SBE="; 24 24 }; 25 25 26 - cargoHash = "sha256-My/15zNfEqt+a0jganS6LfFiEXENUaPTcyz6SBL0oKo="; 26 + cargoHash = "sha256-ZBedAIHwbRiR9i6w0CWIiE+OJvTkmxiEihn7zLAV/Dg="; 27 27 28 28 nativeBuildInputs = lib.optionals stdenv.isDarwin [ 29 29 rustPlatform.bindgenHook
+70
pkgs/by-name/wo/wordlists/package.nix
··· 1 + { lib 2 + , callPackage 3 + , nmap 4 + , rockyou 5 + , runtimeShell 6 + , seclists 7 + , symlinkJoin 8 + , tree 9 + , wfuzz 10 + , lists ? [ 11 + nmap 12 + rockyou 13 + seclists 14 + wfuzz 15 + ] 16 + }: 17 + 18 + symlinkJoin rec { 19 + pname = "wordlists"; 20 + version = "unstable-2023-10-10"; 21 + 22 + name = "${pname}-${version}"; 23 + paths = lists; 24 + 25 + postBuild = '' 26 + mkdir -p $out/bin 27 + 28 + # Create a command to show the location of the links. 29 + cat >> $out/bin/wordlists << __EOF__ 30 + #!${runtimeShell} 31 + ${tree}/bin/tree ${placeholder "out"}/share/wordlists 32 + __EOF__ 33 + chmod +x $out/bin/wordlists 34 + 35 + # Create a handy command for easy access to the wordlists. 36 + # e.g.: `cat "$(wordlists_path)/rockyou.txt"`, or `ls "$(wordlists_path)/dirbuster"` 37 + cat >> $out/bin/wordlists_path << __EOF__ 38 + #!${runtimeShell} 39 + printf "${placeholder "out"}/share/wordlists\n" 40 + __EOF__ 41 + chmod +x $out/bin/wordlists_path 42 + ''; 43 + 44 + meta = with lib; { 45 + description = "A collection of wordlists useful for security testing"; 46 + longDescription = '' 47 + The `wordlists` package provides two scripts. One is called {command}`wordlists`, 48 + and it will list a tree of all the wordlists installed. The other one is 49 + called {command}`wordlists_path` which will print the path to the nix store 50 + location of the lists. You can for example do 51 + {command}`$(wordlists_path)/rockyou.txt` to get the location of the 52 + [rockyou](https://en.wikipedia.org/wiki/RockYou#Data_breach) 53 + wordlist. If you want to modify the available wordlists you can override 54 + the `lists` attribute`. In your nixos configuration this would look 55 + similiar to this: 56 + 57 + ```nix 58 + environment.systemPackages = [ 59 + (pkgs.wordlists.override { lists = with pkgs; [ rockyou ] }) 60 + ] 61 + ``` 62 + 63 + you can use this with nix-shell by doing: 64 + {command}`nix-shell -p 'wordlists.override { lists = with (import <nixpkgs> {}); [ nmap ]; }' 65 + If you want to add a new package that provides wordlist/s the convention 66 + is to copy it to {file}`$out/share/wordlists/myNewWordlist`. 67 + ''; 68 + maintainers = with maintainers; [ janik pamplemousse ]; 69 + }; 70 + }
+5 -5
pkgs/development/compilers/elm/packages/lamdera.nix
··· 7 7 arch = if stdenv.isAarch64 then "arm64" else "x86_64"; 8 8 hashes = 9 9 { 10 - "x86_64-linux" = "b13110bacc3f71c2a3e12c52172a821a85cc13243a95249ca18c8beb296c0ce8"; 11 - "aarch64-linux" = "afbc71f0570b86215942d1b4207fe3de0299e6fdfd2e6caac78bf688c81b9bd1"; 12 - "x86_64-darwin" = "50a3df09b02b34e1653beb1507c6de0f332674e088ded7c66af4e5987753304e"; 13 - "aarch64-darwin" = "174a5bfec355361c4f030861405513818be25fd7e4325f7221aa71ebd27475d3"; 10 + "x86_64-linux" = "a51d5b9a011c54b0001ff3273cee027774686e233adadb20b1978d2cabfe32a6"; 11 + "aarch64-linux" = "8904ce928f60e06df1f06b3af5ee5eb320c388922aa38b698d823df1d73e8e49"; 12 + "x86_64-darwin" = "b4d1bb5ddc3503862750e5b241f74c22dc013792bc4f410dd914a5216e20ed2f"; 13 + "aarch64-darwin" = "6d20e384dae90bb994c3f1e866c964124c7e8a51e9e08bad0e90a2b560bb5a18"; 14 14 }; 15 15 in 16 16 17 17 stdenv.mkDerivation rec { 18 18 pname = "lamdera"; 19 - version = "1.2.0"; 19 + version = "1.2.1"; 20 20 21 21 src = fetchurl { 22 22 url = "https://static.lamdera.com/bin/lamdera-${version}-${os}-${arch}";
+2 -2
pkgs/development/compilers/gleam/default.nix
··· 6 6 , pkg-config 7 7 , openssl 8 8 , Security 9 - , libiconv 10 9 , nix-update-script 10 + , SystemConfiguration 11 11 }: 12 12 13 13 rustPlatform.buildRustPackage rec { ··· 24 24 nativeBuildInputs = [ git pkg-config ]; 25 25 26 26 buildInputs = [ openssl ] ++ 27 - lib.optionals stdenv.isDarwin [ Security libiconv ]; 27 + lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]; 28 28 29 29 cargoHash = "sha256-ffnDTGg+m0NUhG2BYjsXb2fWHeQmtDcBGqQDLqwZMWI="; 30 30
+4
pkgs/development/compilers/mcpp/default.nix
··· 14 14 hash= "sha256-T4feegblOeG+NU+c+PAobf8HT8KDSfcINkRAa1hNpkY="; 15 15 }; 16 16 17 + patches = [ 18 + ./readlink.patch 19 + ]; 20 + 17 21 configureFlags = [ "--enable-mcpplib" ]; 18 22 19 23 meta = with lib; {
+24
pkgs/development/compilers/mcpp/readlink.patch
··· 1 + From 1c4b0f26614bff331eb8a9f2b514309af6f31fd0 Mon Sep 17 00:00:00 2001 2 + From: Jose <pepone@users.noreply.github.com> 3 + Date: Mon, 26 Jun 2023 16:43:43 +0200 4 + Subject: [PATCH] Add 'unistd' header for readlink (#8) 5 + 6 + --- 7 + src/system.c | 5 +++++ 8 + 1 file changed, 5 insertions(+) 9 + 10 + diff --git a/src/system.c b/src/system.c 11 + index a3501f9..646caf6 100644 12 + --- a/src/system.c 13 + +++ b/src/system.c 14 + @@ -37,6 +37,11 @@ 15 + * 2. append the system-dependent routines in this file. 16 + */ 17 + + 18 + +#ifndef _MSC_VER 19 + +# include <unistd.h> // For readlink() 20 + +#endif 21 + + 22 + #if PREPROCESSED 23 + #include "mcpp.H" 24 + #else
+3 -5
pkgs/development/libraries/boost-ext/boost-sml/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "boost-sml"; 10 - # This is first commit since 1.1.6 that passes all tests (test_policies_logging is commented out) 11 - version = "1.1.6"; 12 - working_tests = "24d762d1901f4f6afaa5c5e0d1b7b77537964694"; 10 + version = "1.1.9"; 13 11 14 12 src = fetchFromGitHub { 15 13 owner = "boost-ext"; 16 14 repo = "sml"; 17 - rev = "${working_tests}"; 18 - hash = "sha256-ZhIfyYdzrzPTAYevOz5I6tAcUiLRMV8HENKX9jychEY="; 15 + rev = "v${version}"; 16 + hash = "sha256-RYgSpnsmgZybpkJALIzxpkDRfe9QF2FHG+nA3msFaK0="; 19 17 }; 20 18 21 19 buildInputs = [ boost ];
+2 -2
pkgs/development/libraries/cracklib/default.nix
··· 1 1 let version = "2.9.11"; in 2 2 { stdenv, lib, buildPackages, fetchurl, zlib, gettext 3 - , wordlists ? [ (fetchurl { 3 + , lists ? [ (fetchurl { 4 4 url = "https://github.com/cracklib/cracklib/releases/download/v${version}/cracklib-words-${version}.gz"; 5 5 hash = "sha256-popxGjE1c517Z+nzYLM/DU7M+b1/rE0XwNXkVqkcUXo="; 6 6 }) ] ··· 23 23 patchShebangs util 24 24 25 25 '' + '' 26 - ln -vs ${toString wordlists} dicts/ 26 + ln -vs ${toString lists} dicts/ 27 27 ''; 28 28 29 29 postInstall = ''
+4 -4
pkgs/development/libraries/intel-media-driver/default.nix
··· 16 16 17 17 stdenv.mkDerivation rec { 18 18 pname = "intel-media-driver"; 19 - version = "23.1.6"; 19 + version = "23.3.5"; 20 20 21 21 outputs = [ "out" "dev" ]; 22 22 ··· 24 24 owner = "intel"; 25 25 repo = "media-driver"; 26 26 rev = "intel-media-${version}"; 27 - sha256 = "sha256-Z1xBU+4SdwknXpYUS8EwEURNIsg2+R/U0CcW3FW325M="; 27 + hash = "sha256-7OdLpqO2evNeyxceOtHEI7sJCVybqvrcM1ZZx8bI4xw="; 28 28 }; 29 29 30 30 patches = [ 31 31 # fix platform detection 32 32 (fetchpatch { 33 - url = "https://salsa.debian.org/multimedia-team/intel-media-driver-non-free/-/raw/04ffb03f744780a55aba311c612d708b00584bb7/debian/patches/0002-Remove-settings-based-on-ARCH.patch"; 34 - sha256 = "sha256-o/Pg0S53SYh3O7L+AwxOPl1Bx4TS6iKB8ql8GhhHI/o="; 33 + url = "https://salsa.debian.org/multimedia-team/intel-media-driver-non-free/-/raw/7376a99f060c26d6be8e56674da52a61662617b9/debian/patches/0002-Remove-settings-based-on-ARCH.patch"; 34 + hash = "sha256-57yePuHWYb3XXrB4MjYO2h6jbqfs4SGTLlLG91el8M4="; 35 35 }) 36 36 ]; 37 37
+29 -3
pkgs/development/libraries/libfive/default.nix
··· 10 10 , libpng 11 11 , boost 12 12 , guile 13 + , python 13 14 , qtbase 14 15 , darwin 15 16 }: ··· 25 26 hash = "sha256-OITy3fJx+Z6856V3D/KpSQRJztvOdJdqUv1c65wNgCc="; 26 27 }; 27 28 28 - nativeBuildInputs = [ wrapQtAppsHook cmake ninja pkg-config ]; 29 - buildInputs = [ eigen zlib libpng boost guile qtbase ] 29 + nativeBuildInputs = [ wrapQtAppsHook cmake ninja pkg-config python.pkgs.pythonImportsCheckHook ]; 30 + buildInputs = [ eigen zlib libpng boost guile python qtbase ] 30 31 ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk_11_0.frameworks.Cocoa ]; 31 32 32 33 preConfigure = '' ··· 42 43 --replace "LIBFIVE_STDLIB_DIR=$<TARGET_FILE_DIR:libfive-stdlib>" \ 43 44 "LIBFIVE_STDLIB_DIR=$out/lib" 44 45 46 + substituteInPlace libfive/bind/python/CMakeLists.txt \ 47 + --replace ' ''${PYTHON_SITE_PACKAGES_DIR}' \ 48 + " $out/${python.sitePackages}" \ 49 + 50 + substituteInPlace libfive/bind/python/libfive/ffi.py \ 51 + --replace "os.path.join('libfive', folder)" \ 52 + "os.path.join('$out/${python.sitePackages}/libfive', folder)" \ 53 + 45 54 export XDG_CACHE_HOME=$(mktemp -d)/.cache 46 55 ''; 47 56 ··· 63 72 '' + '' 64 73 # Link "Studio" binary to "libfive-studio" to be more obvious: 65 74 ln -s "$out/bin/Studio" "$out/bin/libfive-studio" 75 + 76 + # Create links since libfive looks for the library in a specific path. 77 + mkdir -p "$out/${python.sitePackages}/libfive/src" 78 + ln -s "$out"/lib/libfive.* "$out/${python.sitePackages}/libfive/src/" 79 + mkdir -p "$out/${python.sitePackages}/libfive/stdlib" 80 + ln -s "$out"/lib/libfive-stdlib.* "$out/${python.sitePackages}/libfive/stdlib/" 81 + 82 + # Create links so Studio can find the bindings. 83 + mkdir -p "$out/libfive/bind" 84 + ln -s "$out/${python.sitePackages}" "$out/libfive/bind/python" 66 85 ''; 67 86 87 + pythonImportsCheck = [ 88 + "libfive" 89 + "libfive.runner" 90 + "libfive.shape" 91 + "libfive.stdlib" 92 + ]; 93 + 68 94 meta = with lib; { 69 95 description = "Infrastructure for solid modeling with F-Reps in C, C++, and Guile"; 70 96 homepage = "https://libfive.com/"; 71 - maintainers = with maintainers; [ hodapp kovirobi ]; 97 + maintainers = with maintainers; [ hodapp kovirobi wulfsta ]; 72 98 license = with licenses; [ mpl20 gpl2Plus ]; 73 99 platforms = with platforms; all; 74 100 };
+10 -1
pkgs/development/libraries/science/math/coin-utils/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pkg-config }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "2.11.10"; ··· 10 10 rev = "releases/${version}"; 11 11 hash = "sha256-Rbm45HRbRKQ6Cdup+gvKJ1xkK1HKG3irR5AIjhLer7g="; 12 12 }; 13 + 14 + patches = [ 15 + (fetchpatch { 16 + url = "https://github.com/coin-or/CoinUtils/commit/1700ed92c2bc1562aabe65dee3b4885bd5c87fb9.patch"; 17 + stripLen = 1; 18 + extraPrefix = "CoinUtils/"; 19 + hash = "sha256-8S6XteZvoJlL+5MWiOrW7HXsdcnzpuEFTyzX9qg7OUY="; 20 + }) 21 + ]; 13 22 14 23 doCheck = true; 15 24
+2 -2
pkgs/development/mobile/maestro/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "maestro"; 5 - version = "1.34.0"; 5 + version = "1.34.1"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/mobile-dev-inc/maestro/releases/download/cli-${version}/maestro.zip"; 9 - sha256 = "1qbva38lcy1rm5k6r207hk3nqrr07h7x9sdppz4w5f37q0ll986r"; 9 + sha256 = "0whnhcf7a3j01693254qqwfk9d3xa4icv4kyqkn4ihxyibznb91d"; 10 10 }; 11 11 12 12 dontUnpack = true;
+9
pkgs/development/python-modules/aggdraw/default.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 + , fetchpatch 3 4 , buildPythonPackage 4 5 , packaging 5 6 , setuptools ··· 22 23 rev = "v${version}"; 23 24 hash = "sha256-2yajhuRyQ7BqghbSgPClW3inpw4TW2DhgQbomcRFx94="; 24 25 }; 26 + 27 + patches = [ 28 + # Removes `register` storage class specifier, which is not allowed in C++17. 29 + (fetchpatch { 30 + url = "https://github.com/pytroll/aggdraw/commit/157ed49803567e8c3eeb7dfeff4c116db35747f7.patch"; 31 + hash = "sha256-QSzpO90u5oSBWUzehRFbXgZ1ApEfLlfp11MUx6w11aI="; 32 + }) 33 + ]; 25 34 26 35 nativeBuildInputs = [ 27 36 packaging
+2 -2
pkgs/development/python-modules/aioesphomeapi/default.nix
··· 22 22 23 23 buildPythonPackage rec { 24 24 pname = "aioesphomeapi"; 25 - version = "18.2.1"; 25 + version = "18.2.4"; 26 26 pyproject = true; 27 27 28 28 disabled = pythonOlder "3.9"; ··· 31 31 owner = "esphome"; 32 32 repo = pname; 33 33 rev = "refs/tags/v${version}"; 34 - hash = "sha256-PW3/V4PTm+UxTsfSSvOEX+FGcuF4m+mDOz6Z/AzB2qk="; 34 + hash = "sha256-m82UfhcmAFBDfSVmia6nhBB2qyQjSZJbXtzD/sGeqk4="; 35 35 }; 36 36 37 37 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/bluetooth-data-tools/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "bluetooth-data-tools"; 14 - version = "1.13.0"; 14 + version = "1.14.0"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.9"; ··· 20 20 owner = "Bluetooth-Devices"; 21 21 repo = pname; 22 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-qvr4CYOMgyTEFONpe6KA176H56+w6RHThAyUthIzszE="; 23 + hash = "sha256-eO17EuZ9K6tLAyEGmTaxw1Cxfz3XPPwNCcIwZ2/uHug="; 24 24 }; 25 25 26 26 # The project can build both an optimized cython version and an unoptimized
+22 -18
pkgs/development/python-modules/geoalchemy2/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 3 + , fetchFromGitHub 4 4 , packaging 5 + , setuptools 5 6 , setuptools-scm 6 7 , shapely 7 8 , sqlalchemy 8 9 , alembic 9 - , psycopg2 10 10 , pytestCheckHook 11 11 , pythonOlder 12 12 }: ··· 14 14 buildPythonPackage rec { 15 15 pname = "geoalchemy2"; 16 16 version = "0.14.2"; 17 - format = "setuptools"; 17 + pyproject = true; 18 18 19 19 disabled = pythonOlder "3.7"; 20 20 21 - src = fetchPypi { 22 - pname = "GeoAlchemy2"; 23 - inherit version; 24 - hash = "sha256-jKAj3LmjbG0xLztK7mMdZjhSZOL8n+sKsPRG61YJQH0="; 21 + src = fetchFromGitHub { 22 + owner = "geoalchemy"; 23 + repo = "geoalchemy2"; 24 + rev = "refs/tags/${version}"; 25 + hash = "sha256-C/F1hpL2DnzC4UPAGGFntlQlULCx5Ufzkw7EIrzRV7I="; 25 26 }; 26 27 27 28 nativeBuildInputs = [ 29 + setuptools 28 30 setuptools-scm 29 31 ]; 30 32 31 33 propagatedBuildInputs = [ 34 + sqlalchemy 32 35 packaging 33 - shapely 34 - sqlalchemy 35 36 ]; 36 37 37 38 nativeCheckInputs = [ 38 39 alembic 39 - psycopg2 40 40 pytestCheckHook 41 - ]; 41 + ] ++ passthru.optional-dependencies.shapely; 42 42 43 - pytestFlagsArray = [ 44 - # tests require live postgis database 45 - "--deselect=tests/test_pickle.py::TestPickle::test_pickle_unpickle" 46 - "--deselect=tests/gallery/test_specific_compilation.py::test_specific_compilation" 47 - ]; 43 + env = { 44 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 45 + }; 48 46 49 47 disabledTestPaths = [ 50 48 # tests require live databases ··· 52 50 "tests/gallery/test_length_at_insert.py" 53 51 "tests/gallery/test_insert_raster.py" 54 52 "tests/gallery/test_orm_mapped_v2.py" 53 + "tests/gallery/test_specific_compilation.py" 55 54 "tests/gallery/test_summarystatsagg.py" 56 55 "tests/gallery/test_type_decorator.py" 57 56 "tests/test_functional.py" 58 57 "tests/test_functional_postgresql.py" 59 58 "tests/test_functional_mysql.py" 60 59 "tests/test_alembic_migrations.py" 60 + "tests/test_pickle.py" 61 61 ]; 62 62 63 63 pythonImportsCheck = [ 64 64 "geoalchemy2" 65 65 ]; 66 66 67 + passthru.optional-dependencies = { 68 + shapely = [ shapely ]; 69 + }; 70 + 67 71 meta = with lib; { 68 72 description = "Toolkit for working with spatial databases"; 69 - homepage = "https://geoalchemy-2.readthedocs.io/"; 73 + homepage = "https://geoalchemy-2.readthedocs.io/"; 70 74 changelog = "https://github.com/geoalchemy/geoalchemy2/releases/tag/${version}"; 71 75 license = licenses.mit; 72 - maintainers = with maintainers; [ ]; 76 + maintainers = with maintainers; [ nickcao ]; 73 77 }; 74 78 }
+2 -2
pkgs/development/python-modules/home-assistant-bluetooth/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "home-assistant-bluetooth"; 14 - version = "1.10.3"; 14 + version = "1.10.4"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.9"; ··· 20 20 owner = "home-assistant-libs"; 21 21 repo = pname; 22 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-77RrqmoCftPc48fFtuuFo0KqGX3n+6aDx2RFkwGCNzQ="; 23 + hash = "sha256-7gkesxQI6QBxyQpHlSSh1w6MDeid0dSdXn+jnxvafD0="; 24 24 }; 25 25 26 26 postPatch = ''
+7 -5
pkgs/development/python-modules/jupyter-cache/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "jupyter-cache"; 18 - version = "0.6.1"; 19 - format = "pyproject"; 18 + version = "1.0.0"; 19 + pyproject = true; 20 20 21 - disabled = pythonOlder "3.7"; 21 + disabled = pythonOlder "3.9"; 22 22 23 23 src = fetchPypi { 24 - inherit pname version; 25 - sha256 = "sha256-Jvg5ARQ+30ry8/9akeLSrSmORuLO4DyAcdN6I6Y8y/w="; 24 + inherit version; 25 + pname = "jupyter_cache"; 26 + hash = "sha256-0Pp9dTPNV5gZjYiJMYJpqME4LtOyL2IsCak1ZSH0hoc="; 26 27 }; 27 28 28 29 nativeBuildInputs = [ ··· 45 46 meta = with lib; { 46 47 description = "A defined interface for working with a cache of jupyter notebooks"; 47 48 homepage = "https://github.com/executablebooks/jupyter-cache"; 49 + changelog = "https://github.com/executablebooks/jupyter-cache/blob/v${version}/CHANGELOG.md"; 48 50 license = licenses.mit; 49 51 maintainers = with maintainers; [ marsam ]; 50 52 };
-33
pkgs/development/python-modules/labgrid/0001-serialdriver-remove-pyserial-version-check.patch
··· 1 - From 75baa1751973378cb96fb204b0a18a74e5caa2d1 Mon Sep 17 00:00:00 2001 2 - From: Rouven Czerwinski <r.czerwinski@pengutronix.de> 3 - Date: Wed, 17 Feb 2021 14:03:20 +0100 4 - Subject: [PATCH] serialdriver: remove pyserial version check 5 - 6 - This check isn't required on NixOS, since pyserial within NixOS already 7 - contains the patches. 8 - 9 - Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> 10 - --- 11 - labgrid/driver/serialdriver.py | 6 ------ 12 - 1 file changed, 6 deletions(-) 13 - 14 - diff --git a/labgrid/driver/serialdriver.py b/labgrid/driver/serialdriver.py 15 - index 126f674e..59a92269 100644 16 - --- a/labgrid/driver/serialdriver.py 17 - +++ b/labgrid/driver/serialdriver.py 18 - @@ -27,12 +27,6 @@ class SerialDriver(ConsoleExpectMixin, Driver, ConsoleProtocol): 19 - bindings = {"port": "SerialPort", } 20 - else: 21 - bindings = {"port": {"SerialPort", "NetworkSerialPort"}, } 22 - - if version.parse(serial.__version__) != version.Version('3.4.0.1'): 23 - - message = ("The installed pyserial version does not contain important RFC2217 fixes.\n" 24 - - "You can install the labgrid fork via:\n" 25 - - "pip uninstall pyserial\n" 26 - - "pip install https://github.com/labgrid-project/pyserial/archive/v3.4.0.1.zip#egg=pyserial\n") # pylint: disable=line-too-long 27 - - warnings.warn(message) 28 - 29 - txdelay = attr.ib(default=0.0, validator=attr.validators.instance_of(float)) 30 - timeout = attr.ib(default=3.0, validator=attr.validators.instance_of(float)) 31 - -- 32 - 2.30.0 33 -
+7 -5
pkgs/development/python-modules/labgrid/default.nix
··· 17 17 , pyusb 18 18 , pyyaml 19 19 , requests 20 + , setuptools 20 21 , setuptools-scm 22 + , wheel 21 23 , xmodem 22 24 }: 23 25 ··· 32 34 sha256 = "sha256-yhlBqqCLOt6liw4iv8itG6E4QfIa7cW76QJqefUM5dw="; 33 35 }; 34 36 35 - patches = [ 36 - # Pyserial within Nixpkgs already includes the necessary fix, remove the 37 - # pyserial version check from labgrid. 38 - ./0001-serialdriver-remove-pyserial-version-check.patch 37 + nativeBuildInputs = [ 38 + setuptools 39 + setuptools-scm 40 + wheel 39 41 ]; 40 42 41 - nativeBuildInputs = [ setuptools-scm ]; 43 + pyproject = true; 42 44 43 45 propagatedBuildInputs = [ 44 46 ansicolors
+4 -4
pkgs/development/python-modules/maison/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "maison"; 14 - version = "1.4.0"; 15 - format = "pyproject"; 14 + version = "1.4.1"; 15 + pyproject = true; 16 16 17 17 disabled = pythonOlder "3.7"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "dbatten5"; 21 - repo = pname; 21 + repo = "maison"; 22 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-Ny/n1vDWS6eA9zLIB0os5zrbwvutb+7sQ6iPXeid1M0="; 23 + hash = "sha256-uJW+7+cIt+jnbiC+HvT7KzyNk1enEtELTxtfc4eXAPU="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+19
pkgs/development/python-modules/mayavi/default.nix
··· 3 3 , buildPythonPackage 4 4 , envisage 5 5 , fetchPypi 6 + , fetchpatch 6 7 , numpy 7 8 , packaging 8 9 , pyface ··· 25 26 inherit pname version; 26 27 hash = "sha256-n0J+8spska542S02ibpr7KJMhGDicG2KHJuEKJrT/Z4="; 27 28 }; 29 + 30 + patches = [ 31 + # Adds compatibility with Python 3.11. 32 + # https://github.com/enthought/mayavi/pull/1199 33 + (fetchpatch { 34 + name = "python311-compat.patch"; 35 + url = "https://github.com/enthought/mayavi/commit/50c0cbfcf97560be69c84b7c924635a558ebf92f.patch"; 36 + hash = "sha256-zZOT6on/f5cEjnDBrNGog/wPQh7rBkaFqrxkBYDUQu0="; 37 + includes = [ "tvtk/src/*" ]; 38 + }) 39 + # Fixes an incompatible function pointer conversion error 40 + # https://github.com/enthought/mayavi/pull/1266 41 + (fetchpatch { 42 + name = "incompatible-pointer-conversion.patch"; 43 + url = "https://github.com/enthought/mayavi/commit/887adc8fe2b076a368070f5b1d564745b03b1964.patch"; 44 + hash = "sha256-88H1NNotd4pO0Zw1oLrYk5WNuuVrmTU01HJgsTRfKlo="; 45 + }) 46 + ]; 28 47 29 48 postPatch = '' 30 49 # building the docs fails with the usual Qt xcb error, so skip:
+37 -6
pkgs/development/python-modules/mechanize/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , html5lib 5 + , pytestCheckHook 6 + , pythonOlder 7 + , setuptools 5 8 }: 6 9 7 10 buildPythonPackage rec { 8 11 pname = "mechanize"; 9 - version = "0.4.8"; 12 + version = "0.4.9"; 13 + pyproject = true; 14 + 15 + disabled = pythonOlder "3.7"; 10 16 11 17 src = fetchPypi { 12 18 inherit pname version; 13 - hash = "sha256-XoasB3c1fgBusEzSj37Z+BHUjf+mA9OJGsbSuSKA3JE="; 19 + hash = "sha256-aaXtsJYvkh6LEINzaMIkLYrQSfC5H/aZzn9gG/xDFSE="; 14 20 }; 15 21 16 - propagatedBuildInputs = [ html5lib ]; 22 + nativeBuildInputs = [ 23 + setuptools 24 + ]; 25 + 26 + propagatedBuildInputs = [ 27 + html5lib 28 + ]; 29 + 30 + nativeCheckInputs = [ 31 + pytestCheckHook 32 + ]; 33 + 34 + pythonImportsCheck = [ 35 + "mechanize" 36 + ]; 37 + 38 + disabledTestPaths = [ 39 + # Tests require network access 40 + "test/test_urllib2_localnet.py" 41 + "test/test_functional.py" 42 + ]; 17 43 18 - doCheck = false; 44 + disabledTests = [ 45 + # Tests require network access 46 + "test_pickling" 47 + "test_password_manager" 48 + ]; 19 49 20 50 meta = with lib; { 21 51 description = "Stateful programmatic web browsing in Python"; 22 52 homepage = "https://github.com/python-mechanize/mechanize"; 23 - license = "BSD-style"; 53 + changelog = "https://github.com/python-mechanize/mechanize/blob/v${version}/ChangeLog"; 54 + license = licenses.bsd3; 55 + maintainers = with maintainers; [ ]; 24 56 }; 25 - 26 57 }
+30 -5
pkgs/development/python-modules/omemo-dr/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, cryptography, protobuf }: 1 + { lib 2 + , buildPythonPackage 3 + , cryptography 4 + , fetchPypi 5 + , protobuf 6 + , pytestCheckHook 7 + , pythonOlder 8 + , setuptools 9 + }: 2 10 3 11 buildPythonPackage rec { 4 12 pname = "omemo-dr"; 5 - version = "1.0.0"; 13 + version = "1.0.1"; 14 + pyproject = true; 15 + 16 + disabled = pythonOlder "3.10"; 6 17 7 18 src = fetchPypi { 8 19 inherit pname version; 9 - hash = "sha256-sP5QI+lHoXt0D7ftSqJGEg1vIdgZtYEulN/JVwUgvmE="; 20 + hash = "sha256-KoqMdyMdc5Sb3TdSeNTVomElK9ruUstiQayyUcIC02E="; 10 21 }; 11 22 23 + nativeBuildInputs = [ 24 + setuptools 25 + ]; 26 + 12 27 propagatedBuildInputs = [ 13 28 cryptography 14 29 protobuf 15 30 ]; 16 31 17 - meta = { 32 + nativeCheckInputs = [ 33 + pytestCheckHook 34 + ]; 35 + 36 + pythonImportsCheck = [ 37 + "omemo_dr" 38 + ]; 39 + 40 + meta = with lib; { 18 41 description = "OMEMO Double Ratchet"; 19 - license = lib.licenses.lgpl3; 20 42 homepage = "https://dev.gajim.org/gajim/omemo-dr/"; 43 + changelog = "https://dev.gajim.org/gajim/omemo-dr/-/blob/v${version}/CHANGELOG.md"; 44 + license = licenses.gpl3Only; 45 + maintainers = with maintainers; [ ]; 21 46 }; 22 47 }
+2 -2
pkgs/development/python-modules/omrdatasettools/default.nix
··· 20 20 21 21 buildPythonPackage rec { 22 22 pname = "omrdatasettools"; 23 - version = "1.3.1"; 23 + version = "1.4.0"; 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - sha256 = "0cdq02jp8vh78yjq9bncjjl0pb554idrcxkd62rzwk4l6ss2fkw5"; 27 + sha256 = "sha256-kUUcbti29uDnSEvCubMAUnptlaZGpEsW2IBGSAGnGyQ="; 28 28 }; 29 29 30 30 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pyatmo/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "pyatmo"; 19 - version = "7.5.0"; 19 + version = "7.6.0"; 20 20 format = "pyproject"; 21 21 22 22 disabled = pythonOlder "3.8"; ··· 25 25 owner = "jabesq"; 26 26 repo = "pyatmo"; 27 27 rev = "refs/tags/v${version}"; 28 - hash = "sha256-GucatimZTg0Fggrz4bG1x6YSa3wE/uLGB4ufil/km3w="; 28 + hash = "sha256-rAmSxayXljOJchiMtSOgnotzQmapK2n86HwNi9HJX68="; 29 29 }; 30 30 31 31 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+4
pkgs/development/python-modules/pygame/default.nix
··· 60 60 ${python.pythonOnBuildForHost.interpreter} buildconfig/config.py 61 61 ''; 62 62 63 + env = lib.optionalAttrs stdenv.cc.isClang { 64 + NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-function-pointer-types"; 65 + }; 66 + 63 67 checkPhase = '' 64 68 runHook preCheck 65 69
+2 -2
pkgs/development/python-modules/python-jenkins/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "python-jenkins"; 21 - version = "1.8.1"; 21 + version = "1.8.2"; 22 22 23 23 src = fetchPypi { 24 24 inherit pname version; 25 - hash = "sha256-/18dklOdkD+GmwLq8rExREfm1tePdn7c/dkpZ9UyucY="; 25 + hash = "sha256-VufauwYHvbjh1vxtLUMBq+2+2RZdorIG+svTBxy27ss="; 26 26 }; 27 27 28 28 # test uses timeout mechanism unsafe for use with the "spawn"
+18 -14
pkgs/development/python-modules/python-telegram/default.nix
··· 1 1 { lib 2 2 , stdenv 3 - , fetchpatch 4 3 , buildPythonPackage 5 - , fetchPypi 4 + , fetchFromGitHub 6 5 , pythonOlder 7 6 , setuptools 8 7 , tdlib 8 + , telegram-text 9 + , pytestCheckHook 9 10 }: 10 11 11 12 buildPythonPackage rec { ··· 13 14 version = "0.18.0"; 14 15 disabled = pythonOlder "3.6"; 15 16 16 - src = fetchPypi { 17 - inherit pname version; 18 - hash = "sha256-UbJW/op01qe/HchfJUlBPBY9/W8NbZkEmFM8gZ5+EmI="; 17 + src = fetchFromGitHub { 18 + owner = "alexander-akhmetov"; 19 + repo = "python-telegram"; 20 + rev = version; 21 + hash = "sha256-2Q0nUZ2TMVWznd05+fqYojkRn4xfFZJrlqb1PMuBsAY="; 19 22 }; 20 23 21 - patches = [ 22 - # Search for the system library first, and fallback to the embedded one if the system was not found 23 - (fetchpatch { 24 - url = "https://github.com/alexander-akhmetov/python-telegram/commit/b0af0985910ebb8940cff1b92961387aad683287.patch"; 25 - hash = "sha256-ZqsntaiC2y9l034gXDMeD2BLO/RcsbBII8FomZ65/24="; 26 - }) 27 - ]; 28 - 29 24 postPatch = '' 30 25 # Remove bundled libtdjson 31 26 rm -fr telegram/lib 32 27 33 28 substituteInPlace telegram/tdjson.py \ 34 - --replace "ctypes.util.find_library(\"libtdjson\")" \ 29 + --replace "ctypes.util.find_library(\"tdjson\")" \ 35 30 "\"${tdlib}/lib/libtdjson${stdenv.hostPlatform.extensions.sharedLibrary}\"" 36 31 ''; 37 32 38 33 propagatedBuildInputs = [ 39 34 setuptools 35 + telegram-text 36 + ]; 37 + 38 + nativeCheckInputs = [ 39 + pytestCheckHook 40 + ]; 41 + 42 + disabledTests = [ 43 + "TestGetTdjsonTdlibPath" 40 44 ]; 41 45 42 46 pythonImportsCheck = [
+11 -3
pkgs/development/python-modules/scikit-rf/default.nix
··· 27 27 , setuptools 28 28 , pytestCheckHook 29 29 , pytest-cov 30 + , pytest-mock 30 31 }: 31 32 32 33 buildPythonPackage rec { 33 34 pname = "scikit-rf"; 34 - version = "0.29.0"; 35 - format = "pyproject"; 35 + version = "0.29.1"; 36 + pyproject = true; 36 37 37 38 disabled = pythonOlder "3.7"; 38 39 ··· 40 41 owner = "scikit-rf"; 41 42 repo = pname; 42 43 rev = "refs/tags/v${version}"; 43 - hash = "sha256-rBOw1rIEF8Ia6xXlXxVzRRiUxrOjOAlipFuKiL+gRl0="; 44 + hash = "sha256-sLE6rcBGUKmk5y7oO06rHON3GVIjcvnKlr6Tgddj64Y="; 44 45 }; 45 46 46 47 buildInputs = [ ··· 88 89 coverage 89 90 flake8 90 91 pytest-cov 92 + pytest-mock 91 93 nbval 92 94 matplotlib 93 95 pyvisa ··· 98 100 checkInputs = [ 99 101 pytestCheckHook 100 102 ]; 103 + 104 + # test_calibration.py generates a divide by zero error on darwin 105 + # https://github.com/scikit-rf/scikit-rf/issues/972 106 + disabledTestPaths = 107 + lib.optional (stdenv.isAarch64 && stdenv.isDarwin) 108 + "skrf/calibration/tests/test_calibration.py"; 101 109 102 110 pythonImportsCheck = [ 103 111 "skrf"
+3 -3
pkgs/development/python-modules/shiboken2/default.nix
··· 5 5 , cmake 6 6 , qt5 7 7 , libxcrypt 8 - , llvmPackages 8 + , llvmPackages_15 9 9 }: 10 10 11 11 stdenv.mkDerivation { ··· 21 21 cd sources/shiboken2 22 22 ''; 23 23 24 - CLANG_INSTALL_DIR = llvmPackages.libclang.out; 24 + CLANG_INSTALL_DIR = llvmPackages_15.libclang.out; 25 25 26 26 nativeBuildInputs = [ cmake ]; 27 27 28 28 buildInputs = [ 29 - llvmPackages.libclang 29 + llvmPackages_15.libclang 30 30 python 31 31 python.pkgs.setuptools 32 32 qt5.qtbase
+17 -9
pkgs/development/python-modules/tabula-py/default.nix
··· 7 7 , pandas 8 8 , pytestCheckHook 9 9 , pythonOlder 10 + , setuptools 10 11 , setuptools-scm 11 - , setuptools 12 + , jpype1 12 13 }: 13 14 14 15 buildPythonPackage rec { 15 16 pname = "tabula-py"; 16 - version = "2.8.1"; 17 + version = "2.8.2"; 17 18 format = "pyproject"; 18 19 19 20 disabled = pythonOlder "3.8"; ··· 22 23 owner = "chezou"; 23 24 repo = pname; 24 25 rev = "refs/tags/v${version}"; 25 - hash = "sha256-QqTfbSwGaNRXBiAzB1fsEawxCvlIunB1j2jSFD9imPI="; 26 + hash = "sha256-Zrq1i+HYXXNulyZ/fv00AgVd7ODj3rP9orLq5rT3ERU="; 26 27 }; 27 28 28 - patches = [ 29 - ./java-interpreter-path.patch 30 - ]; 31 - 32 29 postPatch = '' 33 - sed -i 's|@JAVA@|${jre}/bin/java|g' $(find -name '*.py') 30 + substituteInPlace tabula/backend.py \ 31 + --replace '"java"' '"${lib.getExe jre}"' 34 32 ''; 35 33 36 34 SETUPTOOLS_SCM_PRETEND_VERSION = version; 37 35 38 36 nativeBuildInputs = [ 37 + setuptools 39 38 setuptools-scm 40 39 ]; 41 40 41 + buildInputs = [ 42 + jre 43 + ]; 44 + 42 45 propagatedBuildInputs = [ 43 46 distro 44 47 numpy 45 48 pandas 46 - setuptools 49 + jpype1 47 50 ]; 48 51 49 52 nativeCheckInputs = [ ··· 60 63 "test_read_pdf_with_remote_template" 61 64 "test_read_remote_pdf" 62 65 "test_read_remote_pdf_with_custom_user_agent" 66 + # not sure what it checks 67 + # probably related to jpype, but we use subprocess instead 68 + # https://github.com/chezou/tabula-py/issues/352#issuecomment-1730791540 69 + # Failed: DID NOT RAISE <class 'RuntimeError'> 70 + "test_read_pdf_with_silent_true" 63 71 ]; 64 72 65 73 meta = with lib; {
-54
pkgs/development/python-modules/tabula-py/java-interpreter-path.patch
··· 1 - diff -ru origsource/tabula/io.py source/tabula/io.py 2 - --- origsource/tabula/io.py 2022-11-23 17:19:35.419837514 +0100 3 - +++ source/tabula/io.py 2022-11-23 17:22:08.204194807 +0100 4 - @@ -79,7 +79,7 @@ 5 - ) 6 - ) 7 - 8 - - args = ["java"] + java_options + ["-jar", _jar_path()] + options.build_option_list() 9 - + args = ["@JAVA@"] + java_options + ["-jar", _jar_path()] + options.build_option_list() 10 - if path: 11 - args.append(path) 12 - 13 - diff -ru origsource/tabula/util.py source/tabula/util.py 14 - --- origsource/tabula/util.py 2022-11-23 17:19:35.422837521 +0100 15 - +++ source/tabula/util.py 2022-11-23 17:21:41.514132392 +0100 16 - @@ -26,7 +26,7 @@ 17 - 18 - try: 19 - res = subprocess.check_output( 20 - - ["java", "-version"], stderr=subprocess.STDOUT 21 - + ["@JAVA@", "-version"], stderr=subprocess.STDOUT 22 - ).decode() 23 - 24 - except FileNotFoundError: 25 - diff -ru origsource/tests/test_read_pdf_table.py source/tests/test_read_pdf_table.py 26 - --- origsource/tests/test_read_pdf_table.py 2022-11-23 17:19:35.422837521 +0100 27 - +++ source/tests/test_read_pdf_table.py 2022-11-23 17:21:22.008086776 +0100 28 - @@ -281,7 +281,7 @@ 29 - 30 - tabula.read_pdf(self.pdf_path, encoding="utf-8") 31 - 32 - - target_args = ["java"] 33 - + target_args = ["@JAVA@"] 34 - if platform.system() == "Darwin": 35 - target_args += ["-Djava.awt.headless=true"] 36 - target_args += [ 37 - @@ -355,7 +355,7 @@ 38 - 39 - tabula.read_pdf(self.pdf_path, encoding="utf-8", silent=False) 40 - 41 - - target_args = ["java"] 42 - + target_args = ["@JAVA@"] 43 - if platform.system() == "Darwin": 44 - target_args += ["-Djava.awt.headless=true"] 45 - target_args += [ 46 - @@ -382,7 +382,7 @@ 47 - 48 - tabula.read_pdf(self.pdf_path, encoding="utf-8", silent=True) 49 - 50 - - target_args = ["java"] 51 - + target_args = ["@JAVA@"] 52 - if platform.system() == "Darwin": 53 - target_args += ["-Djava.awt.headless=true"] 54 - target_args += [
+8 -6
pkgs/development/python-modules/tailscale/default.nix
··· 3 3 , aresponses 4 4 , buildPythonPackage 5 5 , fetchFromGitHub 6 + , mashumaro 7 + , orjson 6 8 , poetry-core 7 - , pydantic 8 9 , pytest-asyncio 9 10 , pytestCheckHook 10 11 , pythonOlder ··· 13 14 14 15 buildPythonPackage rec { 15 16 pname = "tailscale"; 16 - version = "0.3.0"; 17 + version = "0.6.0"; 17 18 format = "pyproject"; 18 19 19 - disabled = pythonOlder "3.8"; 20 + disabled = pythonOlder "3.11"; 20 21 21 22 src = fetchFromGitHub { 22 23 owner = "frenck"; 23 24 repo = "python-tailscale"; 24 25 rev = "refs/tags/v${version}"; 25 - hash = "sha256-gGDsVGsCBZi/pxD0cyH3+xrvHVBC+wJCcl/NGqsTqiE="; 26 + hash = "sha256-wO6yMMU5fxk8GQ0e4ZCse2atlR4wrzulZOFXkVKAsmU="; 26 27 }; 27 28 28 29 postPatch = '' 29 30 # Upstream doesn't set a version for the pyproject.toml 30 31 substituteInPlace pyproject.toml \ 31 - --replace "0.0.0" "${version}" \ 32 + --replace 'version = "0.0.0"' 'version = "${version}"' \ 32 33 --replace "--cov" "" 33 34 ''; 34 35 ··· 38 39 39 40 propagatedBuildInputs = [ 40 41 aiohttp 41 - pydantic 42 + mashumaro 43 + orjson 42 44 yarl 43 45 ]; 44 46
+39
pkgs/development/python-modules/telegram-text/default.nix
··· 1 + { lib 2 + , stdenv 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , pythonOlder 6 + , poetry-core 7 + , pytestCheckHook 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "telegram-text"; 12 + version = "0.1.2"; 13 + pyproject = true; 14 + disabled = pythonOlder "3.7"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "SKY-ALIN"; 18 + repo = "telegram-text"; 19 + rev = "v${version}"; 20 + hash = "sha256-p8SVQq7IvkVuOFE8VDugROLY5Wk0L2HmXyacTzFFSP4="; 21 + }; 22 + 23 + nativeBuildInputs = [ 24 + poetry-core 25 + ]; 26 + 27 + nativeCheckInputs = [ 28 + pytestCheckHook 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "Python markup module for Telegram messenger"; 33 + downloadPage = "https://github.com/SKY-ALIN/telegram-text"; 34 + homepage = "https://telegram-text.alinsky.tech/"; 35 + changelog = "https://github.com/SKY-ALIN/telegram-text/blob/v${version}/CHANGELOG.md"; 36 + license = licenses.mit; 37 + maintainers = with maintainers; [ sikmir ]; 38 + }; 39 + }
+2 -2
pkgs/development/python-modules/ulid-transform/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "ulid-transform"; 13 - version = "0.8.1"; 13 + version = "0.9.0"; 14 14 format = "pyproject"; 15 15 16 16 disabled = pythonOlder "3.9"; ··· 19 19 owner = "bdraco"; 20 20 repo = pname; 21 21 rev = "refs/tags/v${version}"; 22 - hash = "sha256-isngr9CZ2YYuq+5s3p4HXrTU20vPqZGZ1r8mBoVkxiI="; 22 + hash = "sha256-r9uxPXpmQSsL1rX4d9TH87olFbZugdGdNG++Ygjie1I="; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+5
pkgs/development/python-modules/wfuzz/default.nix
··· 63 63 "wfuzz" 64 64 ]; 65 65 66 + postInstall = '' 67 + mkdir -p $out/share/wordlists/wfuzz 68 + cp -R -T "wordlist" "$out/share/wordlists/wfuzz" 69 + ''; 70 + 66 71 meta = with lib; { 67 72 description = "Web content fuzzer to facilitate web applications assessments"; 68 73 longDescription = ''
+16 -1
pkgs/development/skaware-packages/skalibs/default.nix
··· 1 - { skawarePackages, pkgs }: 1 + { lib 2 + , stdenv 3 + , skawarePackages 4 + , pkgs 5 + }: 2 6 3 7 with skawarePackages; 4 8 ··· 21 25 # Empty the default path, which would be "/usr/bin:bin". 22 26 # It would be set when PATH is empty. This hurts hermeticity. 23 27 "--with-default-path=" 28 + 29 + ] ++ lib.optionals (stdenv.buildPlatform.config != stdenv.hostPlatform.config) [ 30 + # ./configure: sysdep posixspawnearlyreturn cannot be autodetected 31 + # when cross-compiling. Please manually provide a value with the 32 + # --with-sysdep-posixspawnearlyreturn=yes|no|... option. 33 + # 34 + # posixspawnearlyreturn: `yes` if the target has a broken 35 + # `posix_spawn()` implementation that can return before the 36 + # child has successfully exec'ed. That happens with old glibcs 37 + # and some virtual platforms. 38 + "--with-sysdep-posixspawnearlyreturn=no" 24 39 ]; 25 40 26 41 postInstall = ''
+16 -5
pkgs/development/tools/build-managers/bazel/bazel_6/default.nix
··· 22 22 , file 23 23 , substituteAll 24 24 , writeTextFile 25 + , writeShellApplication 25 26 }: 26 27 27 28 let ··· 127 128 ]; 128 129 129 130 defaultShellPath = lib.makeBinPath defaultShellUtils; 131 + 132 + bashWithDefaultShellUtils = writeShellApplication { 133 + name = "bash"; 134 + text = '' 135 + if [[ "$PATH" == "/no-such-path" ]]; then 136 + export PATH=${defaultShellPath} 137 + fi 138 + exec ${bash}/bin/bash "$@" 139 + ''; 140 + }; 130 141 131 142 platforms = lib.platforms.linux ++ lib.platforms.darwin; 132 143 ··· 420 431 # If you add more replacements here, you must change the grep above! 421 432 # Only files containing /bin are taken into account. 422 433 substituteInPlace "$path" \ 423 - --replace /bin/bash ${bash}/bin/bash \ 424 - --replace "/usr/bin/env bash" ${bash}/bin/bash \ 434 + --replace /bin/bash ${bashWithDefaultShellUtils}/bin/bash \ 435 + --replace "/usr/bin/env bash" ${bashWithDefaultShellUtils}/bin/bash \ 425 436 --replace "/usr/bin/env python" ${python3}/bin/python \ 426 437 --replace /usr/bin/env ${coreutils}/bin/env \ 427 438 --replace /bin/true ${coreutils}/bin/true ··· 436 447 437 448 # bazel test runner include references to /bin/bash 438 449 substituteInPlace tools/build_rules/test_rules.bzl \ 439 - --replace /bin/bash ${bash}/bin/bash 450 + --replace /bin/bash ${bashWithDefaultShellUtils}/bin/bash 440 451 441 452 for i in $(find tools/cpp/ -type f) 442 453 do 443 454 substituteInPlace $i \ 444 - --replace /bin/bash ${bash}/bin/bash 455 + --replace /bin/bash ${bashWithDefaultShellUtils}/bin/bash 445 456 done 446 457 447 458 # Fixup scripts that generate scripts. Not fixed up by patchShebangs below. 448 459 substituteInPlace scripts/bootstrap/compile.sh \ 449 - --replace /bin/bash ${bash}/bin/bash 460 + --replace /bin/bash ${bashWithDefaultShellUtils}/bin/bash 450 461 451 462 # add nix environment vars to .bazelrc 452 463 cat >> .bazelrc <<EOF
+3 -3
pkgs/development/tools/rust/cargo-update/default.nix
··· 16 16 17 17 rustPlatform.buildRustPackage rec { 18 18 pname = "cargo-update"; 19 - version = "13.1.0"; 19 + version = "13.2.0"; 20 20 21 21 src = fetchCrate { 22 22 inherit pname version; 23 - sha256 = "sha256-2j35R7QTn7Z3yqzOU+VWAoZfYodecDt45Plx/D7+GyU="; 23 + sha256 = "sha256-yMHGn/RPtYuxS3rHzm87mW7nBUEaSOGsCT7Ckxvhabk="; 24 24 }; 25 25 26 - cargoHash = "sha256-OEv9LOep4YNWY7oixY5zD9QgxqSYTrcf5oSXpxvnKIs="; 26 + cargoHash = "sha256-hO2W0NRV9fGHnnS1kOkQ+e0sFzVSBQk3MOm8qDYbA00="; 27 27 28 28 nativeBuildInputs = [ 29 29 cmake
+3 -3
pkgs/development/tools/viceroy/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "viceroy"; 5 - version = "0.9.2"; 5 + version = "0.9.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "fastly"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - hash = "sha256-vMyNsLXMJk8MTiZYRiGQpOLZfeJbKlYcG1U8xTQIty0="; 11 + hash = "sha256-LOm4d6SV5rlb7NovhSp7V0JIaOfHIZOqeIcpIvTsZsA="; 12 12 }; 13 13 14 14 buildInputs = lib.optional stdenv.isDarwin Security; 15 15 16 - cargoHash = "sha256-+v2P9ISSA7Xy5fTjfVNETAStPo19dLxv5K57MC/GU4E="; 16 + cargoHash = "sha256-Pz+jA4uC/40mj5Jn/lB+XcoN/QSD23iLwsEowTUI0pg="; 17 17 18 18 cargoTestFlags = [ 19 19 "--package viceroy-lib"
+4 -4
pkgs/development/tools/yarn-berry/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "yarn-berry"; 5 - version = "3.4.1"; 5 + version = "4.0.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "yarnpkg"; 9 9 repo = "berry"; 10 10 rev = "@yarnpkg/cli/${version}"; 11 - hash = "sha256-eBBB/F+mnGi93Qf23xgt306/ogoV76RXOM90O14u5Tw="; 11 + hash = "sha256-9QNeXamNqRx+Bfg8nAhnImPuNFyqrHIs1eF9prSwIR4="; 12 12 }; 13 13 14 14 buildInputs = [ ··· 33 33 runHook postInstall 34 34 ''; 35 35 36 - meta = with lib; { 36 + meta = with lib; { 37 37 homepage = "https://yarnpkg.com/"; 38 38 description = "Fast, reliable, and secure dependency management."; 39 39 license = licenses.bsd2; 40 - maintainers = with maintainers; [ ryota-ka ]; 40 + maintainers = with maintainers; [ ryota-ka thehedgeh0g ]; 41 41 platforms = platforms.unix; 42 42 }; 43 43 }
+5 -5
pkgs/games/anki/bin.nix
··· 3 3 let 4 4 pname = "anki-bin"; 5 5 # Update hashes for both Linux and Darwin! 6 - version = "23.10"; 6 + version = "23.10.1"; 7 7 8 8 sources = { 9 9 linux = fetchurl { 10 10 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-linux-qt6.tar.zst"; 11 - sha256 = "sha256-dfL95UKu6kwD4WHLtXlIdkf5UItEtW2WCAKP7YGlCtc="; 11 + sha256 = "sha256-Kv0SH+bLnBSM/tYHe2kEJc4n7izZTBNWQs2nm/teLEU="; 12 12 }; 13 13 14 14 # For some reason anki distributes completely separate dmg-files for the aarch64 version and the x86_64 version 15 15 darwin-x86_64 = fetchurl { 16 16 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-intel-qt6.dmg"; 17 - sha256 = "sha256-Y8BZ7EA6Dn4+5kMCFyuXi17XDLn9YRxqVGautt9WUOo="; 17 + sha256 = "sha256-MSlKsEv4N/H7G1bUOBlPBXerpHIW32P6Va02aRq1+54="; 18 18 }; 19 19 darwin-aarch64 = fetchurl { 20 20 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-apple-qt6.dmg"; 21 - sha256 = "sha256-IrKWJ16gMCR2MH8dgYUCtMj6mDQP18+HQr17hfekPIs="; 21 + sha256 = "sha256-jEm9WJBXx77KpldzBuxK1Pu6VGiARZPnRmMhEjZdm1I="; 22 22 }; 23 23 }; 24 24 ··· 45 45 meta = with lib; { 46 46 inherit (anki.meta) license homepage description longDescription; 47 47 platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ]; 48 - maintainers = with maintainers; [ mahmoudk1000 atemu ]; 48 + maintainers = with maintainers; [ mahmoudk1000 ]; 49 49 }; 50 50 51 51 passthru = { inherit sources; };
+2 -2
pkgs/servers/dns/pdns-recursor/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "pdns-recursor"; 8 - version = "4.9.1"; 8 + version = "4.9.2"; 9 9 10 10 src = fetchurl { 11 11 url = "https://downloads.powerdns.com/releases/pdns-recursor-${version}.tar.bz2"; 12 - sha256 = "sha256-Ch7cE+jyvWYfOeMWOH2UHiLeagO4p6L8Zi/fi5Quor4="; 12 + sha256 = "sha256-TLgYBFjs+1KKPZo0uihEts0u1pyhxGHd4koOvWaCkUQ="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ pkg-config ];
+46
pkgs/servers/home-assistant/build-custom-component/check_manifest.py
··· 1 + #!/usr/bin/env python3 2 + 3 + import json 4 + import importlib_metadata 5 + import sys 6 + 7 + from packaging.requirements import Requirement 8 + 9 + 10 + def check_requirement(req: str): 11 + # https://packaging.pypa.io/en/stable/requirements.html 12 + requirement = Requirement(req) 13 + try: 14 + version = importlib_metadata.distribution(requirement.name).version 15 + except importlib_metadata.PackageNotFoundError: 16 + print(f" - Dependency {requirement.name} is missing", file=sys.stderr) 17 + return False 18 + 19 + # https://packaging.pypa.io/en/stable/specifiers.html 20 + if not version in requirement.specifier: 21 + print( 22 + f" - {requirement.name}{requirement.specifier} expected, but got {version}", 23 + file=sys.stderr, 24 + ) 25 + return False 26 + 27 + return True 28 + 29 + 30 + def check_manifest(manifest_file: str): 31 + with open(manifest_file) as fd: 32 + manifest = json.load(fd) 33 + if "requirements" in manifest: 34 + ok = True 35 + for requirement in manifest["requirements"]: 36 + ok &= check_requirement(requirement) 37 + if not ok: 38 + print("Manifest requirements are not met", file=sys.stderr) 39 + sys.exit(1) 40 + 41 + 42 + if __name__ == "__main__": 43 + if len(sys.argv) < 2: 44 + raise RuntimeError(f"Usage {sys.argv[0]} <manifest>") 45 + manifest_file = sys.argv[1] 46 + check_manifest(manifest_file)
+38
pkgs/servers/home-assistant/build-custom-component/default.nix
··· 1 + { lib 2 + , home-assistant 3 + , makeSetupHook 4 + }: 5 + 6 + { pname 7 + , version 8 + , format ? "other" 9 + , ... 10 + }@args: 11 + 12 + let 13 + manifestRequirementsCheckHook = import ./manifest-requirements-check-hook.nix { 14 + inherit makeSetupHook; 15 + inherit (home-assistant) python; 16 + }; 17 + in 18 + home-assistant.python.pkgs.buildPythonPackage ( 19 + { 20 + inherit format; 21 + 22 + installPhase = '' 23 + runHook preInstall 24 + 25 + mkdir $out 26 + cp -r $src/custom_components/ $out/ 27 + 28 + runHook postInstall 29 + ''; 30 + 31 + nativeCheckInputs = with home-assistant.python.pkgs; [ 32 + importlib-metadata 33 + manifestRequirementsCheckHook 34 + packaging 35 + ] ++ (args.nativeCheckInputs or []); 36 + 37 + } // builtins.removeAttrs args [ "nativeCheckInputs" ] 38 + )
+11
pkgs/servers/home-assistant/build-custom-component/manifest-requirements-check-hook.nix
··· 1 + { python 2 + , makeSetupHook 3 + }: 4 + 5 + makeSetupHook { 6 + name = "manifest-requirements-check-hook"; 7 + substitutions = { 8 + pythonCheckInterpreter = python.interpreter; 9 + checkManifest = ./check_manifest.py; 10 + }; 11 + } ./manifest-requirements-check-hook.sh
+25
pkgs/servers/home-assistant/build-custom-component/manifest-requirements-check-hook.sh
··· 1 + # Setup hook to check HA manifest requirements 2 + echo "Sourcing manifest-requirements-check-hook" 3 + 4 + function manifestCheckPhase() { 5 + echo "Executing manifestCheckPhase" 6 + runHook preCheck 7 + 8 + manifests=$(shopt -s nullglob; echo $out/custom_components/*/manifest.json) 9 + 10 + if [ ! -z "$manifests" ]; then 11 + echo Checking manifests $manifests 12 + @pythonCheckInterpreter@ @checkManifest@ $manifests 13 + else 14 + echo "No custom component manifests found in $out" >&2 15 + exit 1 16 + fi 17 + 18 + runHook postCheck 19 + echo "Finished executing manifestCheckPhase" 20 + } 21 + 22 + if [ -z "${dontCheckManifest-}" ] && [ -z "${installCheckPhase-}" ]; then 23 + echo "Using manifestCheckPhase" 24 + preDistPhases+=" manifestCheckPhase" 25 + fi
+2 -1
pkgs/servers/home-assistant/component-packages.nix
··· 2 2 # Do not edit! 3 3 4 4 { 5 - version = "2023.11.1"; 5 + version = "2023.11.2"; 6 6 components = { 7 7 "3_day_blinds" = ps: with ps; [ 8 8 ]; 9 9 "abode" = ps: with ps; [ 10 10 jaraco-abode 11 + jaraco-functools 11 12 ]; 12 13 "accuweather" = ps: with ps; [ 13 14 accuweather
+57
pkgs/servers/home-assistant/custom-components/README.md
··· 1 + # Packaging guidelines 2 + 3 + ## buildHomeAssistantComponent 4 + 5 + Custom components should be packaged using the 6 + `buildHomeAssistantComponent` function, that is provided at top-level. 7 + It builds upon `buildPythonPackage` but uses a custom install and check 8 + phase. 9 + 10 + Python runtime dependencies can be directly consumed as unqualified 11 + function arguments. Pass them into `propagatedBuildInputs`, for them to 12 + be available to Home Assistant. 13 + 14 + Out-of-tree components need to use python packages from 15 + `home-assistant.python.pkgs` as to not introduce conflicting package 16 + versions into the Python environment. 17 + 18 + 19 + **Example Boilerplate:** 20 + 21 + ```nix 22 + { lib 23 + , buildHomeAssistantcomponent 24 + , fetchFromGitHub 25 + }: 26 + 27 + buildHomeAssistantComponent { 28 + # pname, version 29 + 30 + src = fetchFromGithub { 31 + # owner, repo, rev, hash 32 + }; 33 + 34 + propagatedBuildInputs = [ 35 + # python requirements, as specified in manifest.json 36 + ]; 37 + 38 + meta = with lib; { 39 + # changelog, description, homepage, license, maintainers 40 + } 41 + } 42 + 43 + ## Package name normalization 44 + 45 + Apply the same normalization rules as defined for python packages in 46 + [PEP503](https://peps.python.org/pep-0503/#normalized-names). 47 + The name should be lowercased and dots, underlines or multiple 48 + dashes should all be replaced by a single dash. 49 + 50 + ## Manifest check 51 + 52 + The `buildHomeAssistantComponent` builder uses a hook to check whether 53 + the dependencies specified in the `manifest.json` are present and 54 + inside the specified version range. 55 + 56 + There shouldn't be a need to disable this hook, but you can set 57 + `dontCheckManifest` to `true` in the derivation to achieve that.
+6
pkgs/servers/home-assistant/custom-components/default.nix
··· 1 + { callPackage 2 + }: 3 + 4 + { 5 + prometheus-sensor = callPackage ./prometheus-sensor {}; 6 + }
+26
pkgs/servers/home-assistant/custom-components/prometheus-sensor/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildHomeAssistantComponent 4 + }: 5 + 6 + buildHomeAssistantComponent rec { 7 + pname = "prometheus-sensor"; 8 + version = "1.0.0"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "mweinelt"; 12 + repo = "ha-prometheus-sensor"; 13 + rev = "refs/tags/${version}"; 14 + hash = "sha256-10COLFXvmpm8ONLyx5c0yiQdtuP0SC2NKq/ZYHro9II="; 15 + }; 16 + 17 + dontBuild = true; 18 + 19 + meta = with lib; { 20 + changelog = "https://github.com/mweinelt/ha-prometheus-sensor/blob/${version}/CHANGELOG.md"; 21 + description = "Import prometheus query results into Home Assistant"; 22 + homepage = "https://github.com/mweinelt/ha-prometheus-sensor"; 23 + maintainers = with maintainers; [ hexa ]; 24 + license = licenses.mit; 25 + }; 26 + }
+13
pkgs/servers/home-assistant/custom-lovelace-modules/README.md
··· 1 + # Packaging guidelines 2 + 3 + ## Entrypoint 4 + 5 + Every lovelace module has an entrypoint in the form of a `.js` file. By 6 + default the nixos module will try to load `${pname}.js` when a module is 7 + configured. 8 + 9 + The entrypoint used can be overridden in `passthru` like this: 10 + 11 + ```nix 12 + passthru.entrypoint = "demo-card-bundle.js"; 13 + ```
+8
pkgs/servers/home-assistant/custom-lovelace-modules/default.nix
··· 1 + { callPackage 2 + }: 3 + 4 + { 5 + mini-graph-card = callPackage ./mini-graph-card {}; 6 + 7 + mini-media-player = callPackage ./mini-media-player {}; 8 + }
+38
pkgs/servers/home-assistant/custom-lovelace-modules/mini-graph-card/default.nix
··· 1 + { lib 2 + , buildNpmPackage 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildNpmPackage rec { 7 + pname = "mini-graph-card"; 8 + version = "0.11.0"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "kalkih"; 12 + repo = "mini-graph-card"; 13 + rev = "refs/tags/v${version}"; 14 + hash = "sha256-AC4VawRtWTeHbFqDJ6oQchvUu08b4F3ManiPPXpyGPc="; 15 + }; 16 + 17 + npmDepsHash = "sha256-0ErOTkcCnMqMTsTkVL320SxZaET/izFj9GiNWC2tQtQ="; 18 + 19 + installPhase = '' 20 + runHook preInstall 21 + 22 + mkdir $out 23 + cp -v dist/mini-graph-card-bundle.js $out/ 24 + 25 + runHook postInstall 26 + ''; 27 + 28 + passthru.entrypoint = "mini-graph-card-bundle.js"; 29 + 30 + meta = with lib; { 31 + changelog = "https://github.com/kalkih/mini-graph-card/releases/tag/v${version}"; 32 + description = "Minimalistic graph card for Home Assistant Lovelace UI"; 33 + homepage = "https://github.com/kalkih/mini-graph-card"; 34 + maintainers = with maintainers; [ hexa ]; 35 + license = licenses.mit; 36 + }; 37 + } 38 +
+37
pkgs/servers/home-assistant/custom-lovelace-modules/mini-media-player/default.nix
··· 1 + { lib 2 + , buildNpmPackage 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildNpmPackage rec { 7 + pname = "mini-media-player"; 8 + version = "1.16.5"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "kalkih"; 12 + repo = "mini-media-player"; 13 + rev = "v${version}"; 14 + hash = "sha256-ydkY7Qx2GMh4CpvvBAQubJ7PlxSscDZRJayn82bOczM="; 15 + }; 16 + 17 + npmDepsHash = "sha256-v9NvZOrQPMOoG3LKACnu79jKgZtcnGiopWad+dFbplw="; 18 + 19 + installPhase = '' 20 + runHook preInstall 21 + 22 + mkdir $out 23 + cp -v ./dist/mini-media-player-bundle.js $out/ 24 + 25 + runHook postInstall 26 + ''; 27 + 28 + passthru.entrypoint = "mini-media-player-bundle.js"; 29 + 30 + meta = with lib; { 31 + changelog = "https://github.com/kalkih/mini-media-player/releases/tag/v${version}"; 32 + description = "Minimalistic media card for Home Assistant Lovelace UI"; 33 + homepage = "https://github.com/kalkih/mini-media-player"; 34 + license = licenses.mit; 35 + maintainers = with maintainers; [ hexa ]; 36 + }; 37 + }
+18 -22
pkgs/servers/home-assistant/default.nix
··· 3 3 , callPackage 4 4 , fetchFromGitHub 5 5 , fetchPypi 6 - , fetchpatch 7 6 , python311 8 7 , substituteAll 9 8 , ffmpeg-headless ··· 193 192 }; 194 193 }); 195 194 195 + psutil = super.psutil.overridePythonAttrs (oldAttrs: rec { 196 + version = "5.9.6"; 197 + src = fetchPypi { 198 + pname = "psutil"; 199 + inherit version; 200 + hash = "sha256-5Lkt3NfdTN0/kAGA6h4QSTLHvOI0+4iXbio7KWRBIlo="; 201 + }; 202 + }); 203 + 196 204 py-synologydsm-api = super.py-synologydsm-api.overridePythonAttrs (oldAttrs: rec { 197 205 version = "2.1.4"; 198 206 src = fetchFromGitHub { ··· 310 318 doCheck = false; 311 319 }); 312 320 313 - # Pinned due to API changes in 0.3.0 314 - tailscale = super.tailscale.overridePythonAttrs (oldAttrs: rec { 315 - version = "0.2.0"; 316 - src = fetchFromGitHub { 317 - owner = "frenck"; 318 - repo = "python-tailscale"; 319 - rev = "refs/tags/v${version}"; 320 - hash = "sha256-/tS9ZMUWsj42n3MYPZJYJELzX3h02AIHeRZmD2SuwWE="; 321 - }; 322 - }); 323 - 324 321 # Pinned due to API changes ~1.0 325 322 vultr = super.vultr.overridePythonAttrs (oldAttrs: rec { 326 323 version = "0.1.2"; ··· 356 353 extraBuildInputs = extraPackages python.pkgs; 357 354 358 355 # Don't forget to run parse-requirements.py after updating 359 - hassVersion = "2023.11.1"; 356 + hassVersion = "2023.11.2"; 360 357 361 358 in python.pkgs.buildPythonApplication rec { 362 359 pname = "homeassistant"; ··· 372 369 # Primary source is the pypi sdist, because it contains translations 373 370 src = fetchPypi { 374 371 inherit pname version; 375 - hash = "sha256-4OIvY6blun++7JDY+B0Cjrr4yNgnjTd8G55SWkhS3Cs="; 372 + hash = "sha256-cnneRq0hIyvgKo0du/52ze0IVs8TgTPNQM3T1kyy03s="; 376 373 }; 377 374 378 375 # Secondary source is git for tests ··· 380 377 owner = "home-assistant"; 381 378 repo = "core"; 382 379 rev = "refs/tags/${version}"; 383 - hash = "sha256-Z/CV1sGdJsdc4OxUZulC0boHaMP7WpajbY8Y6R9Q//I="; 380 + hash = "sha256-OljfYmlXSJVoWWsd4jcSF4nI/FXHqRA8e4LN5AaPVv8="; 384 381 }; 385 382 386 383 nativeBuildInputs = with python.pkgs; [ ··· 396 393 397 394 # leave this in, so users don't have to constantly update their downstream patch handling 398 395 patches = [ 396 + # Follow symlinks in /var/lib/hass/www 397 + ./patches/static-symlinks.patch 398 + 399 + # Patch path to ffmpeg binary 399 400 (substituteAll { 400 401 src = ./patches/ffmpeg-path.patch; 401 402 ffmpeg = "${lib.getBin ffmpeg-headless}/bin/ffmpeg"; 402 - }) 403 - (fetchpatch { 404 - # freeze time in litterrobot tests 405 - # https://github.com/home-assistant/core/pull/103444 406 - name = "home-assistant-litterrobot-freeze-test-time.patch"; 407 - url = "https://github.com/home-assistant/core/commit/806205952ff863e2cf1875be406ea0254be5f13a.patch"; 408 - hash = "sha256-OVbmJWy275nYWrif9awAGIYlgZqrRPcYBhB0Vil8rmk="; 409 403 }) 410 404 ]; 411 405 ··· 526 520 "--deselect=tests/helpers/test_entity_registry.py::test_get_or_create_updates_data" 527 521 # AssertionError: assert 2 == 1 528 522 "--deselect=tests/helpers/test_entity_values.py::test_override_single_value" 523 + # AssertionError: assert 'WARNING' not in '2023-11-10 ...nt abc[L]>\n'" 524 + "--deselect=tests/helpers/test_script.py::test_multiple_runs_repeat_choose" 529 525 # tests are located in tests/ 530 526 "tests" 531 527 ];
+2 -2
pkgs/servers/home-assistant/frontend.nix
··· 4 4 # the frontend version corresponding to a specific home-assistant version can be found here 5 5 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json 6 6 pname = "home-assistant-frontend"; 7 - version = "20231030.1"; 7 + version = "20231030.2"; 8 8 format = "wheel"; 9 9 10 10 src = fetchPypi { ··· 12 12 pname = "home_assistant_frontend"; 13 13 dist = "py3"; 14 14 python = "py3"; 15 - hash = "sha256-S363j7HnOxLqCBaml1Kb9xfY0AaqBIgj09NutByn6Xo="; 15 + hash = "sha256-qzodzqWpAXZjwBJkiCyBi5zzfpEqqtauJn2PKZ5UtJ0="; 16 16 }; 17 17 18 18 # there is nothing to strip in this package
+15 -1
pkgs/servers/home-assistant/parse-requirements.py
··· 56 56 ], 57 57 } 58 58 59 + # Sometimes we have unstable versions for libraries that are not 60 + # well-maintained. This allows us to mark our weird version as newer 61 + # than a certain wanted version 62 + OUR_VERSION_IS_NEWER_THAN = { 63 + "blinkstick": "1.2.0", 64 + "gps3": "0.33.3", 65 + "pybluez": "0.22", 66 + } 67 + 59 68 60 69 61 70 def run_sync(cmd: List[str]) -> None: ··· 226 235 Version.parse(our_version) 227 236 except InvalidVersion: 228 237 print(f"Attribute {attr_name} has invalid version specifier {our_version}", file=sys.stderr) 229 - attr_outdated = True 238 + 239 + # allow specifying that our unstable version is newer than some version 240 + if newer_than_version := OUR_VERSION_IS_NEWER_THAN.get(attr_name): 241 + attr_outdated = Version.parse(newer_than_version) < Version.parse(required_version) 242 + else: 243 + attr_outdated = True 230 244 else: 231 245 attr_outdated = Version.parse(our_version) < Version.parse(required_version) 232 246 finally:
+37
pkgs/servers/home-assistant/patches/static-symlinks.patch
··· 1 + diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py 2 + index 2ec991750f..9a937006ce 100644 3 + --- a/homeassistant/components/frontend/__init__.py 4 + +++ b/homeassistant/components/frontend/__init__.py 5 + @@ -383,7 +383,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: 6 + 7 + local = hass.config.path("www") 8 + if os.path.isdir(local): 9 + - hass.http.register_static_path("/local", local, not is_dev) 10 + + hass.http.register_static_path("/local", local, not is_dev, follow_symlinks=True) 11 + 12 + # Can be removed in 2023 13 + hass.http.register_redirect("/config/server_control", "/developer-tools/yaml") 14 + diff --git a/homeassistant/components/http/__init__.py b/homeassistant/components/http/__init__.py 15 + index 122b7b79ce..3cf2b7e0db 100644 16 + --- a/homeassistant/components/http/__init__.py 17 + +++ b/homeassistant/components/http/__init__.py 18 + @@ -411,16 +411,16 @@ class HomeAssistantHTTP: 19 + ) 20 + 21 + def register_static_path( 22 + - self, url_path: str, path: str, cache_headers: bool = True 23 + + self, url_path: str, path: str, cache_headers: bool = True, follow_symlinks: bool = False 24 + ) -> None: 25 + """Register a folder or file to serve as a static path.""" 26 + if os.path.isdir(path): 27 + if cache_headers: 28 + resource: CachingStaticResource | web.StaticResource = ( 29 + - CachingStaticResource(url_path, path) 30 + + CachingStaticResource(url_path, path, follow_symlinks=follow_symlinks) 31 + ) 32 + else: 33 + - resource = web.StaticResource(url_path, path) 34 + + resource = web.StaticResource(url_path, path, follow_symlinks=follow_symlinks) 35 + self.app.router.register_resource(resource) 36 + self.app["allow_configured_cors"](resource) 37 + return
+2 -2
pkgs/servers/home-assistant/stubs.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "homeassistant-stubs"; 11 - version = "2023.11.1"; 11 + version = "2023.11.2"; 12 12 format = "pyproject"; 13 13 14 14 disabled = python.version != home-assistant.python.version; ··· 17 17 owner = "KapJI"; 18 18 repo = "homeassistant-stubs"; 19 19 rev = "refs/tags/${version}"; 20 - hash = "sha256-eLmWOMKLzhZ7M/gdUHhlDZ3T+N4h5aHxMwOI8ZUepps="; 20 + hash = "sha256-stVfFXb5QfC+wZUSk53+jt/hb8kO1gCcgeOnHHpNlWE="; 21 21 }; 22 22 23 23 nativeBuildInputs = [
+12 -1
pkgs/servers/http/apt-cacher-ng/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , bzip2 3 4 , cmake 4 5 , doxygen 5 6 , fetchurl 7 + , fetchpatch 6 8 , fuse 7 9 , libevent 8 10 , xz ··· 22 24 url = "https://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz"; 23 25 sha256 = "0pwsj9rf6a6q7cnfbpcrfq2gjcy7sylqzqqr49g2zi39lrrh8533"; 24 26 }; 27 + 28 + patches = [ 29 + # this patch fixes the build for glibc >= 2.38 30 + (fetchpatch { 31 + name = "strlcpy-glibc238.patch"; 32 + url = "https://bugs.debian.org/cgi-bin/bugreport.cgi?att=0;bug=1052360;msg=10"; 33 + hash = "sha256-uhQj+ZcHCV36Tm0pF/+JG59bSaRdTZCrMcKL3YhZTk8="; 34 + }) 35 + ]; 25 36 26 37 nativeBuildInputs = [ cmake doxygen pkg-config ]; 27 38 buildInputs = [ bzip2 fuse libevent xz openssl systemd tcp_wrappers zlib c-ares ];
+15 -15
pkgs/servers/mir/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , gitUpdater 5 6 , testers 6 7 , cmake 7 8 , pkg-config 8 9 , python3 9 - , doxygen 10 - , libxslt 11 10 , boost 12 11 , egl-wayland 13 12 , freetype ··· 40 39 41 40 stdenv.mkDerivation (finalAttrs: { 42 41 pname = "mir"; 43 - version = "2.14.1"; 42 + version = "2.15.0"; 44 43 45 44 src = fetchFromGitHub { 46 45 owner = "MirServer"; 47 46 repo = "mir"; 48 47 rev = "v${finalAttrs.version}"; 49 - hash = "sha256-IEGeZVNxwzHn5GASCyjNuQsnCzzfQBHdC33MWVMeZws="; 48 + hash = "sha256-c1+gxzLEtNCjR/mx76O5QElQ8+AO4WsfcG7Wy1+nC6E="; 50 49 }; 51 50 51 + patches = [ 52 + # Fix gbm-kms tests 53 + # Remove when version > 2.15.0 54 + (fetchpatch { 55 + name = "0001-mir-Fix-the-signature-of-drmModeCrtcSetGamma.patch"; 56 + url = "https://github.com/MirServer/mir/commit/98250e9c32c5b9b940da2fb0a32d8139bbc68157.patch"; 57 + hash = "sha256-tTtOHGNue5rsppOIQSfkOH5sVfFSn/KPGHmubNlRtLI="; 58 + }) 59 + ]; 60 + 52 61 postPatch = '' 53 62 # Fix scripts that get run in tests 54 63 patchShebangs tools/detect_fd_leaks.bash tests/acceptance-tests/wayland-generator/test_wayland_generator.sh.in ··· 73 82 substituteInPlace src/platform/graphics/CMakeLists.txt \ 74 83 --replace "/usr/include/drm/drm_fourcc.h" "${lib.getDev libdrm}/include/libdrm/drm_fourcc.h" \ 75 84 --replace "/usr/include/libdrm/drm_fourcc.h" "${lib.getDev libdrm}/include/libdrm/drm_fourcc.h" 76 - 77 - # Fix date in generated docs not honouring SOURCE_DATE_EPOCH 78 - # Install docs to correct dir 79 - substituteInPlace cmake/Doxygen.cmake \ 80 - --replace '"date"' '"date" "--date=@'"$SOURCE_DATE_EPOCH"'"' \ 81 - --replace "\''${CMAKE_INSTALL_PREFIX}/share/doc/mir-doc" "\''${CMAKE_INSTALL_DOCDIR}" 82 85 ''; 83 86 84 87 strictDeps = true; 85 88 86 89 nativeBuildInputs = [ 87 90 cmake 88 - doxygen 89 91 glib # gdbus-codegen 90 - libxslt 91 92 lttng-ust # lttng-gen-tp 92 93 pkg-config 93 94 (python3.withPackages (ps: with ps; [ ··· 137 138 wlcs 138 139 ]; 139 140 140 - buildFlags = [ "all" "doc" ]; 141 - 142 141 cmakeFlags = [ 142 + "-DBUILD_DOXYGEN=OFF" 143 143 "-DMIR_PLATFORM='gbm-kms;x11;eglstream-kms;wayland'" 144 144 "-DMIR_ENABLE_TESTS=${if finalAttrs.doCheck then "ON" else "OFF"}" 145 145 # BadBufferTest.test_truncated_shm_file *doesn't* throw an error as the test expected, mark as such ··· 160 160 export XDG_RUNTIME_DIR=/tmp 161 161 ''; 162 162 163 - outputs = [ "out" "dev" "doc" ]; 163 + outputs = [ "out" "dev" ]; 164 164 165 165 passthru = { 166 166 tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
+48 -13
pkgs/servers/monitoring/nagios/default.nix
··· 1 - { lib, stdenv, fetchurl, perl, php, gd, libpng, zlib, unzip, nixosTests }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , perl 5 + , php 6 + , gd 7 + , libpng 8 + , openssl 9 + , zlib 10 + , unzip 11 + , nixosTests 12 + , nix-update-script 13 + }: 2 14 3 15 stdenv.mkDerivation rec { 4 16 pname = "nagios"; 5 - version = "4.4.6"; 17 + version = "4.4.14"; 6 18 7 - src = fetchurl { 8 - url = "mirror://sourceforge/nagios/nagios-4.x/${pname}-${version}/${pname}-${version}.tar.gz"; 9 - sha256 = "1x5hb97zbvkm73q53ydp1gwj8nnznm72q9c4rm6ny7phr995l3db"; 19 + src = fetchFromGitHub { 20 + owner = "NagiosEnterprises"; 21 + repo = "nagioscore"; 22 + rev = "refs/tags/nagios-${version}"; 23 + hash = "sha256-EJKMgU3Nzfefq2VXxBrfDDrQZWZvj7HqKnWR9j75fGI="; 10 24 }; 11 25 12 26 patches = [ ./nagios.patch ]; 13 27 nativeBuildInputs = [ unzip ]; 14 - buildInputs = [ php perl gd libpng zlib ]; 28 + 29 + buildInputs = [ 30 + php 31 + perl 32 + gd 33 + libpng 34 + openssl 35 + zlib 36 + ]; 37 + 38 + configureFlags = [ 39 + "--localstatedir=/var/lib/nagios" 40 + "--with-ssl=${openssl.dev}" 41 + "--with-ssl-inc=${openssl.dev}/include" 42 + "--with-ssl-lib=${lib.getLib openssl}/lib" 43 + ]; 15 44 16 - configureFlags = [ "--localstatedir=/var/lib/nagios" ]; 17 45 buildFlags = [ "all" ]; 18 46 19 47 # Do not create /var directories ··· 28 56 sed -i 's@/bin/@@g' $out/etc/objects/commands.cfg 29 57 ''; 30 58 31 - passthru.tests = { 32 - inherit (nixosTests) nagios; 59 + passthru = { 60 + tests = { 61 + inherit (nixosTests) nagios; 62 + }; 63 + updateScript = nix-update-script { 64 + extraArgs = [ "--version-regex" "nagios-(.*)" ]; 65 + }; 33 66 }; 34 67 35 68 meta = { 36 69 description = "A host, service and network monitoring program"; 37 - homepage = "https://www.nagios.org/"; 38 - license = lib.licenses.gpl2; 39 - platforms = lib.platforms.linux; 40 - maintainers = with lib.maintainers; [ immae thoughtpolice relrod ]; 70 + homepage = "https://www.nagios.org/"; 71 + changelog = "https://github.com/NagiosEnterprises/nagioscore/blob/nagios-${version}/Changelog"; 72 + license = lib.licenses.gpl2; 73 + platforms = lib.platforms.linux; 74 + mainProgram = "nagios"; 75 + maintainers = with lib.maintainers; [ immae thoughtpolice relrod anthonyroussel ]; 41 76 }; 42 77 }
-56
pkgs/servers/prayer/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, perl, openssl, db, zlib, uwimap, html-tidy, pam}: 2 - 3 - let 4 - ssl = lib.optionals uwimap.withSSL 5 - "-e 's/CCLIENT_SSL_ENABLE.*= false/CCLIENT_SSL_ENABLE=true/'"; 6 - in 7 - stdenv.mkDerivation rec { 8 - pname = "prayer"; 9 - version = "1.3.5"; 10 - 11 - src = fetchurl { 12 - url = "ftp://ftp.csx.cam.ac.uk/pub/software/email/prayer/${pname}-${version}.tar.gz"; 13 - sha256 = "135fjbxjn385b6cjys6qhbwfw61mdcl2akkll4jfpdzfvhbxlyda"; 14 - }; 15 - 16 - patches = [ 17 - ./install.patch 18 - 19 - # fix build errors which result from openssl changes 20 - (fetchpatch { 21 - url = "https://sources.debian.org/data/main/p/prayer/1.3.5-dfsg1-6/debian/patches/disable_ssl3.patch"; 22 - sha256 = "1rx4bidc9prh4gffipykp144cyi3zd6qzd990s2aad3knzv5bkdd"; 23 - }) 24 - (fetchpatch { 25 - url = "https://sources.debian.org/data/main/p/prayer/1.3.5-dfsg1-6/debian/patches/openssl1.1.patch"; 26 - sha256 = "0zinylvq3bcifdmki867gir49pbjx6qb5h019hawwif2l4jmlxw1"; 27 - }) 28 - ]; 29 - 30 - postPatch = '' 31 - sed -i -e s/gmake/make/ -e 's/LDAP_ENABLE.*= true/LDAP_ENABLE=false/' \ 32 - ${ssl} \ 33 - -e 's/CCLIENT_LIBS=.*/CCLIENT_LIBS=-lc-client/' \ 34 - -e 's,^PREFIX .*,PREFIX='$out, \ 35 - -e 's,^CCLIENT_DIR=.*,CCLIENT_DIR=${uwimap}/include/c-client,' \ 36 - Config 37 - sed -i -e s,/usr/bin/perl,${perl}/bin/perl, \ 38 - templates/src/*.pl 39 - sed -i -e '/<stropts.h>/d' lib/os_linux.h 40 - '' + /* html-tidy updates */ '' 41 - substituteInPlace ./session/html_secure_tidy.c \ 42 - --replace buffio.h tidybuffio.h 43 - ''; 44 - 45 - buildInputs = [ openssl db zlib uwimap html-tidy pam ]; 46 - nativeBuildInputs = [ perl ]; 47 - 48 - NIX_LDFLAGS = "-lpam"; 49 - 50 - meta = { 51 - homepage = "http://www-uxsup.csx.cam.ac.uk/~dpc22/prayer/"; 52 - description = "Yet another Webmail interface for IMAP servers on Unix systems written in C"; 53 - license = lib.licenses.gpl2Plus; 54 - platforms = lib.platforms.linux; 55 - }; 56 - }
-170
pkgs/servers/prayer/install.patch
··· 1 - diff --git a/accountd/Makefile b/accountd/Makefile 2 - index c3e8107..7946776 100644 3 - --- a/accountd/Makefile 4 - +++ b/accountd/Makefile 5 - @@ -75,6 +75,6 @@ clean: 6 - -rm -f prayer-accountd test core *.o *~ \#*\# 7 - 8 - install: 9 - - $(INSTALL) -m 755 -o ${RO_USER} -g ${RW_GROUP} \ 10 - + $(INSTALL) -m 755 \ 11 - prayer-accountd ${BROOT}${BIN_DIR} 12 - 13 - diff --git a/files/Makefile b/files/Makefile 14 - index 743d0ed..7eff064 100644 15 - --- a/files/Makefile 16 - +++ b/files/Makefile 17 - @@ -52,20 +52,20 @@ distclean: 18 - 19 - install-cert: 20 - if [ -f certs/prayer.pem ]; then \ 21 - - $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) \ 22 - + $(INSTALL) \ 23 - -m $(PRIVATE_FILE) certs/prayer.pem ${BROOT}${PREFIX}/certs; \ 24 - fi 25 - 26 - install-config: etc/prayer.cf 27 - - $(INSTALL) -D -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_FILE) \ 28 - + $(INSTALL) -D -m $(PUBLIC_FILE) \ 29 - etc/prayer.cf ${BROOT}${PRAYER_CONFIG_FILE} 30 - 31 - install-aconfig: 32 - - $(INSTALL) -D -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_FILE) \ 33 - + $(INSTALL) -D -m $(PUBLIC_FILE) \ 34 - etc/prayer-accountd.cf ${BROOT}${ACCOUNTD_CONFIG_FILE} 35 - 36 - install-motd: 37 - - $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_FILE) \ 38 - + $(INSTALL) -m $(PUBLIC_FILE) \ 39 - etc/motd.html ${BROOT}${PREFIX}/etc 40 - 41 - install: 42 - @@ -83,6 +83,6 @@ install: 43 - if [ ! -f $(BROOT)$(PREFIX)/etc/motd.html ]; then $(MAKE) install-motd; fi 44 - 45 - redhat-install-init.d: 46 - - install -D -o root -g root -m 755 \ 47 - + install -D -m 755 \ 48 - ./init.d/prayer $(BROOT)/etc/rc.d/init.d/prayer 49 - #chkconfig prayer --level 2345 on 50 - diff --git a/files/install.sh b/files/install.sh 51 - index 8d1d1f4..0804a08 100755 52 - --- a/files/install.sh 53 - +++ b/files/install.sh 54 - @@ -2,8 +2,6 @@ 55 - # 56 - # $Cambridge: hermes/src/prayer/files/install.sh,v 1.7 2008/09/16 09:59:56 dpc22 Exp $ 57 - 58 - -PATH=/bin:/sbin/:/usr/bin:/usr/sbin 59 - - 60 - error=0 61 - 62 - if [ "x$PREFIX" = "x" ]; then 63 - @@ -55,24 +53,20 @@ if [ $error != 0 ]; then 64 - exit 1 65 - fi 66 - 67 - -if [ ! -d ${VAR_PREFIX} -a `whoami` = "root" ]; then 68 - - ${INSTALL} -d -o ${RW_USER} -g ${RW_GROUP} -m ${PRIVATE_DIR} ${VAR_PREFIX} 69 - -fi 70 - - 71 - if [ ! -d ${PREFIX} ]; then 72 - - ${INSTALL} -d -o ${RO_USER} -g ${RO_GROUP} -m ${PUBLIC_DIR} ${PREFIX} 73 - + ${INSTALL} -d -m ${PUBLIC_DIR} ${PREFIX} 74 - fi 75 - 76 - if [ ! -d ${PREFIX}/etc ]; then 77 - - ${INSTALL} -d -o ${RO_USER} -g ${RO_GROUP} -m ${PUBLIC_DIR} ${PREFIX}/etc 78 - + ${INSTALL} -d -m ${PUBLIC_DIR} ${PREFIX}/etc 79 - fi 80 - 81 - if [ ! -d ${PREFIX}/certs ]; then 82 - - ${INSTALL} -d -o ${RO_USER} -g ${RO_GROUP} -m ${PRIVATE_DIR} ${PREFIX}/certs 83 - + ${INSTALL} -d -m ${PRIVATE_DIR} ${PREFIX}/certs 84 - fi 85 - 86 - if [ ! -d ${BIN_DIR} ]; then 87 - - ${INSTALL} -d -o ${RO_USER} -g ${RO_GROUP} -m ${PUBLIC_DIR} ${BIN_DIR} 88 - + ${INSTALL} -d -m ${PUBLIC_DIR} ${BIN_DIR} 89 - fi 90 - 91 - for i in icons static 92 - @@ -83,5 +77,4 @@ do 93 - fi 94 - echo Copying ${i} 95 - (tar cf - ${i}) | (cd ${PREFIX} ; tar xf -) 96 - - (cd ${PREFIX}; chown -R ${RO_USER}:${RO_GROUP} ${i}) 97 - done 98 - diff --git a/servers/Makefile b/servers/Makefile 99 - index 021aed5..5ccbd08 100644 100 - --- a/servers/Makefile 101 - +++ b/servers/Makefile 102 - @@ -107,13 +107,13 @@ clean: 103 - -rm -f $(BIN) core *.o *.flc *~ \#*\# 104 - 105 - install: all 106 - - $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_DIR) -d \ 107 - + $(INSTALL) -m $(PUBLIC_DIR) -d \ 108 - $(BROOT)$(BIN_DIR) 109 - - $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_EXEC) \ 110 - + $(INSTALL) -m $(PUBLIC_EXEC) \ 111 - prayer $(BROOT)$(BIN_DIR) 112 - - $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_EXEC) \ 113 - + $(INSTALL) -m $(PUBLIC_EXEC) \ 114 - prayer-chroot $(BROOT)$(BIN_DIR) 115 - - $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_EXEC) \ 116 - + $(INSTALL) -m $(PUBLIC_EXEC) \ 117 - prayer-session $(BROOT)$(BIN_DIR) 118 - 119 - prayer: $(PRAYER_OBJS) prayer_main.o 120 - diff --git a/templates/cam/Makefile b/templates/cam/Makefile 121 - index 9f4122a..396b628 100644 122 - --- a/templates/cam/Makefile 123 - +++ b/templates/cam/Makefile 124 - @@ -124,7 +124,7 @@ _template_index.c: 125 - $(COMPILE) $(TYPE) $@ $* 126 - 127 - install: 128 - - $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_DIR) -d \ 129 - + $(INSTALL) -m $(PUBLIC_DIR) -d \ 130 - $(BROOT)$(PREFIX)/templates/$(TYPE) 131 - cp *.t $(BROOT)$(PREFIX)/templates/$(TYPE) 132 - cp *.vars $(BROOT)$(PREFIX)/templates/$(TYPE) 133 - diff --git a/templates/old/Makefile b/templates/old/Makefile 134 - index 31016cf..288a64c 100644 135 - --- a/templates/old/Makefile 136 - +++ b/templates/old/Makefile 137 - @@ -123,7 +123,7 @@ _template_index.c: 138 - $(COMPILE) $(TYPE) $@ $* 139 - 140 - install: 141 - - $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_DIR) -d \ 142 - + $(INSTALL) -m $(PUBLIC_DIR) -d \ 143 - $(BROOT)$(PREFIX)/templates/$(TYPE) 144 - cp *.t $(BROOT)$(PREFIX)/templates/$(TYPE) 145 - cp *.vars $(BROOT)$(PREFIX)/templates/$(TYPE) 146 - diff --git a/utils/Makefile b/utils/Makefile 147 - index 9c79916..ef82481 100644 148 - --- a/utils/Makefile 149 - +++ b/utils/Makefile 150 - @@ -72,15 +72,15 @@ clean: 151 - -rm -f $(BIN) core *.o *.flc *~ \#*\# 152 - 153 - install: all 154 - - $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_DIR) -d \ 155 - + $(INSTALL) -m $(PUBLIC_DIR) -d \ 156 - $(BROOT)$(BIN_DIR) 157 - - $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_EXEC) \ 158 - + $(INSTALL) -m $(PUBLIC_EXEC) \ 159 - prayer-ssl-prune $(BROOT)$(BIN_DIR) 160 - - $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_EXEC) \ 161 - + $(INSTALL) -m $(PUBLIC_EXEC) \ 162 - prayer-sem-prune $(BROOT)$(BIN_DIR) 163 - - $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_EXEC) \ 164 - + $(INSTALL) -m $(PUBLIC_EXEC) \ 165 - prayer-db-prune $(BROOT)$(BIN_DIR) 166 - - $(INSTALL) -o $(RO_USER) -g $(RO_GROUP) -m $(PUBLIC_EXEC) \ 167 - + $(INSTALL) -m $(PUBLIC_EXEC) \ 168 - prayer-cyclog $(BROOT)$(BIN_DIR) 169 - 170 - prayer-ssl-prune: $(PRUNE_OBJS)
+2 -1
pkgs/servers/xmpp/ejabberd/default.nix
··· 1 1 { stdenv, writeScriptBin, makeWrapper, lib, fetchurl, git, cacert, libpng, libjpeg, libwebp 2 2 , erlang, openssl, expat, libyaml, bash, gnused, gnugrep, coreutils, util-linux, procps, gd 3 3 , flock, autoreconfHook 4 + , gawk 4 5 , nixosTests 5 6 , withMysql ? false 6 7 , withPgsql ? false ··· 12 13 }: 13 14 14 15 let 15 - ctlpath = lib.makeBinPath [ bash gnused gnugrep coreutils util-linux procps ]; 16 + ctlpath = lib.makeBinPath [ bash gnused gnugrep gawk coreutils util-linux procps ]; 16 17 in stdenv.mkDerivation rec { 17 18 pname = "ejabberd"; 18 19 version = "23.01";
+10 -1
pkgs/tools/filesystems/encfs/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub 1 + { lib, stdenv, fetchFromGitHub, fetchpatch 2 2 , cmake, pkg-config, perl 3 3 , gettext, fuse, openssl, tinyxml2 4 4 }: ··· 13 13 repo = "encfs"; 14 14 owner = "vgough"; 15 15 }; 16 + 17 + patches = lib.optionals stdenv.cc.isClang [ 18 + # Fixes a build failure when building with newer versions of clang. 19 + # https://github.com/vgough/encfs/pull/650 20 + (fetchpatch { 21 + url = "https://github.com/vgough/encfs/commit/406b63bfe234864710d1d23329bf41d48001fbfa.patch"; 22 + hash = "sha256-VunC5ICRJBgCXqkr7ad7DPzweRJr1bdOpo1LKNCs4zY="; 23 + }) 24 + ]; 16 25 17 26 buildInputs = [ gettext fuse openssl tinyxml2 ]; 18 27 nativeBuildInputs = [ cmake pkg-config perl ];
+407 -314
pkgs/tools/networking/veilid/Cargo.lock
··· 41 41 42 42 [[package]] 43 43 name = "ahash" 44 - version = "0.7.6" 44 + version = "0.7.7" 45 45 source = "registry+https://github.com/rust-lang/crates.io-index" 46 - checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" 46 + checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" 47 47 dependencies = [ 48 48 "getrandom", 49 49 "once_cell", ··· 52 52 53 53 [[package]] 54 54 name = "ahash" 55 - version = "0.8.3" 55 + version = "0.8.6" 56 56 source = "registry+https://github.com/rust-lang/crates.io-index" 57 - checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" 57 + checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" 58 58 dependencies = [ 59 59 "cfg-if 1.0.0", 60 60 "getrandom", 61 61 "once_cell", 62 62 "version_check 0.9.4", 63 + "zerocopy", 63 64 ] 64 65 65 66 [[package]] ··· 294 295 295 296 [[package]] 296 297 name = "async-executor" 297 - version = "1.5.4" 298 + version = "1.6.0" 298 299 source = "registry+https://github.com/rust-lang/crates.io-index" 299 - checksum = "2c1da3ae8dabd9c00f453a329dfe1fb28da3c0a72e2478cdcd93171740c20499" 300 + checksum = "4b0c4a4f319e45986f347ee47fef8bf5e81c9abc3f6f58dc2391439f30df65f0" 300 301 dependencies = [ 301 - "async-lock", 302 + "async-lock 2.8.0", 302 303 "async-task", 303 304 "concurrent-queue", 304 305 "fastrand 2.0.1", 305 - "futures-lite", 306 + "futures-lite 1.13.0", 306 307 "slab", 307 308 ] 308 309 ··· 314 315 dependencies = [ 315 316 "async-channel", 316 317 "async-executor", 317 - "async-io", 318 - "async-lock", 318 + "async-io 1.13.0", 319 + "async-lock 2.8.0", 319 320 "blocking", 320 - "futures-lite", 321 + "futures-lite 1.13.0", 321 322 "once_cell", 322 323 ] 323 324 ··· 327 328 source = "registry+https://github.com/rust-lang/crates.io-index" 328 329 checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" 329 330 dependencies = [ 330 - "async-lock", 331 + "async-lock 2.8.0", 331 332 "autocfg", 332 333 "cfg-if 1.0.0", 333 334 "concurrent-queue", 334 - "futures-lite", 335 + "futures-lite 1.13.0", 335 336 "log", 336 337 "parking", 337 - "polling", 338 - "rustix 0.37.25", 338 + "polling 2.8.0", 339 + "rustix 0.37.27", 339 340 "slab", 340 - "socket2 0.4.9", 341 + "socket2 0.4.10", 341 342 "waker-fn", 342 343 ] 343 344 344 345 [[package]] 346 + name = "async-io" 347 + version = "2.2.0" 348 + source = "registry+https://github.com/rust-lang/crates.io-index" 349 + checksum = "41ed9d5715c2d329bf1b4da8d60455b99b187f27ba726df2883799af9af60997" 350 + dependencies = [ 351 + "async-lock 3.0.0", 352 + "cfg-if 1.0.0", 353 + "concurrent-queue", 354 + "futures-io", 355 + "futures-lite 2.0.1", 356 + "parking", 357 + "polling 3.3.0", 358 + "rustix 0.38.21", 359 + "slab", 360 + "tracing", 361 + "waker-fn", 362 + "windows-sys 0.48.0", 363 + ] 364 + 365 + [[package]] 345 366 name = "async-lock" 346 367 version = "2.8.0" 347 368 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 351 372 ] 352 373 353 374 [[package]] 375 + name = "async-lock" 376 + version = "3.0.0" 377 + source = "registry+https://github.com/rust-lang/crates.io-index" 378 + checksum = "45e900cdcd39bb94a14487d3f7ef92ca222162e6c7c3fe7cb3550ea75fb486ed" 379 + dependencies = [ 380 + "event-listener 3.0.1", 381 + "event-listener-strategy", 382 + "pin-project-lite", 383 + ] 384 + 385 + [[package]] 354 386 name = "async-process" 355 387 version = "1.8.1" 356 388 source = "registry+https://github.com/rust-lang/crates.io-index" 357 389 checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" 358 390 dependencies = [ 359 - "async-io", 360 - "async-lock", 391 + "async-io 1.13.0", 392 + "async-lock 2.8.0", 361 393 "async-signal", 362 394 "blocking", 363 395 "cfg-if 1.0.0", 364 - "event-listener 3.0.0", 365 - "futures-lite", 366 - "rustix 0.38.19", 396 + "event-listener 3.0.1", 397 + "futures-lite 1.13.0", 398 + "rustix 0.38.21", 367 399 "windows-sys 0.48.0", 368 400 ] 369 401 370 402 [[package]] 371 403 name = "async-signal" 372 - version = "0.2.4" 404 + version = "0.2.5" 373 405 source = "registry+https://github.com/rust-lang/crates.io-index" 374 - checksum = "d2a5415b7abcdc9cd7d63d6badba5288b2ca017e3fbd4173b8f405449f1a2399" 406 + checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" 375 407 dependencies = [ 376 - "async-io", 377 - "async-lock", 408 + "async-io 2.2.0", 409 + "async-lock 2.8.0", 378 410 "atomic-waker", 379 411 "cfg-if 1.0.0", 380 412 "futures-core", 381 413 "futures-io", 382 - "rustix 0.38.19", 414 + "rustix 0.38.21", 383 415 "signal-hook-registry", 384 416 "slab", 385 417 "windows-sys 0.48.0", ··· 394 426 "async-attributes", 395 427 "async-channel", 396 428 "async-global-executor", 397 - "async-io", 398 - "async-lock", 429 + "async-io 1.13.0", 430 + "async-lock 2.8.0", 399 431 "async-process", 400 432 "crossbeam-utils", 401 433 "futures-channel", 402 434 "futures-core", 403 435 "futures-io", 404 - "futures-lite", 436 + "futures-lite 1.13.0", 405 437 "gloo-timers", 406 438 "kv-log-macro", 407 439 "log", ··· 415 447 416 448 [[package]] 417 449 name = "async-std-resolver" 418 - version = "0.23.1" 450 + version = "0.23.2" 419 451 source = "registry+https://github.com/rust-lang/crates.io-index" 420 - checksum = "63547755965f54b682ed0fcb3fa467905fe071ef8feff2d59f24c7afc59661bc" 452 + checksum = "0928198152da571a19145031360f34fc7569ef2dc387681565f330c811a5ba9b" 421 453 dependencies = [ 422 454 "async-std", 423 455 "async-trait", 424 456 "futures-io", 425 457 "futures-util", 426 458 "pin-utils", 427 - "socket2 0.5.4", 459 + "socket2 0.5.5", 428 460 "trust-dns-resolver", 429 461 ] 430 462 ··· 447 479 dependencies = [ 448 480 "proc-macro2", 449 481 "quote", 450 - "syn 2.0.38", 482 + "syn 2.0.39", 451 483 ] 452 484 453 485 [[package]] 454 486 name = "async-task" 455 - version = "4.4.1" 487 + version = "4.5.0" 456 488 source = "registry+https://github.com/rust-lang/crates.io-index" 457 - checksum = "b9441c6b2fe128a7c2bf680a44c34d0df31ce09e5b7e401fcca3faa483dbc921" 489 + checksum = "b4eb2cdb97421e01129ccb49169d8279ed21e829929144f4a22a6e54ac549ca1" 458 490 459 491 [[package]] 460 492 name = "async-tls" 461 493 version = "0.12.0" 462 - source = "registry+https://github.com/rust-lang/crates.io-index" 463 - checksum = "cfeefd0ca297cbbb3bd34fd6b228401c2a5177038257afd751bc29f0a2da4795" 494 + source = "git+https://github.com/async-rs/async-tls?rev=c58588a#c58588a276e6180f3ef99f4ec3bf9176c5f0f58c" 464 495 dependencies = [ 465 496 "futures-core", 466 497 "futures-io", 467 498 "rustls", 468 499 "rustls-pemfile", 469 - "webpki", 470 500 "webpki-roots 0.22.6", 471 501 ] 472 502 ··· 478 508 dependencies = [ 479 509 "proc-macro2", 480 510 "quote", 481 - "syn 2.0.38", 511 + "syn 2.0.39", 482 512 ] 483 513 484 514 [[package]] ··· 632 662 633 663 [[package]] 634 664 name = "base64" 635 - version = "0.21.4" 665 + version = "0.21.5" 636 666 source = "registry+https://github.com/rust-lang/crates.io-index" 637 - checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2" 667 + checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" 638 668 639 669 [[package]] 640 670 name = "base64ct" ··· 673 703 674 704 [[package]] 675 705 name = "bitflags" 676 - version = "2.4.0" 706 + version = "2.4.1" 677 707 source = "registry+https://github.com/rust-lang/crates.io-index" 678 - checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" 708 + checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" 679 709 680 710 [[package]] 681 711 name = "blake2" ··· 707 737 dependencies = [ 708 738 "proc-macro2", 709 739 "quote", 710 - "syn 2.0.38", 740 + "syn 2.0.39", 711 741 ] 712 742 713 743 [[package]] ··· 757 787 checksum = "8c36a4d0d48574b3dd360b4b7d95cc651d2b6557b6402848a27d4b228a473e2a" 758 788 dependencies = [ 759 789 "async-channel", 760 - "async-lock", 790 + "async-lock 2.8.0", 761 791 "async-task", 762 792 "fastrand 2.0.1", 763 793 "futures-io", 764 - "futures-lite", 794 + "futures-lite 1.13.0", 765 795 "piper", 766 796 "tracing", 767 797 ] ··· 801 831 802 832 [[package]] 803 833 name = "capnp" 804 - version = "0.18.1" 834 + version = "0.18.3" 805 835 source = "registry+https://github.com/rust-lang/crates.io-index" 806 - checksum = "9eddbd729bd9742aa22d29e871a42ffea7f216a4ddbfdaf09ea88150ef2e7f76" 836 + checksum = "499cea1db22c19b7a823fa4876330700077b388cc7de2c5477028df00bcb4ae4" 807 837 dependencies = [ 808 838 "embedded-io", 809 839 ] ··· 939 969 940 970 [[package]] 941 971 name = "clap" 942 - version = "4.4.6" 972 + version = "4.4.7" 943 973 source = "registry+https://github.com/rust-lang/crates.io-index" 944 - checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956" 974 + checksum = "ac495e00dcec98c83465d5ad66c5c4fabd652fd6686e7c6269b117e729a6f17b" 945 975 dependencies = [ 946 976 "clap_builder", 947 977 "clap_derive", ··· 949 979 950 980 [[package]] 951 981 name = "clap_builder" 952 - version = "4.4.6" 982 + version = "4.4.7" 953 983 source = "registry+https://github.com/rust-lang/crates.io-index" 954 - checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45" 984 + checksum = "c77ed9a32a62e6ca27175d00d29d05ca32e396ea1eb5fb01d8256b669cec7663" 955 985 dependencies = [ 956 986 "anstream", 957 987 "anstyle", ··· 962 992 963 993 [[package]] 964 994 name = "clap_derive" 965 - version = "4.4.2" 995 + version = "4.4.7" 966 996 source = "registry+https://github.com/rust-lang/crates.io-index" 967 - checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873" 997 + checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" 968 998 dependencies = [ 969 999 "heck", 970 1000 "proc-macro2", 971 1001 "quote", 972 - "syn 2.0.38", 1002 + "syn 2.0.39", 973 1003 ] 974 1004 975 1005 [[package]] 976 1006 name = "clap_lex" 977 - version = "0.5.1" 1007 + version = "0.6.0" 978 1008 source = "registry+https://github.com/rust-lang/crates.io-index" 979 - checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" 1009 + checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" 980 1010 981 1011 [[package]] 982 1012 name = "clipboard-win" ··· 1162 1192 1163 1193 [[package]] 1164 1194 name = "cpufeatures" 1165 - version = "0.2.9" 1195 + version = "0.2.11" 1166 1196 source = "registry+https://github.com/rust-lang/crates.io-index" 1167 - checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" 1197 + checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" 1168 1198 dependencies = [ 1169 1199 "libc", 1170 1200 ] ··· 1244 1274 ] 1245 1275 1246 1276 [[package]] 1277 + name = "ctor" 1278 + version = "0.2.5" 1279 + source = "registry+https://github.com/rust-lang/crates.io-index" 1280 + checksum = "37e366bff8cd32dd8754b0991fb66b279dc48f598c3a18914852a6673deef583" 1281 + dependencies = [ 1282 + "quote", 1283 + "syn 2.0.39", 1284 + ] 1285 + 1286 + [[package]] 1247 1287 name = "ctrlc" 1248 1288 version = "3.4.1" 1249 1289 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1258 1298 version = "0.20.0" 1259 1299 source = "git+https://gitlab.com/veilid/cursive.git#a76fc9050f69edf56bc37efc63194050b9f222e4" 1260 1300 dependencies = [ 1261 - "ahash 0.8.3", 1301 + "ahash 0.8.6", 1262 1302 "async-std", 1263 1303 "cfg-if 1.0.0", 1264 1304 "crossbeam-channel", ··· 1315 1355 version = "0.3.7" 1316 1356 source = "git+https://gitlab.com/veilid/cursive.git#a76fc9050f69edf56bc37efc63194050b9f222e4" 1317 1357 dependencies = [ 1318 - "ahash 0.8.3", 1358 + "ahash 0.8.6", 1319 1359 "ansi-parser", 1320 1360 "async-std", 1321 1361 "crossbeam-channel", ··· 1364 1404 1365 1405 [[package]] 1366 1406 name = "curve25519-dalek-derive" 1367 - version = "0.1.0" 1407 + version = "0.1.1" 1368 1408 source = "registry+https://github.com/rust-lang/crates.io-index" 1369 - checksum = "83fdaf97f4804dcebfa5862639bc9ce4121e82140bec2a987ac5140294865b5b" 1409 + checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" 1370 1410 dependencies = [ 1371 1411 "proc-macro2", 1372 1412 "quote", 1373 - "syn 2.0.38", 1413 + "syn 2.0.39", 1374 1414 ] 1375 1415 1376 1416 [[package]] ··· 1426 1466 "ident_case", 1427 1467 "proc-macro2", 1428 1468 "quote", 1429 - "syn 2.0.38", 1469 + "syn 2.0.39", 1430 1470 ] 1431 1471 1432 1472 [[package]] ··· 1448 1488 dependencies = [ 1449 1489 "darling_core 0.20.3", 1450 1490 "quote", 1451 - "syn 2.0.38", 1491 + "syn 2.0.39", 1452 1492 ] 1453 1493 1454 1494 [[package]] ··· 1458 1498 checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" 1459 1499 dependencies = [ 1460 1500 "cfg-if 1.0.0", 1461 - "hashbrown 0.14.1", 1501 + "hashbrown 0.14.2", 1462 1502 "lock_api", 1463 1503 "once_cell", 1464 - "parking_lot_core 0.9.8", 1504 + "parking_lot_core 0.9.9", 1465 1505 ] 1466 1506 1467 1507 [[package]] ··· 1549 1589 1550 1590 [[package]] 1551 1591 name = "dyn-clone" 1552 - version = "1.0.14" 1592 + version = "1.0.16" 1553 1593 source = "registry+https://github.com/rust-lang/crates.io-index" 1554 - checksum = "23d2f3407d9a573d666de4b5bdf10569d73ca9478087346697dcbae6244bfbcd" 1594 + checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d" 1555 1595 1556 1596 [[package]] 1557 1597 name = "ed25519" 1558 - version = "2.2.2" 1598 + version = "2.2.3" 1559 1599 source = "registry+https://github.com/rust-lang/crates.io-index" 1560 - checksum = "60f6d271ca33075c88028be6f04d502853d63a5ece419d269c15315d4fc1cf1d" 1600 + checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" 1561 1601 dependencies = [ 1562 1602 "pkcs8", 1563 1603 "signature", ··· 1599 1639 "heck", 1600 1640 "proc-macro2", 1601 1641 "quote", 1602 - "syn 2.0.38", 1642 + "syn 2.0.39", 1603 1643 ] 1604 1644 1605 1645 [[package]] 1606 1646 name = "enum-map" 1607 - version = "2.6.3" 1647 + version = "2.7.0" 1608 1648 source = "registry+https://github.com/rust-lang/crates.io-index" 1609 - checksum = "c188012f8542dee7b3996e44dd89461d64aa471b0a7c71a1ae2f595d259e96e5" 1649 + checksum = "53337c2dbf26a3c31eccc73a37b10c1614e8d4ae99b6a50d553e8936423c1f16" 1610 1650 dependencies = [ 1611 1651 "enum-map-derive", 1612 1652 ] ··· 1619 1659 dependencies = [ 1620 1660 "proc-macro2", 1621 1661 "quote", 1622 - "syn 2.0.38", 1662 + "syn 2.0.39", 1623 1663 ] 1624 1664 1625 1665 [[package]] ··· 1662 1702 "darling 0.20.3", 1663 1703 "proc-macro2", 1664 1704 "quote", 1665 - "syn 2.0.38", 1705 + "syn 2.0.39", 1666 1706 ] 1667 1707 1668 1708 [[package]] ··· 1722 1762 1723 1763 [[package]] 1724 1764 name = "event-listener" 1725 - version = "3.0.0" 1765 + version = "3.0.1" 1726 1766 source = "registry+https://github.com/rust-lang/crates.io-index" 1727 - checksum = "29e56284f00d94c1bc7fd3c77027b4623c88c1f53d8d2394c6199f2921dea325" 1767 + checksum = "01cec0252c2afff729ee6f00e903d479fba81784c8e2bd77447673471fdfaea1" 1728 1768 dependencies = [ 1729 1769 "concurrent-queue", 1730 1770 "parking", ··· 1732 1772 ] 1733 1773 1734 1774 [[package]] 1775 + name = "event-listener-strategy" 1776 + version = "0.3.0" 1777 + source = "registry+https://github.com/rust-lang/crates.io-index" 1778 + checksum = "d96b852f1345da36d551b9473fa1e2b1eb5c5195585c6c018118bc92a8d91160" 1779 + dependencies = [ 1780 + "event-listener 3.0.1", 1781 + "pin-project-lite", 1782 + ] 1783 + 1784 + [[package]] 1735 1785 name = "eyre" 1736 1786 version = "0.6.8" 1737 1787 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1770 1820 1771 1821 [[package]] 1772 1822 name = "fdeflate" 1773 - version = "0.3.0" 1823 + version = "0.3.1" 1774 1824 source = "registry+https://github.com/rust-lang/crates.io-index" 1775 - checksum = "d329bdeac514ee06249dabc27877490f17f5d371ec693360768b838e19f3ae10" 1825 + checksum = "64d6dafc854908ff5da46ff3f8f473c6984119a2876a383a860246dd7841a868" 1776 1826 dependencies = [ 1777 1827 "simd-adler32", 1778 1828 ] ··· 1789 1839 1790 1840 [[package]] 1791 1841 name = "fiat-crypto" 1792 - version = "0.2.1" 1842 + version = "0.2.2" 1793 1843 source = "registry+https://github.com/rust-lang/crates.io-index" 1794 - checksum = "d0870c84016d4b481be5c9f323c24f65e31e901ae618f0e80f4308fb00de1d2d" 1844 + checksum = "a481586acf778f1b1455424c343f71124b048ffa5f4fc3f8f6ae9dc432dcb3c7" 1795 1845 1796 1846 [[package]] 1797 1847 name = "flate2" ··· 1830 1880 "futures-core", 1831 1881 "futures-sink", 1832 1882 "nanorand", 1833 - "spin 0.9.8", 1883 + "spin", 1834 1884 ] 1835 1885 1836 1886 [[package]] ··· 1875 1925 source = "registry+https://github.com/rust-lang/crates.io-index" 1876 1926 checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" 1877 1927 dependencies = [ 1878 - "rustix 0.38.19", 1928 + "rustix 0.38.21", 1879 1929 "windows-sys 0.48.0", 1880 1930 ] 1881 1931 1882 1932 [[package]] 1883 1933 name = "futures" 1884 - version = "0.3.28" 1934 + version = "0.3.29" 1885 1935 source = "registry+https://github.com/rust-lang/crates.io-index" 1886 - checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" 1936 + checksum = "da0290714b38af9b4a7b094b8a37086d1b4e61f2df9122c3cad2577669145335" 1887 1937 dependencies = [ 1888 1938 "futures-channel", 1889 1939 "futures-core", ··· 1896 1946 1897 1947 [[package]] 1898 1948 name = "futures-channel" 1899 - version = "0.3.28" 1949 + version = "0.3.29" 1900 1950 source = "registry+https://github.com/rust-lang/crates.io-index" 1901 - checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" 1951 + checksum = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb" 1902 1952 dependencies = [ 1903 1953 "futures-core", 1904 1954 "futures-sink", ··· 1906 1956 1907 1957 [[package]] 1908 1958 name = "futures-core" 1909 - version = "0.3.28" 1959 + version = "0.3.29" 1910 1960 source = "registry+https://github.com/rust-lang/crates.io-index" 1911 - checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" 1961 + checksum = "eb1d22c66e66d9d72e1758f0bd7d4fd0bee04cad842ee34587d68c07e45d088c" 1912 1962 1913 1963 [[package]] 1914 1964 name = "futures-executor" 1915 - version = "0.3.28" 1965 + version = "0.3.29" 1916 1966 source = "registry+https://github.com/rust-lang/crates.io-index" 1917 - checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" 1967 + checksum = "0f4fb8693db0cf099eadcca0efe2a5a22e4550f98ed16aba6c48700da29597bc" 1918 1968 dependencies = [ 1919 1969 "futures-core", 1920 1970 "futures-task", ··· 1923 1973 1924 1974 [[package]] 1925 1975 name = "futures-io" 1926 - version = "0.3.28" 1976 + version = "0.3.29" 1927 1977 source = "registry+https://github.com/rust-lang/crates.io-index" 1928 - checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" 1978 + checksum = "8bf34a163b5c4c52d0478a4d757da8fb65cabef42ba90515efee0f6f9fa45aaa" 1929 1979 1930 1980 [[package]] 1931 1981 name = "futures-lite" ··· 1943 1993 ] 1944 1994 1945 1995 [[package]] 1996 + name = "futures-lite" 1997 + version = "2.0.1" 1998 + source = "registry+https://github.com/rust-lang/crates.io-index" 1999 + checksum = "d3831c2651acb5177cbd83943f3d9c8912c5ad03c76afcc0e9511ba568ec5ebb" 2000 + dependencies = [ 2001 + "futures-core", 2002 + "pin-project-lite", 2003 + ] 2004 + 2005 + [[package]] 1946 2006 name = "futures-macro" 1947 - version = "0.3.28" 2007 + version = "0.3.29" 1948 2008 source = "registry+https://github.com/rust-lang/crates.io-index" 1949 - checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" 2009 + checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" 1950 2010 dependencies = [ 1951 2011 "proc-macro2", 1952 2012 "quote", 1953 - "syn 2.0.38", 2013 + "syn 2.0.39", 1954 2014 ] 1955 2015 1956 2016 [[package]] 1957 2017 name = "futures-sink" 1958 - version = "0.3.28" 2018 + version = "0.3.29" 1959 2019 source = "registry+https://github.com/rust-lang/crates.io-index" 1960 - checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" 2020 + checksum = "e36d3378ee38c2a36ad710c5d30c2911d752cb941c00c72dbabfb786a7970817" 1961 2021 1962 2022 [[package]] 1963 2023 name = "futures-task" 1964 - version = "0.3.28" 2024 + version = "0.3.29" 1965 2025 source = "registry+https://github.com/rust-lang/crates.io-index" 1966 - checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" 2026 + checksum = "efd193069b0ddadc69c46389b740bbccdd97203899b48d09c5f7969591d6bae2" 1967 2027 1968 2028 [[package]] 1969 2029 name = "futures-timer" ··· 1977 2037 1978 2038 [[package]] 1979 2039 name = "futures-util" 1980 - version = "0.3.28" 2040 + version = "0.3.29" 1981 2041 source = "registry+https://github.com/rust-lang/crates.io-index" 1982 - checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" 2042 + checksum = "a19526d624e703a3179b3d322efec918b6246ea0fa51d41124525f00f1cc8104" 1983 2043 dependencies = [ 1984 2044 "futures-channel", 1985 2045 "futures-core", ··· 2171 2231 source = "registry+https://github.com/rust-lang/crates.io-index" 2172 2232 checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 2173 2233 dependencies = [ 2174 - "ahash 0.7.6", 2234 + "ahash 0.7.7", 2175 2235 ] 2176 2236 2177 2237 [[package]] 2178 2238 name = "hashbrown" 2179 - version = "0.14.1" 2239 + version = "0.14.2" 2180 2240 source = "registry+https://github.com/rust-lang/crates.io-index" 2181 - checksum = "7dfda62a12f55daeae5015f81b0baea145391cb4520f86c248fc615d72640d12" 2241 + checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156" 2182 2242 dependencies = [ 2183 - "ahash 0.8.3", 2243 + "ahash 0.8.6", 2184 2244 "allocator-api2", 2185 2245 ] 2186 2246 ··· 2190 2250 source = "registry+https://github.com/rust-lang/crates.io-index" 2191 2251 checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" 2192 2252 dependencies = [ 2193 - "hashbrown 0.14.1", 2253 + "hashbrown 0.14.2", 2194 2254 ] 2195 2255 2196 2256 [[package]] ··· 2342 2402 "httpdate", 2343 2403 "itoa", 2344 2404 "pin-project-lite", 2345 - "socket2 0.4.9", 2405 + "socket2 0.4.10", 2346 2406 "tokio", 2347 2407 "tower-service", 2348 2408 "tracing", ··· 2363 2423 2364 2424 [[package]] 2365 2425 name = "iana-time-zone" 2366 - version = "0.1.57" 2426 + version = "0.1.58" 2367 2427 source = "registry+https://github.com/rust-lang/crates.io-index" 2368 - checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" 2428 + checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" 2369 2429 dependencies = [ 2370 2430 "android_system_properties", 2371 2431 "core-foundation-sys", 2372 2432 "iana-time-zone-haiku", 2373 2433 "js-sys", 2374 2434 "wasm-bindgen", 2375 - "windows 0.48.0", 2435 + "windows-core", 2376 2436 ] 2377 2437 2378 2438 [[package]] ··· 2449 2509 2450 2510 [[package]] 2451 2511 name = "indexmap" 2452 - version = "2.0.2" 2512 + version = "2.1.0" 2453 2513 source = "registry+https://github.com/rust-lang/crates.io-index" 2454 - checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897" 2514 + checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" 2455 2515 dependencies = [ 2456 2516 "equivalent", 2457 - "hashbrown 0.14.1", 2517 + "hashbrown 0.14.2", 2458 2518 ] 2459 2519 2460 2520 [[package]] ··· 2492 2552 source = "registry+https://github.com/rust-lang/crates.io-index" 2493 2553 checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" 2494 2554 dependencies = [ 2495 - "socket2 0.5.4", 2555 + "socket2 0.5.5", 2496 2556 "widestring", 2497 2557 "windows-sys 0.48.0", 2498 2558 "winreg", ··· 2500 2560 2501 2561 [[package]] 2502 2562 name = "ipnet" 2503 - version = "2.8.0" 2563 + version = "2.9.0" 2504 2564 source = "registry+https://github.com/rust-lang/crates.io-index" 2505 - checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" 2565 + checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" 2506 2566 2507 2567 [[package]] 2508 2568 name = "itertools" ··· 2558 2618 2559 2619 [[package]] 2560 2620 name = "js-sys" 2561 - version = "0.3.64" 2621 + version = "0.3.65" 2562 2622 source = "registry+https://github.com/rust-lang/crates.io-index" 2563 - checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" 2623 + checksum = "54c0c35952f67de54bb584e9fd912b3023117cbafc0a77d8f3dee1fb5f572fe8" 2564 2624 dependencies = [ 2565 2625 "wasm-bindgen", 2566 2626 ] ··· 2646 2706 source = "registry+https://github.com/rust-lang/crates.io-index" 2647 2707 checksum = "d93d243dfa1643389f8b981ddc07b2a7c533f0fae38b3f5831b004b2cc7f6353" 2648 2708 dependencies = [ 2649 - "async-lock", 2709 + "async-lock 2.8.0", 2650 2710 "flume", 2651 2711 "futures", 2652 2712 "js-sys", ··· 2682 2742 2683 2743 [[package]] 2684 2744 name = "libc" 2685 - version = "0.2.149" 2745 + version = "0.2.150" 2686 2746 source = "registry+https://github.com/rust-lang/crates.io-index" 2687 - checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" 2747 + checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" 2748 + 2749 + [[package]] 2750 + name = "libc-print" 2751 + version = "0.1.22" 2752 + source = "registry+https://github.com/rust-lang/crates.io-index" 2753 + checksum = "c17f111e2175c779daaf5e89fe3a3b0776b0adec218bc1159c56e4d3f58032f5" 2754 + dependencies = [ 2755 + "libc", 2756 + ] 2688 2757 2689 2758 [[package]] 2690 2759 name = "libloading" ··· 2694 2763 dependencies = [ 2695 2764 "cfg-if 1.0.0", 2696 2765 "winapi", 2766 + ] 2767 + 2768 + [[package]] 2769 + name = "libredox" 2770 + version = "0.0.1" 2771 + source = "registry+https://github.com/rust-lang/crates.io-index" 2772 + checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" 2773 + dependencies = [ 2774 + "bitflags 2.4.1", 2775 + "libc", 2776 + "redox_syscall 0.4.1", 2697 2777 ] 2698 2778 2699 2779 [[package]] ··· 2739 2819 2740 2820 [[package]] 2741 2821 name = "lock_api" 2742 - version = "0.4.10" 2822 + version = "0.4.11" 2743 2823 source = "registry+https://github.com/rust-lang/crates.io-index" 2744 - checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" 2824 + checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" 2745 2825 dependencies = [ 2746 2826 "autocfg", 2747 2827 "scopeguard", ··· 2846 2926 2847 2927 [[package]] 2848 2928 name = "mio" 2849 - version = "0.8.8" 2929 + version = "0.8.9" 2850 2930 source = "registry+https://github.com/rust-lang/crates.io-index" 2851 - checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" 2931 + checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" 2852 2932 dependencies = [ 2853 2933 "libc", 2854 2934 "log", ··· 2872 2952 checksum = "b1bb540dc6ef51cfe1916ec038ce7a620daf3a111e2502d745197cd53d6bca15" 2873 2953 dependencies = [ 2874 2954 "libc", 2875 - "socket2 0.4.9", 2955 + "socket2 0.4.10", 2876 2956 ] 2877 2957 2878 2958 [[package]] ··· 3001 3081 source = "registry+https://github.com/rust-lang/crates.io-index" 3002 3082 checksum = "6471bf08e7ac0135876a9581bf3217ef0333c191c128d34878079f42ee150411" 3003 3083 dependencies = [ 3004 - "async-io", 3084 + "async-io 1.13.0", 3005 3085 "bytes", 3006 3086 "futures", 3007 3087 "libc", ··· 3051 3131 source = "registry+https://github.com/rust-lang/crates.io-index" 3052 3132 checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" 3053 3133 dependencies = [ 3054 - "bitflags 2.4.0", 3134 + "bitflags 2.4.1", 3055 3135 "cfg-if 1.0.0", 3056 3136 "libc", 3057 3137 ] ··· 3429 3509 3430 3510 [[package]] 3431 3511 name = "parking" 3432 - version = "2.1.1" 3512 + version = "2.2.0" 3433 3513 source = "registry+https://github.com/rust-lang/crates.io-index" 3434 - checksum = "e52c774a4c39359c1d1c52e43f73dd91a75a614652c825408eec30c95a9b2067" 3514 + checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" 3435 3515 3436 3516 [[package]] 3437 3517 name = "parking_lot" ··· 3451 3531 checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 3452 3532 dependencies = [ 3453 3533 "lock_api", 3454 - "parking_lot_core 0.9.8", 3534 + "parking_lot_core 0.9.9", 3455 3535 ] 3456 3536 3457 3537 [[package]] ··· 3470 3550 3471 3551 [[package]] 3472 3552 name = "parking_lot_core" 3473 - version = "0.9.8" 3553 + version = "0.9.9" 3474 3554 source = "registry+https://github.com/rust-lang/crates.io-index" 3475 - checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" 3555 + checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" 3476 3556 dependencies = [ 3477 3557 "cfg-if 1.0.0", 3478 3558 "libc", 3479 - "redox_syscall 0.3.5", 3559 + "redox_syscall 0.4.1", 3480 3560 "smallvec", 3481 3561 "windows-targets 0.48.5", 3482 3562 ] ··· 3518 3598 3519 3599 [[package]] 3520 3600 name = "pest" 3521 - version = "2.7.4" 3601 + version = "2.7.5" 3522 3602 source = "registry+https://github.com/rust-lang/crates.io-index" 3523 - checksum = "c022f1e7b65d6a24c0dbbd5fb344c66881bc01f3e5ae74a1c8100f2f985d98a4" 3603 + checksum = "ae9cee2a55a544be8b89dc6848072af97a20f2422603c10865be2a42b580fff5" 3524 3604 dependencies = [ 3525 3605 "memchr", 3526 3606 "thiserror", ··· 3529 3609 3530 3610 [[package]] 3531 3611 name = "pest_derive" 3532 - version = "2.7.4" 3612 + version = "2.7.5" 3533 3613 source = "registry+https://github.com/rust-lang/crates.io-index" 3534 - checksum = "35513f630d46400a977c4cb58f78e1bfbe01434316e60c37d27b9ad6139c66d8" 3614 + checksum = "81d78524685f5ef2a3b3bd1cafbc9fcabb036253d9b1463e726a91cd16e2dfc2" 3535 3615 dependencies = [ 3536 3616 "pest", 3537 3617 "pest_generator", ··· 3539 3619 3540 3620 [[package]] 3541 3621 name = "pest_generator" 3542 - version = "2.7.4" 3622 + version = "2.7.5" 3543 3623 source = "registry+https://github.com/rust-lang/crates.io-index" 3544 - checksum = "bc9fc1b9e7057baba189b5c626e2d6f40681ae5b6eb064dc7c7834101ec8123a" 3624 + checksum = "68bd1206e71118b5356dae5ddc61c8b11e28b09ef6a31acbd15ea48a28e0c227" 3545 3625 dependencies = [ 3546 3626 "pest", 3547 3627 "pest_meta", 3548 3628 "proc-macro2", 3549 3629 "quote", 3550 - "syn 2.0.38", 3630 + "syn 2.0.39", 3551 3631 ] 3552 3632 3553 3633 [[package]] 3554 3634 name = "pest_meta" 3555 - version = "2.7.4" 3635 + version = "2.7.5" 3556 3636 source = "registry+https://github.com/rust-lang/crates.io-index" 3557 - checksum = "1df74e9e7ec4053ceb980e7c0c8bd3594e977fde1af91daba9c928e8e8c6708d" 3637 + checksum = "7c747191d4ad9e4a4ab9c8798f1e82a39affe7ef9648390b7e5548d18e099de6" 3558 3638 dependencies = [ 3559 3639 "once_cell", 3560 3640 "pest", ··· 3588 3668 dependencies = [ 3589 3669 "proc-macro2", 3590 3670 "quote", 3591 - "syn 2.0.38", 3671 + "syn 2.0.39", 3592 3672 ] 3593 3673 3594 3674 [[package]] ··· 3632 3712 3633 3713 [[package]] 3634 3714 name = "platforms" 3635 - version = "3.1.2" 3715 + version = "3.2.0" 3636 3716 source = "registry+https://github.com/rust-lang/crates.io-index" 3637 - checksum = "4503fa043bf02cee09a9582e9554b4c6403b2ef55e4612e96561d294419429f8" 3717 + checksum = "14e6ab3f592e6fb464fc9712d8d6e6912de6473954635fd76a589d832cffcbb0" 3638 3718 3639 3719 [[package]] 3640 3720 name = "png" ··· 3666 3746 ] 3667 3747 3668 3748 [[package]] 3749 + name = "polling" 3750 + version = "3.3.0" 3751 + source = "registry+https://github.com/rust-lang/crates.io-index" 3752 + checksum = "e53b6af1f60f36f8c2ac2aad5459d75a5a9b4be1e8cdd40264f315d78193e531" 3753 + dependencies = [ 3754 + "cfg-if 1.0.0", 3755 + "concurrent-queue", 3756 + "pin-project-lite", 3757 + "rustix 0.38.21", 3758 + "tracing", 3759 + "windows-sys 0.48.0", 3760 + ] 3761 + 3762 + [[package]] 3669 3763 name = "poly1305" 3670 3764 version = "0.8.0" 3671 3765 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3759 3853 "itertools 0.11.0", 3760 3854 "proc-macro2", 3761 3855 "quote", 3762 - "syn 2.0.38", 3856 + "syn 2.0.39", 3763 3857 ] 3764 3858 3765 3859 [[package]] ··· 3851 3945 3852 3946 [[package]] 3853 3947 name = "redox_syscall" 3854 - version = "0.3.5" 3948 + version = "0.4.1" 3855 3949 source = "registry+https://github.com/rust-lang/crates.io-index" 3856 - checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" 3950 + checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" 3857 3951 dependencies = [ 3858 3952 "bitflags 1.3.2", 3859 3953 ] 3860 3954 3861 3955 [[package]] 3862 3956 name = "redox_users" 3863 - version = "0.4.3" 3957 + version = "0.4.4" 3864 3958 source = "registry+https://github.com/rust-lang/crates.io-index" 3865 - checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" 3959 + checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" 3866 3960 dependencies = [ 3867 3961 "getrandom", 3868 - "redox_syscall 0.2.16", 3962 + "libredox", 3869 3963 "thiserror", 3870 3964 ] 3871 3965 3872 3966 [[package]] 3873 3967 name = "regex" 3874 - version = "1.10.1" 3968 + version = "1.10.2" 3875 3969 source = "registry+https://github.com/rust-lang/crates.io-index" 3876 - checksum = "aaac441002f822bc9705a681810a4dd2963094b9ca0ddc41cb963a4c189189ea" 3970 + checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" 3877 3971 dependencies = [ 3878 3972 "aho-corasick", 3879 3973 "memchr", 3880 - "regex-automata 0.4.2", 3974 + "regex-automata 0.4.3", 3881 3975 "regex-syntax 0.8.2", 3882 3976 ] 3883 3977 ··· 3892 3986 3893 3987 [[package]] 3894 3988 name = "regex-automata" 3895 - version = "0.4.2" 3989 + version = "0.4.3" 3896 3990 source = "registry+https://github.com/rust-lang/crates.io-index" 3897 - checksum = "5011c7e263a695dc8ca064cddb722af1be54e517a280b12a5356f98366899e5d" 3991 + checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" 3898 3992 dependencies = [ 3899 3993 "aho-corasick", 3900 3994 "memchr", ··· 3925 4019 3926 4020 [[package]] 3927 4021 name = "ring" 3928 - version = "0.16.20" 4022 + version = "0.17.5" 3929 4023 source = "registry+https://github.com/rust-lang/crates.io-index" 3930 - checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" 3931 - dependencies = [ 3932 - "cc", 3933 - "libc", 3934 - "once_cell", 3935 - "spin 0.5.2", 3936 - "untrusted 0.7.1", 3937 - "web-sys", 3938 - "winapi", 3939 - ] 3940 - 3941 - [[package]] 3942 - name = "ring" 3943 - version = "0.17.3" 3944 - source = "registry+https://github.com/rust-lang/crates.io-index" 3945 - checksum = "9babe80d5c16becf6594aa32ad2be8fe08498e7ae60b77de8df700e67f191d7e" 4024 + checksum = "fb0205304757e5d899b9c2e448b867ffd03ae7f988002e47cd24954391394d0b" 3946 4025 dependencies = [ 3947 4026 "cc", 3948 4027 "getrandom", 3949 4028 "libc", 3950 - "spin 0.9.8", 3951 - "untrusted 0.9.0", 4029 + "spin", 4030 + "untrusted", 3952 4031 "windows-sys 0.48.0", 3953 4032 ] 3954 4033 ··· 4009 4088 source = "registry+https://github.com/rust-lang/crates.io-index" 4010 4089 checksum = "549b9d036d571d42e6e85d1c1425e2ac83491075078ca9a15be021c56b1641f2" 4011 4090 dependencies = [ 4012 - "bitflags 2.4.0", 4091 + "bitflags 2.4.1", 4013 4092 "fallible-iterator", 4014 4093 "fallible-streaming-iterator", 4015 4094 "hashlink", ··· 4050 4129 4051 4130 [[package]] 4052 4131 name = "rustix" 4053 - version = "0.37.25" 4132 + version = "0.37.27" 4054 4133 source = "registry+https://github.com/rust-lang/crates.io-index" 4055 - checksum = "d4eb579851244c2c03e7c24f501c3432bed80b8f720af1d6e5b0e0f01555a035" 4134 + checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" 4056 4135 dependencies = [ 4057 4136 "bitflags 1.3.2", 4058 4137 "errno", ··· 4064 4143 4065 4144 [[package]] 4066 4145 name = "rustix" 4067 - version = "0.38.19" 4146 + version = "0.38.21" 4068 4147 source = "registry+https://github.com/rust-lang/crates.io-index" 4069 - checksum = "745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed" 4148 + checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3" 4070 4149 dependencies = [ 4071 - "bitflags 2.4.0", 4150 + "bitflags 2.4.1", 4072 4151 "errno", 4073 4152 "libc", 4074 4153 "linux-raw-sys 0.4.10", ··· 4077 4156 4078 4157 [[package]] 4079 4158 name = "rustls" 4080 - version = "0.20.9" 4159 + version = "0.21.8" 4081 4160 source = "registry+https://github.com/rust-lang/crates.io-index" 4082 - checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" 4161 + checksum = "446e14c5cda4f3f30fe71863c34ec70f5ac79d6087097ad0bb433e1be5edf04c" 4083 4162 dependencies = [ 4084 4163 "log", 4085 - "ring 0.16.20", 4164 + "ring", 4165 + "rustls-webpki", 4086 4166 "sct", 4087 - "webpki", 4088 4167 ] 4089 4168 4090 4169 [[package]] ··· 4093 4172 source = "registry+https://github.com/rust-lang/crates.io-index" 4094 4173 checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" 4095 4174 dependencies = [ 4096 - "base64 0.21.4", 4175 + "base64 0.21.5", 4176 + ] 4177 + 4178 + [[package]] 4179 + name = "rustls-webpki" 4180 + version = "0.101.7" 4181 + source = "registry+https://github.com/rust-lang/crates.io-index" 4182 + checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" 4183 + dependencies = [ 4184 + "ring", 4185 + "untrusted", 4097 4186 ] 4098 4187 4099 4188 [[package]] ··· 4155 4244 4156 4245 [[package]] 4157 4246 name = "sct" 4158 - version = "0.7.0" 4247 + version = "0.7.1" 4159 4248 source = "registry+https://github.com/rust-lang/crates.io-index" 4160 - checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" 4249 + checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" 4161 4250 dependencies = [ 4162 - "ring 0.16.20", 4163 - "untrusted 0.7.1", 4251 + "ring", 4252 + "untrusted", 4164 4253 ] 4165 4254 4166 4255 [[package]] ··· 4229 4318 4230 4319 [[package]] 4231 4320 name = "serde" 4232 - version = "1.0.189" 4321 + version = "1.0.191" 4233 4322 source = "registry+https://github.com/rust-lang/crates.io-index" 4234 - checksum = "8e422a44e74ad4001bdc8eede9a4570ab52f71190e9c076d14369f38b9200537" 4323 + checksum = "a834c4821019838224821468552240d4d95d14e751986442c816572d39a080c9" 4235 4324 dependencies = [ 4236 4325 "serde_derive", 4237 4326 ] ··· 4258 4347 4259 4348 [[package]] 4260 4349 name = "serde-wasm-bindgen" 4261 - version = "0.6.0" 4350 + version = "0.6.1" 4262 4351 source = "registry+https://github.com/rust-lang/crates.io-index" 4263 - checksum = "30c9933e5689bd420dc6c87b7a1835701810cbc10cd86a26e4da45b73e6b1d78" 4352 + checksum = "17ba92964781421b6cef36bf0d7da26d201e96d84e1b10e7ae6ed416e516906d" 4264 4353 dependencies = [ 4265 4354 "js-sys", 4266 4355 "serde", ··· 4288 4377 4289 4378 [[package]] 4290 4379 name = "serde_derive" 4291 - version = "1.0.189" 4380 + version = "1.0.191" 4292 4381 source = "registry+https://github.com/rust-lang/crates.io-index" 4293 - checksum = "1e48d1f918009ce3145511378cf68d613e3b3d9137d67272562080d68a2b32d5" 4382 + checksum = "46fa52d5646bce91b680189fe5b1c049d2ea38dabb4e2e7c8d00ca12cfbfbcfd" 4294 4383 dependencies = [ 4295 4384 "proc-macro2", 4296 4385 "quote", 4297 - "syn 2.0.38", 4386 + "syn 2.0.39", 4298 4387 ] 4299 4388 4300 4389 [[package]] ··· 4316 4405 dependencies = [ 4317 4406 "proc-macro2", 4318 4407 "quote", 4319 - "syn 2.0.38", 4408 + "syn 2.0.39", 4320 4409 ] 4321 4410 4322 4411 [[package]] 4323 4412 name = "serde_json" 4324 - version = "1.0.107" 4413 + version = "1.0.108" 4325 4414 source = "registry+https://github.com/rust-lang/crates.io-index" 4326 - checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" 4415 + checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" 4327 4416 dependencies = [ 4328 4417 "itoa", 4329 4418 "ryu", ··· 4332 4421 4333 4422 [[package]] 4334 4423 name = "serde_repr" 4335 - version = "0.1.16" 4424 + version = "0.1.17" 4336 4425 source = "registry+https://github.com/rust-lang/crates.io-index" 4337 - checksum = "8725e1dfadb3a50f7e5ce0b1a540466f6ed3fe7a0fca2ac2b8b831d31316bd00" 4426 + checksum = "3081f5ffbb02284dda55132aa26daecedd7372a42417bbbab6f14ab7d6bb9145" 4338 4427 dependencies = [ 4339 4428 "proc-macro2", 4340 4429 "quote", 4341 - "syn 2.0.38", 4430 + "syn 2.0.39", 4342 4431 ] 4343 4432 4344 4433 [[package]] 4345 4434 name = "serde_spanned" 4346 - version = "0.6.3" 4435 + version = "0.6.4" 4347 4436 source = "registry+https://github.com/rust-lang/crates.io-index" 4348 - checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186" 4437 + checksum = "12022b835073e5b11e90a14f86838ceb1c8fb0325b72416845c487ac0fa95e80" 4349 4438 dependencies = [ 4350 4439 "serde", 4351 4440 ] 4352 4441 4353 4442 [[package]] 4354 4443 name = "serde_yaml" 4355 - version = "0.9.25" 4444 + version = "0.9.27" 4356 4445 source = "registry+https://github.com/rust-lang/crates.io-index" 4357 - checksum = "1a49e178e4452f45cb61d0cd8cebc1b0fafd3e41929e996cef79aa3aca91f574" 4446 + checksum = "3cc7a1570e38322cfe4154732e5110f887ea57e22b76f4bfd32b5bdd3368666c" 4358 4447 dependencies = [ 4359 - "indexmap 2.0.2", 4448 + "indexmap 2.1.0", 4360 4449 "itoa", 4361 4450 "ryu", 4362 4451 "serde", ··· 4385 4474 dependencies = [ 4386 4475 "proc-macro2", 4387 4476 "quote", 4388 - "syn 2.0.38", 4477 + "syn 2.0.39", 4389 4478 ] 4390 4479 4391 4480 [[package]] ··· 4460 4549 source = "registry+https://github.com/rust-lang/crates.io-index" 4461 4550 checksum = "0c4aa94397e2023af5b7cff5b8d4785e935cfb77f0e4aab0cae3b26258ace556" 4462 4551 dependencies = [ 4463 - "async-io", 4464 - "futures-lite", 4552 + "async-io 1.13.0", 4553 + "futures-lite 1.13.0", 4465 4554 "libc", 4466 4555 "signal-hook", 4467 4556 ] ··· 4539 4628 4540 4629 [[package]] 4541 4630 name = "socket2" 4542 - version = "0.4.9" 4631 + version = "0.4.10" 4543 4632 source = "registry+https://github.com/rust-lang/crates.io-index" 4544 - checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" 4633 + checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" 4545 4634 dependencies = [ 4546 4635 "libc", 4547 4636 "winapi", ··· 4549 4638 4550 4639 [[package]] 4551 4640 name = "socket2" 4552 - version = "0.5.4" 4641 + version = "0.5.5" 4553 4642 source = "registry+https://github.com/rust-lang/crates.io-index" 4554 - checksum = "4031e820eb552adee9295814c0ced9e5cf38ddf1e8b7d566d6de8e2538ea989e" 4643 + checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" 4555 4644 dependencies = [ 4556 4645 "libc", 4557 4646 "windows-sys 0.48.0", ··· 4559 4648 4560 4649 [[package]] 4561 4650 name = "spin" 4562 - version = "0.5.2" 4563 - source = "registry+https://github.com/rust-lang/crates.io-index" 4564 - checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" 4565 - 4566 - [[package]] 4567 - name = "spin" 4568 4651 version = "0.9.8" 4569 4652 source = "registry+https://github.com/rust-lang/crates.io-index" 4570 4653 checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" ··· 4643 4726 4644 4727 [[package]] 4645 4728 name = "syn" 4646 - version = "2.0.38" 4729 + version = "2.0.39" 4647 4730 source = "registry+https://github.com/rust-lang/crates.io-index" 4648 - checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b" 4731 + checksum = "23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a" 4649 4732 dependencies = [ 4650 4733 "proc-macro2", 4651 4734 "quote", ··· 4687 4770 source = "registry+https://github.com/rust-lang/crates.io-index" 4688 4771 checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" 4689 4772 dependencies = [ 4690 - "rustix 0.38.19", 4773 + "rustix 0.38.21", 4691 4774 "windows-sys 0.48.0", 4692 4775 ] 4693 4776 ··· 4702 4785 4703 4786 [[package]] 4704 4787 name = "thiserror" 4705 - version = "1.0.49" 4788 + version = "1.0.50" 4706 4789 source = "registry+https://github.com/rust-lang/crates.io-index" 4707 - checksum = "1177e8c6d7ede7afde3585fd2513e611227efd6481bd78d2e82ba1ce16557ed4" 4790 + checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" 4708 4791 dependencies = [ 4709 4792 "thiserror-impl", 4710 4793 ] 4711 4794 4712 4795 [[package]] 4713 4796 name = "thiserror-impl" 4714 - version = "1.0.49" 4797 + version = "1.0.50" 4715 4798 source = "registry+https://github.com/rust-lang/crates.io-index" 4716 - checksum = "10712f02019e9288794769fba95cd6847df9874d49d871d062172f9dd41bc4cc" 4799 + checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" 4717 4800 dependencies = [ 4718 4801 "proc-macro2", 4719 4802 "quote", 4720 - "syn 2.0.38", 4803 + "syn 2.0.39", 4721 4804 ] 4722 4805 4723 4806 [[package]] ··· 4801 4884 "parking_lot 0.12.1", 4802 4885 "pin-project-lite", 4803 4886 "signal-hook-registry", 4804 - "socket2 0.5.4", 4887 + "socket2 0.5.5", 4805 4888 "tokio-macros", 4806 4889 "tracing", 4807 4890 "windows-sys 0.48.0", ··· 4825 4908 dependencies = [ 4826 4909 "proc-macro2", 4827 4910 "quote", 4828 - "syn 2.0.38", 4911 + "syn 2.0.39", 4829 4912 ] 4830 4913 4831 4914 [[package]] ··· 4841 4924 4842 4925 [[package]] 4843 4926 name = "tokio-util" 4844 - version = "0.7.9" 4927 + version = "0.7.10" 4845 4928 source = "registry+https://github.com/rust-lang/crates.io-index" 4846 - checksum = "1d68074620f57a0b21594d9735eb2e98ab38b17f80d3fcb189fca266771ca60d" 4929 + checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" 4847 4930 dependencies = [ 4848 4931 "bytes", 4849 4932 "futures-core", ··· 4877 4960 4878 4961 [[package]] 4879 4962 name = "toml_datetime" 4880 - version = "0.6.3" 4963 + version = "0.6.5" 4881 4964 source = "registry+https://github.com/rust-lang/crates.io-index" 4882 - checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" 4965 + checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" 4883 4966 dependencies = [ 4884 4967 "serde", 4885 4968 ] ··· 4890 4973 source = "registry+https://github.com/rust-lang/crates.io-index" 4891 4974 checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" 4892 4975 dependencies = [ 4893 - "indexmap 2.0.2", 4976 + "indexmap 2.1.0", 4894 4977 "serde", 4895 4978 "serde_spanned", 4896 4979 "toml_datetime", ··· 4905 4988 dependencies = [ 4906 4989 "async-trait", 4907 4990 "axum", 4908 - "base64 0.21.4", 4991 + "base64 0.21.5", 4909 4992 "bytes", 4910 4993 "futures-core", 4911 4994 "futures-util", ··· 4934 5017 "async-stream", 4935 5018 "async-trait", 4936 5019 "axum", 4937 - "base64 0.21.4", 5020 + "base64 0.21.5", 4938 5021 "bytes", 4939 5022 "h2", 4940 5023 "http", ··· 4986 5069 4987 5070 [[package]] 4988 5071 name = "tracing" 4989 - version = "0.1.39" 5072 + version = "0.1.40" 4990 5073 source = "registry+https://github.com/rust-lang/crates.io-index" 4991 - checksum = "ee2ef2af84856a50c1d430afce2fdded0a4ec7eda868db86409b4543df0797f9" 5074 + checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" 4992 5075 dependencies = [ 4993 5076 "log", 4994 5077 "pin-project-lite", ··· 5015 5098 dependencies = [ 5016 5099 "proc-macro2", 5017 5100 "quote", 5018 - "syn 2.0.38", 5101 + "syn 2.0.39", 5019 5102 ] 5020 5103 5021 5104 [[package]] ··· 5051 5134 5052 5135 [[package]] 5053 5136 name = "tracing-log" 5054 - version = "0.1.3" 5137 + version = "0.1.4" 5055 5138 source = "registry+https://github.com/rust-lang/crates.io-index" 5056 - checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" 5139 + checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" 5057 5140 dependencies = [ 5058 - "lazy_static", 5059 5141 "log", 5142 + "once_cell", 5060 5143 "tracing-core", 5061 5144 ] 5062 5145 ··· 5133 5216 5134 5217 [[package]] 5135 5218 name = "trust-dns-proto" 5136 - version = "0.23.1" 5219 + version = "0.23.2" 5137 5220 source = "registry+https://github.com/rust-lang/crates.io-index" 5138 - checksum = "559ac980345f7f5020883dd3bcacf176355225e01916f8c2efecad7534f682c6" 5221 + checksum = "3119112651c157f4488931a01e586aa459736e9d6046d3bd9105ffb69352d374" 5139 5222 dependencies = [ 5140 5223 "async-trait", 5141 5224 "cfg-if 1.0.0", ··· 5158 5241 5159 5242 [[package]] 5160 5243 name = "trust-dns-resolver" 5161 - version = "0.23.1" 5244 + version = "0.23.2" 5162 5245 source = "registry+https://github.com/rust-lang/crates.io-index" 5163 - checksum = "c723b0e608b24ad04c73b2607e0241b2c98fd79795a95e98b068b6966138a29d" 5246 + checksum = "10a3e6c3aff1718b3c73e395d1f35202ba2ffa847c6a62eea0db8fb4cfe30be6" 5164 5247 dependencies = [ 5165 5248 "cfg-if 1.0.0", 5166 5249 "futures-util", ··· 5206 5289 "proc-macro2", 5207 5290 "quote", 5208 5291 "serde_derive_internals 0.28.0", 5209 - "syn 2.0.38", 5292 + "syn 2.0.39", 5210 5293 ] 5211 5294 5212 5295 [[package]] ··· 5297 5380 5298 5381 [[package]] 5299 5382 name = "untrusted" 5300 - version = "0.7.1" 5301 - source = "registry+https://github.com/rust-lang/crates.io-index" 5302 - checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" 5303 - 5304 - [[package]] 5305 - name = "untrusted" 5306 5383 version = "0.9.0" 5307 5384 source = "registry+https://github.com/rust-lang/crates.io-index" 5308 5385 checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" ··· 5344 5421 5345 5422 [[package]] 5346 5423 name = "value-bag" 5347 - version = "1.4.1" 5424 + version = "1.4.2" 5348 5425 source = "registry+https://github.com/rust-lang/crates.io-index" 5349 - checksum = "d92ccd67fb88503048c01b59152a04effd0782d035a83a6d256ce6085f08f4a3" 5426 + checksum = "4a72e1902dde2bd6441347de2b70b7f5d59bf157c6c62f0c44572607a1d55bbe" 5350 5427 5351 5428 [[package]] 5352 5429 name = "vcpkg" ··· 5368 5445 5369 5446 [[package]] 5370 5447 name = "veilid-cli" 5371 - version = "0.2.4" 5448 + version = "0.2.5" 5372 5449 dependencies = [ 5373 5450 "arboard", 5374 5451 "async-std", 5375 5452 "async-tungstenite", 5376 5453 "cfg-if 1.0.0", 5377 5454 "chrono", 5378 - "clap 4.4.6", 5455 + "clap 4.4.7", 5379 5456 "config", 5380 5457 "crossbeam-channel", 5381 5458 "cursive", ··· 5405 5482 5406 5483 [[package]] 5407 5484 name = "veilid-core" 5408 - version = "0.2.4" 5485 + version = "0.2.5" 5409 5486 dependencies = [ 5410 5487 "argon2", 5411 - "async-io", 5412 - "async-lock", 5488 + "async-io 1.13.0", 5489 + "async-lock 2.8.0", 5413 5490 "async-std", 5414 5491 "async-std-resolver", 5415 5492 "async-tls", ··· 5465 5542 "send_wrapper 0.6.0", 5466 5543 "serde", 5467 5544 "serde-big-array", 5468 - "serde-wasm-bindgen 0.6.0", 5545 + "serde-wasm-bindgen 0.6.1", 5469 5546 "serde_bytes", 5470 5547 "serde_json", 5471 5548 "serial_test", 5472 5549 "shell-words", 5473 5550 "simplelog", 5474 - "socket2 0.5.4", 5551 + "socket2 0.5.5", 5475 5552 "static_assertions", 5476 5553 "stop-token", 5477 5554 "thiserror", ··· 5499 5576 "webpki-roots 0.25.2", 5500 5577 "wee_alloc", 5501 5578 "winapi", 5502 - "windows 0.51.1", 5579 + "windows", 5503 5580 "windows-permissions", 5504 5581 "ws_stream_wasm", 5505 5582 "x25519-dalek", ··· 5507 5584 5508 5585 [[package]] 5509 5586 name = "veilid-flutter" 5510 - version = "0.2.4" 5587 + version = "0.2.5" 5511 5588 dependencies = [ 5512 5589 "allo-isolate", 5590 + "android_log-sys 0.3.1", 5513 5591 "async-std", 5514 5592 "backtrace", 5515 5593 "cfg-if 1.0.0", 5594 + "ctor", 5516 5595 "data-encoding", 5517 5596 "ffi-support", 5518 5597 "futures-util", 5519 5598 "hostname", 5520 5599 "jni", 5521 5600 "lazy_static", 5601 + "libc-print", 5522 5602 "opentelemetry", 5523 5603 "opentelemetry-otlp", 5524 5604 "opentelemetry-semantic-conventions", 5605 + "oslog", 5525 5606 "paranoid-android", 5526 5607 "parking_lot 0.12.1", 5527 5608 "serde", ··· 5541 5622 source = "registry+https://github.com/rust-lang/crates.io-index" 5542 5623 checksum = "6a3dabbda02cfe176635dcaa18a021416ff2eb4d0b47a913e3fdc7f62049d7b1" 5543 5624 dependencies = [ 5544 - "hashbrown 0.14.1", 5625 + "hashbrown 0.14.2", 5545 5626 "serde", 5546 5627 ] 5547 5628 ··· 5560 5641 5561 5642 [[package]] 5562 5643 name = "veilid-server" 5563 - version = "0.2.4" 5644 + version = "0.2.5" 5564 5645 dependencies = [ 5565 5646 "ansi_term", 5566 5647 "async-std", 5567 5648 "async-tungstenite", 5568 5649 "backtrace", 5569 5650 "cfg-if 1.0.0", 5570 - "clap 4.4.6", 5651 + "clap 4.4.7", 5571 5652 "color-eyre", 5572 5653 "config", 5573 5654 "console-subscriber", ··· 5610 5691 5611 5692 [[package]] 5612 5693 name = "veilid-tools" 5613 - version = "0.2.4" 5694 + version = "0.2.5" 5614 5695 dependencies = [ 5615 5696 "android_logger 0.13.3", 5616 - "async-lock", 5697 + "async-lock 2.8.0", 5617 5698 "async-std", 5618 5699 "async_executors", 5619 5700 "backtrace", ··· 5667 5748 5668 5749 [[package]] 5669 5750 name = "veilid-wasm" 5670 - version = "0.2.4" 5751 + version = "0.2.5" 5671 5752 dependencies = [ 5672 5753 "cfg-if 1.0.0", 5673 5754 "console_error_panic_hook", ··· 5679 5760 "parking_lot 0.12.1", 5680 5761 "send_wrapper 0.6.0", 5681 5762 "serde", 5682 - "serde-wasm-bindgen 0.6.0", 5763 + "serde-wasm-bindgen 0.6.1", 5683 5764 "serde_bytes", 5684 5765 "serde_json", 5685 5766 "tracing", ··· 5738 5819 5739 5820 [[package]] 5740 5821 name = "wasm-bindgen" 5741 - version = "0.2.87" 5822 + version = "0.2.88" 5742 5823 source = "registry+https://github.com/rust-lang/crates.io-index" 5743 - checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" 5824 + checksum = "7daec296f25a1bae309c0cd5c29c4b260e510e6d813c286b19eaadf409d40fce" 5744 5825 dependencies = [ 5745 5826 "cfg-if 1.0.0", 5746 5827 "serde", ··· 5750 5831 5751 5832 [[package]] 5752 5833 name = "wasm-bindgen-backend" 5753 - version = "0.2.87" 5834 + version = "0.2.88" 5754 5835 source = "registry+https://github.com/rust-lang/crates.io-index" 5755 - checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" 5836 + checksum = "e397f4664c0e4e428e8313a469aaa58310d302159845980fd23b0f22a847f217" 5756 5837 dependencies = [ 5757 5838 "bumpalo", 5758 5839 "log", 5759 5840 "once_cell", 5760 5841 "proc-macro2", 5761 5842 "quote", 5762 - "syn 2.0.38", 5843 + "syn 2.0.39", 5763 5844 "wasm-bindgen-shared", 5764 5845 ] 5765 5846 5766 5847 [[package]] 5767 5848 name = "wasm-bindgen-futures" 5768 - version = "0.4.37" 5849 + version = "0.4.38" 5769 5850 source = "registry+https://github.com/rust-lang/crates.io-index" 5770 - checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03" 5851 + checksum = "9afec9963e3d0994cac82455b2b3502b81a7f40f9a0d32181f7528d9f4b43e02" 5771 5852 dependencies = [ 5772 5853 "cfg-if 1.0.0", 5773 5854 "js-sys", ··· 5777 5858 5778 5859 [[package]] 5779 5860 name = "wasm-bindgen-macro" 5780 - version = "0.2.87" 5861 + version = "0.2.88" 5781 5862 source = "registry+https://github.com/rust-lang/crates.io-index" 5782 - checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" 5863 + checksum = "5961017b3b08ad5f3fe39f1e79877f8ee7c23c5e5fd5eb80de95abc41f1f16b2" 5783 5864 dependencies = [ 5784 5865 "quote", 5785 5866 "wasm-bindgen-macro-support", ··· 5787 5868 5788 5869 [[package]] 5789 5870 name = "wasm-bindgen-macro-support" 5790 - version = "0.2.87" 5871 + version = "0.2.88" 5791 5872 source = "registry+https://github.com/rust-lang/crates.io-index" 5792 - checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" 5873 + checksum = "c5353b8dab669f5e10f5bd76df26a9360c748f054f862ff5f3f8aae0c7fb3907" 5793 5874 dependencies = [ 5794 5875 "proc-macro2", 5795 5876 "quote", 5796 - "syn 2.0.38", 5877 + "syn 2.0.39", 5797 5878 "wasm-bindgen-backend", 5798 5879 "wasm-bindgen-shared", 5799 5880 ] 5800 5881 5801 5882 [[package]] 5802 5883 name = "wasm-bindgen-shared" 5803 - version = "0.2.87" 5884 + version = "0.2.88" 5804 5885 source = "registry+https://github.com/rust-lang/crates.io-index" 5805 - checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" 5886 + checksum = "0d046c5d029ba91a1ed14da14dca44b68bf2f124cfbaf741c54151fdb3e0750b" 5806 5887 5807 5888 [[package]] 5808 5889 name = "wasm-bindgen-test" 5809 - version = "0.3.37" 5890 + version = "0.3.38" 5810 5891 source = "registry+https://github.com/rust-lang/crates.io-index" 5811 - checksum = "6e6e302a7ea94f83a6d09e78e7dc7d9ca7b186bc2829c24a22d0753efd680671" 5892 + checksum = "c6433b7c56db97397842c46b67e11873eda263170afeb3a2dc74a7cb370fee0d" 5812 5893 dependencies = [ 5813 5894 "console_error_panic_hook", 5814 5895 "js-sys", ··· 5820 5901 5821 5902 [[package]] 5822 5903 name = "wasm-bindgen-test-macro" 5823 - version = "0.3.37" 5904 + version = "0.3.38" 5824 5905 source = "registry+https://github.com/rust-lang/crates.io-index" 5825 - checksum = "ecb993dd8c836930ed130e020e77d9b2e65dd0fbab1b67c790b0f5d80b11a575" 5906 + checksum = "493fcbab756bb764fa37e6bee8cec2dd709eb4273d06d0c282a5e74275ded735" 5826 5907 dependencies = [ 5827 5908 "proc-macro2", 5828 5909 "quote", 5910 + "syn 2.0.39", 5829 5911 ] 5830 5912 5831 5913 [[package]] ··· 5847 5929 5848 5930 [[package]] 5849 5931 name = "web-sys" 5850 - version = "0.3.64" 5932 + version = "0.3.65" 5851 5933 source = "registry+https://github.com/rust-lang/crates.io-index" 5852 - checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" 5934 + checksum = "5db499c5f66323272151db0e666cd34f78617522fb0c1604d31a27c50c206a85" 5853 5935 dependencies = [ 5854 5936 "js-sys", 5855 5937 "wasm-bindgen", ··· 5861 5943 source = "registry+https://github.com/rust-lang/crates.io-index" 5862 5944 checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" 5863 5945 dependencies = [ 5864 - "ring 0.17.3", 5865 - "untrusted 0.9.0", 5946 + "ring", 5947 + "untrusted", 5866 5948 ] 5867 5949 5868 5950 [[package]] ··· 5918 6000 "either", 5919 6001 "home", 5920 6002 "once_cell", 5921 - "rustix 0.38.19", 6003 + "rustix 0.38.21", 5922 6004 ] 5923 6005 5924 6006 [[package]] ··· 5969 6051 5970 6052 [[package]] 5971 6053 name = "windows" 5972 - version = "0.48.0" 5973 - source = "registry+https://github.com/rust-lang/crates.io-index" 5974 - checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" 5975 - dependencies = [ 5976 - "windows-targets 0.48.5", 5977 - ] 5978 - 5979 - [[package]] 5980 - name = "windows" 5981 6054 version = "0.51.1" 5982 6055 source = "registry+https://github.com/rust-lang/crates.io-index" 5983 6056 checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" ··· 6150 6223 6151 6224 [[package]] 6152 6225 name = "winnow" 6153 - version = "0.5.17" 6226 + version = "0.5.19" 6154 6227 source = "registry+https://github.com/rust-lang/crates.io-index" 6155 - checksum = "a3b801d0e0a6726477cc207f60162da452f3a95adb368399bef20a946e06f65c" 6228 + checksum = "829846f3e3db426d4cee4510841b71a8e58aa2a76b1132579487ae430ccd9c7b" 6156 6229 dependencies = [ 6157 6230 "memchr", 6158 6231 ] ··· 6256 6329 source = "registry+https://github.com/rust-lang/crates.io-index" 6257 6330 checksum = "9cbeb2291cd7267a94489b71376eda33496c1b9881adf6b36f26cc2779f3fc49" 6258 6331 dependencies = [ 6259 - "async-io", 6332 + "async-io 1.13.0", 6260 6333 "byteorder", 6261 6334 "derivative", 6262 6335 "enumflags2", ··· 6265 6338 "nb-connect", 6266 6339 "nix 0.22.3", 6267 6340 "once_cell", 6268 - "polling", 6341 + "polling 2.8.0", 6269 6342 "scoped-tls", 6270 6343 "serde", 6271 6344 "serde_repr", ··· 6286 6359 ] 6287 6360 6288 6361 [[package]] 6362 + name = "zerocopy" 6363 + version = "0.7.25" 6364 + source = "registry+https://github.com/rust-lang/crates.io-index" 6365 + checksum = "8cd369a67c0edfef15010f980c3cbe45d7f651deac2cd67ce097cd801de16557" 6366 + dependencies = [ 6367 + "zerocopy-derive", 6368 + ] 6369 + 6370 + [[package]] 6371 + name = "zerocopy-derive" 6372 + version = "0.7.25" 6373 + source = "registry+https://github.com/rust-lang/crates.io-index" 6374 + checksum = "c2f140bda219a26ccc0cdb03dba58af72590c53b22642577d88a927bc5c87d6b" 6375 + dependencies = [ 6376 + "proc-macro2", 6377 + "quote", 6378 + "syn 2.0.39", 6379 + ] 6380 + 6381 + [[package]] 6289 6382 name = "zeroize" 6290 6383 version = "1.6.0" 6291 6384 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 6302 6395 dependencies = [ 6303 6396 "proc-macro2", 6304 6397 "quote", 6305 - "syn 2.0.38", 6398 + "syn 2.0.39", 6306 6399 ] 6307 6400 6308 6401 [[package]]
+3 -2
pkgs/tools/networking/veilid/default.nix
··· 10 10 11 11 rustPlatform.buildRustPackage rec { 12 12 pname = "veilid"; 13 - version = "0.2.4"; 13 + version = "0.2.5"; 14 14 15 15 src = fetchFromGitLab { 16 16 owner = "veilid"; 17 17 repo = pname; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-DQ/rFxUByPlZOHOLBO9OenT2WPiaBKl45ANiH+YkQ08="; 19 + sha256 = "sha256-jcSoZhAAoiKn3Jsov4Q0vunPRC+JwX8O0vYZDT5uO0I="; 20 20 }; 21 21 22 22 cargoLock = { 23 23 lockFile = ./Cargo.lock; 24 24 outputHashes = { 25 + "async-tls-0.12.0" = "sha256-SAirarvQKsYLftr3u29czQFBwVZgl2cSCUqC0/Qgye0="; 25 26 "cursive-0.20.0" = "sha256-jETyRRnzt7OMkTo4LRfeRr37oPJpn9R2soxkH7tzGy8="; 26 27 "cursive-flexi-logger-view-0.5.0" = "sha256-zFpfVFNZNNdNMdpJbaT4O2pMYccGEAGnvYzpRziMwfQ="; 27 28 "cursive_buffered_backend-0.6.1" = "sha256-+sTJnp570HupwaJxV2x+oKyLwNmqQ4HqOH2P1s9Hhw8=";
+14 -26
pkgs/tools/package-management/apx/default.nix
··· 1 1 { lib 2 2 , buildGoModule 3 3 , fetchFromGitHub 4 - , makeWrapper 5 - , installShellFiles 6 - , docker 7 4 , distrobox 8 5 }: 9 6 10 7 buildGoModule rec { 11 8 pname = "apx"; 12 - version = "1.8.2"; 9 + version = "2.0.0"; 13 10 14 11 src = fetchFromGitHub { 15 12 owner = "Vanilla-OS"; 16 13 repo = pname; 17 - rev = "refs/tags/${version}"; 18 - hash = "sha256-nBhSl4r7LlgCA5/HCLpOleihE5n/JCJgf43KdCklQbg="; 14 + rev = "v${version}"; 15 + hash = "sha256-3CelqEntpfld0n+Ewg7NCkowVjgCf5b6StfSkYbgV5k="; 19 16 }; 20 17 21 18 vendorHash = null; 22 19 23 20 ldflags = [ "-s" "-w" ]; 24 21 25 - nativeBuildInputs = [ 26 - makeWrapper 27 - installShellFiles 28 - ]; 22 + postPatch = '' 23 + substituteInPlace config/apx.json \ 24 + --replace "/usr/share/apx/distrobox" "${distrobox}/bin/distrobox" \ 25 + --replace "/usr/share/apx" "$out/bin/apx" 26 + substituteInPlace settings/config.go \ 27 + --replace "/usr/share/apx/" "$out/share/apx/" 28 + ''; 29 29 30 30 postInstall = '' 31 - mkdir -p $out/etc/apx 32 - 33 - cat > "$out/etc/apx/config.json" <<EOF 34 - { 35 - "containername": "apx_managed", 36 - "image": "docker.io/library/ubuntu", 37 - "pkgmanager": "apt", 38 - "distroboxpath": "${distrobox}/bin/distrobox" 39 - } 40 - EOF 41 - 42 - wrapProgram $out/bin/apx --prefix PATH : ${lib.makeBinPath [ docker distrobox ]} 43 - 44 - installManPage man/de/man1/apx.1 man/es/man1/apx.1 man/fr/man1/apx.1 man/it/man1/apx.1 man/man1/apx.1 man/nl/man1/apx.1 man/pl/man1/apx.1 man/pt/man1/apx.1 man/pt_BR/man1/apx.1 man/ro/man1/apx.1 man/ru/man1/apx.1 man/sv/man1/apx.1 man/tr/man1/apx.1 31 + install -D config/apx.json -t $out/share/apx/ 32 + install -D man/man1/apx.1 -t $out/man/man1/ 45 33 ''; 46 34 47 35 meta = with lib; { 48 36 description = "The Vanilla OS package manager"; 49 37 homepage = "https://github.com/Vanilla-OS/apx"; 50 - changelog = "https://github.com/Vanilla-OS/apx/releases/tag/${version}"; 38 + changelog = "https://github.com/Vanilla-OS/apx/releases/tag/v${version}"; 51 39 license = licenses.gpl3Only; 52 - maintainers = with maintainers; [ dit7ya ]; 40 + maintainers = with maintainers; [ dit7ya jgarcia ]; 53 41 }; 54 42 }
+4
pkgs/tools/security/nmap/default.nix
··· 26 26 "--without-zenmap" 27 27 ]; 28 28 29 + postInstall = '' 30 + install -m 444 -D nselib/data/passwords.lst $out/share/wordlists/nmap.lst 31 + ''; 32 + 29 33 makeFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ 30 34 "AR=${stdenv.cc.bintools.targetPrefix}ar" 31 35 "RANLIB=${stdenv.cc.bintools.targetPrefix}ranlib"
+1
pkgs/top-level/aliases.nix
··· 715 715 pinentry_qt = throw "'pinentry_qt' has been renamed to/replaced by 'pinentry-qt'"; # Converted to throw 2023-09-10 716 716 pinentry_qt5 = pinentry-qt; # Added 2020-02-11 717 717 poetry2nix = throw "poetry2nix is now maintained out-of-tree. Please use https://github.com/nix-community/poetry2nix/"; # Added 2023-10-26 718 + prayer = throw "prayer has been removed from nixpkgs"; # Added 2023-11-09 718 719 privacyidea = throw "privacyidea has been removed from nixpkgs"; # Added 2023-10-31 719 720 probe-rs-cli = throw "probe-rs-cli is now part of the probe-rs package"; # Added 2023-07-03 720 721 processing3 = throw "'processing3' has been renamed to/replaced by 'processing'"; # Converted to throw 2023-09-10
+18 -6
pkgs/top-level/all-packages.nix
··· 16252 16252 gforth = callPackage ../development/compilers/gforth { }; 16253 16253 16254 16254 gleam = callPackage ../development/compilers/gleam { 16255 - inherit (darwin.apple_sdk.frameworks) Security; 16255 + inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; 16256 16256 }; 16257 16257 16258 16258 gmqcc = callPackage ../development/compilers/gmqcc { }; ··· 22899 22899 22900 22900 libfabric = callPackage ../development/libraries/libfabric { }; 22901 22901 22902 - libfive = qt6Packages.callPackage ../development/libraries/libfive { }; 22902 + libfive = qt6Packages.callPackage ../development/libraries/libfive { 22903 + python = python3; 22904 + }; 22903 22905 22904 22906 libfixposix = callPackage ../development/libraries/libfixposix { }; 22905 22907 ··· 26510 26512 26511 26513 home-assistant = callPackage ../servers/home-assistant { }; 26512 26514 26515 + buildHomeAssistantComponent = callPackage ../servers/home-assistant/build-custom-component { }; 26516 + home-assistant-custom-components = lib.recurseIntoAttrs 26517 + (callPackage ../servers/home-assistant/custom-components { 26518 + inherit (home-assistant.python.pkgs) callPackage; 26519 + }); 26520 + home-assistant-custom-lovelace-modules = lib.recurseIntoAttrs 26521 + (callPackage ../servers/home-assistant/custom-lovelace-modules {}); 26522 + 26513 26523 home-assistant-cli = callPackage ../servers/home-assistant/cli.nix { }; 26514 26524 26515 26525 home-assistant-component-tests = recurseIntoAttrs home-assistant.tests.components; ··· 28605 28615 28606 28616 pps-tools = callPackage ../os-specific/linux/pps-tools { }; 28607 28617 28608 - prayer = callPackage ../servers/prayer { }; 28609 - 28610 28618 procps = if stdenv.isLinux 28611 28619 then callPackage ../os-specific/linux/procps-ng { } 28612 28620 else unixtools.procps; ··· 30267 30275 30268 30276 dcw-gmt = callPackage ../applications/gis/gmt/dcw.nix { }; 30269 30277 30270 - grass = callPackage ../applications/gis/grass { }; 30278 + grass = callPackage ../applications/gis/grass { 30279 + stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv; 30280 + }; 30271 30281 30272 30282 openorienteering-mapper = libsForQt5.callPackage ../applications/gis/openorienteering-mapper { }; 30273 30283 ··· 36451 36461 36452 36462 webex = callPackage ../applications/networking/instant-messengers/webex { }; 36453 36463 36454 - webmacs = libsForQt5.callPackage ../applications/networking/browsers/webmacs { }; 36464 + webmacs = libsForQt5.callPackage ../applications/networking/browsers/webmacs { 36465 + stdenv = if stdenv.cc.isClang then gccStdenv else stdenv; 36466 + }; 36455 36467 36456 36468 websploit = python3Packages.callPackage ../tools/security/websploit { }; 36457 36469
+7 -1
pkgs/top-level/python-packages.nix
··· 6150 6150 pythonSupport = true; 6151 6151 }); 6152 6152 6153 + libfive = toPythonModule (pkgs.libfive.override { 6154 + inherit python; 6155 + }); 6156 + 6153 6157 libgpiod = callPackage ../development/python-modules/libgpiod { 6154 6158 inherit (pkgs) libgpiod; 6155 6159 }; ··· 12800 12804 shellingham = callPackage ../development/python-modules/shellingham { }; 12801 12805 12802 12806 shiboken2 = toPythonModule (callPackage ../development/python-modules/shiboken2 { 12803 - inherit (pkgs) cmake llvmPackages qt5; 12807 + inherit (pkgs) cmake llvmPackages_15 qt5; 12804 12808 }); 12805 12809 12806 12810 shiboken6 = toPythonModule (callPackage ../development/python-modules/shiboken6 { ··· 13688 13692 teletype = callPackage ../development/python-modules/teletype { }; 13689 13693 13690 13694 telfhash = callPackage ../development/python-modules/telfhash { }; 13695 + 13696 + telegram-text = callPackage ../development/python-modules/telegram-text { }; 13691 13697 13692 13698 temescal = callPackage ../development/python-modules/temescal { }; 13693 13699