Merge remote-tracking branch 'origin/master' into staging-next

Conflicts:
- pkgs/development/python-modules/podcastparser/default.nix

+1418 -772
+90 -1
.github/workflows/check-by-name.yml
··· 21 21 with: 22 22 # pull_request_target checks out the base branch by default 23 23 ref: refs/pull/${{ github.event.pull_request.number }}/merge 24 + # Fetches the merge commit and its parents 25 + fetch-depth: 2 26 + - name: Determining PR git hashes 27 + run: | 28 + echo "mergedSha=$(git rev-parse HEAD)" >> "$GITHUB_ENV" 29 + 30 + # For pull_request_target this is the same as $GITHUB_SHA 31 + echo "baseSha=$(git rev-parse HEAD^1)" >> "$GITHUB_ENV" 32 + 33 + echo "headSha=$(git rev-parse HEAD^2)" >> "$GITHUB_ENV" 24 34 - uses: cachix/install-nix-action@v23 25 35 - name: Determining channel to use for dependencies 26 36 run: | ··· 51 61 # Passing --max-jobs 0 makes sure that we won't build anything 52 62 nix-build "$nixpkgs" -A tests.nixpkgs-check-by-name --max-jobs 0 53 63 - name: Running nixpkgs-check-by-name 54 - run: result/bin/nixpkgs-check-by-name . 64 + run: | 65 + echo "Checking whether the check succeeds on the base branch $GITHUB_BASE_REF" 66 + git checkout -q "$baseSha" 67 + if baseOutput=$(result/bin/nixpkgs-check-by-name . 2>&1); then 68 + baseSuccess=1 69 + else 70 + baseSuccess= 71 + fi 72 + printf "%s\n" "$baseOutput" 73 + 74 + echo "Checking whether the check would succeed after merging this pull request" 75 + git checkout -q "$mergedSha" 76 + if mergedOutput=$(result/bin/nixpkgs-check-by-name . 2>&1); then 77 + mergedSuccess=1 78 + exitCode=0 79 + else 80 + mergedSuccess= 81 + exitCode=1 82 + fi 83 + printf "%s\n" "$mergedOutput" 84 + 85 + resultToEmoji() { 86 + if [[ -n "$1" ]]; then 87 + echo ":heavy_check_mark:" 88 + else 89 + echo ":x:" 90 + fi 91 + } 92 + 93 + # Print a markdown summary in GitHub actions 94 + { 95 + echo "| Nixpkgs version | Check result |" 96 + echo "| --- | --- |" 97 + echo "| Latest base commit | $(resultToEmoji "$baseSuccess") |" 98 + echo "| After merging this PR | $(resultToEmoji "$mergedSuccess") |" 99 + echo "" 100 + 101 + if [[ -n "$baseSuccess" ]]; then 102 + if [[ -n "$mergedSuccess" ]]; then 103 + echo "The check succeeds on both the base branch and after merging this PR" 104 + else 105 + echo "The check succeeds on the base branch, but would fail after merging this PR:" 106 + echo "\`\`\`" 107 + echo "$mergedOutput" 108 + echo "\`\`\`" 109 + echo "" 110 + fi 111 + else 112 + if [[ -n "$mergedSuccess" ]]; then 113 + echo "The check fails on the base branch, but this PR fixes it, nicely done!" 114 + else 115 + echo "The check fails on both the base branch and after merging this PR, unknown if only this PRs changes would satisfy the check, the base branch needs to be fixed first." 116 + echo "" 117 + echo "Failure on the base branch:" 118 + echo "\`\`\`" 119 + echo "$baseOutput" 120 + echo "\`\`\`" 121 + echo "" 122 + echo "Failure after merging this PR:" 123 + echo "\`\`\`" 124 + echo "$mergedOutput" 125 + echo "\`\`\`" 126 + echo "" 127 + fi 128 + fi 129 + 130 + echo "### Details" 131 + echo "- nixpkgs-check-by-name tool:" 132 + echo " - Channel: $channel" 133 + echo " - Nixpkgs commit: [$rev](https://github.com/${GITHUB_REPOSITORY}/commit/$rev)" 134 + echo " - Store path: \`$(realpath result)\`" 135 + echo "- Tested Nixpkgs:" 136 + echo " - Base branch $GITHUB_BASE_REF" 137 + echo " - Latest base branch commit: [$baseSha](https://github.com/${GITHUB_REPOSITORY}/commit/$baseSha)" 138 + echo " - Latest PR commit: [$headSha](https://github.com/${GITHUB_REPOSITORY}/commit/$headSha)" 139 + echo " - Merge commit: [$mergedSha](https://github.com/${GITHUB_REPOSITORY}/commit/$mergedSha)" 140 + } >> "$GITHUB_STEP_SUMMARY" 141 + 142 + exit "$exitCode" 143 +
+6 -5
doc/languages-frameworks/vim.section.md
··· 212 212 213 213 ## Adding new plugins to nixpkgs {#adding-new-plugins-to-nixpkgs} 214 214 215 - Nix expressions for Vim plugins are stored in [pkgs/applications/editors/vim/plugins](https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/editors/vim/plugins). For the vast majority of plugins, Nix expressions are automatically generated by running [`./update.py`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/update.py). This creates a [generated.nix](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/generated.nix) file based on the plugins listed in [vim-plugin-names](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/vim-plugin-names). 215 + Nix expressions for Vim plugins are stored in [pkgs/applications/editors/vim/plugins](https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/editors/vim/plugins). For the vast majority of plugins, Nix expressions are automatically generated by running [`nix-shell -p vimPluginsUpdater --run vim-plugins-updater`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/updater.nix). This creates a [generated.nix](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/generated.nix) file based on the plugins listed in [vim-plugin-names](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/vim-plugin-names). 216 216 217 - After running `./update.py`, if nvim-treesitter received an update, also run [`nvim-treesitter/update.py`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/update.py) to update the tree sitter grammars for `nvim-treesitter`. 217 + After running the updater, if nvim-treesitter received an update, also run [`nvim-treesitter/update.py`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/update.py) to update the tree sitter grammars for `nvim-treesitter`. 218 218 219 219 Some plugins require overrides in order to function properly. Overrides are placed in [overrides.nix](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/overrides.nix). Overrides are most often required when a plugin requires some dependencies, or extra steps are required during the build process. For example `deoplete-fish` requires both `deoplete-nvim` and `vim-fish`, and so the following override was added: 220 220 ··· 241 241 Alternatively, set the number of processes to a lower count to avoid rate-limiting. 242 242 243 243 ```sh 244 - ./pkgs/applications/editors/vim/plugins/update.py --proc 1 244 + 245 + nix-shell -p vimPluginsUpdater --run 'vim-plugins-updater --proc 1' 245 246 ``` 246 247 247 248 ## How to maintain an out-of-tree overlay of vim plugins ? {#vim-out-of-tree-overlays} ··· 250 251 plugin list: 251 252 252 253 ``` 253 - pkgs/applications/editors/vim/plugins/update.py -i vim-plugin-names -o generated.nix --no-commit 254 + nix-shell -p vimPluginsUpdater --run vim-plugins-updater -i vim-plugin-names -o generated.nix --no-commit 254 255 ``` 255 256 256 257 with the contents of `vim-plugin-names` being for example: ··· 264 265 265 266 ```nix 266 267 myVimPlugins = pkgs.vimPlugins.extend ( 267 - (pkgs.callPackage generated.nix {}) 268 + (pkgs.callPackage ./generated.nix {}) 268 269 ); 269 270 ``` 270 271
+28 -1
lib/fileset/README.md
··· 41 41 - `_type` (constant string `"fileset"`): 42 42 Tag to indicate this value is a file set. 43 43 44 - - `_internalVersion` (constant `2`, the current version): 44 + - `_internalVersion` (constant `3`, the current version): 45 45 Version of the representation. 46 + 47 + - `_internalIsEmptyWithoutBase` (bool): 48 + Whether this file set is the empty file set without a base path. 49 + If `true`, `_internalBase*` and `_internalTree` are not set. 50 + This is the only way to represent an empty file set without needing a base path. 51 + 52 + Such a value can be used as the identity element for `union` and the return value of `unions []` and co. 46 53 47 54 - `_internalBase` (path): 48 55 Any files outside of this path cannot influence the set of files. ··· 110 117 only removing files explicitly referenced by paths can break a file set expression. 111 118 - (+) This can be removed later, if we discover it's too restrictive 112 119 - (-) It leads to errors when a sensible result could sometimes be returned, such as in the above example. 120 + 121 + ### Empty file set without a base 122 + 123 + There is a special representation for an empty file set without a base path. 124 + This is used for return values that should be empty but when there's no base path that would makes sense. 125 + 126 + Arguments: 127 + - Alternative: This could also be represented using `_internalBase = /.` and `_internalTree = null`. 128 + - (+) Removes the need for a special representation. 129 + - (-) Due to [influence tracking](#influence-tracking), 130 + `union empty ./.` would have `/.` as the base path, 131 + which would then prevent `toSource { root = ./.; fileset = union empty ./.; }` from working, 132 + which is not as one would expect. 133 + - (-) With the assumption that there can be multiple filesystem roots (as established with the [path library](../path/README.md)), 134 + this would have to cause an error with `union empty pathWithAnotherFilesystemRoot`, 135 + which is not as one would expect. 136 + - Alternative: Do not have such a value and error when it would be needed as a return value 137 + - (+) Removes the need for a special representation. 138 + - (-) Leaves us with no identity element for `union` and no reasonable return value for `unions []`. 139 + From a set theory perspective, which has a well-known notion of empty sets, this is unintuitive. 113 140 114 141 ### Empty directories 115 142
+2 -5
lib/fileset/default.nix
··· 156 156 lib.fileset.toSource: `root` is of type ${typeOf root}, but it should be a path instead.'' 157 157 # Currently all Nix paths have the same filesystem root, but this could change in the future. 158 158 # See also ../path/README.md 159 - else if rootFilesystemRoot != filesetFilesystemRoot then 159 + else if ! fileset._internalIsEmptyWithoutBase && rootFilesystemRoot != filesetFilesystemRoot then 160 160 throw '' 161 161 lib.fileset.toSource: Filesystem roots are not the same for `fileset` and `root` ("${toString root}"): 162 162 `root`: root "${toString rootFilesystemRoot}" ··· 170 170 lib.fileset.toSource: `root` (${toString root}) is a file, but it should be a directory instead. Potential solutions: 171 171 - If you want to import the file into the store _without_ a containing directory, use string interpolation or `builtins.path` instead of this function. 172 172 - If you want to import the file into the store _with_ a containing directory, set `root` to the containing directory, such as ${toString (dirOf root)}, and set `fileset` to the file path.'' 173 - else if ! hasPrefix root fileset._internalBase then 173 + else if ! fileset._internalIsEmptyWithoutBase && ! hasPrefix root fileset._internalBase then 174 174 throw '' 175 175 lib.fileset.toSource: `fileset` could contain files in ${toString fileset._internalBase}, which is not under the `root` (${toString root}). Potential solutions: 176 176 - Set `root` to ${toString fileset._internalBase} or any directory higher up. This changes the layout of the resulting store path. ··· 264 264 filesets: 265 265 if ! isList filesets then 266 266 throw "lib.fileset.unions: Expected argument to be a list, but got a ${typeOf filesets}." 267 - else if filesets == [ ] then 268 - # TODO: This could be supported, but requires an extra internal representation for the empty file set, which would be special for not having a base path. 269 - throw "lib.fileset.unions: Expected argument to be a list with at least one element, but it contains no elements." 270 267 else 271 268 pipe filesets [ 272 269 # Annotate the elements with context, used by _coerceMany for better errors
+56 -13
lib/fileset/internal.nix
··· 28 28 drop 29 29 elemAt 30 30 filter 31 + findFirst 31 32 findFirstIndex 32 33 foldl' 33 34 head ··· 64 65 # - Increment this version 65 66 # - Add an additional migration function below 66 67 # - Update the description of the internal representation in ./README.md 67 - _currentVersion = 2; 68 + _currentVersion = 3; 68 69 69 70 # Migrations between versions. The 0th element converts from v0 to v1, and so on 70 71 migrations = [ ··· 89 90 _internalVersion = 2; 90 91 } 91 92 ) 93 + 94 + # Convert v2 into v3: filesetTree's now have a representation for an empty file set without a base path 95 + ( 96 + filesetV2: 97 + filesetV2 // { 98 + # All v1 file sets are not the new empty file set 99 + _internalIsEmptyWithoutBase = false; 100 + _internalVersion = 3; 101 + } 102 + ) 92 103 ]; 93 104 105 + _noEvalMessage = '' 106 + lib.fileset: Directly evaluating a file set is not supported. Use `lib.fileset.toSource` to turn it into a usable source instead.''; 107 + 108 + # The empty file set without a base path 109 + _emptyWithoutBase = { 110 + _type = "fileset"; 111 + 112 + _internalVersion = _currentVersion; 113 + 114 + # The one and only! 115 + _internalIsEmptyWithoutBase = true; 116 + 117 + # Double __ to make it be evaluated and ordered first 118 + __noEval = throw _noEvalMessage; 119 + }; 120 + 94 121 # Create a fileset, see ./README.md#fileset 95 122 # Type: path -> filesetTree -> fileset 96 123 _create = base: tree: ··· 103 130 _type = "fileset"; 104 131 105 132 _internalVersion = _currentVersion; 133 + 134 + _internalIsEmptyWithoutBase = false; 106 135 _internalBase = base; 107 136 _internalBaseRoot = parts.root; 108 137 _internalBaseComponents = components parts.subpath; 109 138 _internalTree = tree; 110 139 111 140 # Double __ to make it be evaluated and ordered first 112 - __noEval = throw '' 113 - lib.fileset: Directly evaluating a file set is not supported. Use `lib.fileset.toSource` to turn it into a usable source instead.''; 141 + __noEval = throw _noEvalMessage; 114 142 }; 115 143 116 144 # Coerce a value to a fileset, erroring when the value cannot be coerced. ··· 155 183 _coerce "${functionContext}: ${context}" value 156 184 ) list; 157 185 158 - firstBaseRoot = (head filesets)._internalBaseRoot; 186 + # Find the first value with a base, there may be none! 187 + firstWithBase = findFirst (fileset: ! fileset._internalIsEmptyWithoutBase) null filesets; 188 + # This value is only accessed if first != null 189 + firstBaseRoot = firstWithBase._internalBaseRoot; 159 190 160 191 # Finds the first element with a filesystem root different than the first element, if any 161 192 differentIndex = findFirstIndex (fileset: 162 - firstBaseRoot != fileset._internalBaseRoot 193 + # The empty value without a base doesn't have a base path 194 + ! fileset._internalIsEmptyWithoutBase 195 + && firstBaseRoot != fileset._internalBaseRoot 163 196 ) null filesets; 164 197 in 165 - if differentIndex != null then 198 + # Only evaluates `differentIndex` if there are any elements with a base 199 + if firstWithBase != null && differentIndex != null then 166 200 throw '' 167 201 ${functionContext}: Filesystem roots are not the same: 168 202 ${(head list).context}: root "${toString firstBaseRoot}" ··· 311 345 # Special case because the code below assumes that the _internalBase is always included in the result 312 346 # which shouldn't be done when we have no files at all in the base 313 347 # This also forces the tree before returning the filter, leads to earlier error messages 314 - if tree == null then 348 + if fileset._internalIsEmptyWithoutBase || tree == null then 315 349 empty 316 350 else 317 351 nonEmpty; ··· 321 355 # Type: [ Fileset ] -> Fileset 322 356 _unionMany = filesets: 323 357 let 324 - first = head filesets; 358 + # All filesets that have a base, aka not the ones that are the empty value without a base 359 + filesetsWithBase = filter (fileset: ! fileset._internalIsEmptyWithoutBase) filesets; 360 + 361 + # The first fileset that has a base. 362 + # This value is only accessed if there are at all. 363 + firstWithBase = head filesetsWithBase; 325 364 326 365 # To be able to union filesetTree's together, they need to have the same base path. 327 366 # Base paths can be unioned by taking their common prefix, ··· 332 371 # so this cannot cause a stack overflow due to a build-up of unevaluated thunks. 333 372 commonBaseComponents = foldl' 334 373 (components: el: commonPrefix components el._internalBaseComponents) 335 - first._internalBaseComponents 374 + firstWithBase._internalBaseComponents 336 375 # We could also not do the `tail` here to avoid a list allocation, 337 376 # but then we'd have to pay for a potentially expensive 338 377 # but unnecessary `commonPrefix` call 339 - (tail filesets); 378 + (tail filesetsWithBase); 340 379 341 380 # The common base path assembled from a filesystem root and the common components 342 - commonBase = append first._internalBaseRoot (join commonBaseComponents); 381 + commonBase = append firstWithBase._internalBaseRoot (join commonBaseComponents); 343 382 344 383 # A list of filesetTree's that all have the same base path 345 384 # This is achieved by nesting the trees into the components they have over the common base path ··· 351 390 setAttrByPath 352 391 (drop (length commonBaseComponents) fileset._internalBaseComponents) 353 392 fileset._internalTree 354 - ) filesets; 393 + ) filesetsWithBase; 355 394 356 395 # Folds all trees together into a single one using _unionTree 357 396 # We do not use a fold here because it would cause a thunk build-up 358 397 # which could cause a stack overflow for a large number of trees 359 398 resultTree = _unionTrees trees; 360 399 in 361 - _create commonBase resultTree; 400 + # If there's no values with a base, we have no files 401 + if filesetsWithBase == [ ] then 402 + _emptyWithoutBase 403 + else 404 + _create commonBase resultTree; 362 405 363 406 # The union of multiple filesetTree's with the same base path. 364 407 # Later elements are only evaluated if necessary.
+40 -13
lib/fileset/tests.sh
··· 282 282 283 283 # File sets cannot be evaluated directly 284 284 expectFailure 'union ./. ./.' 'lib.fileset: Directly evaluating a file set is not supported. Use `lib.fileset.toSource` to turn it into a usable source instead.' 285 + expectFailure '_emptyWithoutBase' 'lib.fileset: Directly evaluating a file set is not supported. Use `lib.fileset.toSource` to turn it into a usable source instead.' 285 286 286 287 # Past versions of the internal representation are supported 287 288 expectEqual '_coerce "<tests>: value" { _type = "fileset"; _internalVersion = 0; _internalBase = ./.; }' \ 288 - '{ _internalBase = ./.; _internalBaseComponents = path.subpath.components (path.splitRoot ./.).subpath; _internalBaseRoot = /.; _internalVersion = 2; _type = "fileset"; }' 289 + '{ _internalBase = ./.; _internalBaseComponents = path.subpath.components (path.splitRoot ./.).subpath; _internalBaseRoot = /.; _internalIsEmptyWithoutBase = false; _internalVersion = 3; _type = "fileset"; }' 289 290 expectEqual '_coerce "<tests>: value" { _type = "fileset"; _internalVersion = 1; }' \ 290 - '{ _type = "fileset"; _internalVersion = 2; }' 291 + '{ _type = "fileset"; _internalIsEmptyWithoutBase = false; _internalVersion = 3; }' 292 + expectEqual '_coerce "<tests>: value" { _type = "fileset"; _internalVersion = 2; }' \ 293 + '{ _type = "fileset"; _internalIsEmptyWithoutBase = false; _internalVersion = 3; }' 291 294 292 295 # Future versions of the internal representation are unsupported 293 - expectFailure '_coerce "<tests>: value" { _type = "fileset"; _internalVersion = 3; }' '<tests>: value is a file set created from a future version of the file set library with a different internal representation: 294 - \s*- Internal version of the file set: 3 295 - \s*- Internal version of the library: 2 296 + expectFailure '_coerce "<tests>: value" { _type = "fileset"; _internalVersion = 4; }' '<tests>: value is a file set created from a future version of the file set library with a different internal representation: 297 + \s*- Internal version of the file set: 4 298 + \s*- Internal version of the library: 3 296 299 \s*Make sure to update your Nixpkgs to have a newer version of `lib.fileset`.' 297 300 298 301 # _create followed by _coerce should give the inputs back without any validation 299 302 expectEqual '{ 300 303 inherit (_coerce "<test>" (_create ./. "directory")) 301 304 _internalVersion _internalBase _internalTree; 302 - }' '{ _internalBase = ./.; _internalTree = "directory"; _internalVersion = 2; }' 305 + }' '{ _internalBase = ./.; _internalTree = "directory"; _internalVersion = 3; }' 303 306 304 307 #### Resulting store path #### 305 308 ··· 310 313 tree=( 311 314 ) 312 315 checkFileset './.' 316 + 317 + # The empty value without a base should also result in an empty result 318 + tree=( 319 + [a]=0 320 + ) 321 + checkFileset '_emptyWithoutBase' 313 322 314 323 # Directories recursively containing no files are not included 315 324 tree=( ··· 408 417 409 418 # unions needs a list with at least 1 element 410 419 expectFailure 'toSource { root = ./.; fileset = unions null; }' 'lib.fileset.unions: Expected argument to be a list, but got a null.' 411 - expectFailure 'toSource { root = ./.; fileset = unions [ ]; }' 'lib.fileset.unions: Expected argument to be a list with at least one element, but it contains no elements.' 412 420 413 421 # The tree of later arguments should not be evaluated if a former argument already includes all files 414 422 tree=() 415 423 checkFileset 'union ./. (_create ./. (abort "This should not be used!"))' 416 424 checkFileset 'unions [ ./. (_create ./. (abort "This should not be used!")) ]' 417 425 426 + # unions doesn't include any files for an empty list or only empty values without a base 427 + tree=( 428 + [x]=0 429 + [y/z]=0 430 + ) 431 + checkFileset 'unions [ ]' 432 + checkFileset 'unions [ _emptyWithoutBase ]' 433 + checkFileset 'unions [ _emptyWithoutBase _emptyWithoutBase ]' 434 + checkFileset 'union _emptyWithoutBase _emptyWithoutBase' 435 + 436 + # The empty value without a base is the left and right identity of union 437 + tree=( 438 + [x]=1 439 + [y/z]=0 440 + ) 441 + checkFileset 'union ./x _emptyWithoutBase' 442 + checkFileset 'union _emptyWithoutBase ./x' 443 + 418 444 # union doesn't include files that weren't specified 419 445 tree=( 420 446 [x]=1 ··· 467 493 tree[$i/a]=1 468 494 tree[$i/b]=0 469 495 done 470 - ( 471 - # Locally limit the maximum stack size to 100 * 1024 bytes 472 - # If unions was implemented recursively, this would stack overflow 473 - ulimit -s 100 474 - checkFileset 'unions (mapAttrsToList (name: _: ./. + "/${name}/a") (builtins.readDir ./.))' 475 - ) 496 + # This is actually really hard to test: 497 + # A lot of files would be needed to cause a stack overflow. 498 + # And while we could limit the maximum stack size using `ulimit -s`, 499 + # that turns out to not be very deterministic: https://github.com/NixOS/nixpkgs/pull/256417#discussion_r1339396686. 500 + # Meanwhile, the test infra here is not the fastest, creating 10000 would be too slow. 501 + # So, just using 1000 files for now. 502 + checkFileset 'unions (mapAttrsToList (name: _: ./. + "/${name}/a") (builtins.readDir ./.))' 476 503 477 504 # TODO: Once we have combinators and a property testing library, derive property tests from https://en.wikipedia.org/wiki/Algebra_of_sets 478 505
+1
maintainers/scripts/luarocks-packages.csv
··· 89 89 magick,,,,,,donovanglover 90 90 markdown,,,,,, 91 91 mediator_lua,,,,,, 92 + middleclass,,,,,, 92 93 mpack,,,,,, 93 94 moonscript,https://github.com/leafo/moonscript.git,dev-1,,,,arobyn 94 95 nvim-client,https://github.com/neovim/lua-client.git,,,,,
+29 -11
maintainers/scripts/pluginupdate.py
··· 321 321 return plugins 322 322 323 323 324 - def run_nix_expr(expr): 325 - with CleanEnvironment() as nix_path: 324 + 325 + def run_nix_expr(expr, nixpkgs: str): 326 + ''' 327 + :param expr nix expression to fetch current plugins 328 + :param nixpkgs Path towards a nixpkgs checkout 329 + ''' 330 + # local_pkgs = str(Path(__file__).parent.parent.parent) 331 + with CleanEnvironment(nixpkgs) as nix_path: 326 332 cmd = [ 327 333 "nix", 328 334 "eval", ··· 396 402 """CSV spec""" 397 403 print("the update member function should be overriden in subclasses") 398 404 399 - def get_current_plugins(self) -> List[Plugin]: 405 + def get_current_plugins(self, nixpkgs) -> List[Plugin]: 400 406 """To fill the cache""" 401 - data = run_nix_expr(self.get_plugins) 407 + data = run_nix_expr(self.get_plugins, nixpkgs) 402 408 plugins = [] 403 409 for name, attr in data.items(): 404 410 p = Plugin(name, attr["rev"], attr["submodules"], attr["sha256"]) ··· 414 420 raise NotImplementedError() 415 421 416 422 def get_update(self, input_file: str, outfile: str, config: FetchConfig): 417 - cache: Cache = Cache(self.get_current_plugins(), self.cache_file) 423 + cache: Cache = Cache(self.get_current_plugins(self.nixpkgs), self.cache_file) 418 424 _prefetch = functools.partial(prefetch, cache=cache) 419 425 420 426 def update() -> dict: ··· 454 460 ), 455 461 ) 456 462 common.add_argument( 463 + "--nixpkgs", 464 + type=str, 465 + default=os.getcwd(), 466 + help="Adjust log level", 467 + ) 468 + common.add_argument( 457 469 "--input-names", 458 470 "-i", 459 471 dest="input_file", ··· 541 553 command = args.command or "update" 542 554 log.setLevel(LOG_LEVELS[args.debug]) 543 555 log.info("Chose to run command: %s", command) 556 + self.nixpkgs = args.nixpkgs 544 557 545 - if not args.no_commit: 546 - self.nixpkgs_repo = git.Repo(self.root, search_parent_directories=True) 558 + self.nixpkgs_repo = git.Repo(args.nixpkgs, search_parent_directories=True) 547 559 548 560 getattr(self, command)(args) 549 561 550 562 551 563 class CleanEnvironment(object): 564 + def __init__(self, nixpkgs): 565 + self.local_pkgs = nixpkgs 566 + 552 567 def __enter__(self) -> str: 553 - self.old_environ = os.environ.copy() 568 + """ 554 569 local_pkgs = str(Path(__file__).parent.parent.parent) 570 + """ 571 + self.old_environ = os.environ.copy() 555 572 self.empty_config = NamedTemporaryFile() 556 573 self.empty_config.write(b"{}") 557 574 self.empty_config.flush() 558 - os.environ["NIXPKGS_CONFIG"] = self.empty_config.name 559 - return f"localpkgs={local_pkgs}" 575 + # os.environ["NIXPKGS_CONFIG"] = self.empty_config.name 576 + return f"localpkgs={self.local_pkgs}" 560 577 561 578 def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None: 562 579 os.environ.update(self.old_environ) ··· 758 775 759 776 760 777 def update_plugins(editor: Editor, args): 761 - """The main entry function of this module. All input arguments are grouped in the `Editor`.""" 778 + """The main entry function of this module. 779 + All input arguments are grouped in the `Editor`.""" 762 780 763 781 log.info("Start updating plugins") 764 782 fetch_config = FetchConfig(args.proc, args.github_token)
+53 -45
maintainers/scripts/update-luarocks-packages
··· 2 2 #!nix-shell update-luarocks-shell.nix -i python3 3 3 4 4 # format: 5 - # $ nix run nixpkgs.python3Packages.black -c black update.py 5 + # $ nix run nixpkgs#python3Packages.black -- update.py 6 6 # type-check: 7 - # $ nix run nixpkgs.python3Packages.mypy -c mypy update.py 7 + # $ nix run nixpkgs#python3Packages.mypy -- update.py 8 8 # linted: 9 - # $ nix run nixpkgs.python3Packages.flake8 -c flake8 --ignore E501,E265,E402 update.py 9 + # $ nix run nixpkgs#python3Packages.flake8 -- --ignore E501,E265,E402 update.py 10 10 11 11 import inspect 12 12 import os ··· 25 25 log = logging.getLogger() 26 26 log.addHandler(logging.StreamHandler()) 27 27 28 - ROOT = Path(os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))).parent.parent # type: ignore 28 + ROOT = Path(os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))).parent.parent # type: ignore 29 29 import pluginupdate 30 30 from pluginupdate import update_plugins, FetchConfig, CleanEnvironment 31 31 32 - PKG_LIST="maintainers/scripts/luarocks-packages.csv" 33 - TMP_FILE="$(mktemp)" 34 - GENERATED_NIXFILE="pkgs/development/lua-modules/generated-packages.nix" 35 - LUAROCKS_CONFIG="maintainers/scripts/luarocks-config.lua" 32 + PKG_LIST = "maintainers/scripts/luarocks-packages.csv" 33 + TMP_FILE = "$(mktemp)" 34 + GENERATED_NIXFILE = "pkgs/development/lua-modules/generated-packages.nix" 35 + LUAROCKS_CONFIG = "maintainers/scripts/luarocks-config.lua" 36 36 37 37 HEADER = """/* {GENERATED_NIXFILE} is an auto-generated file -- DO NOT EDIT! 38 38 Regenerate it with: ··· 40 40 41 41 You can customize the generated packages in pkgs/development/lua-modules/overrides.nix 42 42 */ 43 - """.format(GENERATED_NIXFILE=GENERATED_NIXFILE) 43 + """.format( 44 + GENERATED_NIXFILE=GENERATED_NIXFILE 45 + ) 44 46 45 - FOOTER=""" 47 + FOOTER = """ 46 48 } 47 49 /* GENERATED - do not edit this file */ 48 50 """ 49 51 52 + 50 53 @dataclass 51 54 class LuaPlugin: 52 55 name: str 53 - '''Name of the plugin, as seen on luarocks.org''' 56 + """Name of the plugin, as seen on luarocks.org""" 54 57 src: str 55 - '''address to the git repository''' 58 + """address to the git repository""" 56 59 ref: Optional[str] 57 - '''git reference (branch name/tag)''' 60 + """git reference (branch name/tag)""" 58 61 version: Optional[str] 59 - '''Set it to pin a package ''' 62 + """Set it to pin a package """ 60 63 server: Optional[str] 61 - '''luarocks.org registers packages under different manifests. 64 + """luarocks.org registers packages under different manifests. 62 65 Its value can be 'http://luarocks.org/dev' 63 - ''' 66 + """ 64 67 luaversion: Optional[str] 65 - '''Attribue of the lua interpreter if a package is available only for a specific lua version''' 68 + """Attribue of the lua interpreter if a package is available only for a specific lua version""" 66 69 maintainers: Optional[str] 67 - ''' Optional string listing maintainers separated by spaces''' 70 + """ Optional string listing maintainers separated by spaces""" 68 71 69 72 @property 70 73 def normalized_name(self) -> str: 71 74 return self.name.replace(".", "-") 75 + 72 76 73 77 # rename Editor to LangUpdate/ EcosystemUpdater 74 78 class LuaEditor(pluginupdate.Editor): ··· 77 81 78 82 def load_plugin_spec(self, input_file) -> List[LuaPlugin]: 79 83 luaPackages = [] 80 - csvfilename=input_file 84 + csvfilename = input_file 81 85 log.info("Loading package descriptions from %s", csvfilename) 82 86 83 - with open(csvfilename, newline='') as csvfile: 84 - reader = csv.DictReader(csvfile,) 87 + with open(csvfilename, newline="") as csvfile: 88 + reader = csv.DictReader( 89 + csvfile, 90 + ) 85 91 for row in reader: 86 92 # name,server,version,luaversion,maintainers 87 93 plugin = LuaPlugin(**row) ··· 91 97 def update(self, args): 92 98 update_plugins(self, args) 93 99 94 - def generate_nix( 95 - self, 96 - results: List[Tuple[LuaPlugin, str]], 97 - outfilename: str 98 - ): 99 - 100 + def generate_nix(self, results: List[Tuple[LuaPlugin, str]], outfilename: str): 100 101 with tempfile.NamedTemporaryFile("w+") as f: 101 102 f.write(HEADER) 102 103 header2 = textwrap.dedent( 103 - # header2 = inspect.cleandoc( 104 - """ 104 + # header2 = inspect.cleandoc( 105 + """ 105 106 { self, stdenv, lib, fetchurl, fetchgit, callPackage, ... } @ args: 106 107 final: prev: 107 108 { 108 - """) 109 + """ 110 + ) 109 111 f.write(header2) 110 - for (plugin, nix_expr) in results: 112 + for plugin, nix_expr in results: 111 113 f.write(f"{plugin.normalized_name} = {nix_expr}") 112 114 f.write(FOOTER) 113 115 f.flush() ··· 156 158 # luaPackages.append(plugin) 157 159 pass 158 160 161 + 159 162 def generate_pkg_nix(plug: LuaPlugin): 160 - ''' 163 + """ 161 164 Generate nix expression for a luarocks package 162 165 Our cache key associates "p.name-p.version" to its rockspec 163 - ''' 166 + """ 164 167 log.debug("Generating nix expression for %s", plug.name) 165 168 custom_env = os.environ.copy() 166 - custom_env['LUAROCKS_CONFIG'] = LUAROCKS_CONFIG 169 + custom_env["LUAROCKS_CONFIG"] = LUAROCKS_CONFIG 167 170 168 171 # we add --dev else luarocks wont find all the "scm" (=dev) versions of the 169 172 # packages 170 - # , "--dev" 171 - cmd = [ "luarocks", "nix" ] 173 + # , "--dev" 174 + cmd = ["luarocks", "nix"] 172 175 173 176 if plug.maintainers: 174 177 cmd.append(f"--maintainers={plug.maintainers}") ··· 176 179 # if plug.server == "src": 177 180 if plug.src != "": 178 181 if plug.src is None: 179 - msg = "src must be set when 'version' is set to \"src\" for package %s" % plug.name 182 + msg = ( 183 + "src must be set when 'version' is set to \"src\" for package %s" 184 + % plug.name 185 + ) 180 186 log.error(msg) 181 187 raise RuntimeError(msg) 182 188 log.debug("Updating from source %s", plug.src) ··· 185 191 else: 186 192 cmd.append(plug.name) 187 193 if plug.version and plug.version != "src": 188 - 189 194 cmd.append(plug.version) 190 195 191 196 if plug.server != "src" and plug.server: ··· 194 199 if plug.luaversion: 195 200 cmd.append(f"--lua-version={plug.luaversion}") 196 201 197 - log.debug("running %s", ' '.join(cmd)) 202 + log.debug("running %s", " ".join(cmd)) 198 203 199 204 output = subprocess.check_output(cmd, env=custom_env, text=True) 200 205 output = "callPackage(" + output.strip() + ") {};\n\n" 201 206 return (plug, output) 202 207 203 - def main(): 204 208 205 - editor = LuaEditor("lua", ROOT, '', 206 - default_in = ROOT.joinpath(PKG_LIST), 207 - default_out = ROOT.joinpath(GENERATED_NIXFILE) 208 - ) 209 + def main(): 210 + editor = LuaEditor( 211 + "lua", 212 + ROOT, 213 + "", 214 + default_in=ROOT.joinpath(PKG_LIST), 215 + default_out=ROOT.joinpath(GENERATED_NIXFILE), 216 + ) 209 217 210 218 editor.run() 211 219 212 - if __name__ == "__main__": 213 220 221 + if __name__ == "__main__": 214 222 main() 215 223 216 224 # vim: set ft=python noet fdm=manual fenc=utf-8 ff=unix sts=0 sw=4 ts=4 :
+29
nixos/modules/services/x11/display-managers/sddm.nix
··· 33 33 34 34 # Implementation is done via pkgs/applications/display-managers/sddm/sddm-default-session.patch 35 35 DefaultSession = optionalString (dmcfg.defaultSession != null) "${dmcfg.defaultSession}.desktop"; 36 + 37 + DisplayServer = if cfg.wayland.enable then "wayland" else "x11"; 36 38 }; 37 39 38 40 Theme = { ··· 62 64 Wayland = { 63 65 EnableHiDPI = cfg.enableHidpi; 64 66 SessionDir = "${dmcfg.sessionData.desktops}/share/wayland-sessions"; 67 + CompositorCommand = lib.optionalString cfg.wayland.enable cfg.wayland.compositorCommand; 65 68 }; 66 69 } // lib.optionalAttrs dmcfg.autoLogin.enable { 67 70 Autologin = { ··· 182 185 description = lib.mdDoc '' 183 186 Minimum user ID for auto-login user. 184 187 ''; 188 + }; 189 + }; 190 + 191 + # Experimental Wayland support 192 + wayland = { 193 + enable = mkEnableOption "experimental Wayland support"; 194 + 195 + compositorCommand = mkOption { 196 + type = types.str; 197 + internal = true; 198 + 199 + # This is basically the upstream default, but with Weston referenced by full path 200 + # and the configuration generated from NixOS options. 201 + default = let westonIni = (pkgs.formats.ini {}).generate "weston.ini" { 202 + libinput = { 203 + enable-tap = xcfg.libinput.mouse.tapping; 204 + left-handed = xcfg.libinput.mouse.leftHanded; 205 + }; 206 + keyboard = { 207 + keymap_model = xcfg.xkbModel; 208 + keymap_layout = xcfg.layout; 209 + keymap_variant = xcfg.xkbVariant; 210 + keymap_options = xcfg.xkbOptions; 211 + }; 212 + }; in "${pkgs.weston}/bin/weston --shell=fullscreen-shell.so -c ${westonIni}"; 213 + description = lib.mdDoc "Command used to start the selected compositor"; 185 214 }; 186 215 }; 187 216 };
+20 -1
pkgs/applications/display-managers/sddm/default.nix
··· 1 - { mkDerivation, lib, fetchFromGitHub 1 + { mkDerivation, lib, fetchFromGitHub, fetchpatch 2 2 , cmake, extra-cmake-modules, pkg-config, qttools 3 3 , libxcb, libXau, pam, qtbase, qtdeclarative, qtquickcontrols2, systemd, xkeyboardconfig 4 4 }: ··· 16 16 patches = [ 17 17 ./sddm-ignore-config-mtime.patch 18 18 ./sddm-default-session.patch 19 + 20 + # FIXME: all of the following are Wayland related backports, drop in next release 21 + # Don't use Qt virtual keyboard on Wayland 22 + (fetchpatch { 23 + url = "https://github.com/sddm/sddm/commit/07631f2ef00a52d883d0fd47ff7d1e1a6bc6358f.patch"; 24 + hash = "sha256-HTSw3YeT4z9ldr4sLmsnrPQ+LA8/a6XxrF+KUFqXUlM="; 25 + }) 26 + 27 + # Fix running sddm-greeter manually in Wayland sessions 28 + (fetchpatch { 29 + url = "https://github.com/sddm/sddm/commit/e27b70957505dc7b986ab2fa68219af546c63344.patch"; 30 + hash = "sha256-6hzrFeS2epL9vzLOA29ZA/dD3Jd4rPMBHhNp+FBq1bA="; 31 + }) 32 + 33 + # Prefer GreeterEnvironment over PAM environment 34 + (fetchpatch { 35 + url = "https://github.com/sddm/sddm/commit/9e7791d5fb375933d20f590daba9947195515b26.patch"; 36 + hash = "sha256-JNsVTJNZV6T+SPqPkaFf3wg8NDqXGx8NZ4qQfZWOli4="; 37 + }) 19 38 ]; 20 39 21 40 postPatch = ''
-96
pkgs/applications/editors/atom/default.nix
··· 1 - { lib, stdenv, pkgs, fetchurl, wrapGAppsHook, glib, gtk3, atomEnv }: 2 - 3 - let 4 - versions = { 5 - atom = { 6 - version = "1.60.0"; 7 - sha256 = "sha256-XHwCWQYrnUkR0lN7/Or/Uxb53hEWmIQKkNfNSX34kaY="; 8 - }; 9 - 10 - atom-beta = { 11 - version = "1.61.0"; 12 - beta = 0; 13 - sha256 = "sha256-viY/is7Nh3tlIkHhUBWtgMAjD6HDiC0pyJpUjsP5pRY="; 14 - broken = true; 15 - }; 16 - }; 17 - 18 - common = pname: {version, sha256, beta ? null, broken ? false}: 19 - let fullVersion = version + lib.optionalString (beta != null) "-beta${toString beta}"; 20 - name = "${pname}-${fullVersion}"; 21 - in stdenv.mkDerivation { 22 - inherit name; 23 - version = fullVersion; 24 - 25 - src = fetchurl { 26 - url = "https://github.com/atom/atom/releases/download/v${fullVersion}/atom-amd64.deb"; 27 - name = "${name}.deb"; 28 - inherit sha256; 29 - }; 30 - 31 - nativeBuildInputs = [ 32 - wrapGAppsHook # Fix error: GLib-GIO-ERROR **: No GSettings schemas are installed on the system 33 - ]; 34 - 35 - buildInputs = [ 36 - gtk3 # Fix error: GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed 37 - ]; 38 - 39 - dontBuild = true; 40 - dontConfigure = true; 41 - 42 - unpackPhase = '' 43 - ar p $src data.tar.xz | tar xJ ./usr/ 44 - ''; 45 - 46 - installPhase = '' 47 - runHook preInstall 48 - 49 - mkdir -p $out 50 - mv usr/bin usr/share $out 51 - rm -rf $out/share/lintian 52 - 53 - runHook postInstall 54 - ''; 55 - 56 - preFixup = '' 57 - gappsWrapperArgs+=( 58 - # needed for gio executable to be able to delete files 59 - --prefix "PATH" : "${glib.bin}/bin" 60 - ) 61 - ''; 62 - 63 - postFixup = '' 64 - share=$out/share/${pname} 65 - 66 - patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 67 - --set-rpath "${atomEnv.libPath}:$share" \ 68 - $share/atom 69 - patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 70 - --set-rpath "${atomEnv.libPath}" \ 71 - $share/resources/app/apm/bin/node 72 - patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 73 - $share/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux 74 - 75 - dugite=$share/resources/app.asar.unpacked/node_modules/dugite 76 - rm -f $dugite/git/bin/git 77 - ln -s ${pkgs.git}/bin/git $dugite/git/bin/git 78 - rm -f $dugite/git/libexec/git-core/git 79 - ln -s ${pkgs.git}/bin/git $dugite/git/libexec/git-core/git 80 - 81 - find $share -name "*.node" -exec patchelf --set-rpath "${atomEnv.libPath}:$share" {} \; 82 - 83 - sed -i -e "s|Exec=.*$|Exec=$out/bin/${pname}|" $out/share/applications/${pname}.desktop 84 - ''; 85 - 86 - meta = with lib; { 87 - description = "A hackable text editor for the 21st Century"; 88 - homepage = "https://atom.io/"; 89 - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 90 - license = licenses.mit; 91 - maintainers = with maintainers; [ offline ysndr ]; 92 - platforms = platforms.x86_64; 93 - inherit broken; 94 - }; 95 - }; 96 - in lib.mapAttrs common versions
-23
pkgs/applications/editors/atom/env.nix
··· 1 - { stdenv, lib, zlib, glib, alsa-lib, dbus, gtk3, atk, pango, freetype, fontconfig 2 - , gdk-pixbuf, cairo, cups, expat, libgpg-error, nspr 3 - , nss, xorg, libcap, systemd, libnotify, libsecret, libuuid, at-spi2-atk 4 - , at-spi2-core, libdbusmenu, libdrm, mesa 5 - }: 6 - 7 - let 8 - packages = [ 9 - stdenv.cc.cc zlib glib dbus gtk3 atk pango freetype 10 - fontconfig gdk-pixbuf cairo cups expat libgpg-error alsa-lib nspr nss 11 - xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst 12 - xorg.libXcomposite xorg.libXi xorg.libXfixes xorg.libXrandr 13 - xorg.libXcursor xorg.libxkbfile xorg.libXScrnSaver libcap systemd libnotify 14 - xorg.libxcb libsecret libuuid at-spi2-atk at-spi2-core libdbusmenu 15 - libdrm 16 - mesa # required for libgbm 17 - ]; 18 - 19 - libPathNative = lib.makeLibraryPath packages; 20 - libPath64 = lib.makeSearchPathOutput "lib" "lib64" packages; 21 - libPath = "${libPathNative}:${libPath64}"; 22 - 23 - in { inherit packages libPath; }
+25 -2
pkgs/applications/editors/neovim/default.nix
··· 7 7 , buildPackages 8 8 , treesitter-parsers ? import ./treesitter-parsers.nix { inherit fetchurl; } 9 9 , CoreServices 10 + , fixDarwinDylibNames 10 11 , glibcLocales ? null, procps ? null 11 12 12 13 # now defaults to false because some tests can be flaky (clipboard etc), see ··· 16 17 }: 17 18 18 19 let 20 + nvim-lpeg-dylib = luapkgs: if stdenv.isDarwin 21 + then (luapkgs.lpeg.overrideAttrs (oa: { 22 + preConfigure = '' 23 + # neovim wants clang .dylib 24 + sed -i makefile -e "s/CC = gcc/CC = clang/" 25 + sed -i makefile -e "s/-bundle/-dynamiclib/" 26 + ''; 27 + preBuild = '' 28 + # there seems to be implicit calls to Makefile from luarocks, we need to 29 + # add a stage to build our dylib 30 + make macosx 31 + mkdir -p $out/lib 32 + mv lpeg.so $out/lib/lpeg.dylib 33 + ''; 34 + nativeBuildInputs = 35 + oa.nativeBuildInputs 36 + ++ ( 37 + lib.optional stdenv.isDarwin fixDarwinDylibNames 38 + ); 39 + })) 40 + else luapkgs.lpeg; 19 41 requiredLuaPkgs = ps: (with ps; [ 20 - lpeg 42 + (nvim-lpeg-dylib ps) 21 43 luabitop 22 44 mpack 23 45 ] ++ lib.optionals doCheck [ ··· 40 62 deterministicStringIds = true; 41 63 self = deterministicLuajit; 42 64 }; 43 - in deterministicLuajit.withPackages(ps: [ ps.mpack ps.lpeg ]) 65 + in deterministicLuajit.withPackages(ps: [ ps.mpack (nvim-lpeg-dylib ps) ]) 44 66 else lua.luaOnBuild; 45 67 46 68 pyEnv = python3.withPackages(ps: with ps; [ pynvim msgpack ]); 69 + 47 70 in 48 71 stdenv.mkDerivation rec { 49 72 pname = "neovim-unwrapped";
+38 -6
pkgs/applications/editors/pulsar/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , git 4 - , runtimeShell 5 4 , fetchurl 6 5 , wrapGAppsHook 6 + , alsa-lib 7 + , at-spi2-atk 8 + , cairo 9 + , cups 10 + , dbus 11 + , expat 12 + , gdk-pixbuf 7 13 , glib 8 14 , gtk3 9 - , atomEnv 15 + , mesa 16 + , nss 17 + , nspr 10 18 , xorg 19 + , libdrm 20 + , libsecret 11 21 , libxkbcommon 12 - , hunspell 22 + , pango 23 + , systemd 13 24 , hunspellDicts 14 25 , useHunspell ? true 15 26 , languages ? [ "en_US" ] 16 27 , withNemoAction ? true 17 28 , makeDesktopItem 18 29 , copyDesktopItems 19 - , makeWrapper 20 30 , asar 21 31 , python3 22 32 }: ··· 32 42 aarch64-linux.hash = "sha256-GdPnmhMZR3Y2WB2j98JEWomdKFZuTgxN8oga/tBwA4U="; 33 43 }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 34 44 35 - additionalLibs = lib.makeLibraryPath [ 45 + newLibpath = lib.makeLibraryPath [ 46 + alsa-lib 47 + at-spi2-atk 48 + cairo 49 + cups 50 + dbus 51 + expat 52 + gdk-pixbuf 53 + glib 54 + gtk3 55 + libsecret 56 + mesa 57 + nss 58 + nspr 59 + libdrm 60 + xorg.libX11 61 + xorg.libxcb 62 + xorg.libXcomposite 63 + xorg.libXdamage 64 + xorg.libXext 65 + xorg.libXfixes 66 + xorg.libXrandr 36 67 xorg.libxshmfence 37 68 libxkbcommon 38 69 xorg.libxkbfile 70 + pango 39 71 stdenv.cc.cc.lib 72 + systemd 40 73 ]; 41 - newLibpath = "${atomEnv.libPath}:${additionalLibs}"; 42 74 43 75 # Hunspell 44 76 hunspellDirs = builtins.map (lang: "${hunspellDicts.${lang}}/share/hunspell") languages;
+135 -135
pkgs/applications/editors/vim/plugins/generated.nix
··· 173 173 174 174 LazyVim = buildVimPlugin { 175 175 pname = "LazyVim"; 176 - version = "2023-09-29"; 176 + version = "2023-10-01"; 177 177 src = fetchFromGitHub { 178 178 owner = "LazyVim"; 179 179 repo = "LazyVim"; 180 - rev = "6f9adbd4fba4132bd4f12404bd2b90c4a28ff136"; 181 - sha256 = "0d7grxa6pvsi5az4p22dvb6sxjhwx78ivbf80zq0dzvv96dvlyzx"; 180 + rev = "dd95de5dbe31ecb106305920cbd0e24e26c17afe"; 181 + sha256 = "1vmh1b8mwpwvfyigxhc5pnda1ddyccqgjz3jmn2pm101bwgg6424"; 182 182 }; 183 183 meta.homepage = "https://github.com/LazyVim/LazyVim/"; 184 184 }; ··· 305 305 306 306 SchemaStore-nvim = buildVimPlugin { 307 307 pname = "SchemaStore.nvim"; 308 - version = "2023-09-29"; 308 + version = "2023-09-30"; 309 309 src = fetchFromGitHub { 310 310 owner = "b0o"; 311 311 repo = "SchemaStore.nvim"; 312 - rev = "9a4e2f8da367ab671a6d7bf8b5b82e125c71a645"; 313 - sha256 = "1p3kpsjvn9snisak89h0yifkyxq07vqg2c0f7vm3hzc99bs0zrxz"; 312 + rev = "daf2f4397e97c0f12b89068eec35078c61069ceb"; 313 + sha256 = "1yzg8qld4w4xzdb0v3vls47kf753d8d8lfcsz6fl40sprwdfj8px"; 314 314 }; 315 315 meta.homepage = "https://github.com/b0o/SchemaStore.nvim/"; 316 316 }; ··· 991 991 992 992 base46 = buildVimPlugin { 993 993 pname = "base46"; 994 - version = "2023-09-14"; 994 + version = "2023-10-01"; 995 995 src = fetchFromGitHub { 996 996 owner = "nvchad"; 997 997 repo = "base46"; 998 - rev = "fc7aafe0d0348323d3fd41689cde95af86d4c7ba"; 999 - sha256 = "0b0r9hf7a7a4ipsqcc7q97ijk8p5a9lq9kqh93a92kq1x2qhlf2j"; 998 + rev = "104510cb339071f4350acdc30d1630ce15dca8b1"; 999 + sha256 = "0bwgdvfvwikvlbb97n0iddpk3bw6nwl02596nb567s4xkijx91nk"; 1000 1000 }; 1001 1001 meta.homepage = "https://github.com/nvchad/base46/"; 1002 1002 }; ··· 2023 2023 2024 2024 coc-nvim = buildVimPlugin { 2025 2025 pname = "coc.nvim"; 2026 - version = "2023-09-21"; 2026 + version = "2023-09-30"; 2027 2027 src = fetchFromGitHub { 2028 2028 owner = "neoclide"; 2029 2029 repo = "coc.nvim"; 2030 - rev = "e4cee8e6c310663d2d81489dd9155889bbcd8d12"; 2031 - sha256 = "1a59l2lq1rhfhy5iwapv82mz6jzna0z9nl03xi0brfipknhlmsjh"; 2030 + rev = "7b9e1ef0a1399907c51d23b6080b94a5aba4a654"; 2031 + sha256 = "10gdqqz71gbna9wy3awbncbn7m0g6wfn1256bx7ga8b3bsl3nmch"; 2032 2032 }; 2033 2033 meta.homepage = "https://github.com/neoclide/coc.nvim/"; 2034 2034 }; ··· 2551 2551 2552 2552 dashboard-nvim = buildVimPlugin { 2553 2553 pname = "dashboard-nvim"; 2554 - version = "2023-09-27"; 2554 + version = "2023-09-30"; 2555 2555 src = fetchFromGitHub { 2556 2556 owner = "nvimdev"; 2557 2557 repo = "dashboard-nvim"; 2558 - rev = "6b112d40ccf2a7aa6605ce325338c66612c4f7ec"; 2559 - sha256 = "01zlvxafp6vxng14zna9r33586d1pw8ihcl73r631x2jsmyi5zpp"; 2558 + rev = "b2637e92a294068d79cde7929094f050981c5969"; 2559 + sha256 = "0y7s03in2y68c7n81q9a8mfba6s6dz2j8hp7a3kqldy8mhz4mqad"; 2560 2560 }; 2561 2561 meta.homepage = "https://github.com/nvimdev/dashboard-nvim/"; 2562 2562 }; ··· 3021 3021 3022 3022 dressing-nvim = buildVimPlugin { 3023 3023 pname = "dressing.nvim"; 3024 - version = "2023-09-29"; 3024 + version = "2023-09-30"; 3025 3025 src = fetchFromGitHub { 3026 3026 owner = "stevearc"; 3027 3027 repo = "dressing.nvim"; 3028 - rev = "73a7d54b5289000108c7f52402a36cf380fced67"; 3029 - sha256 = "1yafysdnl6irxcwwmir26iff6y2lv2axlss01n3jm6n6fknbvfjy"; 3028 + rev = "8f4d62b7817455896a3c73cab642002072c114bc"; 3029 + sha256 = "0cjn0w4v1n31qgxvwnd7ix1lxjdqhrbllb543lhdc1p48a00sqx1"; 3030 3030 }; 3031 3031 meta.homepage = "https://github.com/stevearc/dressing.nvim/"; 3032 3032 }; 3033 3033 3034 3034 dropbar-nvim = buildVimPlugin { 3035 3035 pname = "dropbar.nvim"; 3036 - version = "2023-09-29"; 3036 + version = "2023-09-30"; 3037 3037 src = fetchFromGitHub { 3038 3038 owner = "Bekaboo"; 3039 3039 repo = "dropbar.nvim"; 3040 - rev = "7a91b7ba15fcf78ba0d0081cbce7e31a73963b1c"; 3041 - sha256 = "0k2m566r86l8hhk9czpcv80bpgzsdk7fna6nna3gf2s8z1ymgbs4"; 3040 + rev = "9c2bc34bf78bbbf1633b41358e9a203a58b7d19f"; 3041 + sha256 = "06l68i8zjgpmzq0yqxbmgl2ncswqpyxxfivjjsm1s1lx5jya97j1"; 3042 3042 }; 3043 3043 meta.homepage = "https://github.com/Bekaboo/dropbar.nvim/"; 3044 3044 }; ··· 3081 3081 3082 3082 edgy-nvim = buildVimPlugin { 3083 3083 pname = "edgy.nvim"; 3084 - version = "2023-07-25"; 3084 + version = "2023-09-30"; 3085 3085 src = fetchFromGitHub { 3086 3086 owner = "folke"; 3087 3087 repo = "edgy.nvim"; 3088 - rev = "4ccc1c67ae2b1a0c55f18c83d03b714e2bb1bae4"; 3089 - sha256 = "0s0h8s2wwg2niacp401j7l3c0knl44awf32clq15h1hcabqvvkn3"; 3088 + rev = "70e334c9cd7915aedde3255ade01ceeebe735b53"; 3089 + sha256 = "0zcm2p3qwiz2vkj4h4jy30dvphb6j6j8kyl3pzaxkiwlqlslsfma"; 3090 3090 }; 3091 3091 meta.homepage = "https://github.com/folke/edgy.nvim/"; 3092 3092 }; ··· 3287 3287 3288 3288 feline-nvim = buildVimPlugin { 3289 3289 pname = "feline.nvim"; 3290 - version = "2023-06-19"; 3290 + version = "2023-09-29"; 3291 3291 src = fetchFromGitHub { 3292 3292 owner = "freddiehaddad"; 3293 3293 repo = "feline.nvim"; 3294 - rev = "c32c2ffcee38f14e157582552fa9ee41c24452d2"; 3295 - sha256 = "1mlwjxyb0w3pdg9ny7q6wjdhq1l35a1g4ylp28vfpnrvhfbbxzvy"; 3294 + rev = "ee9f8afdbe8654001b200530903f1dcbcc3394e6"; 3295 + sha256 = "1x7c6shkx5gxqv7lcby40gkx5f7sr4rgv23pxbzk0l2xy6nsvvmd"; 3296 3296 }; 3297 3297 meta.homepage = "https://github.com/freddiehaddad/feline.nvim/"; 3298 3298 }; ··· 3384 3384 3385 3385 flash-nvim = buildVimPlugin { 3386 3386 pname = "flash.nvim"; 3387 - version = "2023-09-28"; 3387 + version = "2023-10-01"; 3388 3388 src = fetchFromGitHub { 3389 3389 owner = "folke"; 3390 3390 repo = "flash.nvim"; 3391 - rev = "0256d8ecab33a9aa69fdaaf885db22e1103e2a3a"; 3392 - sha256 = "10y0346rpxf8yc3f9wacmbsdvziwy7wv35l4i2a04vrwyqxgz2m4"; 3391 + rev = "eccef9f34ac332e0f1652d7559fe5cbeab614201"; 3392 + sha256 = "1s3vjrz4lcz7lqdxxizj1fdrjax1p5farvi4fr0058k18s8hqqmz"; 3393 3393 }; 3394 3394 meta.homepage = "https://github.com/folke/flash.nvim/"; 3395 3395 }; ··· 3468 3468 3469 3469 flutter-tools-nvim = buildVimPlugin { 3470 3470 pname = "flutter-tools.nvim"; 3471 - version = "2023-09-20"; 3471 + version = "2023-10-01"; 3472 3472 src = fetchFromGitHub { 3473 3473 owner = "akinsho"; 3474 3474 repo = "flutter-tools.nvim"; 3475 - rev = "0b01c71ecf05a2edd955b5b53d808bc64f143069"; 3476 - sha256 = "05lcwwq48ab661aw0mbs72vg0v10qlzjspcyhhvdmzajsgwcdqxs"; 3475 + rev = "1119125206075c4703f2147f964ed0a45f84c6ab"; 3476 + sha256 = "1nm24s024ahfgsgplj5gxan009kxdalwwzdvg1vbysavgxhfzwra"; 3477 3477 }; 3478 3478 meta.homepage = "https://github.com/akinsho/flutter-tools.nvim/"; 3479 3479 }; ··· 3516 3516 3517 3517 friendly-snippets = buildVimPlugin { 3518 3518 pname = "friendly-snippets"; 3519 - version = "2023-09-03"; 3519 + version = "2023-10-01"; 3520 3520 src = fetchFromGitHub { 3521 3521 owner = "rafamadriz"; 3522 3522 repo = "friendly-snippets"; 3523 - rev = "ebf6d6e83494cdd88a54a429340256f4dbb6a052"; 3524 - sha256 = "01z4xqb46xlycbv0w7akrf7rajy9rnl0jml0vk9dngblgcf1x2sp"; 3523 + rev = "43727c2ff84240e55d4069ec3e6158d74cb534b6"; 3524 + sha256 = "1sjk17gn919aa84dkjfagwwjsas9zfkbrk840bjf580k8m83d9m8"; 3525 3525 }; 3526 3526 meta.homepage = "https://github.com/rafamadriz/friendly-snippets/"; 3527 3527 }; ··· 3792 3792 3793 3793 gitsigns-nvim = buildNeovimPlugin { 3794 3794 pname = "gitsigns.nvim"; 3795 - version = "2023-09-24"; 3795 + version = "2023-10-01"; 3796 3796 src = fetchFromGitHub { 3797 3797 owner = "lewis6991"; 3798 3798 repo = "gitsigns.nvim"; 3799 - rev = "bdeba1cec3faddd89146690c10b9a87949c0ee66"; 3800 - sha256 = "0amphagvmvdjrp13nxzl8jjs38dy1qicv71g91h998yjfc7av42l"; 3799 + rev = "e2ca739be75447fb5ccc9bfeb64f7afbc2cee5e6"; 3800 + sha256 = "0x9mwarz61xggw4xdxllzgardi2qxp33bk24x59rqpkb8135bjrz"; 3801 3801 }; 3802 3802 meta.homepage = "https://github.com/lewis6991/gitsigns.nvim/"; 3803 3803 }; ··· 3852 3852 3853 3853 go-nvim = buildVimPlugin { 3854 3854 pname = "go.nvim"; 3855 - version = "2023-09-22"; 3855 + version = "2023-09-30"; 3856 3856 src = fetchFromGitHub { 3857 3857 owner = "ray-x"; 3858 3858 repo = "go.nvim"; 3859 - rev = "019936780060efc64c0f22a47afd08fbbe82e026"; 3860 - sha256 = "05r63f4jgql9drvi4176czmqxcpqfkr0i05vm0mlvak6gfrzc6xk"; 3859 + rev = "2f573a297bea3a483a3607ae7c607a8a08d27993"; 3860 + sha256 = "0knxirf1kimjck9f8mx26m8s9v2vbjmacnr29rm9la96fs5bg2n4"; 3861 3861 }; 3862 3862 meta.homepage = "https://github.com/ray-x/go.nvim/"; 3863 3863 }; ··· 3984 3984 3985 3985 gruvbox-nvim = buildVimPlugin { 3986 3986 pname = "gruvbox.nvim"; 3987 - version = "2023-09-28"; 3987 + version = "2023-09-30"; 3988 3988 src = fetchFromGitHub { 3989 3989 owner = "ellisonleao"; 3990 3990 repo = "gruvbox.nvim"; 3991 - rev = "e810b46367a89e8b733cd100d12a6c8b2fc022c3"; 3992 - sha256 = "1rnzyfwrbcq4i5s7p6w1ig85rjfy7yc0zv3gpwwngjrw2zpnldcs"; 3991 + rev = "61b0b3be2f0cfd521667403a0367298144d6c165"; 3992 + sha256 = "1dphrf8bq088d47macxhx2ql9bq5s9axs9cqwqbp6vkmr4zcx072"; 3993 3993 }; 3994 3994 meta.homepage = "https://github.com/ellisonleao/gruvbox.nvim/"; 3995 3995 }; ··· 4067 4067 4068 4068 haskell-tools-nvim = buildNeovimPlugin { 4069 4069 pname = "haskell-tools.nvim"; 4070 - version = "2023-09-27"; 4070 + version = "2023-10-01"; 4071 4071 src = fetchFromGitHub { 4072 4072 owner = "MrcJkb"; 4073 4073 repo = "haskell-tools.nvim"; 4074 - rev = "ba67f50e8632f1df02526255e2aaf0239cc44e6e"; 4075 - sha256 = "1i2m51q4ccarxqdvj91mf338kagmzk09yq1r8p85ihad5pmijp23"; 4074 + rev = "8b472cf9abf5c2996843894d1231aed5f6653bc2"; 4075 + sha256 = "1msyfigc97vxsbinm404vzd68biy5hgj61ppz2lc96xbyq7r66xd"; 4076 4076 }; 4077 4077 meta.homepage = "https://github.com/MrcJkb/haskell-tools.nvim/"; 4078 4078 }; ··· 4414 4414 4415 4415 indent-blankline-nvim = buildVimPlugin { 4416 4416 pname = "indent-blankline.nvim"; 4417 - version = "2023-09-29"; 4417 + version = "2023-10-01"; 4418 4418 src = fetchFromGitHub { 4419 4419 owner = "lukas-reineke"; 4420 4420 repo = "indent-blankline.nvim"; 4421 - rev = "2ec42d26c933e7a129fe056dfc11a207afff252d"; 4422 - sha256 = "1l2iqv7vb1v93rb9hqchgqlkss7lg5kiwwgb7x5czlxq2xyw7n7x"; 4421 + rev = "3d26bc7ab0e8dfddc0f40c840a8f925dddc2fef6"; 4422 + sha256 = "1p3bxdrj2xibyqw37b1247sz5nqx460d3lr4py3fn0cdgrf3420s"; 4423 4423 }; 4424 4424 meta.homepage = "https://github.com/lukas-reineke/indent-blankline.nvim/"; 4425 4425 }; ··· 4775 4775 4776 4776 lazy-nvim = buildVimPlugin { 4777 4777 pname = "lazy.nvim"; 4778 - version = "2023-09-29"; 4778 + version = "2023-09-30"; 4779 4779 src = fetchFromGitHub { 4780 4780 owner = "folke"; 4781 4781 repo = "lazy.nvim"; 4782 - rev = "6a2c47e6424a3f1e373bfeb714b716f6be13501c"; 4783 - sha256 = "1m3nswn0i4ai7r9p76nxra7kxsx4lp41pyq6bb832a3zn3q6qxlk"; 4782 + rev = "59335c5b9d116f5d3948f833288a89e2a829a005"; 4783 + sha256 = "04x04mzs3cc736l4phsws981nsga8hws3ca46pniz5h3qhj8zfwa"; 4784 4784 }; 4785 4785 meta.homepage = "https://github.com/folke/lazy.nvim/"; 4786 4786 }; ··· 4799 4799 4800 4800 lean-nvim = buildVimPlugin { 4801 4801 pname = "lean.nvim"; 4802 - version = "2023-09-24"; 4802 + version = "2023-09-30"; 4803 4803 src = fetchFromGitHub { 4804 4804 owner = "Julian"; 4805 4805 repo = "lean.nvim"; 4806 - rev = "e639c7eb0f7f2a707b29f50b827e1a3a4b2ada9c"; 4807 - sha256 = "0rfwqip0747h4ppkxzzsqjvdkrr0rrhmpc3qbli18qwqx2vxc7hg"; 4806 + rev = "cd33d84e954ac15b42020889d1d0d6a9cc0e9e9c"; 4807 + sha256 = "11gkkc32ha1n6b7x88mvnw1afkp45mx8abpa1c4hkc2x7666sxc5"; 4808 4808 }; 4809 4809 meta.homepage = "https://github.com/Julian/lean.nvim/"; 4810 4810 }; ··· 5254 5254 5255 5255 lspsaga-nvim = buildVimPlugin { 5256 5256 pname = "lspsaga.nvim"; 5257 - version = "2023-09-26"; 5257 + version = "2023-10-01"; 5258 5258 src = fetchFromGitHub { 5259 5259 owner = "nvimdev"; 5260 5260 repo = "lspsaga.nvim"; 5261 - rev = "b7873e556a5451c5febc0d46ba80767b2beea49e"; 5262 - sha256 = "1m1ryhg6cnbxs4xzwn6bj98g10qf14shwdwgplwbyl2yjr5r94hv"; 5261 + rev = "f8a6d7cfe185637616d7fdee676dd543ae5fde55"; 5262 + sha256 = "0vwk2nn8mm113lk6sywdgfp6k0887d14pys9w8b6k4hm8xw5zfzq"; 5263 5263 }; 5264 5264 meta.homepage = "https://github.com/nvimdev/lspsaga.nvim/"; 5265 5265 }; ··· 5411 5411 5412 5412 mason-lspconfig-nvim = buildVimPlugin { 5413 5413 pname = "mason-lspconfig.nvim"; 5414 - version = "2023-09-29"; 5414 + version = "2023-10-01"; 5415 5415 src = fetchFromGitHub { 5416 5416 owner = "williamboman"; 5417 5417 repo = "mason-lspconfig.nvim"; 5418 - rev = "81e30dd629de24cbb26d08073ee938ab40006695"; 5419 - sha256 = "145nyyi128h25gdlidpwhkha3xf9sr66pxz76z2ncl8hccjpim35"; 5418 + rev = "48025d62f45af52ba47e4193b854864839392e4c"; 5419 + sha256 = "1n3xlfjjjwng0rhlgvl0dj25fhlfk35vscwmz1kpdad627lzg83b"; 5420 5420 }; 5421 5421 meta.homepage = "https://github.com/williamboman/mason-lspconfig.nvim/"; 5422 5422 }; ··· 5915 5915 5916 5916 neo-tree-nvim = buildVimPlugin { 5917 5917 pname = "neo-tree.nvim"; 5918 - version = "2023-09-25"; 5918 + version = "2023-09-30"; 5919 5919 src = fetchFromGitHub { 5920 5920 owner = "nvim-neo-tree"; 5921 5921 repo = "neo-tree.nvim"; 5922 - rev = "a73b92c504ebfbbc3be522209ac60949942057c6"; 5923 - sha256 = "1amxljg4c1vhddmrxjw00dm685vd4zsj2r3gf0yk14nl8y7yj3b6"; 5922 + rev = "7e2a3caf999e2028abb643eb0472f351b2777591"; 5923 + sha256 = "0mqrvk1aqs72vpwsy9ys9c3v3xbi1f7k4n692nm1v58v6d70gffk"; 5924 5924 }; 5925 5925 meta.homepage = "https://github.com/nvim-neo-tree/neo-tree.nvim/"; 5926 5926 }; ··· 5939 5939 5940 5940 neoconf-nvim = buildVimPlugin { 5941 5941 pname = "neoconf.nvim"; 5942 - version = "2023-09-29"; 5942 + version = "2023-09-30"; 5943 5943 src = fetchFromGitHub { 5944 5944 owner = "folke"; 5945 5945 repo = "neoconf.nvim"; 5946 - rev = "86ed5b91927b65352e3d8f315f8256a180805377"; 5947 - sha256 = "1j84jblykjsc6rk530zsdfsjwfgfdnfn7m1knzwyxjh983g4879a"; 5946 + rev = "466ba6f645f63f91ac84d3dd986acede5d107f39"; 5947 + sha256 = "0vqprdkbr8vgdfqhjwnqjfw76sfrr4akfn589kyzwpvncb6ygwv1"; 5948 5948 }; 5949 5949 meta.homepage = "https://github.com/folke/neoconf.nvim/"; 5950 5950 }; ··· 5963 5963 5964 5964 neodev-nvim = buildVimPlugin { 5965 5965 pname = "neodev.nvim"; 5966 - version = "2023-09-29"; 5966 + version = "2023-10-01"; 5967 5967 src = fetchFromGitHub { 5968 5968 owner = "folke"; 5969 5969 repo = "neodev.nvim"; 5970 - rev = "58b1c0740e8ad79ce71e2649a449bb90536435cf"; 5971 - sha256 = "06vflyl0c2b789lm6hgmr0gdvzzmjai8lgllr9cxm73ggh1lgqkf"; 5970 + rev = "41581561a0ffc6ea6a191ee90a23f8c1c7f470fb"; 5971 + sha256 = "1q0vfzbzdyc1cnfa2icgrs4zkjajxbqzqypa4q8sfh3cgq364l92"; 5972 5972 }; 5973 5973 meta.homepage = "https://github.com/folke/neodev.nvim/"; 5974 5974 }; ··· 5999 5999 6000 6000 neogit = buildVimPlugin { 6001 6001 pname = "neogit"; 6002 - version = "2023-09-28"; 6002 + version = "2023-09-29"; 6003 6003 src = fetchFromGitHub { 6004 6004 owner = "NeogitOrg"; 6005 6005 repo = "neogit"; 6006 - rev = "e238f075a81806dc2dce803422beef42540a312e"; 6007 - sha256 = "16dl1jlzf9f49bv3ifsc27si07cqbd51wn7nj62pppqbbp0ayfz9"; 6006 + rev = "8b06f91ae973fd68fde074f15a887f9a3a3411cb"; 6007 + sha256 = "120h0n3md78hzddyd77b47k7dicnij8zb1rw624b9956612slg07"; 6008 6008 }; 6009 6009 meta.homepage = "https://github.com/NeogitOrg/neogit/"; 6010 6010 }; ··· 6216 6216 6217 6217 neotest-haskell = buildVimPlugin { 6218 6218 pname = "neotest-haskell"; 6219 - version = "2023-09-24"; 6219 + version = "2023-10-01"; 6220 6220 src = fetchFromGitHub { 6221 6221 owner = "MrcJkb"; 6222 6222 repo = "neotest-haskell"; 6223 - rev = "e45d5af30e636daea47866b9a44a56ab382d9b64"; 6224 - sha256 = "1jirv3cahfm8sj43hs587x4w6wdzraafjp7zqn8l3il4yd36lj7g"; 6223 + rev = "6f8f89cef7e5ed811e8e2f2031f8a214d5dd6c0a"; 6224 + sha256 = "0b27zr14y9cx9za3akzpmvgri8y0jw302i7xwkc89wbxxkyjszi2"; 6225 6225 }; 6226 6226 meta.homepage = "https://github.com/MrcJkb/neotest-haskell/"; 6227 6227 }; ··· 6552 6552 6553 6553 no-neck-pain-nvim = buildVimPlugin { 6554 6554 pname = "no-neck-pain.nvim"; 6555 - version = "2023-06-24"; 6555 + version = "2023-09-30"; 6556 6556 src = fetchFromGitHub { 6557 6557 owner = "shortcuts"; 6558 6558 repo = "no-neck-pain.nvim"; 6559 - rev = "fb27d3bff0834d9178250b439d46bfa04b4e1ae2"; 6560 - sha256 = "0ri8qwhx4fsrs3im01nr0v05pg3c17k7zfgdmps61s6f1n0rpjf4"; 6559 + rev = "a3a76540533909aa42b4f9430c5b1976a6508f81"; 6560 + sha256 = "1yrni32ailamah5rbf6haypvik2wm4ywxrlrk3d12wl2hd9g7yxq"; 6561 6561 }; 6562 6562 meta.homepage = "https://github.com/shortcuts/no-neck-pain.nvim/"; 6563 6563 }; ··· 6720 6720 6721 6721 nvim-base16 = buildVimPlugin { 6722 6722 pname = "nvim-base16"; 6723 - version = "2023-09-12"; 6723 + version = "2023-09-30"; 6724 6724 src = fetchFromGitHub { 6725 6725 owner = "RRethy"; 6726 6726 repo = "nvim-base16"; 6727 - rev = "96e308958625a84940d5e443475465abf99c7bd9"; 6728 - sha256 = "1cz3nby9l2fg9ppl8pbgbcz70yzj87rci2lbzy9qm2mbj5y232sf"; 6727 + rev = "88f209605b7857ce5911e8aaa503a210876e935d"; 6728 + sha256 = "1767iwhbgi7lrfwn4wsk96h8x8dyfgbp11wffm8c42yhjwwmp0kl"; 6729 6729 }; 6730 6730 meta.homepage = "https://github.com/RRethy/nvim-base16/"; 6731 6731 }; ··· 7151 7151 7152 7152 nvim-lint = buildVimPlugin { 7153 7153 pname = "nvim-lint"; 7154 - version = "2023-09-21"; 7154 + version = "2023-09-30"; 7155 7155 src = fetchFromGitHub { 7156 7156 owner = "mfussenegger"; 7157 7157 repo = "nvim-lint"; 7158 - rev = "67f74e630a84ecfa73a82783c487bdedd8cecdc3"; 7159 - sha256 = "1rmpyjbv7a4ipy9nndarp5xv0azkqpw3c51fjw6fpx0yhlk72slc"; 7158 + rev = "1065763f115a7765ef237347ad676ba348d7193a"; 7159 + sha256 = "0wlfq7xpi60nrqxx2v0h2pjv9jhx5alir8z9q1h7vcnf2hykj45c"; 7160 7160 }; 7161 7161 meta.homepage = "https://github.com/mfussenegger/nvim-lint/"; 7162 7162 }; ··· 7187 7187 7188 7188 nvim-lspconfig = buildVimPlugin { 7189 7189 pname = "nvim-lspconfig"; 7190 - version = "2023-09-29"; 7190 + version = "2023-10-01"; 7191 7191 src = fetchFromGitHub { 7192 7192 owner = "neovim"; 7193 7193 repo = "nvim-lspconfig"; 7194 - rev = "61b40df9c17943e43e7e698873caab0e7dbcdadc"; 7195 - sha256 = "1dwrns9i46p3b53dkbhs76gic7i1s49mvdc2ka31qpx3yqks10g1"; 7194 + rev = "eb1b53162755888ff75e495797071644d983bff7"; 7195 + sha256 = "04kgsf3rhr0wk3vyx6lawlxj5icvaryx925flh72f234vkhigmq2"; 7196 7196 }; 7197 7197 meta.homepage = "https://github.com/neovim/nvim-lspconfig/"; 7198 7198 }; ··· 7535 7535 7536 7536 nvim-tree-lua = buildVimPlugin { 7537 7537 pname = "nvim-tree.lua"; 7538 - version = "2023-09-26"; 7538 + version = "2023-10-01"; 7539 7539 src = fetchFromGitHub { 7540 7540 owner = "nvim-tree"; 7541 7541 repo = "nvim-tree.lua"; 7542 - rev = "934469b9b6df369e198fb3016969e56393b0dc07"; 7543 - sha256 = "1z2bwxqyzvniyqg5003b4azaakdh6dcwfssiakk7681fnngj2iqn"; 7542 + rev = "113e0950c88b81b01d253d8f3da17bbd0e6716bb"; 7543 + sha256 = "1nmx68gjc59cn6lapvml12x4yj9iqaqdb8q3ad5w3gfnmva03sjd"; 7544 7544 }; 7545 7545 meta.homepage = "https://github.com/nvim-tree/nvim-tree.lua/"; 7546 7546 }; 7547 7547 7548 7548 nvim-treesitter = buildVimPlugin { 7549 7549 pname = "nvim-treesitter"; 7550 - version = "2023-09-29"; 7550 + version = "2023-10-01"; 7551 7551 src = fetchFromGitHub { 7552 7552 owner = "nvim-treesitter"; 7553 7553 repo = "nvim-treesitter"; 7554 - rev = "16ea2969ea0a5ba902fceece9b2db10c7c9ba2d6"; 7555 - sha256 = "0m1v1wiizqp7wfndjba6l52n3z4hkzsvq2imvgy7myqg091hj4hk"; 7554 + rev = "776e4d341b5416c995e74c3abbf75f9cec26aa5e"; 7555 + sha256 = "02pk5di7lxvbwzi2ajq7kj6rfrxd46635jccw6xf5fbxcl84cqsb"; 7556 7556 }; 7557 7557 meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter/"; 7558 7558 }; 7559 7559 7560 7560 nvim-treesitter-context = buildVimPlugin { 7561 7561 pname = "nvim-treesitter-context"; 7562 - version = "2023-09-27"; 7562 + version = "2023-10-01"; 7563 7563 src = fetchFromGitHub { 7564 7564 owner = "nvim-treesitter"; 7565 7565 repo = "nvim-treesitter-context"; 7566 - rev = "44d270e9d1647088de596a2e04fdc806a50cd838"; 7567 - sha256 = "0zkjgqsgcv956jf63jhdipb2ra1j5mfxw08nlz8ni4vccd9yw5qa"; 7566 + rev = "bc19b78e9c705d67be98d56e9fab96470af45f33"; 7567 + sha256 = "1xfdiyz0a07zpmavyinq3mc3f81xw99n7847ijwb3rwpmiqs7hns"; 7568 7568 }; 7569 7569 meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter-context/"; 7570 7570 }; ··· 7619 7619 7620 7620 nvim-treesitter-textsubjects = buildVimPlugin { 7621 7621 pname = "nvim-treesitter-textsubjects"; 7622 - version = "2023-08-03"; 7622 + version = "2023-09-30"; 7623 7623 src = fetchFromGitHub { 7624 7624 owner = "RRethy"; 7625 7625 repo = "nvim-treesitter-textsubjects"; 7626 - rev = "df75fcec548014f158cda6498ac38c4622c221e1"; 7627 - sha256 = "0fx8b9w03zn6v8db2w6h29y8hpbjckvm27nh49vvsis3icqyk7iv"; 7626 + rev = "48b3bf54e32f23e2299c59ff76fa3b0599565b39"; 7627 + sha256 = "11nmxnqr8dnn1l24gcrm4bpvpmy4ibsi6x46iz5y2vp7pzrj6cf9"; 7628 7628 }; 7629 7629 meta.homepage = "https://github.com/RRethy/nvim-treesitter-textsubjects/"; 7630 7630 }; ··· 7643 7643 7644 7644 nvim-ts-context-commentstring = buildVimPlugin { 7645 7645 pname = "nvim-ts-context-commentstring"; 7646 - version = "2023-09-14"; 7646 + version = "2023-09-30"; 7647 7647 src = fetchFromGitHub { 7648 7648 owner = "joosepalviste"; 7649 7649 repo = "nvim-ts-context-commentstring"; 7650 - rev = "95e9ba9de4289d221666b66fd930d157c7ca08c6"; 7651 - sha256 = "0acr7d16h22xk5c2dfv2wmwa9p5g5k06pqghkzym8bv70ag4lr8g"; 7650 + rev = "0c136439fb93fd94db9106250ff6f6858101422b"; 7651 + sha256 = "0cmszvwxbis2m36zwb7bcq0yfw19ska31j1r7k7pn55skr605527"; 7652 7652 }; 7653 7653 meta.homepage = "https://github.com/joosepalviste/nvim-ts-context-commentstring/"; 7654 7654 }; ··· 7822 7822 7823 7823 oil-nvim = buildVimPlugin { 7824 7824 pname = "oil.nvim"; 7825 - version = "2023-09-29"; 7825 + version = "2023-09-30"; 7826 7826 src = fetchFromGitHub { 7827 7827 owner = "stevearc"; 7828 7828 repo = "oil.nvim"; 7829 - rev = "bfc5a4c48f4a53b95648e41d91e49b83fb03e919"; 7830 - sha256 = "0jgj24lrgr6jbvwln5lb3qx6b1kw8hxa0k09pqzrmpwzp6h6zmyc"; 7829 + rev = "956d7fc89b0bd1f9ea6515ca10c1e2a293e4d8fd"; 7830 + sha256 = "0gbrnnji01pdz7x78cbdnvs6y4gpb298f239i5b41mr9vdc55ysl"; 7831 7831 fetchSubmodules = true; 7832 7832 }; 7833 7833 meta.homepage = "https://github.com/stevearc/oil.nvim/"; ··· 8617 8617 8618 8618 rest-nvim = buildNeovimPlugin { 8619 8619 pname = "rest.nvim"; 8620 - version = "2023-09-25"; 8620 + version = "2023-09-30"; 8621 8621 src = fetchFromGitHub { 8622 8622 owner = "rest-nvim"; 8623 8623 repo = "rest.nvim"; 8624 - rev = "16c1c8d80a6a65c409be4342130a8a61a7497f98"; 8625 - sha256 = "13nrxchxca1xj5cdw7dy4r5xfgq251ym1aj3kdykn4gakqgs6mxz"; 8624 + rev = "35d949df1928b44b6d941fd9015eb3f973845b1f"; 8625 + sha256 = "13lcd7wgdfd1hy1jkqbwvkcpyz9caxj9gdrn03ckba5lcbbnf08k"; 8626 8626 }; 8627 8627 meta.homepage = "https://github.com/rest-nvim/rest.nvim/"; 8628 8628 }; ··· 9678 9678 9679 9679 telescope-frecency-nvim = buildVimPlugin { 9680 9680 pname = "telescope-frecency.nvim"; 9681 - version = "2023-09-17"; 9681 + version = "2023-10-01"; 9682 9682 src = fetchFromGitHub { 9683 9683 owner = "nvim-telescope"; 9684 9684 repo = "telescope-frecency.nvim"; 9685 - rev = "eaaabc90ed082b84a2e9b0ce4ab8c6753b7c50f9"; 9686 - sha256 = "1hmm956km88zns0w0wpk1yphxh0bjhxzwln7f9igiz7wgq0b10nr"; 9685 + rev = "4bdd9bafc7ac2c6fed03e92efac1e6b4632eda28"; 9686 + sha256 = "01a4hdgjf3i0qywz45rvzga02hphb2zl5cnpafw0igzb3lrsxqqk"; 9687 9687 }; 9688 9688 meta.homepage = "https://github.com/nvim-telescope/telescope-frecency.nvim/"; 9689 9689 }; ··· 10365 10365 10366 10366 unison = buildVimPlugin { 10367 10367 pname = "unison"; 10368 - version = "2023-09-27"; 10368 + version = "2023-09-29"; 10369 10369 src = fetchFromGitHub { 10370 10370 owner = "unisonweb"; 10371 10371 repo = "unison"; 10372 - rev = "58bbcb098cc57fc876c33a7ded70df41a226a2c3"; 10373 - sha256 = "0nlggvc0nq6033jvb9p5kvczqdwbgdpk0dcf79072pih4mqxnfw2"; 10372 + rev = "5fa80db737fa357d9f9f14a36cdc10cbb1cb7651"; 10373 + sha256 = "1001rbbwhfbb26ji36kpkc3ji1gsgf3xmlr990bxv8wh33qib2rf"; 10374 10374 }; 10375 10375 meta.homepage = "https://github.com/unisonweb/unison/"; 10376 10376 }; ··· 10857 10857 10858 10858 vim-android = buildVimPlugin { 10859 10859 pname = "vim-android"; 10860 - version = "2023-08-24"; 10860 + version = "2023-09-30"; 10861 10861 src = fetchFromGitHub { 10862 10862 owner = "hsanson"; 10863 10863 repo = "vim-android"; 10864 - rev = "31c593b8025f62f184418dd658c3a358a8d0ef70"; 10865 - sha256 = "14l7v8jg4kq8qh9j64nxir4a7d9ls0zp6zk3rjzbzf9viqyw1bp5"; 10864 + rev = "26990f9fa27b23ca5faf83e14d56711c0fec40ea"; 10865 + sha256 = "1iy9ap2i9lmqcjaqb38syb240m834ifacv79cjiwzxcpr23vq4r1"; 10866 10866 }; 10867 10867 meta.homepage = "https://github.com/hsanson/vim-android/"; 10868 10868 }; ··· 14761 14761 14762 14762 vim-test = buildVimPlugin { 14763 14763 pname = "vim-test"; 14764 - version = "2023-09-15"; 14764 + version = "2023-09-30"; 14765 14765 src = fetchFromGitHub { 14766 14766 owner = "vim-test"; 14767 14767 repo = "vim-test"; 14768 - rev = "a007258adc7b319943bf71dfead88d2ad721b923"; 14769 - sha256 = "0sk2bfk54ds22sri1a3jw4fmn2nw1cr06hlwmclxd8gpaxqv6rmh"; 14768 + rev = "53c6c72f3a0c6a24a74e659eaa769d7057ef2ecd"; 14769 + sha256 = "0y36ckap8z07b3ayj53l9drz1m4wrg0fd12q8p0cyhhghf0g8s2i"; 14770 14770 }; 14771 14771 meta.homepage = "https://github.com/vim-test/vim-test/"; 14772 14772 }; ··· 15578 15578 15579 15579 vista-vim = buildVimPlugin { 15580 15580 pname = "vista.vim"; 15581 - version = "2023-09-14"; 15581 + version = "2023-10-01"; 15582 15582 src = fetchFromGitHub { 15583 15583 owner = "liuchengxu"; 15584 15584 repo = "vista.vim"; 15585 - rev = "40daf5e97be70a90465182fbbdfba92442bfd8e1"; 15586 - sha256 = "17kgca407nzvaddp5416rri46sk6dry1kmxp8kishha3x6fx0iym"; 15585 + rev = "58dabc027909330970ac549e52bf799a723878c5"; 15586 + sha256 = "0xb385781kll7hrhgm7nw7frjx2fwd2gzriwn9gby2s7m6yx8xib"; 15587 15587 }; 15588 15588 meta.homepage = "https://github.com/liuchengxu/vista.vim/"; 15589 15589 }; ··· 15927 15927 15928 15928 zk-nvim = buildVimPlugin { 15929 15929 pname = "zk-nvim"; 15930 - version = "2023-07-09"; 15930 + version = "2023-09-30"; 15931 15931 src = fetchFromGitHub { 15932 15932 owner = "mickael-menu"; 15933 15933 repo = "zk-nvim"; 15934 - rev = "797618aa07f58ceba6f79fb6e777e8e45c51e1ce"; 15935 - sha256 = "1hr1k3h3pwh7iga7zdd62hkwgnvivsr6z9nbs8ypks3r34rw60xx"; 15934 + rev = "e9e5e21dbeacd0e753728c7ea45b7a7582d9080a"; 15935 + sha256 = "0ycx8ad6a9xyc2i4gzjccbl5pzvg1y7rqhpxf4mys5vh5j7iisvv"; 15936 15936 }; 15937 15937 meta.homepage = "https://github.com/mickael-menu/zk-nvim/"; 15938 15938 }; ··· 15963 15963 15964 15964 catppuccin-nvim = buildVimPlugin { 15965 15965 pname = "catppuccin-nvim"; 15966 - version = "2023-09-29"; 15966 + version = "2023-09-30"; 15967 15967 src = fetchFromGitHub { 15968 15968 owner = "catppuccin"; 15969 15969 repo = "nvim"; 15970 - rev = "18267654c665310c665d3b7c6bc43d5f5ea5e410"; 15971 - sha256 = "0gncnwp8h64z33g97ra9vaad5lfknfn3w87p7axhbjw6fdsy99ii"; 15970 + rev = "7a4bcdadafc59a5bedbd866c643fa486d8cca4a1"; 15971 + sha256 = "0v8syhgyvl4zs484dycz65qrclds2cd6f9ja85xy4gzfhisnc6s3"; 15972 15972 }; 15973 15973 meta.homepage = "https://github.com/catppuccin/nvim/"; 15974 15974 }; ··· 16035 16035 16036 16036 nightfly = buildVimPlugin { 16037 16037 pname = "nightfly"; 16038 - version = "2023-09-29"; 16038 + version = "2023-10-01"; 16039 16039 src = fetchFromGitHub { 16040 16040 owner = "bluz71"; 16041 16041 repo = "vim-nightfly-colors"; 16042 - rev = "28108adbd8674fe2788aa918c4a520a355654be3"; 16043 - sha256 = "1r82v8pzih9bp5bkad58q3w8r302l26id3471470sab7808cv8a8"; 16042 + rev = "60d7e7749c21dec4e77c70672c3882dc5653d02c"; 16043 + sha256 = "1z8d6i81n2j8ynfpa8gvlw27svjgv4rxs1ham4rl90vraryqgpl1"; 16044 16044 }; 16045 16045 meta.homepage = "https://github.com/bluz71/vim-nightfly-colors/"; 16046 16046 };
+16 -12
pkgs/applications/editors/vim/plugins/nvim-treesitter/update.py
··· 7 7 from os import environ 8 8 from os.path import dirname, join 9 9 10 - lockfile = json.load(open(join(environ["NVIM_TREESITTER"], "lockfile.json"))) 11 - 12 10 configs = json.loads( 13 11 subprocess.check_output( 14 12 [ ··· 58 56 return generated 59 57 60 58 61 - generated_file = """# generated by pkgs/applications/editors/vim/plugins/nvim-treesitter/update.py 59 + def update_grammars(lockfile: str): 62 60 63 - { buildGrammar, """ 61 + generated_file = """# generated by pkgs/applications/editors/vim/plugins/nvim-treesitter/update.py 64 62 65 - generated_file += subprocess.check_output(["nurl", "-Ls", ", "], text=True) 63 + { buildGrammar, """ 66 64 67 - generated_file += """ }: 65 + generated_file += subprocess.check_output(["nurl", "-Ls", ", "], text=True) 68 66 69 - { 70 - """ 67 + generated_file += """ }: 71 68 72 - for generated in ThreadPoolExecutor().map(generate_grammar, lockfile.items()): 73 - generated_file += generated 69 + { 70 + """ 71 + for generated in ThreadPoolExecutor().map(generate_grammar, lockfile.items()): 72 + generated_file += generated 73 + generated_file += "}\n" 74 + generated_file += "}\n" 74 75 75 - generated_file += "}\n" 76 + open(join(dirname(__file__), "generated.nix"), "w").write(generated_file) 77 + 76 78 77 - open(join(dirname(__file__), "generated.nix"), "w").write(generated_file) 79 + if __name__ == "__main__": 80 + # TODO add lockfile 81 + update_grammars()
-16
pkgs/applications/editors/vim/plugins/update-shell.nix
··· 1 - { pkgs ? import ../../../../.. { } }: 2 - 3 - # Ideally, pkgs points to default.nix file of Nixpkgs official tree 4 - with pkgs; 5 - let 6 - pyEnv = python3.withPackages (ps: [ ps.gitpython ]); 7 - in 8 - 9 - mkShell { 10 - packages = [ 11 - bash 12 - pyEnv 13 - nix 14 - nix-prefetch-scripts 15 - ]; 16 - }
+60 -43
pkgs/applications/editors/vim/plugins/update.py
··· 1 - #!/usr/bin/env nix-shell 2 - #!nix-shell update-shell.nix -i python3 1 + #!/usr/bin/env python 3 2 4 - 3 + # run with: 4 + # $ nix run .\#vimPluginsUpdater 5 5 # format: 6 - # $ nix run nixpkgs.python3Packages.black -c black update.py 6 + # $ nix run nixpkgs#python3Packages.black -- update.py 7 7 # type-check: 8 - # $ nix run nixpkgs.python3Packages.mypy -c mypy update.py 8 + # $ nix run nixpkgs#python3Packages.mypy -- update.py 9 9 # linted: 10 - # $ nix run nixpkgs.python3Packages.flake8 -c flake8 --ignore E501,E265,E402 update.py 10 + # $ nix run nixpkgs#python3Packages.flake8 -- --ignore E501,E265,E402 update.py 11 11 12 - # If you see `HTTP Error 429: too many requests` errors while running this script, 13 - # refer to: 12 + # If you see `HTTP Error 429: too many requests` errors while running this 13 + # script, refer to: 14 14 # 15 15 # https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/vim.section.md#updating-plugins-in-nixpkgs-updating-plugins-in-nixpkgs 16 16 # 17 - # (or the equivalent file /doc/languages-frameworks/vim.section.md from Nixpkgs master tree). 17 + # (or the equivalent file /doc/languages-frameworks/vim.section.md 18 + # from Nixpkgs master tree). 18 19 # 19 20 20 21 import inspect 21 22 import os 22 - import sys 23 23 import logging 24 - import subprocess 25 24 import textwrap 25 + import json 26 26 from typing import List, Tuple 27 27 from pathlib import Path 28 28 29 - import git 30 29 31 30 log = logging.getLogger() 32 31 33 32 sh = logging.StreamHandler() 34 - formatter = logging.Formatter('%(name)s:%(levelname)s: %(message)s') 33 + formatter = logging.Formatter("%(name)s:%(levelname)s: %(message)s") 35 34 sh.setFormatter(formatter) 36 35 log.addHandler(sh) 37 36 38 37 # Import plugin update library from maintainers/scripts/pluginupdate.py 39 38 ROOT = Path(os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))) 40 - # Ideally, ROOT.(parent^5) points to root of Nixpkgs official tree 41 - sys.path.insert(0, os.path.join(ROOT.parent.parent.parent.parent.parent, "maintainers", "scripts")) 42 39 import pluginupdate 40 + import importlib 43 41 from pluginupdate import run_nix_expr, PluginDesc 44 - 42 + from treesitter import update_grammars 45 43 46 44 47 - GET_PLUGINS_LUA = """ 48 - with import <localpkgs> {}; 49 - lib.attrNames lua51Packages""" 50 - 51 45 HEADER = ( 52 46 "# GENERATED by ./pkgs/applications/editors/vim/plugins/update.py. Do not edit!" 53 47 ) 54 48 55 - def isNeovimPlugin(plug: pluginupdate.Plugin) -> bool: 56 - ''' 57 - Whether it's a neovim-only plugin 58 - We can check if it's available in lua packages 59 - ''' 60 - global luaPlugins 61 - if plug.normalized_name in luaPlugins: 62 - log.debug("%s is a neovim plugin", plug) 63 - return True 64 - return False 49 + NVIM_TREESITTER_GENERATED_NIX = \ 50 + "pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix" 65 51 66 52 67 53 class VimEditor(pluginupdate.Editor): 68 54 nvim_treesitter_updated = False 69 55 70 - def generate_nix(self, plugins: List[Tuple[PluginDesc, pluginupdate.Plugin]], outfile: str): 56 + def generate_nix( 57 + self, plugins: List[Tuple[PluginDesc, pluginupdate.Plugin]], outfile: str 58 + ): 71 59 sorted_plugins = sorted(plugins, key=lambda v: v[0].name.lower()) 72 - nvim_treesitter_rev = pluginupdate.run_nix_expr("(import <localpkgs> { }).vimPlugins.nvim-treesitter.src.rev") 60 + nvim_treesitter_rev = pluginupdate.run_nix_expr( 61 + "(import <localpkgs> { }).vimPlugins.nvim-treesitter.src.rev", 62 + self.nixpkgs 63 + ) 73 64 74 65 with open(outfile, "w+") as f: 75 66 f.write(HEADER) 76 - f.write(textwrap.dedent(""" 67 + f.write( 68 + textwrap.dedent( 69 + """ 77 70 { lib, buildVimPlugin, buildNeovimPlugin, fetchFromGitHub, fetchgit }: 78 71 79 72 final: prev: 80 73 { 81 74 """ 82 - )) 75 + ) 76 + ) 83 77 for pdesc, plugin in sorted_plugins: 84 78 content = self.plugin2nix(pdesc, plugin) 85 79 f.write(content) 86 - if plugin.name == "nvim-treesitter" and plugin.commit != nvim_treesitter_rev: 80 + if ( 81 + plugin.name == "nvim-treesitter" and plugin.commit != nvim_treesitter_rev 82 + ): 87 83 self.nvim_treesitter_updated = True 88 84 f.write("\n}\n") 89 85 print(f"updated {outfile}") 90 86 91 87 def plugin2nix(self, pdesc: PluginDesc, plugin: pluginupdate.Plugin) -> str: 88 + GET_PLUGINS_LUA = """ 89 + with import <localpkgs> {}; 90 + lib.attrNames lua51Packages""" 91 + luaPlugins = run_nix_expr(GET_PLUGINS_LUA, self.nixpkgs) 92 92 93 93 repo = pdesc.repo 94 - isNeovim = isNeovimPlugin(plugin) 94 + 95 + def _isNeovimPlugin(plug: pluginupdate.Plugin) -> bool: 96 + """ 97 + Whether it's a neovim-only plugin 98 + We can check if it's available in lua packages 99 + """ 100 + # global luaPlugins 101 + if plug.normalized_name in luaPlugins: 102 + log.debug("%s is a neovim plugin", plug) 103 + return True 104 + return False 105 + 106 + isNeovim = _isNeovimPlugin(plugin) 95 107 96 108 content = f" {plugin.normalized_name} = " 97 109 src_nix = repo.as_nix(plugin) ··· 103 115 }}; 104 116 105 117 """.format( 106 - buildFn="buildNeovimPlugin" if isNeovim else "buildVimPlugin", plugin=plugin, src_nix=src_nix, repo=repo) 118 + buildFn="buildNeovimPlugin" if isNeovim else "buildVimPlugin", 119 + plugin=plugin, 120 + src_nix=src_nix, 121 + repo=repo, 122 + ) 107 123 log.debug(content) 108 124 return content 109 - 110 125 111 126 def update(self, args): 112 127 pluginupdate.update_plugins(self, args) ··· 114 129 if self.nvim_treesitter_updated: 115 130 print("updating nvim-treesitter grammars") 116 131 nvim_treesitter_dir = ROOT.joinpath("nvim-treesitter") 117 - subprocess.check_call([nvim_treesitter_dir.joinpath("update.py")]) 132 + lockfile = json.load(open(args.nixpkgs.join(NVIM_TREESITTER_GENERATED_FILE, "lockfile.json"))) 133 + 134 + nvim_treesitter.update_grammars(lockfile) 118 135 119 136 if self.nixpkgs_repo: 120 137 index = self.nixpkgs_repo.index 121 138 for diff in index.diff(None): 122 - if diff.a_path == "pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix": 139 + if diff.a_path == NVIM_TREESITTER_GENERATED_NIX: 123 140 msg = "vimPlugins.nvim-treesitter: update grammars" 124 141 print(f"committing to nixpkgs: {msg}") 125 142 index.add([str(nvim_treesitter_dir.joinpath("generated.nix"))]) ··· 131 148 def main(): 132 149 133 150 global luaPlugins 134 - luaPlugins = run_nix_expr(GET_PLUGINS_LUA) 135 151 136 - with open(f"{ROOT}/get-plugins.nix") as f: 152 + log.debug(f"Loading from {ROOT}/../get-plugins.nix") 153 + with open(f"{ROOT}/../get-plugins.nix") as f: 137 154 GET_PLUGINS = f.read() 138 - editor = VimEditor("vim", ROOT, GET_PLUGINS) 155 + editor = VimEditor("vim", Path("pkgs/applications/editors/vim/plugins"), GET_PLUGINS) 139 156 editor.run() 140 157 141 158
+47
pkgs/applications/editors/vim/plugins/updater.nix
··· 1 + { buildPythonApplication 2 + , nix 3 + , makeWrapper 4 + , python3Packages 5 + , lib 6 + 7 + # optional 8 + , vimPlugins 9 + , neovim 10 + }: 11 + let 12 + my_neovim = neovim.override { 13 + configure.packages.all.start = [ vimPlugins.nvim-treesitter ]; 14 + }; 15 + 16 + in 17 + buildPythonApplication { 18 + format = "other"; 19 + pname = "vim-plugins-updater"; 20 + version = "0.1"; 21 + 22 + nativeBuildInputs = [ 23 + makeWrapper 24 + python3Packages.wrapPython 25 + ]; 26 + 27 + pythonPath = [ 28 + python3Packages.gitpython 29 + ]; 30 + 31 + dontUnpack = true; 32 + 33 + installPhase = '' 34 + mkdir -p $out/bin $out/lib 35 + cp ${./update.py} $out/bin/vim-plugins-updater 36 + cp ${./get-plugins.nix} $out/get-plugins.nix 37 + cp ${./nvim-treesitter/update.py} $out/lib/treesitter.py 38 + cp ${../../../../../maintainers/scripts/pluginupdate.py} $out/lib/pluginupdate.py 39 + 40 + # wrap python scripts 41 + makeWrapperArgs+=( --prefix PATH : "${lib.makeBinPath [ nix my_neovim ]}" --prefix PYTHONPATH : "$out/lib" ) 42 + wrapPythonPrograms 43 + ''; 44 + 45 + meta.mainProgram = "vim-plugins-updater"; 46 + } 47 +
+2 -2
pkgs/applications/editors/vscode/extensions/default.nix
··· 700 700 mktplcRef = { 701 701 name = "ruff"; 702 702 publisher = "charliermarsh"; 703 - version = "2023.38.0"; 704 - sha256 = "sha256-Gcw+X8e8MrTflotHUwkrdP/DD/6AX/kEgtRiqvqyqRM="; 703 + version = "2023.40.0"; 704 + sha256 = "sha256-Ym76WtKvz18NgxH9o8O/Ozn+/AtqLvjJs8ffLhPOWkQ="; 705 705 }; 706 706 meta = { 707 707 license = lib.licenses.mit;
+2 -2
pkgs/applications/editors/vscode/generic.nix
··· 1 1 { stdenv, lib, makeDesktopItem 2 2 , unzip, libsecret, libXScrnSaver, libxshmfence, buildPackages 3 - , atomEnv, at-spi2-atk, autoPatchelfHook 3 + , at-spi2-atk, autoPatchelfHook, alsa-lib, mesa, nss, nspr, xorg 4 4 , systemd, fontconfig, libdbusmenu, glib, buildFHSEnv, wayland 5 5 , libglvnd, libkrb5 6 6 ··· 67 67 }; 68 68 69 69 buildInputs = [ libsecret libXScrnSaver libxshmfence ] 70 - ++ lib.optionals (!stdenv.isDarwin) ([ at-spi2-atk libkrb5 ] ++ atomEnv.packages); 70 + ++ lib.optionals (!stdenv.isDarwin) [ alsa-lib at-spi2-atk libkrb5 mesa nss nspr systemd xorg.libxkbfile ]; 71 71 72 72 runtimeDependencies = lib.optionals stdenv.isLinux [ (lib.getLib systemd) fontconfig.lib libdbusmenu wayland libsecret ]; 73 73
+11
pkgs/applications/emulators/duckstation/001-fix-test-inclusion.diff
··· 1 + diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt 2 + index 879d46bc..95570f6b 100644 3 + --- a/src/CMakeLists.txt 4 + +++ b/src/CMakeLists.txt 5 + @@ -20,5 +20,5 @@ if(BUILD_REGTEST) 6 + endif() 7 + 8 + if(BUILD_TESTS) 9 + - add_subdirectory(common-tests EXCLUDE_FROM_ALL) 10 + + add_subdirectory(common-tests) 11 + endif()
+19
pkgs/applications/emulators/duckstation/002-hardcode-vars.diff
··· 1 + diff --git a/src/scmversion/gen_scmversion.sh b/src/scmversion/gen_scmversion.sh 2 + index 9c1dacab..d1f895ee 100755 3 + --- a/src/scmversion/gen_scmversion.sh 4 + +++ b/src/scmversion/gen_scmversion.sh 5 + @@ -10,10 +10,10 @@ else 6 + fi 7 + 8 + 9 + -HASH=$(git rev-parse HEAD) 10 + -BRANCH=$(git rev-parse --abbrev-ref HEAD | tr -d '\r\n') 11 + -TAG=$(git describe --tags --dirty --exclude latest --exclude preview --exclude legacy --exclude previous-latest | tr -d '\r\n') 12 + -DATE=$(git log -1 --date=iso8601-strict --format=%cd) 13 + +HASH="@gitHash@" 14 + +BRANCH="@gitBranch@" 15 + +TAG="@gitTag@" 16 + +DATE="@gitDate@" 17 + 18 + cd $CURDIR 19 +
+37 -21
pkgs/applications/emulators/duckstation/default.nix
··· 8 8 , curl 9 9 , extra-cmake-modules 10 10 , libXrandr 11 + , libbacktrace 11 12 , makeDesktopItem 12 - , mesa # for libgbm 13 13 , ninja 14 14 , pkg-config 15 15 , qtbase 16 16 , qtsvg 17 17 , qttools 18 18 , qtwayland 19 + , substituteAll 19 20 , vulkan-loader 20 21 , wayland 21 22 , wrapQtAppsHook 22 23 , enableWayland ? true 23 24 }: 24 25 25 - stdenv.mkDerivation { 26 + stdenv.mkDerivation (finalAttrs: { 26 27 pname = "duckstation"; 27 - version = "unstable-2023-04-14"; 28 + version = "unstable-2023-09-30"; 28 29 29 30 src = fetchFromGitHub { 30 31 owner = "stenzek"; 31 32 repo = "duckstation"; 32 - rev = "5fee6f5abee7f3aad65da5523e57896e10e2a53a"; 33 - sha256 = "sha256-sRs/b4GVXhF3zrOef8DSBKJJGYECUER/nNWZAqv7suA="; 33 + rev = "d5608bf12df7a7e03750cb94a08a3d7999034ae2"; 34 + hash = "sha256-ktfZgacjkN6GQb1vLmyTZMr8QmmH12qAvFSIBTjgRSs="; 34 35 }; 35 36 37 + patches = [ 38 + # Tests are not built by default 39 + ./001-fix-test-inclusion.diff 40 + # Patching yet another script that fills data based on git commands... 41 + (substituteAll { 42 + src = ./002-hardcode-vars.diff; 43 + gitHash = finalAttrs.src.rev; 44 + gitBranch = "master"; 45 + gitTag = "0.1-5889-gd5608bf1"; 46 + gitDate = "2023-09-30T23:20:09+10:00"; 47 + }) 48 + ]; 49 + 36 50 nativeBuildInputs = [ 37 51 cmake 38 52 copyDesktopItems ··· 49 63 SDL2 50 64 curl 51 65 libXrandr 52 - mesa 66 + libbacktrace 53 67 qtbase 54 68 qtsvg 55 69 vulkan-loader ··· 60 74 ] 61 75 ++ cubeb.passthru.backendLibs; 62 76 77 + strictDeps = true; 78 + 63 79 cmakeFlags = [ 64 - "-DUSE_DRMKMS=ON" 65 - ] 66 - ++ lib.optionals enableWayland [ "-DUSE_WAYLAND=ON" ]; 80 + (lib.cmakeBool "BUILD_TESTS" true) 81 + (lib.cmakeBool "ENABLE_WAYLAND" enableWayland) 82 + ]; 67 83 68 84 desktopItems = [ 69 85 (makeDesktopItem { ··· 79 95 }) 80 96 ]; 81 97 98 + doCheck = true; 99 + checkPhase = '' 100 + runHook preCheck 101 + bin/common-tests 102 + runHook postCheck 103 + ''; 104 + 82 105 installPhase = '' 83 106 runHook preInstall 84 107 ··· 92 115 runHook postInstall 93 116 ''; 94 117 95 - doCheck = true; 96 - checkPhase = '' 97 - runHook preCheck 98 - bin/common-tests 99 - runHook postCheck 100 - ''; 101 - 102 118 qtWrapperArgs = [ 103 119 "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ vulkan-loader ] ++ cubeb.passthru.backendLibs)}" 104 120 ]; 105 121 106 - meta = with lib; { 122 + meta = { 107 123 homepage = "https://github.com/stenzek/duckstation"; 108 124 description = "Fast PlayStation 1 emulator for x86-64/AArch32/AArch64"; 109 - license = licenses.gpl3Only; 125 + license = lib.licenses.gpl3Only; 110 126 mainProgram = "duckstation-qt"; 111 - maintainers = with maintainers; [ guibou AndersonTorres ]; 112 - platforms = platforms.linux; 127 + maintainers = with lib.maintainers; [ guibou AndersonTorres ]; 128 + platforms = lib.platforms.linux; 113 129 }; 114 - } 130 + })
+2 -2
pkgs/applications/emulators/mame/default.nix
··· 38 38 in 39 39 stdenv.mkDerivation rec { 40 40 pname = "mame"; 41 - version = "0.258"; 41 + version = "0.259"; 42 42 srcVersion = builtins.replaceStrings [ "." ] [ "" ] version; 43 43 44 44 src = fetchFromGitHub { 45 45 owner = "mamedev"; 46 46 repo = "mame"; 47 47 rev = "mame${srcVersion}"; 48 - hash = "sha256-5wsPlI3xTCeadxvOjjNSGtaa8F7M6gZobsv2Ks8DSGE="; 48 + hash = "sha256-F8psPvwuaILXZF7dCStJApVTD9zzzBwjf1CKGelHlqE="; 49 49 }; 50 50 51 51 outputs = [ "out" "tools" ];
+13 -19
pkgs/applications/graphics/nomacs/default.nix
··· 1 - { stdenv 2 - , lib 3 - , mkDerivation 1 + { lib 2 + , stdenv 4 3 , fetchFromGitHub 5 - , fetchpatch 6 4 , cmake 7 5 , pkg-config 6 + , wrapQtAppsHook 8 7 9 8 , qtbase 10 9 , qttools ··· 18 17 , quazip 19 18 }: 20 19 21 - mkDerivation rec { 20 + stdenv.mkDerivation rec { 22 21 pname = "nomacs"; 23 - version = "3.17.2206"; 22 + version = "3.17.2285"; 24 23 25 24 src = fetchFromGitHub { 26 25 owner = "nomacs"; 27 26 repo = "nomacs"; 28 27 rev = version; 29 - sha256 = "1bq7bv4p7w67172y893lvpk90d6fgdpnylynbj2kn8m2hs6khya4"; 28 + hash = "sha256-/K7LRPwNy2PG7tIGD0tiKnEOPZ491lxFRlgf4xWYtxs="; 30 29 }; 31 30 32 - patches = [ 33 - # Add support for Quazip 1.x. 34 - (fetchpatch { 35 - url = "https://github.com/nomacs/nomacs/pull/576.patch"; 36 - sha256 = "11ryjvd9jbb0cqagai4a6980jfq8lrcbyw2d7z9yld1f42w9kbxm"; 37 - stripLen = 1; 38 - }) 39 - ]; 40 - 41 31 setSourceRoot = '' 42 32 sourceRoot=$(echo */ImageLounge) 43 33 ''; 44 34 45 35 nativeBuildInputs = [cmake 46 - pkg-config]; 36 + pkg-config 37 + wrapQtAppsHook]; 47 38 48 39 buildInputs = [qtbase 49 40 qttools ··· 62 53 "-DENABLE_TRANSLATIONS=ON" 63 54 "-DUSE_SYSTEM_QUAZIP=ON"]; 64 55 56 + postInstall = lib.optionalString stdenv.isDarwin '' 57 + mkdir -p $out/lib 58 + mv $out/libnomacsCore.dylib $out/lib/libnomacsCore.dylib 59 + ''; 60 + 65 61 meta = with lib; { 66 62 homepage = "https://nomacs.org"; 67 63 description = "Qt-based image viewer"; 68 64 maintainers = with lib.maintainers; [ mindavi ]; 69 65 license = licenses.gpl3Plus; 70 66 inherit (qtbase.meta) platforms; 71 - # Broken on hydra since 2020-08-15: https://hydra.nixos.org/build/125495291 (bump from 3.16 to 3.17 prerelease) 72 - broken = stdenv.isDarwin; 73 67 }; 74 68 }
+48 -24
pkgs/applications/misc/azuredatastudio/default.nix
··· 4 4 , copyDesktopItems 5 5 , makeDesktopItem 6 6 , makeWrapper 7 - , libuuid 8 - , libunwind 9 - , libxkbcommon 10 - , icu 11 - , openssl 12 - , zlib 7 + , alsa-lib 8 + , at-spi2-atk 9 + , at-spi2-core 10 + , cairo 11 + , cups 13 12 , curl 14 - , at-spi2-core 15 - , at-spi2-atk 13 + , dbus 14 + , expat 15 + , gdk-pixbuf 16 + , glib 16 17 , gnutar 17 - , atomEnv 18 - , libkrb5 18 + , gtk3 19 + , icu 19 20 , libdrm 21 + , libunwind 22 + , libuuid 23 + , libxkbcommon 20 24 , mesa 25 + , nspr 26 + , nss 27 + , openssl 28 + , pango 29 + , systemd 21 30 , xorg 31 + , zlib 22 32 }: 23 33 24 34 # from justinwoo/azuredatastudio-nix ··· 115 125 sqltoolsservicePath = "${targetPath}/resources/app/extensions/mssql/sqltoolsservice/Linux/4.7.1.6"; 116 126 117 127 rpath = lib.concatStringsSep ":" [ 118 - atomEnv.libPath 119 - ( 120 - lib.makeLibraryPath [ 121 - libuuid 122 - at-spi2-core 123 - at-spi2-atk 124 - stdenv.cc.cc.lib 125 - libkrb5 126 - libdrm 127 - libxkbcommon 128 - mesa 129 - xorg.libxshmfence 130 - ] 131 - ) 128 + (lib.makeLibraryPath [ 129 + alsa-lib 130 + at-spi2-atk 131 + cairo 132 + cups 133 + dbus 134 + expat 135 + gdk-pixbuf 136 + glib 137 + gtk3 138 + mesa 139 + nss 140 + nspr 141 + libdrm 142 + xorg.libX11 143 + xorg.libxcb 144 + xorg.libXcomposite 145 + xorg.libXdamage 146 + xorg.libXext 147 + xorg.libXfixes 148 + xorg.libXrandr 149 + xorg.libxshmfence 150 + libxkbcommon 151 + xorg.libxkbfile 152 + pango 153 + stdenv.cc.cc.lib 154 + systemd 155 + ]) 132 156 targetPath 133 157 sqltoolsserviceRpath 134 158 ];
+61 -8
pkgs/applications/misc/sidequest/default.nix
··· 1 - { stdenv, lib, fetchurl, buildFHSEnv, makeDesktopItem, makeWrapper, atomEnv, libuuid, libxkbcommon, libxshmfence, at-spi2-atk, icu, openssl, zlib }: 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , buildFHSEnv 5 + , makeDesktopItem 6 + , makeWrapper 7 + , alsa-lib 8 + , at-spi2-atk 9 + , cairo 10 + , cups 11 + , dbus 12 + , expat 13 + , gdk-pixbuf 14 + , glib 15 + , gtk3 16 + , mesa 17 + , nss 18 + , nspr 19 + , libdrm 20 + , xorg 21 + , libxkbcommon 22 + , libxshmfence 23 + , pango 24 + , systemd 25 + , icu 26 + , openssl 27 + , zlib 28 + }: 2 29 let 3 30 pname = "sidequest"; 4 31 version = "0.10.33"; ··· 21 48 22 49 nativeBuildInputs = [ makeWrapper ]; 23 50 24 - buildCommand = '' 51 + installPhase = '' 25 52 mkdir -p "$out/lib/SideQuest" "$out/bin" 26 53 tar -xJf "$src" -C "$out/lib/SideQuest" --strip-components 1 27 54 28 55 ln -s "$out/lib/SideQuest/sidequest" "$out/bin" 56 + ''; 29 57 30 - fixupPhase 31 - 32 - # mkdir -p "$out/share/applications" 33 - # ln -s "${desktopItem}/share/applications/*" "$out/share/applications" 34 - 58 + postFixup = let 59 + libPath = lib.makeLibraryPath [ 60 + alsa-lib 61 + at-spi2-atk 62 + cairo 63 + cups 64 + dbus 65 + expat 66 + gdk-pixbuf 67 + glib 68 + gtk3 69 + mesa 70 + nss 71 + nspr 72 + libdrm 73 + xorg.libX11 74 + xorg.libxcb 75 + xorg.libXcomposite 76 + xorg.libXdamage 77 + xorg.libXext 78 + xorg.libXfixes 79 + xorg.libXrandr 80 + xorg.libxshmfence 81 + libxkbcommon 82 + xorg.libxkbfile 83 + pango 84 + stdenv.cc.cc.lib 85 + systemd 86 + ]; 87 + in '' 35 88 patchelf \ 36 89 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 37 - --set-rpath "${atomEnv.libPath}/lib:${lib.makeLibraryPath [libuuid at-spi2-atk]}:$out/lib/SideQuest" \ 90 + --set-rpath "${libPath}:$out/lib/SideQuest" \ 38 91 "$out/lib/SideQuest/sidequest" 39 92 ''; 40 93 };
+19 -6
pkgs/applications/misc/simplenote/default.nix
··· 1 - { atomEnv 2 - , autoPatchelfHook 1 + { autoPatchelfHook 3 2 , dpkg 4 3 , fetchurl 5 4 , makeDesktopItem ··· 7 6 , lib 8 7 , stdenv 9 8 , udev 9 + , alsa-lib 10 + , mesa 11 + , nss 12 + , nspr 13 + , systemd 10 14 , wrapGAppsHook 15 + , xorg 11 16 }: 12 17 13 18 let ··· 40 45 inherit pname version meta; 41 46 42 47 src = fetchurl { 43 - url = 44 - "https://github.com/Automattic/simplenote-electron/releases/download/" 45 - + "v${version}/Simplenote-linux-${version}-amd64.deb"; 48 + url = "https://github.com/Automattic/simplenote-electron/releases/download/v${version}/Simplenote-linux-${version}-amd64.deb"; 46 49 inherit sha256; 47 50 }; 48 51 ··· 61 64 dontPatchELF = true; 62 65 dontWrapGApps = true; 63 66 67 + # TODO: migrate off autoPatchelfHook and use nixpkgs' electron 64 68 nativeBuildInputs = [ 65 69 autoPatchelfHook 66 70 dpkg ··· 68 72 wrapGAppsHook 69 73 ]; 70 74 71 - buildInputs = atomEnv.packages; 75 + buildInputs = [ 76 + alsa-lib 77 + mesa 78 + xorg.libXScrnSaver 79 + xorg.libXtst 80 + nss 81 + nspr 82 + stdenv.cc.cc 83 + systemd 84 + ]; 72 85 73 86 unpackPhase = "dpkg-deb -x $src ."; 74 87
+3 -3
pkgs/applications/misc/tui-journal/default.nix
··· 11 11 12 12 rustPlatform.buildRustPackage rec { 13 13 pname = "tui-journal"; 14 - version = "0.3.1"; 14 + version = "0.3.2"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "AmmarAbouZor"; 18 18 repo = "tui-journal"; 19 19 rev = "v${version}"; 20 - hash = "sha256-DKactqPyZTDmD4F15wKHvwuzsZUj6y1MJuPyASnia/c="; 20 + hash = "sha256-ASozznbqtQc9bIzxbL94t2CHY2/PeXfR1DKfhTmsX74="; 21 21 }; 22 22 23 - cargoHash = "sha256-dLyI2cmIz1ucKdhAEs3Nz1tamcJUDZtdv4Fk/Wo+Zxs="; 23 + cargoHash = "sha256-H+j/i0Gfk7O2TLdw5FYHOrLy/jfMSF4cpzMtQ2XJn2M="; 24 24 25 25 nativeBuildInputs = [ 26 26 pkg-config
+2 -2
pkgs/applications/networking/cluster/ocm/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "ocm"; 5 - version = "0.1.68"; 5 + version = "0.1.69"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "openshift-online"; 9 9 repo = "ocm-cli"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-pJ/QWdKLVKFQuaGO9sNf6lhMMgqk9VZS9NLtUz+2+t8="; 11 + sha256 = "sha256-JKR58is8SzNmEQ8x1om1anReLIbNCHJkkzZQ1SiQ5J4="; 12 12 }; 13 13 14 14 vendorHash = "sha256-3HLTuWf4mK3r92s2mPE2yl/rrPxgcsB9EmrxkiJsMaE=";
+1 -19
pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchurl 4 - , atomEnv 5 4 , electron_26 6 - , systemd 7 - , pulseaudio 8 - , libxshmfence 9 - , libnotify 10 - , libappindicator-gtk3 11 5 , makeWrapper 12 - , autoPatchelfHook 13 6 }: 14 7 15 8 let ··· 38 31 39 32 src = fetchurl (srcs."${system}" or (throw "Unsupported system ${system}")); 40 33 41 - nativeBuildInputs = [ makeWrapper autoPatchelfHook ]; 42 - 43 - buildInputs = atomEnv.packages ++ [ 44 - libxshmfence 45 - ]; 46 - 47 - runtimeDependencies = [ 48 - (lib.getLib systemd) 49 - pulseaudio 50 - libnotify 51 - libappindicator-gtk3 52 - ]; 34 + nativeBuildInputs = [ makeWrapper ]; 53 35 54 36 installPhase = '' 55 37 runHook preInstall
+2 -2
pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix
··· 2 2 3 3 (if stdenv.isDarwin then darwin.apple_sdk_11_0.llvmPackages_14.stdenv else stdenv).mkDerivation rec { 4 4 pname = "signalbackup-tools"; 5 - version = "20230929"; 5 + version = "20231002-1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "bepaald"; 9 9 repo = pname; 10 10 rev = version; 11 - hash = "sha256-5U8znPKCe4auQRfysVUzXawnvnSj86MD3J2vfAwxofE="; 11 + hash = "sha256-aZ3KuUjBsgww7CFdSuYMurLc5sDruEX4xuQWDBaCfPk="; 12 12 }; 13 13 14 14 postPatch = ''
-15
pkgs/applications/networking/instant-messengers/teams/default.nix
··· 1 1 { lib 2 2 , stdenv 3 - , runtimeShell 4 3 , fetchurl 5 - , autoPatchelfHook 6 - , wrapGAppsHook 7 - , dpkg 8 - , atomEnv 9 - , libuuid 10 - , libappindicator-gtk3 11 - , pulseaudio 12 - , at-spi2-atk 13 - , coreutils 14 - , gawk 15 - , xdg-utils 16 - , systemd 17 - , asar 18 4 , xar 19 5 , cpio 20 6 , makeWrapper 21 - , enableRectOverlay ? false 22 7 }: 23 8 24 9 let
+16 -8
pkgs/applications/networking/instant-messengers/wire-desktop/default.nix
··· 1 - { atomEnv 2 - , autoPatchelfHook 1 + { autoPatchelfHook 3 2 , dpkg 4 3 , fetchurl 5 4 , makeDesktopItem ··· 11 10 , cpio 12 11 , xar 13 12 , libdbusmenu 14 - , libxshmfence 13 + , alsa-lib 14 + , mesa 15 + , nss 16 + , nspr 17 + , systemd 15 18 }: 16 19 17 20 let ··· 64 67 inherit pname version meta; 65 68 66 69 src = fetchurl { 67 - url = "https://wire-app.wire.com/linux/debian/pool/main/" 68 - + "Wire-${version}_amd64.deb"; 70 + url = "https://wire-app.wire.com/linux/debian/pool/main/Wire-${version}_amd64.deb"; 69 71 inherit hash; 70 72 }; 71 73 ··· 85 87 dontPatchELF = true; 86 88 dontWrapGApps = true; 87 89 90 + # TODO: migrate off autoPatchelfHook and use nixpkgs' electron 88 91 nativeBuildInputs = [ 89 92 autoPatchelfHook 90 93 dpkg ··· 92 95 wrapGAppsHook 93 96 ]; 94 97 95 - buildInputs = [ libxshmfence ] ++ atomEnv.packages; 98 + buildInputs = [ 99 + alsa-lib 100 + mesa 101 + nss 102 + nspr 103 + systemd 104 + ]; 96 105 97 106 unpackPhase = '' 98 107 runHook preUnpack ··· 132 141 inherit pname version meta; 133 142 134 143 src = fetchurl { 135 - url = "https://github.com/wireapp/wire-desktop/releases/download/" 136 - + "macos%2F${version}/Wire.pkg"; 144 + url = "https://github.com/wireapp/wire-desktop/releases/download/macos%2F${version}/Wire.pkg"; 137 145 inherit hash; 138 146 }; 139 147
+3 -3
pkgs/applications/networking/syncthing/default.nix
··· 13 13 common = { stname, target, postInstall ? "" }: 14 14 buildGoModule rec { 15 15 pname = stname; 16 - version = "1.24.0"; 16 + version = "1.25.0"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "syncthing"; 20 20 repo = "syncthing"; 21 21 rev = "v${version}"; 22 - hash = "sha256-5vr9qWMHBYpu8wHpV1JZcX1kEPi+mYeZ7ZQBqXASp9I="; 22 + hash = "sha256-HDzAqnWRfBlRHVf3V7+Y1IPH4QmZiRpxpEzOUgOYgUk="; 23 23 }; 24 24 25 - vendorHash = "sha256-BZwZ6npmWFU0lvynjRZOBOhtxqic0djoSUdCOLbUwjE="; 25 + vendorHash = "sha256-I/ul8ocHPlvtgbTR+/1FyqF0IbHZZSoAFe/0RFJtOYk="; 26 26 27 27 nativeBuildInputs = lib.optionals stdenv.isDarwin [ 28 28 # Recent versions of macOS seem to require binaries to be signed when
+10 -4
pkgs/applications/networking/termius/default.nix
··· 1 - { atomEnv 2 - , autoPatchelfHook 1 + { autoPatchelfHook 3 2 , squashfsTools 3 + , alsa-lib 4 4 , fetchurl 5 5 , makeDesktopItem 6 6 , makeWrapper 7 7 , stdenv 8 8 , lib 9 + , libsecret 10 + , mesa 9 11 , udev 10 12 , wrapGAppsHook 11 - , libxshmfence 12 13 }: 13 14 14 15 stdenv.mkDerivation rec { ··· 41 42 dontPatchELF = true; 42 43 dontWrapGApps = true; 43 44 45 + # TODO: migrate off autoPatchelfHook and use nixpkgs' electron 44 46 nativeBuildInputs = [ autoPatchelfHook squashfsTools makeWrapper wrapGAppsHook ]; 45 47 46 - buildInputs = atomEnv.packages ++ [ libxshmfence ]; 48 + buildInputs = [ 49 + alsa-lib 50 + libsecret 51 + mesa 52 + ]; 47 53 48 54 unpackPhase = '' 49 55 runHook preUnpack
+14 -4
pkgs/applications/office/trilium/desktop.nix
··· 1 1 { stdenv, lib, unzip, autoPatchelfHook 2 - , fetchurl, atomEnv, makeWrapper 3 - , makeDesktopItem, copyDesktopItems, wrapGAppsHook, libxshmfence 2 + , fetchurl, makeWrapper 3 + , alsa-lib, mesa, nss, nspr, systemd 4 + , makeDesktopItem, copyDesktopItems, wrapGAppsHook 4 5 , metaCommon 5 6 }: 6 7 ··· 24 25 25 26 src = fetchurl linuxSource; 26 27 28 + # TODO: migrate off autoPatchelfHook and use nixpkgs' electron 27 29 nativeBuildInputs = [ 28 30 autoPatchelfHook 29 31 makeWrapper ··· 31 33 copyDesktopItems 32 34 ]; 33 35 34 - buildInputs = atomEnv.packages ++ [ libxshmfence ]; 36 + buildInputs = [ 37 + alsa-lib 38 + mesa 39 + nss 40 + nspr 41 + stdenv.cc.cc 42 + systemd 43 + ]; 35 44 36 45 desktopItems = [ 37 46 (makeDesktopItem { ··· 64 73 ''; 65 74 66 75 # LD_LIBRARY_PATH "shouldn't" be needed, remove when possible :) 76 + # Error: libstdc++.so.6: cannot open shared object file: No such file or directory 67 77 preFixup = '' 68 - gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : ${atomEnv.libPath}) 78 + gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath buildInputs}) 69 79 ''; 70 80 71 81 dontStrip = true;
+1 -1
pkgs/applications/science/chemistry/openmolcas/default.nix
··· 104 104 "-DTOOLS=ON" 105 105 "-DHDF5=ON" 106 106 "-DFDE=ON" 107 - "-DEXTERNAL_LIBXC=${libxc}" 107 + "-DEXTERNAL_LIBXC=${lib.getDev libxc}" 108 108 "-DDMRG=ON" 109 109 "-DNEVPT2=ON" 110 110 "-DCMAKE_SKIP_BUILD_RPATH=ON"
+4 -3
pkgs/applications/science/molecular-dynamics/lammps/default.nix
··· 44 44 }: 45 45 46 46 stdenv.mkDerivation (finalAttrs: { 47 - # LAMMPS has weird versioning converted to ISO 8601 format 48 - version = "2Aug2023"; 47 + # LAMMPS has weird versioning convention. Updates should go smoothly with: 48 + # nix-update --commit lammps --version-regex 'stable_(.*)' 49 + version = "2Aug2023_update1"; 49 50 pname = "lammps"; 50 51 51 52 src = fetchFromGitHub { 52 53 owner = "lammps"; 53 54 repo = "lammps"; 54 55 rev = "stable_${finalAttrs.version}"; 55 - hash = "sha256-6T4YAa4iN3pJpODGPW+faR16xxyYYdkHLavtiPUbZ4o="; 56 + hash = "sha256-Zmn87a726qdidBfyvJlYleYv9jqyFAakxjGrg3lipc0="; 56 57 }; 57 58 preConfigure = '' 58 59 cd cmake
+2 -2
pkgs/applications/version-management/gitea/default.nix
··· 20 20 21 21 buildGoModule rec { 22 22 pname = "gitea"; 23 - version = "1.20.4"; 23 + version = "1.20.5"; 24 24 25 25 # not fetching directly from the git repo, because that lacks several vendor files for the web UI 26 26 src = fetchurl { 27 27 url = "https://dl.gitea.com/gitea/${version}/gitea-src-${version}.tar.gz"; 28 - hash = "sha256-96LI7/4FZy17KED2xc4UFyW4e47DZMuSnMw7loYYB8c="; 28 + hash = "sha256-cH/AHsFXOdvfSfj9AZUd3l/RlYE06o1ByZu0vvGQuXw="; 29 29 }; 30 30 31 31 vendorHash = null;
+2 -2
pkgs/applications/video/obs-studio/plugins/obs-move-transition.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "obs-move-transition"; 10 - version = "2.9.1"; 10 + version = "2.9.4"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "exeldro"; 14 14 repo = "obs-move-transition"; 15 15 rev = version; 16 - sha256 = "sha256-8c+ifFESdNgND+93pOCwkNSvvPtzvNPtvQIp8oW6CQE="; 16 + sha256 = "sha256-TY+sR7IaOlbFeeh7GL5dgM779pcpiCqzBo7VTK8Uz0E="; 17 17 }; 18 18 19 19 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/applications/video/obs-studio/plugins/obs-shaderfilter.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "obs-shaderfilter"; 11 - version = "v1.22"; 11 + version = "2.0.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "exeldro"; 15 15 repo = "obs-shaderfilter"; 16 16 rev = version; 17 - sha256 = "sha256-CqqYzGRhlHO8Zva+so8uo9+EIlzTfoFVl3NzZMsE7Xc="; 17 + sha256 = "sha256-CEe/NUIYhVdvs7/ZvrvuwKPRNofWE+WZxN6yN8RACs8="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ cmake ];
+47
pkgs/by-name/as/ast-grep/package.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , stdenv 5 + }: 6 + 7 + rustPlatform.buildRustPackage rec { 8 + pname = "ast-grep"; 9 + version = "0.12.2"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "ast-grep"; 13 + repo = "ast-grep"; 14 + rev = version; 15 + hash = "sha256-N9hfHgzqwV/G3/xNY2Vx1i2dW6BcABJ/4lkhnLuvIns="; 16 + }; 17 + 18 + cargoHash = "sha256-3ntsPC6OWtSN3MH+3wN2BgOqH69jiW93/xfLY+niARI="; 19 + 20 + # error: linker `aarch64-linux-gnu-gcc` not found 21 + postPatch = '' 22 + rm .cargo/config.toml 23 + ''; 24 + 25 + checkFlags = [ 26 + # disable flaky test 27 + "--skip=test::test_load_parser_mac" 28 + 29 + # BUG: Broke by 0.12.1 update (https://github.com/NixOS/nixpkgs/pull/257385) 30 + # Please check if this is fixed in future updates of the package 31 + "--skip=verify::test_case::tests::test_unmatching_id" 32 + ] ++ lib.optionals (with stdenv.hostPlatform; (isDarwin && isx86_64) || (isLinux && isAarch64)) [ 33 + # x86_64-darwin: source/benches/fixtures/json-mac.so\' (no such file), \'/private/tmp/nix-build-.../source/benches/fixtures/json-mac.so\' (mach-o file, but is an incompatible architecture (have \'arm64\', need \'x86_64h\' or \'x86_64\'))" }) 34 + # aarch64-linux: /build/source/benches/fixtures/json-linux.so: cannot open shared object file: No such file or directory" 35 + "--skip=test::test_load_parser" 36 + "--skip=test::test_register_lang" 37 + ]; 38 + 39 + meta = with lib; { 40 + mainProgram = "sg"; 41 + description = "A fast and polyglot tool for code searching, linting, rewriting at large scale"; 42 + homepage = "https://ast-grep.github.io/"; 43 + changelog = "https://github.com/ast-grep/ast-grep/blob/${src.rev}/CHANGELOG.md"; 44 + license = licenses.mit; 45 + maintainers = with maintainers; [ montchr lord-valen cafkafk ]; 46 + }; 47 + }
+1 -1
pkgs/by-name/gi/girouette/package.nix
··· 37 37 homepage = "https://github.com/gourlaysama/girouette"; 38 38 changelog = "https://github.com/gourlaysama/girouette/blob/${src.rev}/CHANGELOG.md"; 39 39 license = with licenses; [ asl20 mit ]; 40 - maintainers = with maintainers; [ linuxissuper ]; 40 + maintainers = with maintainers; [ linuxissuper cafkafk ]; 41 41 mainProgram = "girouette"; 42 42 }; 43 43 }
+29
pkgs/by-name/ku/kubectl-neat/package.nix
··· 1 + { lib, buildGoModule, fetchFromGitHub, bash }: 2 + 3 + buildGoModule rec { 4 + pname = "kubectl-neat"; 5 + version = "2.0.3"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "itaysk"; 9 + repo = "kubectl-neat"; 10 + rev = "v${version}"; 11 + hash = "sha256-j8v0zJDBqHzmLamIZPW9UvMe9bv/m3JUQKY+wsgMTFk="; 12 + }; 13 + 14 + vendorHash = "sha256-vGXoYR0DT9V1BD/FN/4szOal0clsLlqReTFkAd2beMw="; 15 + 16 + postBuild = '' 17 + # Replace path to bash in a script 18 + # Without this change, there's a problem when running tests 19 + sed 's,#!/bin/bash,#!${bash}/bin/bash,' -i test/kubectl-stub 20 + ''; 21 + 22 + meta = with lib; { 23 + description = "Clean up Kubernetes yaml and json output to make it readable"; 24 + homepage = "https://github.com/itaysk/kubectl-neat"; 25 + changelog = "https://github.com/itaysk/kubectl-neat/releases/tag/v${version}"; 26 + license = licenses.asl20; 27 + maintainers = [ maintainers.koralowiec ]; 28 + }; 29 + }
+50
pkgs/by-name/nu/nuget/package.nix
··· 1 + { stdenv, fetchFromGitHub, makeWrapper, mono, lib }: 2 + 3 + stdenv.mkDerivation (attrs: { 4 + pname = "Nuget"; 5 + version = "6.6.1.2"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "mono"; 9 + repo = "linux-packaging-nuget"; 10 + rev = "upstream/${attrs.version}.bin"; 11 + sha256 = "sha256-9/dSeVshHbpYIgGE/8OzrB4towrWVB3UxDi8Esmbu7Y="; 12 + }; 13 + 14 + nativeBuildInputs = [ 15 + makeWrapper 16 + ]; 17 + 18 + installPhase = '' 19 + runHook preInstall 20 + 21 + mkdir -p $out/lib/${attrs.pname} 22 + cp -r . $out/lib/${attrs.pname}/ 23 + 24 + mkdir -p $out/bin 25 + makeWrapper \ 26 + "${mono}/bin/mono" \ 27 + "$out/bin/nuget" \ 28 + --add-flags "$out/lib/${attrs.pname}/nuget.exe" 29 + 30 + runHook postInstall 31 + ''; 32 + 33 + meta = with lib; { 34 + description = "A package manager for the .NET platform"; 35 + homepage = "https://www.mono-project.com/"; 36 + longDescription = '' 37 + NuGet is the package manager for the .NET platform. 38 + This derivation bundles the Mono NuGet CLI, which is mostly used by 39 + older projects based on .NET Framework. 40 + 41 + Newer .NET projects can use the dotnet CLI, which has most of this 42 + packages functionality built-in. 43 + ''; 44 + # https://learn.microsoft.com/en-us/nuget/resources/nuget-faq#what-is-the-license-for-nuget-exe- 45 + license = licenses.mit; 46 + sourceProvenance = [ sourceTypes.binaryBytecode ]; 47 + maintainers = [ maintainers.mdarocha ]; 48 + platforms = [ "x86_64-linux" ]; 49 + }; 50 + })
+2 -2
pkgs/by-name/or/orchard/package.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "orchard"; 5 - version = "0.12.0"; 5 + version = "0.13.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "cirruslabs"; 9 9 repo = pname; 10 10 rev = version; 11 - hash = "sha256-+QNYlZ3/GiDtCySZPOlrDy03lkdGGvbFCWidQhbZJYQ="; 11 + hash = "sha256-b9AHsyMiR3gTXGRbmIUX9uSd7u3dFoUZ/CtKrYpuzno="; 12 12 # populate values that require us to use git. By doing this in postFetch we 13 13 # can delete .git afterwards and maintain better reproducibility of the src. 14 14 leaveDotGit = true;
+2 -2
pkgs/data/themes/where-is-my-sddm-theme/default.nix
··· 23 23 24 24 stdenvNoCC.mkDerivation rec { 25 25 pname = "where-is-my-sddm-theme"; 26 - version = "1.5.0"; 26 + version = "1.5.1"; 27 27 28 28 src = fetchFromGitHub { 29 29 owner = "stepanzubkov"; 30 30 repo = pname; 31 31 rev = "v${version}"; 32 - hash = "sha256-kW6W8DELi9Xqn9xWLlcKmxk4tO5FKdApaYTZimQ+7B0="; 32 + hash = "sha256-T6b+rxjlxZCQ/KDaxBM8ZryA3n6a+3jo+J2nETBYslM="; 33 33 }; 34 34 35 35 propagatedUserEnvPkgs = [ qtgraphicaleffects ];
+4
pkgs/development/beam-modules/elixir-ls/default.nix
··· 49 49 substitute release/language_server.sh $out/bin/elixir-ls \ 50 50 --replace 'exec "''${dir}/launch.sh"' "exec $out/lib/launch.sh" 51 51 chmod +x $out/bin/elixir-ls 52 + 53 + substitute release/debugger.sh $out/bin/elixir-debugger \ 54 + --replace 'exec "''${dir}/launch.sh"' "exec $out/lib/launch.sh" 55 + chmod +x $out/bin/elixir-debugger 52 56 # prepare the launcher 53 57 substituteInPlace $out/lib/launch.sh \ 54 58 --replace "ERL_LIBS=\"\$SCRIPTPATH:\$ERL_LIBS\"" \
+2 -2
pkgs/development/libraries/faudio/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "faudio"; 7 - version = "23.09"; 7 + version = "23.10"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "FNA-XNA"; 11 11 repo = "FAudio"; 12 12 rev = version; 13 - sha256 = "sha256-Sl+dOM1YMDwCN07ThR/JFwhNS10P7+uQJNUQAvFdYa8="; 13 + sha256 = "sha256-h4wPUUYG8IZr2jHUlKFO2K3QKGiX9AzyLc2Ma5hR8Tk="; 14 14 }; 15 15 16 16 nativeBuildInputs = [cmake];
+6
pkgs/development/libraries/kde-frameworks/kio/default.nix
··· 28 28 outputs = [ "out" "dev" ]; 29 29 patches = [ 30 30 ./0001-Remove-impure-smbd-search-path.patch 31 + 32 + # Fix a crash when saving files. 33 + (fetchpatch { 34 + url = "https://invent.kde.org/frameworks/kio/-/commit/48322f44323a1fc09305d66d9093fe6c3780709e.patch"; 35 + hash = "sha256-4NxI2mD/TdthvrzgatCAlM6VN3N38i3IJUHh0Bs8Fjk="; 36 + }) 31 37 ]; 32 38 }
+23
pkgs/development/lua-modules/generated-packages.nix
··· 2501 2501 }; 2502 2502 }) {}; 2503 2503 2504 + middleclass = callPackage({ luaOlder, buildLuarocksPackage, fetchurl, lua }: 2505 + buildLuarocksPackage { 2506 + pname = "middleclass"; 2507 + version = "4.1.1-0"; 2508 + knownRockspec = (fetchurl { 2509 + url = "mirror://luarocks/middleclass-4.1.1-0.rockspec"; 2510 + sha256 = "10xzs48lr1dy7cx99581r956gl16px0a9gbdlfar41n19r96mhb1"; 2511 + }).outPath; 2512 + src = fetchurl { 2513 + url = "https://github.com/kikito/middleclass/archive/v4.1.1.tar.gz"; 2514 + sha256 = "11ahv0b9wgqfnabv57rb7ilsvn2vcvxb1czq6faqrsqylvr5l7nh"; 2515 + }; 2516 + 2517 + disabled = (luaOlder "5.1"); 2518 + propagatedBuildInputs = [ lua ]; 2519 + 2520 + meta = { 2521 + homepage = "https://github.com/kikito/middleclass"; 2522 + description = "A simple OOP library for Lua"; 2523 + license.fullName = "MIT"; 2524 + }; 2525 + }) {}; 2526 + 2504 2527 moonscript = callPackage({ lpeg, luaOlder, fetchgit, lua, buildLuarocksPackage, argparse, luafilesystem }: 2505 2528 buildLuarocksPackage { 2506 2529 pname = "moonscript";
+2 -2
pkgs/development/mobile/maestro/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "maestro"; 5 - version = "1.33.0"; 5 + version = "1.33.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 = "0xv7kbnr3q7w3lvlhwqwbpxz18wsb22k51xrq2dp73wdqk3jd36v"; 9 + sha256 = "142h53qwmibi9bpdwla9ard771vcri8yibnynvgj5nvfgapj2p4z"; 10 10 }; 11 11 12 12 dontUnpack = true;
+20
pkgs/development/ocaml-modules/lun/default.nix
··· 1 + { lib, buildDunePackage, fetchurl }: 2 + 3 + buildDunePackage rec { 4 + pname = "lun"; 5 + version = "0.0.1"; 6 + 7 + minimalOCamlVersion = "4.12.0"; 8 + 9 + src = fetchurl { 10 + url = "https://github.com/robur-coop/lun/releases/download/v${version}/lun-${version}.tbz"; 11 + hash = "sha256-zKi63/g7Rw/c+xhAEW+Oim8suGzeL0TtKM8my/aSp5M="; 12 + }; 13 + 14 + meta = { 15 + description = "Optics in OCaml"; 16 + homepage = "https://git.robur.coop/robur/lun"; 17 + license = lib.licenses.isc; 18 + maintainers = with lib.maintainers; [ marsam ]; 19 + }; 20 + }
+17
pkgs/development/ocaml-modules/lun/ppx.nix
··· 1 + { lib, buildDunePackage, fetchurl, fmt, lun, ppxlib }: 2 + 3 + buildDunePackage { 4 + pname = "ppx_lun"; 5 + inherit (lun) version src; 6 + 7 + propagatedBuildInputs = [ lun ppxlib ]; 8 + 9 + checkInputs = [ fmt ]; 10 + 11 + doCheck = true; 12 + 13 + meta = lun.meta // { 14 + description = "Optics with lun package and PPX"; 15 + license = lib.licenses.mit; 16 + }; 17 + }
+73
pkgs/development/python-modules/aioboto3/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , poetry-core 5 + , poetry-dynamic-versioning 6 + , aiobotocore 7 + , chalice 8 + , cryptography 9 + , boto3 10 + , pytestCheckHook 11 + , pytest-asyncio 12 + , requests 13 + , aiofiles 14 + , moto 15 + , dill 16 + }: 17 + 18 + buildPythonPackage rec { 19 + pname = "aioboto3"; 20 + version = "11.3.0"; 21 + pyproject = true; 22 + 23 + src = fetchFromGitHub { 24 + owner = "terrycain"; 25 + repo = "aioboto3"; 26 + rev = "v${version}"; 27 + hash = "sha256-jU9sKhbUdVeOvOXQnXR/S/4sBwTNcQCc9ZduO+HDXho="; 28 + }; 29 + 30 + postPatch = '' 31 + substituteInPlace pyproject.toml \ 32 + --replace poetry.masonry.api poetry.core.masonry.api \ 33 + --replace "poetry>=0.12" "poetry-core>=0.12" 34 + ''; 35 + 36 + nativeBuildInputs = [ 37 + poetry-core 38 + poetry-dynamic-versioning 39 + ]; 40 + 41 + propagatedBuildInputs = [ 42 + aiobotocore 43 + boto3 44 + ]; 45 + 46 + passthru.optional-dependencies = { 47 + chalice = [ 48 + chalice 49 + ]; 50 + s3cse = [ 51 + cryptography 52 + ]; 53 + }; 54 + 55 + nativeCheckInputs = [ 56 + pytestCheckHook 57 + pytest-asyncio 58 + requests 59 + aiofiles 60 + moto 61 + dill 62 + ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); 63 + 64 + pythonImportsCheck = [ "aioboto3" ]; 65 + 66 + meta = with lib; { 67 + description = "Wrapper to use boto3 resources with the aiobotocore async backend"; 68 + homepage = "https://github.com/terrycain/aioboto3"; 69 + changelog = "https://github.com/terrycain/aioboto3/blob/${src.rev}/CHANGELOG.rst"; 70 + license = licenses.asl20; 71 + maintainers = with maintainers; [ mbalatsko ]; 72 + }; 73 + }
+2 -2
pkgs/development/python-modules/clevercsv/default.nix
··· 20 20 21 21 buildPythonPackage rec { 22 22 pname = "clevercsv"; 23 - version = "0.8.1"; 23 + version = "0.8.2"; 24 24 format = "setuptools"; 25 25 26 26 src = fetchFromGitHub { 27 27 owner = "alan-turing-institute"; 28 28 repo = "CleverCSV"; 29 29 rev = "refs/tags/v${version}"; 30 - hash = "sha256-kCkMZnHbFUuBBvlQ5rn0tNeL7uTAq0aodpj2JvPo968="; 30 + hash = "sha256-yyPUNFDq9W5OW1muHtQ10QgAHhXI8w7CY77fsWhIy0k="; 31 31 }; 32 32 33 33 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/gitignore-parser/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "gitignore-parser"; 10 - version = "0.1.6"; 10 + version = "0.1.7"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.7"; ··· 16 16 owner = "mherrmann"; 17 17 repo = "gitignore_parser"; 18 18 rev = "refs/tags/v${version}"; 19 - hash = "sha256-RAtXh57WU67fKQhhItdOm25BYfh3ucc0eyWUHGksnLg="; 19 + hash = "sha256-Zw7BuhdUzd0pjlRHf3KbkOUhLuBVvlKhWIzZocKOU30="; 20 20 }; 21 21 22 22 nativeCheckInputs = [
+7 -2
pkgs/development/python-modules/google-cloud-bigquery-datatransfer/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "google-cloud-bigquery-datatransfer"; 17 - version = "3.12.0"; 17 + version = "3.12.1"; 18 18 format = "setuptools"; 19 19 20 20 disabled = pythonOlder "3.7"; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - hash = "sha256-5jxcN69FPuAZ7xiBcBu5+aE+q4OU9OlM+i9bd6vMnJI="; 24 + hash = "sha256-uEWnQIGs4yybuukzgrAqaduFYKNW9h/WouX2MzSVgUg="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [ ··· 41 41 pythonImportsCheck = [ 42 42 "google.cloud.bigquery_datatransfer" 43 43 "google.cloud.bigquery_datatransfer_v1" 44 + ]; 45 + 46 + disabledTests = [ 47 + # Tests require project ID 48 + "test_list_data_sources" 44 49 ]; 45 50 46 51 meta = with lib; {
+4 -2
pkgs/development/python-modules/google-cloud-os-config/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "google-cloud-os-config"; 14 - version = "1.15.2"; 14 + version = "1.15.3"; 15 15 format = "setuptools"; 16 16 17 17 disabled = pythonOlder "3.7"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - hash = "sha256-WgrqxnVsbA0ppvfcqxW+kA8vjn71bMU9qAyZraqYt8g="; 21 + hash = "sha256-KNM4wASyfgoBqhXa5k+8tf+AN9VljHDDK0U849N5qHI="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [ ··· 37 37 ]; 38 38 39 39 disabledTests = [ 40 + # Test requires a project ID 40 41 "test_patch_deployment" 41 42 "test_patch_job" 43 + "test_list_patch_jobs" 42 44 ]; 43 45 44 46 meta = with lib; {
+2 -2
pkgs/development/python-modules/google-cloud-texttospeech/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "google-cloud-texttospeech"; 15 - version = "2.14.1"; 15 + version = "2.14.2"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.8"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - hash = "sha256-3XFvKnaK1nUCz9mbmSXFH/1uFr6TtBCr7v/arBkL/oE="; 22 + hash = "sha256-ojc4NmmI+vTSZSAPV8XeQxLvo9FLtDS5Km5UFxP12QY="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/gspread/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "gspread"; 15 - version = "5.11.2"; 15 + version = "5.11.3"; 16 16 format = "pyproject"; 17 17 18 18 disabled = pythonOlder "3.7"; ··· 21 21 owner = "burnash"; 22 22 repo = "gspread"; 23 23 rev = "refs/tags/v${version}"; 24 - hash = "sha256-geP01U34HzBSmA8FTTaTMlv508hzGBXFiASjGw3uUmQ="; 24 + hash = "sha256-O6uhT8zfCGiGr0v8pEMZ4uLuDAdFpiTie7EC3rphZQI="; 25 25 }; 26 26 27 27 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pex/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "pex"; 10 - version = "2.1.147"; 10 + version = "2.1.148"; 11 11 format = "pyproject"; 12 12 13 13 disabled = pythonOlder "3.7"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - hash = "sha256-oTzMMTbq+prKNE8hhBWsRvhxBD+Ca/M1pVuppSByjp4="; 17 + hash = "sha256-XRER28ObI9TsZ5h5LkAXhExGq+c4hpoEun2hagkpUXk="; 18 18 }; 19 19 20 20 nativeBuildInputs = [
+14 -5
pkgs/development/python-modules/podcastparser/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , pytestCheckHook 5 + , pythonOlder 5 6 }: 6 7 7 8 buildPythonPackage rec { 8 9 pname = "podcastparser"; 9 10 version = "0.6.10"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 10 14 11 15 src = fetchFromGitHub { 12 16 owner = "gpodder"; ··· 16 20 }; 17 21 18 22 postPatch = '' 19 - rm pytest.ini 23 + substituteInPlace pytest.ini \ 24 + --replace "--cov=podcastparser --cov-report html --doctest-modules" "" 20 25 ''; 21 26 22 27 nativeCheckInputs = [ 23 28 pytestCheckHook 24 29 ]; 25 30 26 - meta = { 27 - description = "podcastparser is a simple, fast and efficient podcast parser written in Python."; 31 + pythonImportsCheck = [ 32 + "podcastparser" 33 + ]; 34 + 35 + meta = with lib; { 36 + description = "Module to parse podcasts"; 28 37 homepage = "http://gpodder.org/podcastparser/"; 29 - license = lib.licenses.bsd2; 30 - maintainers = with lib.maintainers; [ mic92 ]; 38 + license = licenses.bsd2; 39 + maintainers = with maintainers; [ mic92 ]; 31 40 }; 32 41 }
+2 -2
pkgs/development/python-modules/schedule/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "schedule"; 10 - version = "1.2.0"; 10 + version = "1.2.1"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.7"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - hash = "sha256-tK1peq+6cYTJ62oeLrxB94FUckKs3ozq6aCiWwTAki0="; 17 + hash = "sha256-hDvAU4uZyT8CuLUOPjmIbAby0AOyT0jhqkyt+j80Enk="; 18 18 }; 19 19 20 20 buildInputs = [
+2 -2
pkgs/development/tools/build-managers/msbuild/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, makeWrapper, glibcLocales, mono, dotnetPackages, unzip, dotnetCorePackages, writeText, roslyn }: 1 + { lib, stdenv, fetchurl, fetchpatch, makeWrapper, glibcLocales, mono, nuget, unzip, dotnetCorePackages, writeText, roslyn }: 2 2 3 3 let 4 4 ··· 42 42 ]; 43 43 44 44 buildInputs = [ 45 - dotnetPackages.Nuget 45 + nuget 46 46 glibcLocales 47 47 ]; 48 48
+2 -2
pkgs/development/tools/changie/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "changie"; 9 - version = "1.13.1"; 9 + version = "1.14.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "miniscruff"; 13 13 repo = "changie"; 14 14 rev = "v${version}"; 15 - hash = "sha256-euwOATFDY+5kwNLhdNbpIv5p3zoJtuoh5JzzIRj2MyM="; 15 + hash = "sha256-ulbpitTCIuRg50GAin54RNVMUl8ZuwYW1SnenvemckA="; 16 16 }; 17 17 18 18 vendorHash = "sha256-giOL4/ZofaylhX+s7y75RR7d3WDxNCmr25JHBZZkH9s=";
+2 -22
pkgs/development/tools/electron/binary/default.nix
··· 1 - { lib, stdenv 2 - , libXScrnSaver 3 - , makeWrapper 4 - , fetchurl 5 - , wrapGAppsHook 6 - , glib 7 - , gtk3 8 - , unzip 9 - , atomEnv 10 - , libuuid 11 - , at-spi2-atk 12 - , at-spi2-core 13 - , libdrm 14 - , mesa 15 - , libxkbcommon 16 - , libappindicator-gtk3 17 - , libxshmfence 18 - , libglvnd 19 - , wayland 20 - }@args: 1 + { callPackage }: 21 2 22 3 let 23 - mkElectron = import ./generic.nix args; 4 + mkElectron = callPackage ./generic.nix { }; 24 5 in 25 6 rec { 26 - 27 7 electron-bin = electron_26-bin; 28 8 29 9 electron_10-bin = mkElectron "10.4.7" {
+43 -14
pkgs/development/tools/electron/binary/generic.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , libXScrnSaver 3 4 , makeWrapper 4 5 , fetchurl ··· 6 7 , glib 7 8 , gtk3 8 9 , unzip 9 - , atomEnv 10 - , libuuid 11 10 , at-spi2-atk 12 - , at-spi2-core 13 11 , libdrm 14 12 , mesa 15 13 , libxkbcommon 16 - , libappindicator-gtk3 17 14 , libxshmfence 18 15 , libglvnd 19 - , wayland 16 + , alsa-lib 17 + , cairo 18 + , cups 19 + , dbus 20 + , expat 21 + , gdk-pixbuf 22 + , nss 23 + , nspr 24 + , xorg 25 + , pango 26 + , systemd 20 27 }: 21 28 22 29 version: hashes: ··· 64 71 passthru.headers = headersFetcher version hashes.headers; 65 72 }; 66 73 67 - electronLibPath = with lib; makeLibraryPath ( 68 - [ libuuid at-spi2-atk at-spi2-core libappindicator-gtk3 wayland ] 69 - ++ optionals (versionAtLeast version "9.0.0") [ libdrm mesa ] 70 - ++ optionals (versionOlder version "10.0.0") [ libXScrnSaver ] 71 - ++ optionals (versionAtLeast version "11.0.0") [ libxkbcommon ] 72 - ++ optionals (versionAtLeast version "12.0.0") [ libxshmfence ] 73 - ++ optionals (versionAtLeast version "17.0.0") [ libglvnd ] 74 + electronLibPath = lib.makeLibraryPath ([ 75 + alsa-lib 76 + at-spi2-atk 77 + cairo 78 + cups 79 + dbus 80 + expat 81 + gdk-pixbuf 82 + glib 83 + gtk3 84 + nss 85 + nspr 86 + xorg.libX11 87 + xorg.libxcb 88 + xorg.libXcomposite 89 + xorg.libXdamage 90 + xorg.libXext 91 + xorg.libXfixes 92 + xorg.libXrandr 93 + xorg.libxkbfile 94 + pango 95 + stdenv.cc.cc.lib 96 + systemd 97 + ] 98 + ++ lib.optionals (lib.versionAtLeast version "9.0.0") [ libdrm mesa ] 99 + ++ lib.optionals (lib.versionOlder version "10.0.0") [ libXScrnSaver ] 100 + ++ lib.optionals (lib.versionAtLeast version "11.0.0") [ libxkbcommon ] 101 + ++ lib.optionals (lib.versionAtLeast version "12.0.0") [ libxshmfence ] 102 + ++ lib.optionals (lib.versionAtLeast version "17.0.0") [ libglvnd ] 74 103 ); 75 104 76 105 linux = { ··· 95 124 postFixup = '' 96 125 patchelf \ 97 126 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 98 - --set-rpath "${atomEnv.libPath}:${electronLibPath}:$out/libexec/electron" \ 127 + --set-rpath "${electronLibPath}:$out/libexec/electron" \ 99 128 $out/libexec/electron/.electron-wrapped \ 100 129 ${lib.optionalString (lib.versionAtLeast version "15.0.0") "$out/libexec/electron/.chrome_crashpad_handler-wrapped" } 101 130 '';
-38
pkgs/development/tools/misc/ast-grep/default.nix
··· 1 - { lib 2 - , rustPlatform 3 - , fetchFromGitHub 4 - , stdenv 5 - }: 6 - 7 - rustPlatform.buildRustPackage rec { 8 - pname = "ast-grep"; 9 - version = "0.11.1"; 10 - 11 - src = fetchFromGitHub { 12 - owner = "ast-grep"; 13 - repo = "ast-grep"; 14 - rev = version; 15 - hash = "sha256-1ThEJ8VEcXNScY4zmmXz7BVYs6irE1h9HDxkVvmVq1k="; 16 - }; 17 - 18 - cargoHash = "sha256-3myUFgKktvD9S0Bp7ixsZb59p3iDwmiEKUFD7wB+7IM="; 19 - 20 - # error: linker `aarch64-linux-gnu-gcc` not found 21 - postPatch = '' 22 - rm .cargo/config.toml 23 - ''; 24 - 25 - checkFlags = [ 26 - # disable flaky test 27 - "--skip=test::test_load_parser_mac" 28 - ]; 29 - 30 - meta = with lib; { 31 - mainProgram = "sg"; 32 - description = "A fast and polyglot tool for code searching, linting, rewriting at large scale"; 33 - homepage = "https://ast-grep.github.io/"; 34 - changelog = "https://github.com/ast-grep/ast-grep/blob/${src.rev}/CHANGELOG.md"; 35 - license = licenses.mit; 36 - maintainers = with maintainers; [ montchr lord-valen cafkafk ]; 37 - }; 38 - }
+3 -3
pkgs/development/tools/misc/orogene/default.nix
··· 9 9 10 10 rustPlatform.buildRustPackage rec { 11 11 pname = "orogene"; 12 - version = "0.3.32"; 12 + version = "0.3.33"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "orogene"; 16 16 repo = "orogene"; 17 17 rev = "v${version}"; 18 - hash = "sha256-UB/FI5LUyksKzAgzsza5NTDtYWou69hqj0M2GWV/FcA="; 18 + hash = "sha256-HG+/m/ZomlGu/ATHqZjhjo/pjncVBZLOP6UlcCOyLKc="; 19 19 fetchSubmodules = true; 20 20 }; 21 21 22 - cargoHash = "sha256-/Yb1QTsye60qL6B3TM6Wd1W8n4XMxMhu42CLvJcqIYw="; 22 + cargoHash = "sha256-iygP+x1uEHUpUGaxQjt50sFd5ZWpFxOqPvnkGqIvh6A="; 23 23 24 24 nativeBuildInputs = [ 25 25 pkg-config
+3 -3
pkgs/development/tools/misc/src-cli/default.nix
··· 10 10 11 11 buildGoModule rec { 12 12 pname = "src-cli"; 13 - version = "5.1.2"; 13 + version = "5.2.0"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "sourcegraph"; 17 17 repo = "src-cli"; 18 18 rev = version; 19 - hash = "sha256-byfmZQDYn76/0K/ByKePXF+eWVZNCnAqu5k6UN7Iijg="; 19 + hash = "sha256-QUcN71Zvg9BSQHXu8ANye9BOX5cDgMgl2jfhUgz/GVE="; 20 20 }; 21 21 22 - vendorHash = "sha256-DASjCyOY9+USRYrnIS+Li4zhBnZNoyxUgN9LqhIAMh8="; 22 + vendorHash = "sha256-YhaxgEGYKrRZagnpoMi/mGWXVkbp5fUjQ73xDFdTElw="; 23 23 24 24 subPackages = [ 25 25 "cmd/src"
+2 -2
pkgs/development/tools/pyenv/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "pyenv"; 9 - version = "2.3.26"; 9 + version = "2.3.28"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "pyenv"; 13 13 repo = "pyenv"; 14 14 rev = "refs/tags/v${version}"; 15 - hash = "sha256-3pLH8/k+9T8lDBw/qd9WcYE4o3SwG/WXGWR0sLGUWLE="; 15 + hash = "sha256-KxYxHNoXk4RVA5+mpE3hjrl1c+7Ei/km/zrMIvvV+1M="; 16 16 }; 17 17 18 18 postPatch = ''
+1 -1
pkgs/development/tools/rye/Cargo.lock
··· 1772 1772 1773 1773 [[package]] 1774 1774 name = "rye" 1775 - version = "0.14.0" 1775 + version = "0.15.0" 1776 1776 dependencies = [ 1777 1777 "age", 1778 1778 "anyhow",
+2 -2
pkgs/development/tools/rye/default.nix
··· 10 10 11 11 rustPlatform.buildRustPackage rec { 12 12 pname = "rye"; 13 - version = "0.14.0"; 13 + version = "0.15.0"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "mitsuhiko"; 17 17 repo = "rye"; 18 18 rev = "refs/tags/${version}"; 19 - hash = "sha256-4BLseGLNWZN5AE+Ol6f3DOLtWJ3VdUsba1ONLsNEDXU="; 19 + hash = "sha256-+19xDXMTJ0C7JsFrbykn9/2zaa71yJJAQpWdBNvgYbQ="; 20 20 }; 21 21 22 22 cargoLock = {
+2 -2
pkgs/development/tools/symfony-cli/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "symfony-cli"; 5 - version = "5.5.9"; 5 + version = "5.5.10"; 6 6 vendorHash = "sha256-eeVi/O4p7bF4CPqJBCpLfx1Yc5vZZ3b8RV5ERcIL8H4="; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "symfony-cli"; 10 10 repo = "symfony-cli"; 11 11 rev = "v${version}"; 12 - hash = "sha256-dQ7ImNSnWD2u9cY9VEBlum45YqlhHgczAkD70QJFr68="; 12 + hash = "sha256-n0R+J41lJYxswMnknYAAEKwwIqOremZF73cRBYfD3CE="; 13 13 }; 14 14 15 15 ldflags = [
+2 -2
pkgs/development/tools/vendir/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "vendir"; 5 - version = "0.34.4"; 5 + version = "0.35.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "vmware-tanzu"; 9 9 repo = "carvel-vendir"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-HdKMPXZIz1n8+170E3Aj7BYquVGgnPwRKJ5CZcqN35M="; 11 + sha256 = "sha256-aN8O+5zzGGLWAPk/oNFOnBBv2rsljWaxTKlC19XTt58="; 12 12 }; 13 13 14 14 vendorHash = null;
+2 -2
pkgs/servers/dns/coredns/default.nix
··· 33 33 modBuildPhase = '' 34 34 for plugin in ${builtins.toString (attrsToPlugins externalPlugins)}; do echo $plugin >> plugin.cfg; done 35 35 for src in ${builtins.toString (attrsToSources externalPlugins)}; do go get $src; done 36 - go generate 36 + GOOS= GOARCH= go generate 37 37 go mod vendor 38 38 ''; 39 39 ··· 46 46 chmod -R u+w vendor 47 47 mv -t . vendor/go.{mod,sum} vendor/plugin.cfg 48 48 49 - go generate 49 + GOOS= GOARCH= go generate 50 50 ''; 51 51 52 52 postPatch = ''
+1 -1
pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix
··· 37 37 38 38 postInstall = '' 39 39 wrapProgram $out/bin/check_ssl_cert \ 40 - --prefix PATH : "${lib.makeBinPath [ openssl file which curl bc coreutils bind nmap iproute2 netcat-gnu python3 ]}" 40 + --prefix PATH : "${lib.makeBinPath ([ openssl file which curl bc coreutils bind nmap netcat-gnu python3 ] ++ lib.optional stdenv.isLinux iproute2) }" 41 41 ''; 42 42 43 43 meta = with lib; {
+3 -3
pkgs/servers/monitoring/prometheus/pushgateway.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "pushgateway"; 5 - version = "1.6.0"; 5 + version = "1.6.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "prometheus"; 9 9 repo = "pushgateway"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-sJ4TTyo+A3CEUcTJv3LlUU60pc/a/PgB0Mk6R5wpTgM="; 11 + sha256 = "sha256-IwSzxpIBXIsOllAd0faP+uzpYZ8HcWJQBOgYZj9SZHM="; 12 12 }; 13 13 14 - vendorHash = "sha256-oDvFp7FYam/hsiEesfTuNgXciH4JAUKkMiECn4FPqmE="; 14 + vendorHash = "sha256-xpbGavt0gzOVZMHVdPtZ+rRVbovJ4xaqaAmYVipLzSs="; 15 15 16 16 ldflags = [ 17 17 "-s"
+16 -7
pkgs/servers/sql/postgresql/ext/age.nix
··· 1 - { lib, stdenv, fetchFromGitHub, bison, flex, postgresql }: 1 + { lib, stdenv, bison, fetchFromGitHub, flex, perl, postgresql }: 2 2 3 + let 4 + hashes = { 5 + "15" = "sha256-1vmwoflbU3++PFDcsLt9gyLkuzMRGNCD7vWl7/6Q+SE="; 6 + "14" = "sha256-w93Q499sZRk4q85A9yqKQjGUd9Pl8UL8K1D3W7mHRTU="; 7 + "13" = "sha256-Sot7FR0oW7kWA680pNCMCmlflu4RfJTSWZn9mrXrpzw="; 8 + "12" = "sha256-XezcXoHHLCD1/2OHmKhxome2pdjOsYAfZlpvOoU3aS4="; 9 + "11" = "sha256-ZkNAIMO69BxF3knQ+jcUBVuDgcoZXZccF5O+acpZ81M="; 10 + }; 11 + in 3 12 stdenv.mkDerivation rec { 4 13 pname = "age"; 5 - version = "1.1.0-rc0"; 14 + version = "1.4.0-rc0"; 6 15 7 16 src = fetchFromGitHub { 8 17 owner = "apache"; 9 18 repo = "age"; 10 - rev = "v${version}"; 11 - sha256 = "sha256-7qQGiiFkGbS/j7ouP2Joj5EGT+ferIgYYMoTe9jmTqQ="; 19 + rev = "PG${lib.versions.major postgresql.version}/v${builtins.replaceStrings ["."] ["_"] version}"; 20 + hash = hashes.${lib.versions.major postgresql.version} or (throw "Source for Age is not available for ${postgresql.version}"); 12 21 }; 13 22 14 23 buildInputs = [ postgresql ]; ··· 16 25 makeFlags = [ 17 26 "BISON=${bison}/bin/bison" 18 27 "FLEX=${flex}/bin/flex" 28 + "PERL=${perl}/bin/perl" 19 29 ]; 20 30 21 31 installPhase = '' ··· 54 64 }; 55 65 56 66 meta = with lib; { 57 - # Only supports PostgreSQL 11 https://github.com/apache/age/issues/225 58 - broken = versions.major postgresql.version != "11"; 67 + broken = !builtins.elem (versions.major postgresql.version) (builtins.attrNames hashes); 59 68 description = "A graph database extension for PostgreSQL"; 60 69 homepage = "https://age.apache.org/"; 61 - changelog = "https://github.com/apache/age/raw/v${version}/RELEASE"; 70 + changelog = "https://github.com/apache/age/raw/v${src.rev}/RELEASE"; 62 71 maintainers = with maintainers; [ ]; 63 72 platforms = postgresql.meta.platforms; 64 73 license = licenses.asl20;
+9 -1
pkgs/servers/x11/xorg/overrides.nix
··· 134 134 }; 135 135 }); 136 136 137 - libxcvt = addMainProgram super.libxcvt { mainProgram = "cvt"; }; 137 + libxcvt = super.libxcvt.overrideAttrs ({ meta ? {}, ... }: { 138 + meta = meta // { 139 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcvt"; 140 + mainProgram = "cvt"; 141 + badPlatforms = meta.badPlatforms or [] ++ [ 142 + lib.systems.inspect.platformPatterns.isStatic 143 + ]; 144 + }; 145 + }); 138 146 139 147 libX11 = super.libX11.overrideAttrs (attrs: { 140 148 outputs = [ "out" "dev" "man" ];
+2 -2
pkgs/tools/filesystems/littlefs-fuse/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "littlefs-fuse"; 5 - version = "2.4.1"; 5 + version = "2.7.2"; 6 6 src = fetchFromGitHub { 7 7 owner = "littlefs-project"; 8 8 repo = pname; 9 9 rev = "v${version}"; 10 - hash = "sha256-+EUZluBtgZiziTEIfXIhkRIBu/Pe78qmL18TQHkfHO4="; 10 + hash = "sha256-ybaZbAomrIaEdYfQtbZirkozRarEUxjsf6hgTMu5uIY="; 11 11 }; 12 12 buildInputs = [ fuse ]; 13 13 installPhase = ''
+2 -2
pkgs/tools/misc/esphome/default.nix
··· 16 16 in 17 17 python.pkgs.buildPythonApplication rec { 18 18 pname = "esphome"; 19 - version = "2023.9.2"; 19 + version = "2023.9.3"; 20 20 format = "setuptools"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = pname; 24 24 repo = pname; 25 25 rev = "refs/tags/${version}"; 26 - hash = "sha256-DWzeK5NIkf8zsK4auD2A5pU5F0pBtkTe2B1UdXwyfOI="; 26 + hash = "sha256-SyXEiGh1/s9EJ0UPYC8R04JUYkCPhCtNUcGvVCycKGM="; 27 27 }; 28 28 29 29 postPatch = ''
+15 -3
pkgs/tools/misc/hakuneko/default.nix
··· 1 - { atomEnv 2 - , autoPatchelfHook 1 + { autoPatchelfHook 3 2 , dpkg 4 3 , fetchurl 5 4 , makeDesktopItem ··· 8 7 , stdenv 9 8 , lib 10 9 , wrapGAppsHook 10 + , alsa-lib 11 + , nss 12 + , nspr 13 + , systemd 14 + , xorg 11 15 }: 12 16 let 13 17 desktopItem = makeDesktopItem { ··· 39 43 dontPatchELF = true; 40 44 dontWrapGApps = true; 41 45 46 + # TODO: migrate off autoPatchelfHook and use nixpkgs' electron 42 47 nativeBuildInputs = [ 43 48 autoPatchelfHook 44 49 dpkg ··· 46 51 wrapGAppsHook 47 52 ]; 48 53 49 - buildInputs = atomEnv.packages; 54 + buildInputs = [ 55 + alsa-lib 56 + nss 57 + nspr 58 + xorg.libXScrnSaver 59 + xorg.libXtst 60 + systemd 61 + ]; 50 62 51 63 unpackPhase = '' 52 64 # The deb file contains a setuid binary, so 'dpkg -x' doesn't work here
+3 -3
pkgs/tools/misc/mapcidr/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "mapcidr"; 8 - version = "1.1.9"; 8 + version = "1.1.10"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "projectdiscovery"; 12 12 repo = pname; 13 13 rev = "refs/tags/v${version}"; 14 - hash = "sha256-/DKUB7ylOUh1kj1l5C6TbhfgmagJcTBFCoqjQIsbWg4="; 14 + hash = "sha256-4VBIcdlK3tHUNQT8FRJuzlUcgM17SSFWYi4zys7zgZU="; 15 15 }; 16 16 17 - vendorHash = "sha256-YQEXOxu2IPvXNvqw0bzHnx0ALC/W4x9sU4m1GgvVH+g="; 17 + vendorHash = "sha256-HBX8Npd4jy5YXx70GV8h3woM6ArcgMWqu8dybj/wdRU="; 18 18 19 19 modRoot = "."; 20 20 subPackages = [
+2 -2
pkgs/tools/networking/grpc_cli/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "grpc_cli"; 5 - version = "1.58.1"; 5 + version = "1.59.0"; 6 6 src = fetchFromGitHub { 7 7 owner = "grpc"; 8 8 repo = "grpc"; 9 9 rev = "v${version}"; 10 - hash = "sha256-h1Zg5f+3NyyvrStEPXqTNSly7TSEPbE1/SqrZfS37Bk="; 10 + hash = "sha256-++8QWJJuwGUcm6pKxik6+jqzvXbMx8LHSV5CSgJ8IVo="; 11 11 fetchSubmodules = true; 12 12 }; 13 13 nativeBuildInputs = [ automake cmake autoconf ];
+3 -3
pkgs/tools/networking/sing-box/default.nix
··· 11 11 12 12 buildGoModule rec { 13 13 pname = "sing-box"; 14 - version = "1.5.0"; 14 + version = "1.5.1"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "SagerNet"; 18 18 repo = pname; 19 19 rev = "v${version}"; 20 - hash = "sha256-Q5WSIh5k8cQPUlV0DHbg/g3aHVtsEb/lCWODg9SLTyM="; 20 + hash = "sha256-Vc7TLkADOlMs4nMRCI2DAd4h40eYhcOP/EzM7uWqZ+A="; 21 21 }; 22 22 23 - vendorHash = "sha256-YGnrZbc9oK//EVUtfBkQnuTfdn7kcTuOZM0+67BiWrA="; 23 + vendorHash = "sha256-bcjhBAW4/NLQ/l7gmD9169DCYJwDH1j0vtEShJqKRiw="; 24 24 25 25 tags = [ 26 26 "with_quic"
+5 -4
pkgs/tools/security/cloudlist/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "cloudlist"; 8 - version = "1.0.3"; 8 + version = "1.0.4"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "projectdiscovery"; 12 12 repo = pname; 13 - rev = "v${version}"; 14 - sha256 = "sha256-PWOC+Y+tCr5LqWJpSVoIeOquO2vMb06KW25pBEER3Ys="; 13 + rev = "refs/tags/v${version}"; 14 + sha256 = "sha256-m0b7gtbI9i1tD8HduEAF+Mo2UpI4gqldEO8q4u+Wo3E="; 15 15 }; 16 16 17 - vendorHash = "sha256-FesvXH29thy6B9VXZnuvllJ+9VQR4i6q1JzrULaU82s="; 17 + vendorHash = "sha256-GHQnI4T6y/p+BlQyrNJmIaSek0sC1J3UwcuvDQH5gCI="; 18 18 19 19 meta = with lib; { 20 20 description = "Tool for listing assets from multiple cloud providers"; 21 21 homepage = "https://github.com/projectdiscovery/cloudlist"; 22 + changelog = "https://github.com/projectdiscovery/cloudlist/releases/tag/v${version}"; 22 23 license = licenses.mit; 23 24 maintainers = with maintainers; [ fab ]; 24 25 };
+2 -2
pkgs/tools/security/jwx/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "jwx"; 8 - version = "2.0.12"; 8 + version = "2.0.13"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "lestrrat-go"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - hash = "sha256-2Lx9pu5KQut9eXIQYDjFW/pMDzR0eSKMFtSGOPQAkN4="; 14 + hash = "sha256-jtNG/d70Q67IKKEfRBewl40cxH6wYj3CPfx+S/vuQnQ="; 15 15 }; 16 16 17 17 vendorHash = "sha256-o3EHPIXGLz/io0d8jhl9cxzctP3CeOjEDMQl1SY9lXg=";
+2 -2
pkgs/tools/text/papeer/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "papeer"; 5 - version = "0.7.2"; 5 + version = "0.8.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "lapwat"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - hash = "sha256-Kdy660FuPjXYF/uqndljmIvA6r+lo3D86W9pK6KqXl0="; 11 + hash = "sha256-nEt2rxI9slrEkbpMpXQM6+jO0QWQsuLdOswXPCSozJs="; 12 12 }; 13 13 14 14 vendorHash = "sha256-3QRSdkx9p0H+zPB//bpWCBKKjKjrx0lHMk5lFm+U7pA=";
+4
pkgs/top-level/aliases.nix
··· 109 109 asterisk_19 = throw "asterisk_19: Asterisk 19 is end of life and has been removed"; # Added 2023-04-19 110 110 at_spi2_atk = throw "'at_spi2_atk' has been renamed to/replaced by 'at-spi2-atk'"; # Converted to throw 2022-02-22 111 111 at_spi2_core = throw "'at_spi2_core' has been renamed to/replaced by 'at-spi2-core'"; # Converted to throw 2022-02-22 112 + atom = throw "'atom' has been removed because discontinued and deprecated. Consider using 'pulsar', a maintained fork"; # Added 2023-10-01 113 + atom-beta = throw "'atom-beta' has been removed because discontinued and deprecated. Consider using 'pulsar', a maintained fork"; # Added 2023-10-01 114 + atomEnv = throw "'atomEnv' has been removed because 'atom' is discontinued and deprecated. Consider using 'pulsar', a maintained fork"; # Added 2023-10-01 115 + atomPackages = throw "'atomPackages' has been removed because 'atom' is discontinued and deprecated. Consider using 'pulsar', a maintained fork"; # Added 2023-10-01 112 116 aucdtect = throw "aucdtect: Upstream no longer provides download urls"; # Added 2020-12-26 113 117 audacity-gtk2 = throw "'audacity-gtk2' has been removed to/replaced by 'audacity'"; # Added 2022-10-09 114 118 audacity-gtk3 = throw "'audacity-gtk3' has been removed to/replaced by 'audacity'"; # Added 2022-10-09
+7 -8
pkgs/top-level/all-packages.nix
··· 126 126 127 127 common-updater-scripts = callPackage ../common-updater/scripts.nix { }; 128 128 129 + # vimPluginsUpdater = callPackage ../applications/editors/vim/plugins/updater.nix { 130 + # inherit (writers) writePython3Bin; 131 + # }; 132 + vimPluginsUpdater = callPackage ../applications/editors/vim/plugins/updater.nix { 133 + inherit (python3Packages) buildPythonApplication ; 134 + }; 135 + 129 136 genericUpdater = callPackage ../common-updater/generic-updater.nix { }; 130 137 131 138 _experimental-update-script-combinators = callPackage ../common-updater/combinators.nix { }; ··· 273 280 asn = callPackage ../applications/networking/asn { }; 274 281 275 282 asnmap = callPackage ../tools/security/asnmap { }; 276 - 277 - ast-grep = callPackage ../development/tools/misc/ast-grep { }; 278 283 279 284 astrolog = callPackage ../applications/science/astronomy/astrolog { }; 280 285 ··· 30628 30633 artha = callPackage ../applications/misc/artha { }; 30629 30634 30630 30635 atlassian-cli = callPackage ../applications/office/atlassian-cli { }; 30631 - 30632 - atomEnv = callPackage ../applications/editors/atom/env.nix { }; 30633 - 30634 - atomPackages = dontRecurseIntoAttrs (callPackage ../applications/editors/atom { }); 30635 - 30636 - inherit (atomPackages) atom atom-beta; 30637 30636 30638 30637 pulsar = callPackage ../applications/editors/pulsar { }; 30639 30638
+2 -21
pkgs/top-level/dotnet-packages.nix
··· 10 10 , mono 11 11 , overrides ? {} 12 12 , boogie 13 + , nuget 13 14 }: 14 15 15 16 let self = dotnetPackages // overrides; dotnetPackages = with self; { 16 17 # ALIASES FOR MOVED PACKAGES 17 18 18 19 Boogie = boogie; 20 + Nuget = nuget; 19 21 20 22 # BINARY PACKAGES 21 23 ··· 166 168 version = "11.0.2"; 167 169 sha256 = "07na27n4mlw77f3hg5jpayzxll7f4gyna6x7k9cybmxpbs6l77k7"; 168 170 outputFiles = [ "*" ]; 169 - }; 170 - 171 - Nuget = buildDotnetPackage rec { 172 - pname = "Nuget"; 173 - version = "6.3.1.1"; 174 - 175 - src = fetchFromGitHub { 176 - owner = "mono"; 177 - repo = "linux-packaging-nuget"; 178 - rev = "upstream/${version}.bin"; 179 - sha256 = "sha256-D7F4B23HK5ElY68PYKVDsyi8OF0DLqqUqQzj5CpMfkc="; 180 - }; 181 - 182 - # configurePhase breaks the binary and results in 183 - # `File does not contain a valid CIL image.` 184 - dontConfigure = true; 185 - dontBuild = true; 186 - dontPlacateNuget = true; 187 - 188 - outputFiles = [ "*" ]; 189 - exeFiles = [ "nuget.exe" ]; 190 171 }; 191 172 192 173 Paket = fetchNuGet {
+4
pkgs/top-level/ocaml-packages.nix
··· 964 964 965 965 lua-ml = callPackage ../development/ocaml-modules/lua-ml { }; 966 966 967 + lun = callPackage ../development/ocaml-modules/lun { }; 968 + 967 969 lustre-v6 = callPackage ../development/ocaml-modules/lustre-v6 { }; 968 970 969 971 lutils = callPackage ../development/ocaml-modules/lutils { }; ··· 1485 1487 ppx_import = callPackage ../development/ocaml-modules/ppx_import {}; 1486 1488 1487 1489 ppx_irmin = callPackage ../development/ocaml-modules/irmin/ppx.nix { }; 1490 + 1491 + ppx_lun = callPackage ../development/ocaml-modules/lun/ppx.nix { }; 1488 1492 1489 1493 ppx_monad = callPackage ../development/ocaml-modules/ppx_monad { }; 1490 1494
-1
pkgs/top-level/packages-config.nix
··· 9 9 packageOverrides = super: with super; lib.mapAttrs (_: set: recurseIntoAttrs set) { 10 10 inherit (super) 11 11 apacheHttpdPackages 12 - atomPackages 13 12 fdbPackages 14 13 fusePackages 15 14 gns3Packages
+2
pkgs/top-level/python-packages.nix
··· 168 168 169 169 aiobafi6 = callPackage ../development/python-modules/aiobafi6 { }; 170 170 171 + aioboto3 = callPackage ../development/python-modules/aioboto3 { }; 172 + 171 173 aioblescan = callPackage ../development/python-modules/aioblescan { }; 172 174 173 175 aiocache = callPackage ../development/python-modules/aiocache { };
+2
pkgs/top-level/release.nix
··· 77 77 jobs.stdenv.x86_64-darwin 78 78 jobs.vim.x86_64-darwin 79 79 jobs.cachix.x86_64-darwin 80 + jobs.darwin.linux-builder.x86_64-darwin 80 81 81 82 # UI apps 82 83 # jobs.firefox-unwrapped.x86_64-darwin ··· 157 158 jobs.vim.x86_64-darwin 158 159 jobs.inkscape.x86_64-darwin 159 160 jobs.qt5.qtmultimedia.x86_64-darwin 161 + jobs.darwin.linux-builder.x86_64-darwin 160 162 /* 161 163 jobs.tests.cc-wrapper.default.x86_64-darwin 162 164 jobs.tests.cc-wrapper.gcc7Stdenv.x86_64-darwin