Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 5f6ff7e8 bf0d2694

+1229 -734
+10 -5
doc/languages-frameworks/lua.section.md
··· 129 ### Packaging a library on luarocks {#packaging-a-library-on-luarocks} 130 131 [Luarocks.org](https://luarocks.org/) is the main repository of lua packages. 132 - The site proposes two types of packages, the rockspec and the src.rock 133 (equivalent of a [rockspec](https://github.com/luarocks/luarocks/wiki/Rockspec-format) but with the source). 134 - These packages can have different build types such as `cmake`, `builtin` etc . 135 136 - Luarocks-based packages are generated in pkgs/development/lua-modules/generated-packages.nix from 137 - the whitelist maintainers/scripts/luarocks-packages.csv and updated by running maintainers/scripts/update-luarocks-packages. 138 139 [luarocks2nix](https://github.com/nix-community/luarocks) is a tool capable of generating nix derivations from both rockspec and src.rock (and favors the src.rock). 140 The automation only goes so far though and some packages need to be customized. 141 - These customizations go in `pkgs/development/lua-modules/overrides.nix`. 142 For instance if the rockspec defines `external_dependencies`, these need to be manually added to the overrides.nix. 143 144 You can try converting luarocks packages to nix packages with the command `nix-shell -p luarocks-nix` and then `luarocks nix PKG_NAME`.
··· 129 ### Packaging a library on luarocks {#packaging-a-library-on-luarocks} 130 131 [Luarocks.org](https://luarocks.org/) is the main repository of lua packages. 132 + The site proposes two types of packages, the `rockspec` and the `src.rock` 133 (equivalent of a [rockspec](https://github.com/luarocks/luarocks/wiki/Rockspec-format) but with the source). 134 + 135 + Luarocks-based packages are generated in [pkgs/development/lua-modules/generated-packages.nix](https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/lua-modules/generated-packages.nix) from 136 + the whitelist maintainers/scripts/luarocks-packages.csv and updated by running 137 + the script 138 + [maintainers/scripts/update-luarocks-packages](https://github.com/NixOS/nixpkgs/tree/master/maintainers/scripts/update-luarocks-packages): 139 140 + ```sh 141 + ./maintainers/scripts/update-luarocks-packages update 142 + ``` 143 144 [luarocks2nix](https://github.com/nix-community/luarocks) is a tool capable of generating nix derivations from both rockspec and src.rock (and favors the src.rock). 145 The automation only goes so far though and some packages need to be customized. 146 + These customizations go in [pkgs/development/lua-modules/overrides.nix](https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/lua-modules/overrides.nix). 147 For instance if the rockspec defines `external_dependencies`, these need to be manually added to the overrides.nix. 148 149 You can try converting luarocks packages to nix packages with the command `nix-shell -p luarocks-nix` and then `luarocks nix PKG_NAME`.
+2 -2
doc/languages-frameworks/vim.section.md
··· 212 213 ## Adding new plugins to nixpkgs {#adding-new-plugins-to-nixpkgs} 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). Plugins are listed in alphabetical order in `vim-plugin-names` using the format `[github username]/[repository]@[gitref]`. For example https://github.com/scrooloose/nerdtree becomes `scrooloose/nerdtree`. 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`. 218 ··· 226 227 Sometimes plugins require an override that must be changed when the plugin is updated. This can cause issues when Vim plugins are auto-updated but the associated override isn't updated. For these plugins, the override should be written so that it specifies all information required to install the plugin, and running `./update.py` doesn't change the derivation for the plugin. Manually updating the override is required to update these types of plugins. An example of such a plugin is `LanguageClient-neovim`. 228 229 - To add a new plugin, run `./update.py --add "[owner]/[name]"`. **NOTE**: This script automatically commits to your git repository. Be sure to check out a fresh branch before running. 230 231 Finally, there are some plugins that are also packaged in nodePackages because they have Javascript-related build steps, such as running webpack. Those plugins are not listed in `vim-plugin-names` or managed by `update.py` at all, and are included separately in `overrides.nix`. Currently, all these plugins are related to the `coc.nvim` ecosystem of the Language Server Protocol integration with Vim/Neovim. 232
··· 212 213 ## Adding new plugins to nixpkgs {#adding-new-plugins-to-nixpkgs} 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). 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`. 218 ··· 226 227 Sometimes plugins require an override that must be changed when the plugin is updated. This can cause issues when Vim plugins are auto-updated but the associated override isn't updated. For these plugins, the override should be written so that it specifies all information required to install the plugin, and running `./update.py` doesn't change the derivation for the plugin. Manually updating the override is required to update these types of plugins. An example of such a plugin is `LanguageClient-neovim`. 228 229 + To add a new plugin, run `./update.py add "[owner]/[name]"`. **NOTE**: This script automatically commits to your git repository. Be sure to check out a fresh branch before running. 230 231 Finally, there are some plugins that are also packaged in nodePackages because they have Javascript-related build steps, such as running webpack. Those plugins are not listed in `vim-plugin-names` or managed by `update.py` at all, and are included separately in `overrides.nix`. Currently, all these plugins are related to the `coc.nvim` ecosystem of the Language Server Protocol integration with Vim/Neovim. 232
+6
maintainers/maintainer-list.nix
··· 14752 githubId = 187109; 14753 name = "Bjarki Ágúst Guðmundsson"; 14754 }; 14755 suryasr007 = { 14756 email = "94suryateja@gmail.com"; 14757 github = "suryasr007";
··· 14752 githubId = 187109; 14753 name = "Bjarki Ágúst Guðmundsson"; 14754 }; 14755 + surfaceflinger = { 14756 + email = "nat@nekopon.pl"; 14757 + github = "surfaceflinger"; 14758 + githubId = 44725111; 14759 + name = "nat"; 14760 + }; 14761 suryasr007 = { 14762 email = "94suryateja@gmail.com"; 14763 github = "suryasr007";
+90 -37
maintainers/scripts/pluginupdate.py
··· 1 - # Used by pkgs/applications/editors/vim/plugins/update.py and pkgs/applications/editors/kakoune/plugins/update.py 2 3 # format: 4 # $ nix run nixpkgs.python3Packages.black -c black update.py ··· 315 with CleanEnvironment(): 316 cmd = ["nix", "eval", "--extra-experimental-features", 317 "nix-command", "--impure", "--json", "--expr", expr] 318 - log.debug("Running command %s", cmd) 319 out = subprocess.check_output(cmd) 320 - data = json.loads(out) 321 - return data 322 323 324 class Editor: ··· 344 self.cache_file = cache_file or f"{name}-plugin-cache.json" 345 self.nixpkgs_repo = None 346 347 def get_current_plugins(self) -> List[Plugin]: 348 """To fill the cache""" 349 data = run_nix_expr(self.get_plugins) 350 plugins = [] 351 for name, attr in data.items(): 352 - print("get_current_plugins: name %s" % name) 353 p = Plugin(name, attr["rev"], attr["submodules"], attr["sha256"]) 354 plugins.append(p) 355 return plugins ··· 358 '''CSV spec''' 359 return load_plugins_from_csv(config, plugin_file) 360 361 - def generate_nix(self, plugins, outfile: str): 362 '''Returns nothing for now, writes directly to outfile''' 363 raise NotImplementedError() 364 ··· 395 return rewrite_input(*args, **kwargs) 396 397 def create_parser(self): 398 - parser = argparse.ArgumentParser( 399 description=(f""" 400 Updates nix derivations for {self.name} plugins.\n 401 By default from {self.default_in} to {self.default_out}""" 402 ) 403 ) 404 - parser.add_argument( 405 - "--add", 406 - dest="add_plugins", 407 - default=[], 408 - action="append", 409 - help=f"Plugin to add to {self.attr_path} from Github in the form owner/repo", 410 - ) 411 - parser.add_argument( 412 "--input-names", 413 "-i", 414 dest="input_file", 415 default=self.default_in, 416 help="A list of plugins in the form owner/repo", 417 ) 418 - parser.add_argument( 419 "--out", 420 "-o", 421 dest="outfile", 422 default=self.default_out, 423 help="Filename to save generated nix code", 424 ) 425 - parser.add_argument( 426 "--proc", 427 "-p", 428 dest="proc", ··· 430 default=30, 431 help="Number of concurrent processes to spawn. Setting --github-token allows higher values.", 432 ) 433 - parser.add_argument( 434 "--github-token", 435 "-t", 436 type=str, ··· 438 help="""Allows to set --proc to higher values. 439 Uses GITHUB_API_TOKEN environment variables as the default value.""", 440 ) 441 - parser.add_argument( 442 "--no-commit", "-n", action="store_true", default=False, 443 help="Whether to autocommit changes" 444 ) 445 - parser.add_argument( 446 "--debug", "-d", choices=LOG_LEVELS.keys(), 447 default=logging.getLevelName(logging.WARN), 448 help="Adjust log level" 449 ) 450 - return parser 451 452 453 ··· 661 def update_plugins(editor: Editor, args): 662 """The main entry function of this module. All input arguments are grouped in the `Editor`.""" 663 664 - log.setLevel(LOG_LEVELS[args.debug]) 665 log.info("Start updating plugins") 666 fetch_config = FetchConfig(args.proc, args.github_token) 667 update = editor.get_update(args.input_file, args.outfile, fetch_config) ··· 684 [args.outfile, args.input_file, editor.deprecated], 685 ) 686 687 - for plugin_line in args.add_plugins: 688 - pdesc = PluginDesc.load_from_string(fetch_config, plugin_line) 689 - append = [ pdesc ] 690 - editor.rewrite_input(fetch_config, args.input_file, editor.deprecated, append=append) 691 - update() 692 - plugin, _ = prefetch_plugin(pdesc, ) 693 - if autocommit: 694 - commit( 695 - editor.nixpkgs_repo, 696 - "{drv_name}: init at {version}".format( 697 - drv_name=editor.get_drv_name(plugin.normalized_name), 698 - version=plugin.version 699 - ), 700 - [args.outfile, args.input_file], 701 - )
··· 1 + # python library used to update plugins: 2 + # - pkgs/applications/editors/vim/plugins/update.py 3 + # - pkgs/applications/editors/kakoune/plugins/update.py 4 + # - maintainers/scripts/update-luarocks-packages 5 6 # format: 7 # $ nix run nixpkgs.python3Packages.black -c black update.py ··· 318 with CleanEnvironment(): 319 cmd = ["nix", "eval", "--extra-experimental-features", 320 "nix-command", "--impure", "--json", "--expr", expr] 321 + log.debug("Running command %s", " ".join(cmd)) 322 out = subprocess.check_output(cmd) 323 + data = json.loads(out) 324 + return data 325 326 327 class Editor: ··· 347 self.cache_file = cache_file or f"{name}-plugin-cache.json" 348 self.nixpkgs_repo = None 349 350 + def add(self, args): 351 + '''CSV spec''' 352 + log.debug("called the 'add' command") 353 + fetch_config = FetchConfig(args.proc, args.github_token) 354 + editor = self 355 + for plugin_line in args.add_plugins: 356 + log.debug("using plugin_line", plugin_line) 357 + pdesc = PluginDesc.load_from_string(fetch_config, plugin_line) 358 + log.debug("loaded as pdesc", pdesc) 359 + append = [ pdesc ] 360 + editor.rewrite_input(fetch_config, args.input_file, editor.deprecated, append=append) 361 + plugin, _ = prefetch_plugin(pdesc, ) 362 + autocommit = not args.no_commit 363 + if autocommit: 364 + commit( 365 + editor.nixpkgs_repo, 366 + "{drv_name}: init at {version}".format( 367 + drv_name=editor.get_drv_name(plugin.normalized_name), 368 + version=plugin.version 369 + ), 370 + [args.outfile, args.input_file], 371 + ) 372 + 373 + # Expects arguments generated by 'update' subparser 374 + def update(self, args ): 375 + '''CSV spec''' 376 + print("the update member function should be overriden in subclasses") 377 + 378 def get_current_plugins(self) -> List[Plugin]: 379 """To fill the cache""" 380 data = run_nix_expr(self.get_plugins) 381 plugins = [] 382 for name, attr in data.items(): 383 p = Plugin(name, attr["rev"], attr["submodules"], attr["sha256"]) 384 plugins.append(p) 385 return plugins ··· 388 '''CSV spec''' 389 return load_plugins_from_csv(config, plugin_file) 390 391 + def generate_nix(self, _plugins, _outfile: str): 392 '''Returns nothing for now, writes directly to outfile''' 393 raise NotImplementedError() 394 ··· 425 return rewrite_input(*args, **kwargs) 426 427 def create_parser(self): 428 + common = argparse.ArgumentParser( 429 + add_help=False, 430 description=(f""" 431 Updates nix derivations for {self.name} plugins.\n 432 By default from {self.default_in} to {self.default_out}""" 433 ) 434 ) 435 + common.add_argument( 436 "--input-names", 437 "-i", 438 dest="input_file", 439 default=self.default_in, 440 help="A list of plugins in the form owner/repo", 441 ) 442 + common.add_argument( 443 "--out", 444 "-o", 445 dest="outfile", 446 default=self.default_out, 447 help="Filename to save generated nix code", 448 ) 449 + common.add_argument( 450 "--proc", 451 "-p", 452 dest="proc", ··· 454 default=30, 455 help="Number of concurrent processes to spawn. Setting --github-token allows higher values.", 456 ) 457 + common.add_argument( 458 "--github-token", 459 "-t", 460 type=str, ··· 462 help="""Allows to set --proc to higher values. 463 Uses GITHUB_API_TOKEN environment variables as the default value.""", 464 ) 465 + common.add_argument( 466 "--no-commit", "-n", action="store_true", default=False, 467 help="Whether to autocommit changes" 468 ) 469 + common.add_argument( 470 "--debug", "-d", choices=LOG_LEVELS.keys(), 471 default=logging.getLevelName(logging.WARN), 472 help="Adjust log level" 473 ) 474 + 475 + main = argparse.ArgumentParser( 476 + parents=[common], 477 + description=(f""" 478 + Updates nix derivations for {self.name} plugins.\n 479 + By default from {self.default_in} to {self.default_out}""" 480 + ) 481 + ) 482 + 483 + subparsers = main.add_subparsers(dest="command", required=False) 484 + padd = subparsers.add_parser( 485 + "add", parents=[], 486 + description="Add new plugin", 487 + add_help=False, 488 + ) 489 + padd.set_defaults(func=self.add) 490 + padd.add_argument( 491 + "add_plugins", 492 + default=None, 493 + nargs="+", 494 + help=f"Plugin to add to {self.attr_path} from Github in the form owner/repo", 495 + ) 496 + 497 + pupdate = subparsers.add_parser( 498 + "update", 499 + description="Update all or a subset of existing plugins", 500 + add_help=False, 501 + ) 502 + pupdate.set_defaults(func=self.update) 503 + return main 504 + 505 + def run(self,): 506 + ''' 507 + Convenience function 508 + ''' 509 + parser = self.create_parser() 510 + args = parser.parse_args() 511 + command = args.command or "update" 512 + log.setLevel(LOG_LEVELS[args.debug]) 513 + log.info("Chose to run command: %s", command) 514 + 515 + if not args.no_commit: 516 + self.nixpkgs_repo = git.Repo(self.root, search_parent_directories=True) 517 + 518 + getattr(self, command)(args) 519 + 520 521 522 ··· 730 def update_plugins(editor: Editor, args): 731 """The main entry function of this module. All input arguments are grouped in the `Editor`.""" 732 733 log.info("Start updating plugins") 734 fetch_config = FetchConfig(args.proc, args.github_token) 735 update = editor.get_update(args.input_file, args.outfile, fetch_config) ··· 752 [args.outfile, args.input_file, editor.deprecated], 753 ) 754
+1 -5
maintainers/scripts/update-luarocks-packages
··· 203 default_out = ROOT.joinpath(GENERATED_NIXFILE) 204 ) 205 206 - parser = editor.create_parser() 207 - args = parser.parse_args() 208 - 209 - update_plugins(editor, args) 210 - 211 212 if __name__ == "__main__": 213
··· 203 default_out = ROOT.joinpath(GENERATED_NIXFILE) 204 ) 205 206 + editor.run() 207 208 if __name__ == "__main__": 209
+4 -2
nixos/tests/cage.nix
··· 10 11 { 12 imports = [ ./common/user-account.nix ]; 13 services.cage = { 14 enable = true; 15 user = "alice"; 16 - # Disable color and bold and use a larger font to make OCR easier: 17 - program = "${pkgs.xterm}/bin/xterm -cm -pc -fa Monospace -fs 24"; 18 }; 19 20 # Need to switch to a different GPU driver than the default one (-vga std) so that Cage can launch:
··· 10 11 { 12 imports = [ ./common/user-account.nix ]; 13 + 14 + fonts.fonts = with pkgs; [ dejavu_fonts ]; 15 + 16 services.cage = { 17 enable = true; 18 user = "alice"; 19 + program = "${pkgs.xterm}/bin/xterm"; 20 }; 21 22 # Need to switch to a different GPU driver than the default one (-vga std) so that Cage can launch:
+1 -4
pkgs/applications/editors/kakoune/plugins/update.py
··· 81 82 def main(): 83 editor = KakouneEditor("kakoune", ROOT, GET_PLUGINS) 84 - parser = editor.create_parser() 85 - args = parser.parse_args() 86 - 87 - pluginupdate.update_plugins(editor, args) 88 89 90 if __name__ == "__main__":
··· 81 82 def main(): 83 editor = KakouneEditor("kakoune", ROOT, GET_PLUGINS) 84 + editor.run() 85 86 87 if __name__ == "__main__":
+19
pkgs/applications/editors/vim/plugins/get-plugins.nix
···
··· 1 + with import <localpkgs> {}; 2 + let 3 + inherit (vimUtils.override {inherit vim;}) buildVimPluginFrom2Nix; 4 + inherit (neovimUtils) buildNeovimPluginFrom2Nix; 5 + 6 + generated = callPackage <localpkgs/pkgs/applications/editors/vim/plugins/generated.nix> { 7 + inherit buildNeovimPluginFrom2Nix buildVimPluginFrom2Nix; 8 + } {} {}; 9 + hasChecksum = value: 10 + lib.isAttrs value && lib.hasAttrByPath ["src" "outputHash"] value; 11 + getChecksum = name: value: 12 + if hasChecksum value then { 13 + submodules = value.src.fetchSubmodules or false; 14 + sha256 = value.src.outputHash; 15 + rev = value.src.rev; 16 + } else null; 17 + checksums = lib.mapAttrs getChecksum generated; 18 + in 19 + lib.filterAttrs (n: v: v != null) checksums
+27 -36
pkgs/applications/editors/vim/plugins/update.py
··· 42 import pluginupdate 43 from pluginupdate import run_nix_expr, PluginDesc 44 45 - GET_PLUGINS = f"""(with import <localpkgs> {{}}; 46 - let 47 - inherit (vimUtils.override {{inherit vim;}}) buildNeovimPluginFrom2Nix buildVimPluginFrom2Nix; 48 - generated = callPackage {ROOT}/generated.nix {{ 49 - inherit buildNeovimPluginFrom2Nix buildVimPluginFrom2Nix; 50 - }}; 51 - hasChecksum = value: lib.isAttrs value && lib.hasAttrByPath ["src" "outputHash"] value; 52 - getChecksum = name: value: 53 - if hasChecksum value then {{ 54 - submodules = value.src.fetchSubmodules or false; 55 - sha256 = value.src.outputHash; 56 - rev = value.src.rev; 57 - }} else null; 58 - checksums = lib.mapAttrs getChecksum generated; 59 - in lib.filterAttrs (n: v: v != null) checksums)""" 60 61 GET_PLUGINS_LUA = """ 62 with import <localpkgs> {}; 63 lib.attrNames lua51Packages""" 64 65 HEADER = ( 66 - "# This file has been generated by ./pkgs/applications/editors/vim/plugins/update.py. Do not edit!" 67 ) 68 69 def isNeovimPlugin(plug: pluginupdate.Plugin) -> bool: ··· 118 119 """.format( 120 buildFn="buildNeovimPluginFrom2Nix" if isNeovim else "buildVimPluginFrom2Nix", plugin=plugin, src_nix=src_nix, repo=repo) 121 - print(content) 122 return content 123 124 def main(): 125 126 global luaPlugins 127 luaPlugins = run_nix_expr(GET_PLUGINS_LUA) 128 129 editor = VimEditor("vim", ROOT, GET_PLUGINS) 130 - parser = editor.create_parser() 131 - args = parser.parse_args() 132 - pluginupdate.update_plugins(editor, args) 133 - 134 - if editor.nvim_treesitter_updated: 135 - print("updating nvim-treesitter grammars") 136 - nvim_treesitter_dir = ROOT.joinpath("nvim-treesitter") 137 - subprocess.check_call([nvim_treesitter_dir.joinpath("update.py")]) 138 - 139 - if editor.nixpkgs_repo: 140 - index = editor.nixpkgs_repo.index 141 - for diff in index.diff(None): 142 - if diff.a_path == "pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix": 143 - msg = "vimPlugins.nvim-treesitter: update grammars" 144 - print(f"committing to nixpkgs: {msg}") 145 - index.add([str(nvim_treesitter_dir.joinpath("generated.nix"))]) 146 - index.commit(msg) 147 - return 148 - print("no updates to nvim-treesitter grammars") 149 150 151 if __name__ == "__main__":
··· 42 import pluginupdate 43 from pluginupdate import run_nix_expr, PluginDesc 44 45 + 46 47 GET_PLUGINS_LUA = """ 48 with import <localpkgs> {}; 49 lib.attrNames lua51Packages""" 50 51 HEADER = ( 52 + "# GENERATED by ./pkgs/applications/editors/vim/plugins/update.py. Do not edit!" 53 ) 54 55 def isNeovimPlugin(plug: pluginupdate.Plugin) -> bool: ··· 104 105 """.format( 106 buildFn="buildNeovimPluginFrom2Nix" if isNeovim else "buildVimPluginFrom2Nix", plugin=plugin, src_nix=src_nix, repo=repo) 107 + log.debug(content) 108 return content 109 + 110 + 111 + def update(self, args): 112 + pluginupdate.update_plugins(self, args) 113 + 114 + if self.nvim_treesitter_updated: 115 + print("updating nvim-treesitter grammars") 116 + nvim_treesitter_dir = ROOT.joinpath("nvim-treesitter") 117 + subprocess.check_call([nvim_treesitter_dir.joinpath("update.py")]) 118 + 119 + if self.nixpkgs_repo: 120 + index = self.nixpkgs_repo.index 121 + for diff in index.diff(None): 122 + if diff.a_path == "pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix": 123 + msg = "vimPlugins.nvim-treesitter: update grammars" 124 + print(f"committing to nixpkgs: {msg}") 125 + index.add([str(nvim_treesitter_dir.joinpath("generated.nix"))]) 126 + index.commit(msg) 127 + return 128 + print("no updates to nvim-treesitter grammars") 129 + 130 131 def main(): 132 133 global luaPlugins 134 luaPlugins = run_nix_expr(GET_PLUGINS_LUA) 135 136 + with open(f"{ROOT}/get-plugins.nix") as f: 137 + GET_PLUGINS = f.read() 138 editor = VimEditor("vim", ROOT, GET_PLUGINS) 139 + editor.run() 140 141 142 if __name__ == "__main__":
+2
pkgs/applications/misc/girara/default.nix
··· 43 gettext 44 check 45 dbus 46 ]; 47 48 buildInputs = [ ··· 64 65 mesonFlags = [ 66 "-Ddocs=disabled" # docs do not seem to be installed 67 ]; 68 69 checkPhase = ''
··· 43 gettext 44 check 45 dbus 46 + glib # for glib-compile-resources 47 ]; 48 49 buildInputs = [ ··· 65 66 mesonFlags = [ 67 "-Ddocs=disabled" # docs do not seem to be installed 68 + (lib.mesonEnable "tests" (stdenv.buildPlatform.canExecute stdenv.hostPlatform)) 69 ]; 70 71 checkPhase = ''
+2 -2
pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix
··· 2 3 (if stdenv.isDarwin then darwin.apple_sdk_11_0.clang14Stdenv else stdenv).mkDerivation rec { 4 pname = "signalbackup-tools"; 5 - version = "20230413"; 6 7 src = fetchFromGitHub { 8 owner = "bepaald"; 9 repo = pname; 10 rev = version; 11 - hash = "sha256-7jIltC7YlnsvwADwKItFKKw5LUKDHux+b7frZfcNDyE="; 12 }; 13 14 postPatch = ''
··· 2 3 (if stdenv.isDarwin then darwin.apple_sdk_11_0.clang14Stdenv else stdenv).mkDerivation rec { 4 pname = "signalbackup-tools"; 5 + version = "20230414"; 6 7 src = fetchFromGitHub { 8 owner = "bepaald"; 9 repo = pname; 10 rev = version; 11 + hash = "sha256-0pCItZCYdwX/Bl20HHc/FhIF4ZHsqz9aadfFYNdQ71M="; 12 }; 13 14 postPatch = ''
+12
pkgs/build-support/setup-hooks/move-build-tree.sh
···
··· 1 + prePhases+=" moveBuildDir" 2 + 3 + moveBuildDir() { 4 + mkdir -p $out/.build 5 + cd $out/.build 6 + } 7 + 8 + postPhases+=" removeBuildDir" 9 + 10 + removeBuildDir() { 11 + rm -rf $out/.build 12 + }
+8
pkgs/development/libraries/qt-5/5.15/default.nix
··· 54 ]; 55 qtscript = [ ./qtscript.patch ]; 56 qtserialport = [ ./qtserialport.patch ]; 57 qtwebengine = [ 58 (fetchpatch { 59 url = "https://raw.githubusercontent.com/Homebrew/formula-patches/a6f16c6daea3b5a1f7bc9f175d1645922c131563/qt5/qt5-webengine-python3.patch"; ··· 166 qtserialport = callPackage ../modules/qtserialport.nix {}; 167 qtspeech = callPackage ../modules/qtspeech.nix {}; 168 qtsvg = callPackage ../modules/qtsvg.nix {}; 169 qtscxml = callPackage ../modules/qtscxml.nix {}; 170 qttools = callPackage ../modules/qttools.nix {}; 171 qttranslations = callPackage ../modules/qttranslations.nix {};
··· 54 ]; 55 qtscript = [ ./qtscript.patch ]; 56 qtserialport = [ ./qtserialport.patch ]; 57 + qtsystems = [ 58 + # Enable building with udisks support 59 + (fetchpatch { 60 + url = "https://salsa.debian.org/qt-kde-team/qt/qtsystems/-/raw/a23fd92222c33479d7f3b59e48116def6b46894c/debian/patches/2001_build_with_udisk.patch"; 61 + hash = "sha256-B/z/+tai01RU/bAJSCp5a0/dGI8g36nwso8MiJv27YM="; 62 + }) 63 + ]; 64 qtwebengine = [ 65 (fetchpatch { 66 url = "https://raw.githubusercontent.com/Homebrew/formula-patches/a6f16c6daea3b5a1f7bc9f175d1645922c131563/qt5/qt5-webengine-python3.patch"; ··· 173 qtserialport = callPackage ../modules/qtserialport.nix {}; 174 qtspeech = callPackage ../modules/qtspeech.nix {}; 175 qtsvg = callPackage ../modules/qtsvg.nix {}; 176 + qtsystems = callPackage ../modules/qtsystems.nix {}; 177 qtscxml = callPackage ../modules/qtscxml.nix {}; 178 qttools = callPackage ../modules/qttools.nix {}; 179 qttranslations = callPackage ../modules/qttranslations.nix {};
+11
pkgs/development/libraries/qt-5/5.15/srcs.nix
··· 34 version = "5.212.0-alpha4"; 35 }; 36 37 catapult = fetchgit { 38 url = "https://chromium.googlesource.com/catapult"; 39 rev = "5eedfe23148a234211ba477f76fc2ea2e8529189";
··· 34 version = "5.212.0-alpha4"; 35 }; 36 37 + # qtsystems has no official releases 38 + qtsystems = { 39 + version = "unstable-2019-01-03"; 40 + src = fetchFromGitHub { 41 + owner = "qt"; 42 + repo = "qtsystems"; 43 + rev = "e3332ee38d27a134cef6621fdaf36687af1b6f4a"; 44 + hash = "sha256-P8MJgWiDDBCYo+icbNva0LODy0W+bmQTS87ggacuMP0="; 45 + }; 46 + }; 47 + 48 catapult = fetchgit { 49 url = "https://chromium.googlesource.com/catapult"; 50 rev = "5eedfe23148a234211ba477f76fc2ea2e8529189";
+54
pkgs/development/libraries/qt-5/modules/qtsystems.nix
···
··· 1 + { qtModule 2 + , stdenv 3 + , lib 4 + , bluez 5 + , libevdev 6 + , libX11 7 + , pkg-config 8 + , qtbase 9 + , udev 10 + , wrapQtAppsHook 11 + }: 12 + 13 + qtModule { 14 + pname = "qtsystems"; 15 + 16 + outputs = [ 17 + "out" 18 + "dev" 19 + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ 20 + "bin" 21 + ]; 22 + 23 + qtInputs = [ 24 + qtbase 25 + ]; 26 + 27 + nativeBuildInputs = [ 28 + pkg-config 29 + wrapQtAppsHook 30 + ]; 31 + 32 + buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ 33 + bluez 34 + libevdev 35 + libX11 36 + udev 37 + ]; 38 + 39 + qmakeFlags = [ 40 + "CONFIG+=git_build" 41 + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ 42 + "CONFIG+=ofono" 43 + "CONFIG+=udisks" 44 + "CONFIG+=upower" 45 + ]; 46 + 47 + postFixup = lib.optionalString stdenv.hostPlatform.isLinux '' 48 + wrapQtApp $bin/bin/servicefw 49 + ''; 50 + 51 + meta = { 52 + maintainers = with lib.maintainers; [ OPNA2608 ]; 53 + }; 54 + }
+8 -17
pkgs/development/libraries/qt-6/default.nix
··· 5 , fetchpatch 6 , makeSetupHook 7 , makeWrapper 8 - , cmake 9 , gst_all_1 10 , libglvnd 11 , darwin ··· 27 callPackage = self.newScope ({ 28 inherit qtModule srcs; 29 stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; 30 - cmake = cmake.overrideAttrs (attrs: { 31 - patches = attrs.patches ++ [ 32 - ./patches/cmake.patch 33 - ]; 34 - }); 35 }); 36 in 37 { ··· 44 withGtk3 = true; 45 inherit (srcs.qtbase) src version; 46 inherit developerBuild; 47 - inherit (darwin.apple_sdk_11_0.frameworks) AGL AVFoundation AppKit GSS MetalKit; 48 patches = [ 49 - ./patches/qtbase-qmake-mkspecs-mac.patch 50 - ./patches/qtbase-qmake-pkg-config.patch 51 - ./patches/qtbase-tzdir.patch 52 - ./patches/qtbase-variable-fonts.patch 53 - # Remove symlink check causing build to bail out and fail. 54 - # https://gitlab.kitware.com/cmake/cmake/-/issues/23251 55 - (fetchpatch { 56 - url = "https://github.com/Homebrew/formula-patches/raw/c363f0edf9e90598d54bc3f4f1bacf95abbda282/qt/qt_internal_check_if_path_has_symlinks.patch"; 57 - sha256 = "sha256-Gv2L8ymZSbJxcmUijKlT2NnkIB3bVH9D7YSsDX2noTU="; 58 - }) 59 ]; 60 }; 61 env = callPackage ./qt-env.nix { };
··· 5 , fetchpatch 6 , makeSetupHook 7 , makeWrapper 8 , gst_all_1 9 , libglvnd 10 , darwin ··· 26 callPackage = self.newScope ({ 27 inherit qtModule srcs; 28 stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; 29 }); 30 in 31 { ··· 38 withGtk3 = true; 39 inherit (srcs.qtbase) src version; 40 inherit developerBuild; 41 + inherit (darwin.apple_sdk_11_0.frameworks) 42 + AGL AVFoundation AppKit Contacts CoreBluetooth EventKit GSS MetalKit; 43 patches = [ 44 + ./patches/0001-qtbase-qmake-always-use-libname-instead-of-absolute-.patch 45 + ./patches/0002-qtbase-qmake-fix-mkspecs-for-darwin.patch 46 + ./patches/0003-qtbase-qmake-fix-includedir-in-generated-pkg-config.patch 47 + ./patches/0004-qtbase-fix-locating-tzdir-on-NixOS.patch 48 + ./patches/0005-qtbase-deal-with-a-font-face-at-index-0-as-Regular-f.patch 49 + ./patches/0006-qtbase-qt-cmake-always-use-cmake-from-path.patch 50 ]; 51 }; 52 env = callPackage ./qt-env.nix { };
+24 -27
pkgs/development/libraries/qt-6/hooks/fix-qt-builtin-paths.sh
··· 7 fixQtBuiltinPaths() { 8 local dir="$1" 9 local pattern="$2" 10 - local bin="${!outputBin}" 11 - local dev="${!outputDev}" 12 - local doc="${!outputDoc}" 13 local lib="${!outputLib}" 14 15 if [ -d "$dir" ]; then ··· 17 if grep -q '\$\$\[QT_' "${pr_:?}"; then 18 echo "fixQtBuiltinPaths: Fixing Qt builtin paths in \`${pr_:?}'..." 19 sed -i "${pr_:?}" \ 20 - -e "s|\\\$\\\$\\[QT_HOST_BINS[^]]*\\]|$dev/bin|g" \ 21 - -e "s|\\\$\\\$\\[QT_HOST_LIBEXECS[^]]*\\]|$dev/libexec|g" \ 22 - -e "s|\\\$\\\$\\[QT_HOST_DATA[^]]*\\]/mkspecs|$dev/mkspecs|g" \ 23 - -e "s|\\\$\\\$\\[QT_HOST_PREFIX[^]]*\\]|$dev|g" \ 24 -e "s|\\\$\\\$\\[QT_INSTALL_ARCHDATA[^]]*\\]|$lib|g" \ 25 - -e "s|\\\$\\\$\\[QT_INSTALL_BINS[^]]*\\]|$bin/bin|g" \ 26 - -e "s|\\\$\\\$\\[QT_INSTALL_CONFIGURATION[^]]*\\]|$bin|g" \ 27 -e "s|\\\$\\\$\\[QT_INSTALL_DATA[^]]*\\]|$lib|g" \ 28 - -e "s|\\\$\\\$\\[QT_INSTALL_DOCS[^]]*\\]|$doc/share/doc|g" \ 29 - -e "s|\\\$\\\$\\[QT_INSTALL_EXAMPLES[^]]*\\]|$doc/examples|g" \ 30 - -e "s|\\\$\\\$\\[QT_INSTALL_HEADERS[^]]*\\]|$dev/include|g" \ 31 -e "s|\\\$\\\$\\[QT_INSTALL_LIBS[^]]*\\]|$lib/lib|g" \ 32 -e "s|\\\$\\\$\\[QT_INSTALL_LIBEXECS[^]]*\\]|$lib/libexec|g" \ 33 - -e "s|\\\$\\\$\\[QT_INSTALL_PLUGINS[^]]*\\]|$bin/$qtPluginPrefix|g" \ 34 -e "s|\\\$\\\$\\[QT_INSTALL_PREFIX[^]]*\\]|$lib|g" \ 35 - -e "s|\\\$\\\$\\[QT_INSTALL_TESTS[^]]*\\]|$dev/tests|g" \ 36 -e "s|\\\$\\\$\\[QT_INSTALL_TRANSLATIONS[^]]*\\]|$lib/translations|g" \ 37 - -e "s|\\\$\\\$\\[QT_INSTALL_QML[^]]*\\]|$bin/$qtQmlPrefix|g" 38 fi 39 done 40 elif [ -e "$dir" ]; then 41 if grep -q '\$\$\[QT_' "${dir:?}"; then 42 echo "fixQtBuiltinPaths: Fixing Qt builtin paths in \`${dir:?}'..." 43 sed -i "${dir:?}" \ 44 - -e "s|\\\$\\\$\\[QT_HOST_BINS[^]]*\\]|$dev/bin|g" \ 45 - -e "s|\\\$\\\$\\[QT_HOST_LIBEXECS[^]]*\\]|$dev/libexec|g" \ 46 - -e "s|\\\$\\\$\\[QT_HOST_DATA[^]]*\\]/mkspecs|$dev/mkspecs|g" \ 47 - -e "s|\\\$\\\$\\[QT_HOST_PREFIX[^]]*\\]|$dev|g" \ 48 -e "s|\\\$\\\$\\[QT_INSTALL_ARCHDATA[^]]*\\]|$lib|g" \ 49 - -e "s|\\\$\\\$\\[QT_INSTALL_BINS[^]]*\\]|$bin/bin|g" \ 50 - -e "s|\\\$\\\$\\[QT_INSTALL_CONFIGURATION[^]]*\\]|$bin|g" \ 51 -e "s|\\\$\\\$\\[QT_INSTALL_DATA[^]]*\\]|$lib|g" \ 52 - -e "s|\\\$\\\$\\[QT_INSTALL_DOCS[^]]*\\]|$doc/share/doc|g" \ 53 - -e "s|\\\$\\\$\\[QT_INSTALL_EXAMPLES[^]]*\\]|$doc/examples|g" \ 54 - -e "s|\\\$\\\$\\[QT_INSTALL_HEADERS[^]]*\\]|$dev/include|g" \ 55 -e "s|\\\$\\\$\\[QT_INSTALL_LIBS[^]]*\\]|$lib/lib|g" \ 56 -e "s|\\\$\\\$\\[QT_INSTALL_LIBEXECS[^]]*\\]|$lib/libexec|g" \ 57 - -e "s|\\\$\\\$\\[QT_INSTALL_PLUGINS[^]]*\\]|$bin/$qtPluginPrefix|g" \ 58 -e "s|\\\$\\\$\\[QT_INSTALL_PREFIX[^]]*\\]|$lib|g" \ 59 - -e "s|\\\$\\\$\\[QT_INSTALL_TESTS[^]]*\\]|$dev/tests|g" \ 60 -e "s|\\\$\\\$\\[QT_INSTALL_TRANSLATIONS[^]]*\\]|$lib/translations|g" \ 61 - -e "s|\\\$\\\$\\[QT_INSTALL_QML[^]]*\\]|$bin/$qtQmlPrefix|g" 62 fi 63 else 64 echo "fixQtBuiltinPaths: Warning: \`$dir' does not exist"
··· 7 fixQtBuiltinPaths() { 8 local dir="$1" 9 local pattern="$2" 10 local lib="${!outputLib}" 11 12 if [ -d "$dir" ]; then ··· 14 if grep -q '\$\$\[QT_' "${pr_:?}"; then 15 echo "fixQtBuiltinPaths: Fixing Qt builtin paths in \`${pr_:?}'..." 16 sed -i "${pr_:?}" \ 17 + -e "s|\\\$\\\$\\[QT_HOST_BINS[^]]*\\]|$lib/bin|g" \ 18 + -e "s|\\\$\\\$\\[QT_HOST_LIBEXECS[^]]*\\]|$lib/libexec|g" \ 19 + -e "s|\\\$\\\$\\[QT_HOST_DATA[^]]*\\]/mkspecs|$lib/mkspecs|g" \ 20 + -e "s|\\\$\\\$\\[QT_HOST_PREFIX[^]]*\\]|$lib|g" \ 21 -e "s|\\\$\\\$\\[QT_INSTALL_ARCHDATA[^]]*\\]|$lib|g" \ 22 + -e "s|\\\$\\\$\\[QT_INSTALL_BINS[^]]*\\]|$lib/bin|g" \ 23 + -e "s|\\\$\\\$\\[QT_INSTALL_CONFIGURATION[^]]*\\]|$lib|g" \ 24 -e "s|\\\$\\\$\\[QT_INSTALL_DATA[^]]*\\]|$lib|g" \ 25 + -e "s|\\\$\\\$\\[QT_INSTALL_DOCS[^]]*\\]|$lib/share/doc|g" \ 26 + -e "s|\\\$\\\$\\[QT_INSTALL_EXAMPLES[^]]*\\]|$lib/examples|g" \ 27 + -e "s|\\\$\\\$\\[QT_INSTALL_HEADERS[^]]*\\]|$lib/include|g" \ 28 -e "s|\\\$\\\$\\[QT_INSTALL_LIBS[^]]*\\]|$lib/lib|g" \ 29 -e "s|\\\$\\\$\\[QT_INSTALL_LIBEXECS[^]]*\\]|$lib/libexec|g" \ 30 + -e "s|\\\$\\\$\\[QT_INSTALL_PLUGINS[^]]*\\]|$lib/$qtPluginPrefix|g" \ 31 -e "s|\\\$\\\$\\[QT_INSTALL_PREFIX[^]]*\\]|$lib|g" \ 32 + -e "s|\\\$\\\$\\[QT_INSTALL_TESTS[^]]*\\]|$lib/tests|g" \ 33 -e "s|\\\$\\\$\\[QT_INSTALL_TRANSLATIONS[^]]*\\]|$lib/translations|g" \ 34 + -e "s|\\\$\\\$\\[QT_INSTALL_QML[^]]*\\]|$lib/$qtQmlPrefix|g" 35 fi 36 done 37 elif [ -e "$dir" ]; then 38 if grep -q '\$\$\[QT_' "${dir:?}"; then 39 echo "fixQtBuiltinPaths: Fixing Qt builtin paths in \`${dir:?}'..." 40 sed -i "${dir:?}" \ 41 + -e "s|\\\$\\\$\\[QT_HOST_BINS[^]]*\\]|$lib/bin|g" \ 42 + -e "s|\\\$\\\$\\[QT_HOST_LIBEXECS[^]]*\\]|$lib/libexec|g" \ 43 + -e "s|\\\$\\\$\\[QT_HOST_DATA[^]]*\\]/mkspecs|$lib/mkspecs|g" \ 44 + -e "s|\\\$\\\$\\[QT_HOST_PREFIX[^]]*\\]|$lib|g" \ 45 -e "s|\\\$\\\$\\[QT_INSTALL_ARCHDATA[^]]*\\]|$lib|g" \ 46 + -e "s|\\\$\\\$\\[QT_INSTALL_BINS[^]]*\\]|$lib/bin|g" \ 47 + -e "s|\\\$\\\$\\[QT_INSTALL_CONFIGURATION[^]]*\\]|$lib|g" \ 48 -e "s|\\\$\\\$\\[QT_INSTALL_DATA[^]]*\\]|$lib|g" \ 49 + -e "s|\\\$\\\$\\[QT_INSTALL_DOCS[^]]*\\]|$lib/share/doc|g" \ 50 + -e "s|\\\$\\\$\\[QT_INSTALL_EXAMPLES[^]]*\\]|$lib/examples|g" \ 51 + -e "s|\\\$\\\$\\[QT_INSTALL_HEADERS[^]]*\\]|$lib/include|g" \ 52 -e "s|\\\$\\\$\\[QT_INSTALL_LIBS[^]]*\\]|$lib/lib|g" \ 53 -e "s|\\\$\\\$\\[QT_INSTALL_LIBEXECS[^]]*\\]|$lib/libexec|g" \ 54 + -e "s|\\\$\\\$\\[QT_INSTALL_PLUGINS[^]]*\\]|$lib/$qtPluginPrefix|g" \ 55 -e "s|\\\$\\\$\\[QT_INSTALL_PREFIX[^]]*\\]|$lib|g" \ 56 + -e "s|\\\$\\\$\\[QT_INSTALL_TESTS[^]]*\\]|$lib/tests|g" \ 57 -e "s|\\\$\\\$\\[QT_INSTALL_TRANSLATIONS[^]]*\\]|$lib/translations|g" \ 58 + -e "s|\\\$\\\$\\[QT_INSTALL_QML[^]]*\\]|$lib/$qtQmlPrefix|g" 59 fi 60 else 61 echo "fixQtBuiltinPaths: Warning: \`$dir' does not exist"
+2 -11
pkgs/development/libraries/qt-6/hooks/fix-qt-module-paths.sh
··· 6 # 7 fixQtModulePaths() { 8 local dir="$1" 9 - local bin="${!outputBin}" 10 - local dev="${!outputDev}" 11 local lib="${!outputLib}" 12 13 if [ -d "$dir" ]; then ··· 17 sed -i "${pr:?}" \ 18 -e "s|\\\$\\\$QT_MODULE_LIB_BASE|$lib/lib|g" \ 19 -e "s|\\\$\\\$QT_MODULE_HOST_LIB_BASE|$lib/lib|g" \ 20 - -e "s|\\\$\\\$QT_MODULE_INCLUDE_BASE|$dev/include|g" \ 21 - -e "s|\\\$\\\$QT_MODULE_BIN_BASE|$dev/bin|g" 22 fi 23 done 24 elif [ -e "$dir" ]; then 25 echo "fixQtModulePaths: Warning: \`$dir' is not a directory" 26 else 27 echo "fixQtModulePaths: Warning: \`$dir' does not exist" 28 - fi 29 - 30 - if [ "z$bin" != "z$dev" ]; then 31 - if [ -d "$bin/bin" ]; then 32 - mkdir -p "$dev/bin" 33 - lndir -silent "$bin/bin" "$dev/bin" 34 - fi 35 fi 36 }
··· 6 # 7 fixQtModulePaths() { 8 local dir="$1" 9 local lib="${!outputLib}" 10 11 if [ -d "$dir" ]; then ··· 15 sed -i "${pr:?}" \ 16 -e "s|\\\$\\\$QT_MODULE_LIB_BASE|$lib/lib|g" \ 17 -e "s|\\\$\\\$QT_MODULE_HOST_LIB_BASE|$lib/lib|g" \ 18 + -e "s|\\\$\\\$QT_MODULE_INCLUDE_BASE|$lib/include|g" \ 19 + -e "s|\\\$\\\$QT_MODULE_BIN_BASE|$lib/bin|g" 20 fi 21 done 22 elif [ -e "$dir" ]; then 23 echo "fixQtModulePaths: Warning: \`$dir' is not a directory" 24 else 25 echo "fixQtModulePaths: Warning: \`$dir' does not exist" 26 fi 27 }
-34
pkgs/development/libraries/qt-6/hooks/move-qt-dev-tools.sh
··· 1 - updateToolPath() { 2 - local tool="$1" 3 - local target="$2" 4 - local original="${!outputBin}/$tool" 5 - local actual="${!outputDev}/$tool" 6 - if grep -q "$original" "$target"; then 7 - echo "updateToolPath: Updating \`$original' in \`$target\'..." 8 - sed -i "$target" -e "s|$original|$actual|" 9 - fi 10 - } 11 - 12 - moveQtDevTools() { 13 - if [ -n "$devTools" ]; then 14 - for tool in $devTools; do 15 - moveToOutput "$tool" "${!outputDev}" 16 - done 17 - 18 - if [ -d "${!outputDev}/mkspecs" ]; then 19 - find "${!outputDev}/mkspecs" -name '*.pr?' | while read pr_; do 20 - for tool in $devTools; do 21 - updateToolPath "$tool" "$pr_" 22 - done 23 - done 24 - fi 25 - 26 - if [ -d "${!outputDev}/lib/cmake" ]; then 27 - find "${!outputDev}/lib/cmake" -name '*.cmake' | while read cmake; do 28 - for tool in $devTools; do 29 - updateToolPath "$tool" "$cmake" 30 - done 31 - done 32 - fi 33 - fi 34 - }
···
+10 -17
pkgs/development/libraries/qt-6/hooks/qtbase-setup-hook.sh
··· 1 if [[ -n "${__nix_qtbase-}" ]]; then 2 # Throw an error if a different version of Qt was already set up. 3 - if [[ "$__nix_qtbase" != "@dev@" ]]; then 4 echo >&2 "Error: detected mismatched Qt dependencies:" 5 - echo >&2 " @dev@" 6 echo >&2 " $__nix_qtbase" 7 exit 1 8 fi 9 else # Only set up Qt once. 10 - __nix_qtbase="@dev@" 11 12 qtPluginPrefix=@qtPluginPrefix@ 13 qtQmlPrefix=@qtQmlPrefix@ ··· 30 fi 31 32 # Build tools are often confused if QMAKE is unset. 33 - export QMAKE=@dev@/bin/qmake 34 35 export QMAKEPATH= 36 ··· 53 # Prevent this hook from running multiple times 54 dontPatchMkspecs=1 55 56 - local bin="${!outputBin}" 57 - local dev="${!outputDev}" 58 - local doc="${!outputDoc}" 59 local lib="${!outputLib}" 60 61 - moveToOutput "mkspecs" "$dev" 62 - moveToOutput "modules" "$dev" 63 - moveToOutput "lib/*.prl" "$dev" 64 - 65 - if [ -d "$dev/mkspecs/modules" ]; then 66 - fixQtModulePaths "$dev/mkspecs/modules" 67 fi 68 69 - if [ -d "$dev/mkspecs" ]; then 70 - fixQtBuiltinPaths "$dev/mkspecs" '*.pr?' 71 fi 72 73 - if [ -d "$dev/lib" ]; then 74 - fixQtBuiltinPaths "$dev/lib" '*.pr?' 75 fi 76 } 77 if [ -z "${dontPatchMkspecs-}" ]; then
··· 1 if [[ -n "${__nix_qtbase-}" ]]; then 2 # Throw an error if a different version of Qt was already set up. 3 + if [[ "$__nix_qtbase" != "@out@" ]]; then 4 echo >&2 "Error: detected mismatched Qt dependencies:" 5 + echo >&2 " @out@" 6 echo >&2 " $__nix_qtbase" 7 exit 1 8 fi 9 else # Only set up Qt once. 10 + __nix_qtbase="@out@" 11 12 qtPluginPrefix=@qtPluginPrefix@ 13 qtQmlPrefix=@qtQmlPrefix@ ··· 30 fi 31 32 # Build tools are often confused if QMAKE is unset. 33 + export QMAKE=@out@/bin/qmake 34 35 export QMAKEPATH= 36 ··· 53 # Prevent this hook from running multiple times 54 dontPatchMkspecs=1 55 56 local lib="${!outputLib}" 57 58 + if [ -d "$lib/mkspecs/modules" ]; then 59 + fixQtModulePaths "$lib/mkspecs/modules" 60 fi 61 62 + if [ -d "$lib/mkspecs" ]; then 63 + fixQtBuiltinPaths "$lib/mkspecs" '*.pr?' 64 fi 65 66 + if [ -d "$lib/lib" ]; then 67 + fixQtBuiltinPaths "$lib/lib" '*.pr?' 68 fi 69 } 70 if [ -z "${dontPatchMkspecs-}" ]; then
+13 -52
pkgs/development/libraries/qt-6/modules/qtbase.nix
··· 71 , unixODBC 72 , unixODBCDrivers 73 # darwin 74 , xcbuild 75 , AGL 76 , AVFoundation 77 , AppKit 78 , GSS 79 , MetalKit 80 # optional dependencies ··· 166 AGL 167 AVFoundation 168 AppKit 169 GSS 170 MetalKit 171 ] ++ lib.optional libGLSupported libGL; ··· 184 ++ lib.optional (libmysqlclient != null) libmysqlclient 185 ++ lib.optional (postgresql != null) postgresql; 186 187 - nativeBuildInputs = [ bison flex gperf lndir perl pkg-config which cmake xmlstarlet ninja ]; 188 189 propagatedNativeBuildInputs = [ lndir ]; 190 ··· 204 preHook = '' 205 . "$fix_qt_builtin_paths" 206 . "$fix_qt_module_paths" 207 - . ${../hooks/move-qt-dev-tools.sh} 208 - . ${../hooks/fix-qmake-libtool.sh} 209 ''; 210 211 qtPluginPrefix = "lib/qt-6/plugins"; 212 qtQmlPrefix = "lib/qt-6/qml"; 213 214 cmakeFlags = [ 215 "-DINSTALL_PLUGINSDIR=${qtPluginPrefix}" 216 "-DINSTALL_QMLDIR=${qtQmlPrefix}" 217 "-DQT_FEATURE_libproxy=ON" ··· 233 234 outputs = [ "out" "dev" ]; 235 236 - devTools = [ 237 - "libexec/moc" 238 - "libexec/rcc" 239 - "libexec/syncqt.pl" 240 - "libexec/qlalr" 241 - "libexec/ensure_pro_file.cmake" 242 - "libexec/cmake_automoc_parser" 243 - "libexec/qvkgen" 244 - "libexec/tracegen" 245 - "libexec/uic" 246 - "bin/fixqt4headers.pl" 247 - "bin/moc" 248 - "bin/qdbuscpp2xml" 249 - "bin/qdbusxml2cpp" 250 - "bin/qlalr" 251 - "bin/qmake" 252 - "bin/qmake6" 253 - "bin/qt-cmake" 254 - "bin/qt-cmake-private" 255 - "bin/qt-cmake-private-install.cmake" 256 - "bin/qt-cmake-standalone-test" 257 - "bin/rcc" 258 - "bin/syncqt.pl" 259 - "bin/uic" 260 - ]; 261 262 postFixup = '' 263 - moveToOutput "mkspecs" "$dev" 264 - moveToOutput "modules" "$dev" 265 - moveToOutput "lib/*.prl" "$dev" 266 - 267 - fixQtModulePaths "$dev/mkspecs/modules" 268 - fixQtBuiltinPaths "$dev" '*.pr?' 269 - 270 - # Move development tools to $dev 271 - moveQtDevTools 272 - moveToOutput libexec "$dev" 273 - 274 - # fixup .pc file (where to find 'moc' etc.) 275 - if [ -f "$dev/lib/pkgconfig/Qt6Core.pc" ]; then 276 - sed -i "$dev/lib/pkgconfig/Qt6Core.pc" \ 277 - -e "/^bindir=/ c bindir=$dev/bin" \ 278 - -e "/^libexecdir=/ c libexecdir=$dev/libexec" 279 - fi 280 - 281 - patchShebangs $out $dev 282 - 283 - # QTEST_ASSERT and other macros keeps runtime reference to qtbase.dev 284 - if [ -f "$dev/include/QtTest/qtestassert.h" ]; then 285 - substituteInPlace "$dev/include/QtTest/qtestassert.h" --replace "__FILE__" "__BASE_FILE__" 286 - fi 287 ''; 288 289 dontStrip = debugSymbols;
··· 71 , unixODBC 72 , unixODBCDrivers 73 # darwin 74 + , moveBuildTree 75 , xcbuild 76 , AGL 77 , AVFoundation 78 , AppKit 79 + , Contacts 80 + , CoreBluetooth 81 + , EventKit 82 , GSS 83 , MetalKit 84 # optional dependencies ··· 170 AGL 171 AVFoundation 172 AppKit 173 + Contacts 174 + CoreBluetooth 175 + EventKit 176 GSS 177 MetalKit 178 ] ++ lib.optional libGLSupported libGL; ··· 191 ++ lib.optional (libmysqlclient != null) libmysqlclient 192 ++ lib.optional (postgresql != null) postgresql; 193 194 + nativeBuildInputs = [ bison flex gperf lndir perl pkg-config which cmake xmlstarlet ninja ] 195 + ++ lib.optionals stdenv.isDarwin [ moveBuildTree ]; 196 197 propagatedNativeBuildInputs = [ lndir ]; 198 ··· 212 preHook = '' 213 . "$fix_qt_builtin_paths" 214 . "$fix_qt_module_paths" 215 ''; 216 217 qtPluginPrefix = "lib/qt-6/plugins"; 218 qtQmlPrefix = "lib/qt-6/qml"; 219 220 cmakeFlags = [ 221 + "-DQT_EMBED_TOOLCHAIN_COMPILER=OFF" 222 "-DINSTALL_PLUGINSDIR=${qtPluginPrefix}" 223 "-DINSTALL_QMLDIR=${qtQmlPrefix}" 224 "-DQT_FEATURE_libproxy=ON" ··· 240 241 outputs = [ "out" "dev" ]; 242 243 + moveToDev = false; 244 245 postFixup = '' 246 + fixQtModulePaths "$out/mkspecs/modules" 247 + fixQtBuiltinPaths "$out" '*.pr?' 248 ''; 249 250 dontStrip = debugSymbols;
-23
pkgs/development/libraries/qt-6/modules/qtdeclarative.nix
··· 10 pname = "qtdeclarative"; 11 qtInputs = [ qtbase qtlanguageserver qtshadertools ]; 12 propagatedBuildInputs = [ openssl python3 ]; 13 - preConfigure = '' 14 - export LD_LIBRARY_PATH="$PWD/build/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" 15 - ''; 16 - cmakeFlags = [ 17 - "-DQT6_INSTALL_PREFIX=${placeholder "out"}" 18 - "-DQT_INSTALL_PREFIX=${placeholder "out"}" 19 - ]; 20 patches = [ 21 # prevent headaches from stale qmlcache data 22 ../patches/qtdeclarative-default-disable-qmlcache.patch 23 - ]; 24 - postInstall = '' 25 - substituteInPlace "$out/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake" \ 26 - --replace ''\'''${QT6_INSTALL_PREFIX}' "$dev" 27 - ''; 28 - devTools = [ 29 - "bin/qml" 30 - "bin/qmlcachegen" 31 - "bin/qmleasing" 32 - "bin/qmlimportscanner" 33 - "bin/qmllint" 34 - "bin/qmlmin" 35 - "bin/qmlplugindump" 36 - "bin/qmlprofiler" 37 - "bin/qmlscene" 38 - "bin/qmltestrunner" 39 ]; 40 }
··· 10 pname = "qtdeclarative"; 11 qtInputs = [ qtbase qtlanguageserver qtshadertools ]; 12 propagatedBuildInputs = [ openssl python3 ]; 13 patches = [ 14 # prevent headaches from stale qmlcache data 15 ../patches/qtdeclarative-default-disable-qmlcache.patch 16 ]; 17 }
+5 -25
pkgs/development/libraries/qt-6/modules/qttools.nix
··· 15 ../patches/qttools-paths.patch 16 ]; 17 env.NIX_CFLAGS_COMPILE = toString [ 18 - "-DNIX_OUTPUT_DEV=\"${placeholder "dev"}\"" 19 - ]; 20 - 21 - devTools = [ 22 - "bin/qcollectiongenerator" 23 - "bin/linguist" 24 - "bin/assistant" 25 - "bin/qdoc" 26 - "bin/lconvert" 27 - "bin/designer" 28 - "bin/qtattributionsscanner" 29 - "bin/lrelease" 30 - "bin/lrelease-pro" 31 - "bin/pixeltool" 32 - "bin/lupdate" 33 - "bin/lupdate-pro" 34 - "bin/qtdiag" 35 - "bin/qhelpgenerator" 36 - "bin/qtplugininfo" 37 - "bin/qthelpconverter" 38 - "bin/lprodump" 39 - "bin/qdistancefieldgenerator" 40 - ] ++ lib.optionals stdenv.isDarwin [ 41 - "bin/macdeployqt" 42 ]; 43 - 44 }
··· 15 ../patches/qttools-paths.patch 16 ]; 17 env.NIX_CFLAGS_COMPILE = toString [ 18 + "-DNIX_OUTPUT_OUT=\"${placeholder "out"}\"" 19 ]; 20 + postInstall = '' 21 + mkdir -p "$dev" 22 + ln -s "$out/bin" "$dev/bin" 23 + ''; 24 }
+13 -15
pkgs/development/libraries/qt-6/modules/qtwebengine.nix
··· 110 substituteInPlace cmake/Functions.cmake \ 111 --replace "/bin/bash" "${buildPackages.bash}/bin/bash" 112 113 sed -i -e '/lib_loader.*Load/s!"\(libudev\.so\)!"${lib.getLib systemd}/lib/\1!' \ 114 src/3rdparty/chromium/device/udev_linux/udev?_loader.cc 115 ··· 118 119 substituteInPlace src/3rdparty/chromium/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc \ 120 --replace "/usr/share/X11/xkb" "${xkeyboard_config}/share/X11/xkb" 121 - 122 - # Patch library paths in sources 123 - substituteInPlace src/core/web_engine_library_info.cpp \ 124 - --replace "QLibraryInfo::path(QLibraryInfo::DataPath)" "\"$out\"" \ 125 - --replace "QLibraryInfo::path(QLibraryInfo::TranslationsPath)" "\"$out/translations\"" \ 126 - --replace "QLibraryInfo::path(QLibraryInfo::LibraryExecutablesPath)" "\"$out/libexec\"" 127 ''; 128 129 cmakeFlags = [ ··· 143 # android only. https://bugreports.qt.io/browse/QTBUG-100293 144 # "-DQT_FEATURE_webengine_native_spellchecker=ON" 145 "-DQT_FEATURE_webengine_sanitizer=ON" 146 - "-DQT_FEATURE_webengine_webrtc_pipewire=ON" 147 "-DQT_FEATURE_webengine_kerberos=ON" 148 - ] ++ lib.optional enableProprietaryCodecs "-DQT_FEATURE_webengine_proprietary_codecs=ON"; 149 150 propagatedBuildInputs = [ 151 # Image formats ··· 174 175 libevent 176 ffmpeg_4 177 - 178 dbus 179 zlib 180 minizip ··· 224 225 preConfigure = '' 226 export NINJAFLAGS="-j$NIX_BUILD_CORES" 227 - ''; 228 - 229 - postFixup = '' 230 - # This is required at runtime 231 - mkdir -p $out/libexec 232 - mv $dev/libexec/QtWebEngineProcess $out/libexec 233 ''; 234 235 meta = with lib; {
··· 110 substituteInPlace cmake/Functions.cmake \ 111 --replace "/bin/bash" "${buildPackages.bash}/bin/bash" 112 113 + # Patch library paths in sources 114 + substituteInPlace src/core/web_engine_library_info.cpp \ 115 + --replace "QLibraryInfo::path(QLibraryInfo::DataPath)" "\"$out\"" \ 116 + --replace "QLibraryInfo::path(QLibraryInfo::TranslationsPath)" "\"$out/translations\"" \ 117 + --replace "QLibraryInfo::path(QLibraryInfo::LibraryExecutablesPath)" "\"$out/libexec\"" 118 + '' 119 + + lib.optionalString stdenv.isLinux '' 120 sed -i -e '/lib_loader.*Load/s!"\(libudev\.so\)!"${lib.getLib systemd}/lib/\1!' \ 121 src/3rdparty/chromium/device/udev_linux/udev?_loader.cc 122 ··· 125 126 substituteInPlace src/3rdparty/chromium/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc \ 127 --replace "/usr/share/X11/xkb" "${xkeyboard_config}/share/X11/xkb" 128 ''; 129 130 cmakeFlags = [ ··· 144 # android only. https://bugreports.qt.io/browse/QTBUG-100293 145 # "-DQT_FEATURE_webengine_native_spellchecker=ON" 146 "-DQT_FEATURE_webengine_sanitizer=ON" 147 "-DQT_FEATURE_webengine_kerberos=ON" 148 + ] ++ lib.optionals stdenv.isLinux [ 149 + "-DQT_FEATURE_webengine_webrtc_pipewire=ON" 150 + ] ++ lib.optionals enableProprietaryCodecs [ 151 + "-DQT_FEATURE_webengine_proprietary_codecs=ON" 152 + ]; 153 154 propagatedBuildInputs = [ 155 # Image formats ··· 178 179 libevent 180 ffmpeg_4 181 + ] ++ lib.optionals stdenv.isLinux [ 182 dbus 183 zlib 184 minizip ··· 228 229 preConfigure = '' 230 export NINJAFLAGS="-j$NIX_BUILD_CORES" 231 ''; 232 233 meta = with lib; {
+50
pkgs/development/libraries/qt-6/patches/0001-qtbase-qmake-always-use-libname-instead-of-absolute-.patch
···
··· 1 + From 8880bc263a366aeb82056f0bf3f1b17b6ec26900 Mon Sep 17 00:00:00 2001 2 + From: Nick Cao <nickcao@nichi.co> 3 + Date: Thu, 13 Apr 2023 23:42:29 +0800 4 + Subject: [PATCH 1/6] qtbase: qmake: always use libname instead of absolute 5 + path in qmake files 6 + 7 + In generated qmake files, absolute paths to qt libraries are embedded 8 + and then used in linker flags. However as the libraries can be provided 9 + by qt modules other than the one currently being built, the ebedded 10 + paths can be incorrect. 11 + --- 12 + cmake/QtFinishPrlFile.cmake | 7 ++++--- 13 + cmake/QtGenerateLibHelpers.cmake | 3 --- 14 + 2 files changed, 4 insertions(+), 6 deletions(-) 15 + 16 + diff --git a/cmake/QtFinishPrlFile.cmake b/cmake/QtFinishPrlFile.cmake 17 + index 32169e418c..4e754af367 100644 18 + --- a/cmake/QtFinishPrlFile.cmake 19 + +++ b/cmake/QtFinishPrlFile.cmake 20 + @@ -61,9 +61,10 @@ foreach(line ${lines}) 21 + endif() 22 + list(APPEND adjusted_libs "-framework" "${CMAKE_MATCH_1}") 23 + else() 24 + - # Not a framework, transform the Qt module into relocatable relative path. 25 + - qt_strip_library_version_suffix(relative_lib "${relative_lib}") 26 + - list(APPEND adjusted_libs "$$[QT_INSTALL_LIBS]/${relative_lib}") 27 + + # Not a framework, extract the library name and prepend an -l to make 28 + + # it relocatable. 29 + + qt_transform_absolute_library_paths_to_link_flags(lib_with_link_flag "${lib}") 30 + + list(APPEND adjusted_libs "${lib_with_link_flag}") 31 + endif() 32 + endif() 33 + else() 34 + diff --git a/cmake/QtGenerateLibHelpers.cmake b/cmake/QtGenerateLibHelpers.cmake 35 + index e3f4bbf881..f8bd26acc7 100644 36 + --- a/cmake/QtGenerateLibHelpers.cmake 37 + +++ b/cmake/QtGenerateLibHelpers.cmake 38 + @@ -70,9 +70,6 @@ function(qt_transform_absolute_library_paths_to_link_flags out_var library_path_ 39 + string(TOLOWER "${dir}" dir_lower) 40 + # If library_path isn't in default link directories, we should add it to link flags. 41 + list(FIND IMPLICIT_LINK_DIRECTORIES_LOWER "${dir_lower}" index) 42 + - if(${index} EQUAL -1) 43 + - list(APPEND out_list "-L\"${dir}\"") 44 + - endif() 45 + list(APPEND out_list "${lib_name_with_link_flag}") 46 + else() 47 + list(APPEND out_list "${library_path}") 48 + -- 49 + 2.39.2 50 +
+26
pkgs/development/libraries/qt-6/patches/0003-qtbase-qmake-fix-includedir-in-generated-pkg-config.patch
···
··· 1 + From bc91f05db85b774f26d6bce86e2e618dfc7a6883 Mon Sep 17 00:00:00 2001 2 + From: Nick Cao <nickcao@nichi.co> 3 + Date: Fri, 14 Apr 2023 09:34:46 +0800 4 + Subject: [PATCH 3/6] qtbase: qmake: fix includedir in generated pkg-config 5 + 6 + --- 7 + qmake/generators/makefile.cpp | 3 +-- 8 + 1 file changed, 1 insertion(+), 2 deletions(-) 9 + 10 + diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp 11 + index da585bd9b2..3abf9cee83 100644 12 + --- a/qmake/generators/makefile.cpp 13 + +++ b/qmake/generators/makefile.cpp 14 + @@ -3402,8 +3402,7 @@ MakefileGenerator::writePkgConfigFile() 15 + << varGlue("QMAKE_PKGCONFIG_CFLAGS", "", " ", " ") 16 + // << varGlue("DEFINES","-D"," -D"," ") 17 + ; 18 + - if (!project->values("QMAKE_DEFAULT_INCDIRS").contains(includeDir)) 19 + - t << "-I${includedir}"; 20 + + t << "-I${includedir}"; 21 + if (target_mode == TARG_MAC_MODE && project->isActiveConfig("lib_bundle") 22 + && libDir != QLatin1String("/Library/Frameworks")) { 23 + t << " -F${libdir}"; 24 + -- 25 + 2.39.2 26 +
+32
pkgs/development/libraries/qt-6/patches/0006-qtbase-qt-cmake-always-use-cmake-from-path.patch
···
··· 1 + From f0017e872297168ab616096180891c7f312ef1a1 Mon Sep 17 00:00:00 2001 2 + From: Nick Cao <nickcao@nichi.co> 3 + Date: Wed, 12 Apr 2023 10:13:50 +0800 4 + Subject: [PATCH 6/6] qtbase: qt-cmake: always use cmake from path 5 + 6 + The generated qt-cmake scripts embeds the absolute path of cmake used 7 + during the build of qtbase, bloating the runtime closure of qtbase. 8 + --- 9 + bin/qt-cmake.in | 7 +------ 10 + 1 file changed, 1 insertion(+), 6 deletions(-) 11 + 12 + diff --git a/bin/qt-cmake.in b/bin/qt-cmake.in 13 + index f719257f60..571ffe788f 100755 14 + --- a/bin/qt-cmake.in 15 + +++ b/bin/qt-cmake.in 16 + @@ -4,12 +4,7 @@ 17 + script_dir_path=`dirname $0` 18 + script_dir_path=`(cd "$script_dir_path"; /bin/pwd)` 19 + 20 + -# Try to use original cmake, otherwise to make it relocatable, use any cmake found in PATH. 21 + -original_cmake_path="@CMAKE_COMMAND@" 22 + -cmake_path=$original_cmake_path 23 + -if ! test -f "$cmake_path"; then 24 + - cmake_path="cmake" 25 + -fi 26 + +cmake_path="cmake" 27 + 28 + toolchain_path="$script_dir_path/@__GlobalConfig_relative_path_from_bin_dir_to_cmake_config_dir@/qt.toolchain.cmake" 29 + 30 + -- 31 + 2.39.2 32 +
-123
pkgs/development/libraries/qt-6/patches/cmake.patch
··· 1 - commit bd8f6ecea0663bdd150aa48941cbd47d25874396 2 - Author: Nick Cao <nickcao@nichi.co> 3 - Date: Tue Apr 19 13:49:59 2022 +0800 4 - 5 - patch cmake file generation for nixpkgs packaging 6 - 7 - As of qt 6.3.0, installing components into different prefixes is not 8 - supported. To workaround that, we move files to their designated in the 9 - postInstall hook. However the generated cmake files still have 10 - references to the original prefix, and would cause issues when using 11 - said components as the dependency of other packages. The purpose of this 12 - patch is to closely match the output layout of qt, and rewrite the 13 - generated cmake files to point to the corrected pathes. 14 - 15 - diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx 16 - index 5a33349b19..677a6084d6 100644 17 - --- a/Source/cmExportFileGenerator.cxx 18 - +++ b/Source/cmExportFileGenerator.cxx 19 - @@ -7,6 +7,7 @@ 20 - #include <cstring> 21 - #include <sstream> 22 - #include <utility> 23 - +#include <cstdlib> 24 - 25 - #include <cm/memory> 26 - 27 - @@ -330,9 +331,21 @@ static void prefixItems(std::string& exportDirs) 28 - for (std::string const& e : entries) { 29 - exportDirs += sep; 30 - sep = ";"; 31 - - if (!cmSystemTools::FileIsFullPath(e) && 32 - - e.find("${_IMPORT_PREFIX}") == std::string::npos) { 33 - - exportDirs += "${_IMPORT_PREFIX}/"; 34 - + if (!cmSystemTools::FileIsFullPath(e)) { 35 - + if (std::getenv("dev")) { 36 - + if (cmHasLiteralPrefix(e, "include") || cmHasLiteralPrefix(e, "./include")) { 37 - + exportDirs += std::getenv("dev"); 38 - + } else if (cmHasLiteralPrefix(e, "mkspecs") || cmHasLiteralPrefix(e, "./mkspecs")) { 39 - + exportDirs += std::getenv("dev"); 40 - + } else if (cmHasLiteralPrefix(e, "libexec") || cmHasLiteralPrefix(e, "./libexec")) { 41 - + exportDirs += std::getenv("dev"); 42 - + } else { 43 - + exportDirs += std::getenv("out"); 44 - + } 45 - + } else { 46 - + exportDirs += std::getenv("out"); 47 - + } 48 - + exportDirs += "/"; 49 - } 50 - exportDirs += e; 51 - } 52 - diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx 53 - index adccdfeece..ba248305bd 100644 54 - --- a/Source/cmExportInstallFileGenerator.cxx 55 - +++ b/Source/cmExportInstallFileGenerator.cxx 56 - @@ -6,6 +6,7 @@ 57 - #include <memory> 58 - #include <sstream> 59 - #include <utility> 60 - +#include <cstdlib> 61 - 62 - #include "cmExportSet.h" 63 - #include "cmFileSet.h" 64 - @@ -266,7 +267,7 @@ void cmExportInstallFileGenerator::LoadConfigFiles(std::ostream& os) 65 - 66 - void cmExportInstallFileGenerator::ReplaceInstallPrefix(std::string& input) 67 - { 68 - - cmGeneratorExpression::ReplaceInstallPrefix(input, "${_IMPORT_PREFIX}"); 69 - + cmGeneratorExpression::ReplaceInstallPrefix(input, std::getenv("out")); 70 - } 71 - 72 - bool cmExportInstallFileGenerator::GenerateImportFileConfig( 73 - @@ -382,9 +383,22 @@ void cmExportInstallFileGenerator::SetImportLocationProperty( 74 - // Construct the installed location of the target. 75 - std::string dest = itgen->GetDestination(config); 76 - std::string value; 77 - + 78 - if (!cmSystemTools::FileIsFullPath(dest)) { 79 - - // The target is installed relative to the installation prefix. 80 - - value = "${_IMPORT_PREFIX}/"; 81 - + if (std::getenv("dev")) { 82 - + if (cmHasLiteralPrefix(dest, "include") || cmHasLiteralPrefix(dest, "./include")) { 83 - + value = std::getenv("dev"); 84 - + } else if (cmHasLiteralPrefix(dest, "mkspecs") || cmHasLiteralPrefix(dest, "./mkspecs")) { 85 - + value = std::getenv("dev"); 86 - + } else if (cmHasLiteralPrefix(dest, "libexec") || cmHasLiteralPrefix(dest, "./libexec")) { 87 - + value = std::getenv("dev"); 88 - + } else { 89 - + value = std::getenv("out"); 90 - + } 91 - + } else { 92 - + value = std::getenv("out"); 93 - + } 94 - + value += "/"; 95 - } 96 - value += dest; 97 - value += "/"; 98 - diff --git a/Source/cmGeneratorExpression.cxx b/Source/cmGeneratorExpression.cxx 99 - index f988e54a19..cc5c7ac9fd 100644 100 - --- a/Source/cmGeneratorExpression.cxx 101 - +++ b/Source/cmGeneratorExpression.cxx 102 - @@ -192,7 +192,20 @@ static void prefixItems(const std::string& content, std::string& result, 103 - sep = ";"; 104 - if (!cmSystemTools::FileIsFullPath(e) && 105 - cmGeneratorExpression::Find(e) != 0) { 106 - - result += prefix; 107 - + if (std::getenv("dev")) { 108 - + if (cmHasLiteralPrefix(e, "include") || cmHasLiteralPrefix(e, "./include")) { 109 - + result += std::getenv("dev"); 110 - + } else if (cmHasLiteralPrefix(e, "mkspecs") || cmHasLiteralPrefix(e, "./mkspecs")) { 111 - + result += std::getenv("dev"); 112 - + } else if (cmHasLiteralPrefix(e, "libexec") || cmHasLiteralPrefix(e, "./libexec")) { 113 - + result += std::getenv("dev"); 114 - + } else { 115 - + result += std::getenv("out"); 116 - + } 117 - + } else { 118 - + result += std::getenv("out"); 119 - + } 120 - + result += "/"; 121 - } 122 - result += e; 123 - }
···
+23 -6
pkgs/development/libraries/qt-6/patches/qtbase-qmake-mkspecs-mac.patch pkgs/development/libraries/qt-6/patches/0002-qtbase-qmake-fix-mkspecs-for-darwin.patch
··· 1 diff --git a/mkspecs/common/mac.conf b/mkspecs/common/mac.conf 2 - index 61bea952..9909dae7 100644 3 --- a/mkspecs/common/mac.conf 4 +++ b/mkspecs/common/mac.conf 5 @@ -23,7 +23,7 @@ QMAKE_INCDIR_OPENGL = \ ··· 12 13 QMAKE_LFLAGS_REL_RPATH = 14 diff --git a/mkspecs/features/mac/default_post.prf b/mkspecs/features/mac/default_post.prf 15 - index 09db1764..aadfce87 100644 16 --- a/mkspecs/features/mac/default_post.prf 17 +++ b/mkspecs/features/mac/default_post.prf 18 @@ -1,9 +1,5 @@ ··· 299 generate_xcode_project.commands = @$(QMAKE) -spec macx-xcode \"$(EXPORT__PRO_FILE_)\" $$QMAKE_ARGS 300 generate_xcode_project.target = xcodeproj 301 diff --git a/mkspecs/features/mac/default_pre.prf b/mkspecs/features/mac/default_pre.prf 302 - index e3534561..3b01424e 100644 303 --- a/mkspecs/features/mac/default_pre.prf 304 +++ b/mkspecs/features/mac/default_pre.prf 305 @@ -1,60 +1,2 @@ ··· 364 -xcode_copy_phase_strip_setting.value = NO 365 -QMAKE_MAC_XCODE_SETTINGS += xcode_copy_phase_strip_setting 366 diff --git a/mkspecs/features/mac/sdk.mk b/mkspecs/features/mac/sdk.mk 367 - index a32ceacb..e69de29b 100644 368 --- a/mkspecs/features/mac/sdk.mk 369 +++ b/mkspecs/features/mac/sdk.mk 370 @@ -1,27 +0,0 @@ ··· 396 - endif 397 -endif 398 diff --git a/mkspecs/features/mac/sdk.prf b/mkspecs/features/mac/sdk.prf 399 - index 3a9c2778..e69de29b 100644 400 --- a/mkspecs/features/mac/sdk.prf 401 +++ b/mkspecs/features/mac/sdk.prf 402 @@ -1,61 +0,0 @@ ··· 462 - cache($$tool_variable, set stash, $$tool) 463 -} 464 diff --git a/mkspecs/features/mac/toolchain.prf b/mkspecs/features/mac/toolchain.prf 465 - index df191eb1..e69de29b 100644 466 --- a/mkspecs/features/mac/toolchain.prf 467 +++ b/mkspecs/features/mac/toolchain.prf 468 @@ -1,5 +0,0 @@ ··· 471 -sdk: load(sdk) 472 - 473 -load(toolchain)
··· 1 + From 034db4e75ec749ac78fcf8235fa659b0eca83c30 Mon Sep 17 00:00:00 2001 2 + From: Nick Cao <nickcao@nichi.co> 3 + Date: Fri, 14 Apr 2023 09:34:08 +0800 4 + Subject: [PATCH 2/6] qtbase: qmake: fix mkspecs for darwin 5 + 6 + --- 7 + mkspecs/common/mac.conf | 2 +- 8 + mkspecs/features/mac/default_post.prf | 263 -------------------------- 9 + mkspecs/features/mac/default_pre.prf | 58 ------ 10 + mkspecs/features/mac/sdk.mk | 27 --- 11 + mkspecs/features/mac/sdk.prf | 61 ------ 12 + mkspecs/features/mac/toolchain.prf | 5 - 13 + 6 files changed, 1 insertion(+), 415 deletions(-) 14 + 15 diff --git a/mkspecs/common/mac.conf b/mkspecs/common/mac.conf 16 + index 61bea952b2..9909dae726 100644 17 --- a/mkspecs/common/mac.conf 18 +++ b/mkspecs/common/mac.conf 19 @@ -23,7 +23,7 @@ QMAKE_INCDIR_OPENGL = \ ··· 26 27 QMAKE_LFLAGS_REL_RPATH = 28 diff --git a/mkspecs/features/mac/default_post.prf b/mkspecs/features/mac/default_post.prf 29 + index 09db1764b1..aadfce875e 100644 30 --- a/mkspecs/features/mac/default_post.prf 31 +++ b/mkspecs/features/mac/default_post.prf 32 @@ -1,9 +1,5 @@ ··· 313 generate_xcode_project.commands = @$(QMAKE) -spec macx-xcode \"$(EXPORT__PRO_FILE_)\" $$QMAKE_ARGS 314 generate_xcode_project.target = xcodeproj 315 diff --git a/mkspecs/features/mac/default_pre.prf b/mkspecs/features/mac/default_pre.prf 316 + index e3534561a5..3b01424e67 100644 317 --- a/mkspecs/features/mac/default_pre.prf 318 +++ b/mkspecs/features/mac/default_pre.prf 319 @@ -1,60 +1,2 @@ ··· 378 -xcode_copy_phase_strip_setting.value = NO 379 -QMAKE_MAC_XCODE_SETTINGS += xcode_copy_phase_strip_setting 380 diff --git a/mkspecs/features/mac/sdk.mk b/mkspecs/features/mac/sdk.mk 381 + index a32ceacb6c..e69de29bb2 100644 382 --- a/mkspecs/features/mac/sdk.mk 383 +++ b/mkspecs/features/mac/sdk.mk 384 @@ -1,27 +0,0 @@ ··· 410 - endif 411 -endif 412 diff --git a/mkspecs/features/mac/sdk.prf b/mkspecs/features/mac/sdk.prf 413 + index 3a9c2778bb..e69de29bb2 100644 414 --- a/mkspecs/features/mac/sdk.prf 415 +++ b/mkspecs/features/mac/sdk.prf 416 @@ -1,61 +0,0 @@ ··· 476 - cache($$tool_variable, set stash, $$tool) 477 -} 478 diff --git a/mkspecs/features/mac/toolchain.prf b/mkspecs/features/mac/toolchain.prf 479 + index df191eb13c..e69de29bb2 100644 480 --- a/mkspecs/features/mac/toolchain.prf 481 +++ b/mkspecs/features/mac/toolchain.prf 482 @@ -1,5 +0,0 @@ ··· 485 -sdk: load(sdk) 486 - 487 -load(toolchain) 488 + -- 489 + 2.39.2 490 +
-14
pkgs/development/libraries/qt-6/patches/qtbase-qmake-pkg-config.patch
··· 1 - diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp 2 - --- a/qmake/generators/makefile.cpp 3 - +++ b/qmake/generators/makefile.cpp 4 - @@ -3390,8 +3390,7 @@ MakefileGenerator::writePkgConfigFile() 5 - << varGlue("QMAKE_PKGCONFIG_CFLAGS", "", " ", " ") 6 - // << varGlue("DEFINES","-D"," -D"," ") 7 - ; 8 - - if (!project->values("QMAKE_DEFAULT_INCDIRS").contains(includeDir)) 9 - - t << "-I${includedir}"; 10 - + t << "-I${includedir}"; 11 - if (target_mode == TARG_MAC_MODE && project->isActiveConfig("lib_bundle") 12 - && libDir != QLatin1String("/Library/Frameworks")) { 13 - t << " -F${libdir}"; 14 -
···
+14 -2
pkgs/development/libraries/qt-6/patches/qtbase-tzdir.patch pkgs/development/libraries/qt-6/patches/0004-qtbase-fix-locating-tzdir-on-NixOS.patch
··· 1 diff --git a/src/corelib/time/qtimezoneprivate_tz.cpp b/src/corelib/time/qtimezoneprivate_tz.cpp 2 - index 627a4a81..a5f50acc 100644 3 --- a/src/corelib/time/qtimezoneprivate_tz.cpp 4 +++ b/src/corelib/time/qtimezoneprivate_tz.cpp 5 @@ -51,7 +51,11 @@ typedef QHash<QByteArray, QTzTimeZone> QTzTimeZoneHash; ··· 15 if (!QFile::exists(path)) 16 path = QStringLiteral("/usr/lib/zoneinfo/zone.tab"); 17 18 - @@ -727,18 +731,21 @@ QTzTimeZoneCacheEntry QTzTimeZoneCache::findEntry(const QByteArray &ianaId) 19 if (!tzif.open(QIODevice::ReadOnly)) 20 return ret; 21 } else { ··· 46 } 47 } 48 }
··· 1 + From d612c1d7161f95864b9383df84b16d8c24fbcc9b Mon Sep 17 00:00:00 2001 2 + From: Nick Cao <nickcao@nichi.co> 3 + Date: Fri, 14 Apr 2023 09:35:25 +0800 4 + Subject: [PATCH 4/6] qtbase: fix locating tzdir on NixOS 5 + 6 + --- 7 + src/corelib/time/qtimezoneprivate_tz.cpp | 27 +++++++++++++++--------- 8 + 1 file changed, 17 insertions(+), 10 deletions(-) 9 + 10 diff --git a/src/corelib/time/qtimezoneprivate_tz.cpp b/src/corelib/time/qtimezoneprivate_tz.cpp 11 + index e87e34f76d..39bd79d4a4 100644 12 --- a/src/corelib/time/qtimezoneprivate_tz.cpp 13 +++ b/src/corelib/time/qtimezoneprivate_tz.cpp 14 @@ -51,7 +51,11 @@ typedef QHash<QByteArray, QTzTimeZone> QTzTimeZoneHash; ··· 24 if (!QFile::exists(path)) 25 path = QStringLiteral("/usr/lib/zoneinfo/zone.tab"); 26 27 + @@ -729,18 +733,21 @@ QTzTimeZoneCacheEntry QTzTimeZoneCache::findEntry(const QByteArray &ianaId) 28 if (!tzif.open(QIODevice::ReadOnly)) 29 return ret; 30 } else { ··· 55 } 56 } 57 } 58 + -- 59 + 2.39.2 60 +
+3 -3
pkgs/development/libraries/qt-6/patches/qtbase-variable-fonts.patch pkgs/development/libraries/qt-6/patches/0005-qtbase-deal-with-a-font-face-at-index-0-as-Regular-f.patch
··· 1 - From 9ba9c690fb16188ff524b53def104e68e45cf5c3 Mon Sep 17 00:00:00 2001 2 From: Nick Cao <nickcao@nichi.co> 3 Date: Tue, 21 Mar 2023 15:48:49 +0800 4 - Subject: [PATCH] Deal with a font face at index 0 as Regular for Variable 5 - fonts 6 7 Reference: https://bugreports.qt.io/browse/QTBUG-111994 8 ---
··· 1 + From 5bd3672c7870b2e46e2a734dc9a9cb1837375a1c Mon Sep 17 00:00:00 2001 2 From: Nick Cao <nickcao@nichi.co> 3 Date: Tue, 21 Mar 2023 15:48:49 +0800 4 + Subject: [PATCH 5/6] qtbase: deal with a font face at index 0 as Regular for 5 + Variable fonts 6 7 Reference: https://bugreports.qt.io/browse/QTBUG-111994 8 ---
+2 -2
pkgs/development/libraries/qt-6/patches/qttools-paths.patch
··· 10 +{ 11 + switch (location) { 12 + case QLibraryInfo::BinariesPath: 13 - + return QLatin1String(NIX_OUTPUT_DEV) + QLatin1String("/bin"); 14 + case QLibraryInfo::LibraryExecutablesPath: 15 - + return QLatin1String(NIX_OUTPUT_DEV) + QLatin1String("/libexec"); 16 + default: 17 + return QLibraryInfo::path(location); 18 + }
··· 10 +{ 11 + switch (location) { 12 + case QLibraryInfo::BinariesPath: 13 + + return QLatin1String(NIX_OUTPUT_OUT) + QLatin1String("/bin"); 14 + case QLibraryInfo::LibraryExecutablesPath: 15 + + return QLatin1String(NIX_OUTPUT_OUT) + QLatin1String("/libexec"); 16 + default: 17 + return QLibraryInfo::path(location); 18 + }
+1 -1
pkgs/development/libraries/qt-6/qt-env.nix
··· 9 10 postBuild = '' 11 rm "$out/bin/qmake" 12 - cp "${qtbase.dev}/bin/qmake" "$out/bin" 13 cat >"$out/bin/qt.conf" <<EOF 14 [Paths] 15 Prefix = $out
··· 9 10 postBuild = '' 11 rm "$out/bin/qmake" 12 + cp "${qtbase}/bin/qmake" "$out/bin" 13 cat >"$out/bin/qt.conf" <<EOF 14 [Paths] 15 Prefix = $out
+5 -10
pkgs/development/libraries/qt-6/qtModule.nix
··· 3 , cmake 4 , ninja 5 , perl 6 , srcs 7 , patches ? [ ] 8 }: ··· 18 inherit pname version src; 19 patches = args.patches or patches.${pname} or [ ]; 20 21 - preHook = '' 22 - . ${./hooks/move-qt-dev-tools.sh} 23 - ''; 24 - 25 buildInputs = args.buildInputs or [ ]; 26 - nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ cmake ninja perl ]; 27 propagatedBuildInputs = args.qtInputs ++ (args.propagatedBuildInputs or [ ]); 28 29 outputs = args.outputs or [ "out" "dev" ]; 30 31 dontWrapQtApps = args.dontWrapQtApps or true; 32 - 33 - postFixup = '' 34 - moveToOutput "libexec" "''${!outputDev}" 35 - moveQtDevTools 36 - '' + args.postFixup or ""; 37 38 meta = with lib; { 39 homepage = "https://www.qt.io/";
··· 3 , cmake 4 , ninja 5 , perl 6 + , moveBuildTree 7 , srcs 8 , patches ? [ ] 9 }: ··· 19 inherit pname version src; 20 patches = args.patches or patches.${pname} or [ ]; 21 22 buildInputs = args.buildInputs or [ ]; 23 + nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ cmake ninja perl ] 24 + ++ lib.optionals stdenv.isDarwin [ moveBuildTree ]; 25 propagatedBuildInputs = args.qtInputs ++ (args.propagatedBuildInputs or [ ]); 26 27 + moveToDev = false; 28 + 29 outputs = args.outputs or [ "out" "dev" ]; 30 31 dontWrapQtApps = args.dontWrapQtApps or true; 32 33 meta = with lib; { 34 homepage = "https://www.qt.io/";
+18 -5
pkgs/development/python-modules/lightgbm/default.nix
··· 8 , scikit-learn 9 , llvmPackages ? null 10 , pythonOlder 11 }: 12 13 buildPythonPackage rec { ··· 28 29 dontUseCmakeConfigure = true; 30 31 - buildInputs = lib.optionals stdenv.cc.isClang [ 32 llvmPackages.openmp 33 - ]; 34 35 propagatedBuildInputs = [ 36 numpy 37 scipy 38 scikit-learn 39 ]; 40 41 postConfigure = '' 42 export HOME=$(mktemp -d) ··· 51 "lightgbm" 52 ]; 53 54 - meta = with lib; { 55 description = "A fast, distributed, high performance gradient boosting (GBDT, GBRT, GBM or MART) framework"; 56 homepage = "https://github.com/Microsoft/LightGBM"; 57 changelog = "https://github.com/microsoft/LightGBM/releases/tag/v${version}"; 58 - license = licenses.mit; 59 - maintainers = with maintainers; [ teh costrouc ]; 60 }; 61 }
··· 8 , scikit-learn 9 , llvmPackages ? null 10 , pythonOlder 11 + , python 12 + , ocl-icd 13 + , opencl-headers 14 + , boost 15 + , gpuSupport ? true 16 }: 17 18 buildPythonPackage rec { ··· 33 34 dontUseCmakeConfigure = true; 35 36 + buildInputs = (lib.optionals stdenv.cc.isClang [ 37 llvmPackages.openmp 38 + ]) ++ (lib.optionals gpuSupport [ 39 + boost 40 + ocl-icd 41 + opencl-headers 42 + ]); 43 44 propagatedBuildInputs = [ 45 numpy 46 scipy 47 scikit-learn 48 ]; 49 + 50 + buildPhase = '' 51 + ${python.pythonForBuild.interpreter} setup.py bdist_wheel ${lib.optionalString gpuSupport "--gpu"} 52 + ''; 53 54 postConfigure = '' 55 export HOME=$(mktemp -d) ··· 64 "lightgbm" 65 ]; 66 67 + meta = { 68 description = "A fast, distributed, high performance gradient boosting (GBDT, GBRT, GBM or MART) framework"; 69 homepage = "https://github.com/Microsoft/LightGBM"; 70 changelog = "https://github.com/microsoft/LightGBM/releases/tag/v${version}"; 71 + license = lib.licenses.mit; 72 + maintainers = with lib.maintainers; [ teh costrouc ]; 73 }; 74 }
+2 -2
pkgs/development/python-modules/nibabel/default.nix
··· 20 21 buildPythonPackage rec { 22 pname = "nibabel"; 23 - version = "5.0.1"; 24 format = "pyproject"; 25 26 disabled = pythonOlder "3.8"; 27 28 src = fetchPypi { 29 inherit pname version; 30 - hash = "sha256-SvZQFbTMmZQEyvA04cFcGrZ1h5XCXWkH/3T127/p9D4="; 31 }; 32 33 nativeBuildInputs = [
··· 20 21 buildPythonPackage rec { 22 pname = "nibabel"; 23 + version = "5.1.0"; 24 format = "pyproject"; 25 26 disabled = pythonOlder "3.8"; 27 28 src = fetchPypi { 29 inherit pname version; 30 + hash = "sha256-znPKXpVyCechmiI8tx93I1yd8qz00/J/hhujjpSBrFM="; 31 }; 32 33 nativeBuildInputs = [
+3 -3
pkgs/development/tools/fq/default.nix
··· 7 8 buildGoModule rec { 9 pname = "fq"; 10 - version = "0.4.0"; 11 12 src = fetchFromGitHub { 13 owner = "wader"; 14 repo = "fq"; 15 rev = "v${version}"; 16 - hash = "sha256-2Sif6LUv99u/R4SrvsJoJ08aS5G/o34IC+4qAoRvX/g="; 17 }; 18 19 - vendorHash = "sha256-8YJ52stnRHyTfiEHVvUgzLMd14WHI5ZeNAPk77oXSlA="; 20 21 ldflags = [ 22 "-s"
··· 7 8 buildGoModule rec { 9 pname = "fq"; 10 + version = "0.5.0"; 11 12 src = fetchFromGitHub { 13 owner = "wader"; 14 repo = "fq"; 15 rev = "v${version}"; 16 + hash = "sha256-Fg5J/iLxGUwb2QRZJMHLqK9dBECW9VsiZGX+LyUtyhw="; 17 }; 18 19 + vendorHash = "sha256-sjzGtSBgRybcJvOXM4wKN5pTgihNrjUCMPsc62n3tLk="; 20 21 ldflags = [ 22 "-s"
+20
pkgs/games/jazz2/content.nix
···
··· 1 + { jazz2 2 + , lib 3 + , runCommand 4 + }: 5 + 6 + runCommand "jazz2-content" 7 + { 8 + inherit (jazz2) version src; 9 + 10 + preferLocalBuild = true; 11 + 12 + meta = with lib; { 13 + description = "Assets needed for jazz2"; 14 + homepage = "https://github.com/deathkiller/jazz2-native"; 15 + license = licenses.gpl3; 16 + maintainers = with maintainers; [ surfaceflinger ]; 17 + }; 18 + } '' 19 + cp -r $src/Content $out 20 + ''
+47
pkgs/games/jazz2/game.nix
···
··· 1 + { cmake 2 + , fetchFromGitHub 3 + , glew 4 + , glfw 5 + , jazz2-content 6 + , lib 7 + , libGL 8 + , libopenmpt 9 + , libvorbis 10 + , openal 11 + , SDL2 12 + , stdenv 13 + , xorg 14 + , zlib 15 + }: 16 + 17 + stdenv.mkDerivation rec { 18 + pname = "jazz2"; 19 + version = "1.8.0"; 20 + 21 + src = fetchFromGitHub { 22 + owner = "deathkiller"; 23 + repo = "jazz2-native"; 24 + rev = version; 25 + sha256 = "fi1waoLAcnZB0lX+8+wQFoBYOSvVXYK3JKiu81GGF4U="; 26 + }; 27 + 28 + patches = [ ./nocontent.patch ]; 29 + 30 + buildInputs = [ libGL SDL2 zlib glew glfw openal libvorbis libopenmpt xorg.libSM xorg.libICE xorg.libXext ]; 31 + nativeBuildInputs = [ cmake ]; 32 + 33 + cmakeFlags = [ 34 + "-DNCINE_DOWNLOAD_DEPENDENCIES=OFF" 35 + "-DGLFW_INCLUDE_DIR=${glfw}/include/GLFW" 36 + "-DLIBOPENMPT_INCLUDE_DIR=${libopenmpt.dev}/include/libopenmpt" 37 + "-DNCINE_OVERRIDE_CONTENT_PATH=${jazz2-content}" 38 + ]; 39 + 40 + meta = with lib; { 41 + description = "Open-source Jazz Jackrabbit 2 reimplementation"; 42 + homepage = "https://github.com/deathkiller/jazz2-native"; 43 + license = licenses.gpl3; 44 + maintainers = with maintainers; [ surfaceflinger ]; 45 + platforms = platforms.linux; 46 + }; 47 + }
+12
pkgs/games/jazz2/nocontent.patch
···
··· 1 + diff --git a/cmake/ncine_installation.cmake b/cmake/ncine_installation.cmake 2 + index 9ccb707..89c350f 100644 3 + --- a/cmake/ncine_installation.cmake 4 + +++ b/cmake/ncine_installation.cmake 5 + @@ -195,7 +195,6 @@ endif() 6 + #endif() 7 + 8 + if(NOT EMSCRIPTEN) 9 + - install(DIRECTORY "${NCINE_ROOT}/Content/" DESTINATION ${DATA_INSTALL_DESTINATION}) 10 + else() 11 + install(FILES "${CMAKE_BINARY_DIR}/${CPACK_EXECUTABLE_NAME}.html" DESTINATION ".") 12 + install(FILES "${CMAKE_BINARY_DIR}/${CPACK_EXECUTABLE_NAME}.data" DESTINATION ".")
+6 -1
pkgs/os-specific/linux/udisks/2-default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, substituteAll, pkg-config, gnused, autoreconfHook 2 , gtk-doc, acl, systemd, glib, libatasmart, polkit, coreutils, bash, which 3 , expat, libxslt, docbook_xsl, util-linux, mdadm, libgudev, libblockdev, parted 4 , gobject-introspection, docbook_xml_dtd_412, docbook_xml_dtd_43 ··· 39 btrfs-progs coreutils dosfstools e2fsprogs exfat f2fs-tools nilfs-utils 40 xfsprogs ntfs3g parted util-linux 41 ]; 42 }) 43 ]; 44
··· 1 + { lib, stdenv, fetchFromGitHub, substituteAll, fetchpatch, pkg-config, gnused, autoreconfHook 2 , gtk-doc, acl, systemd, glib, libatasmart, polkit, coreutils, bash, which 3 , expat, libxslt, docbook_xsl, util-linux, mdadm, libgudev, libblockdev, parted 4 , gobject-introspection, docbook_xml_dtd_412, docbook_xml_dtd_43 ··· 39 btrfs-progs coreutils dosfstools e2fsprogs exfat f2fs-tools nilfs-utils 40 xfsprogs ntfs3g parted util-linux 41 ]; 42 + }) 43 + # Fix crash on exit, remove on upgrade to 2.10. 44 + (fetchpatch { 45 + url = "https://github.com/storaged-project/udisks/commit/6464e3083c27b9e4d97848b9e69e862f265511d5.patch"; 46 + hash = "sha256-XGprXjJLIL8l4P5MRTHV8GOQR1hpaaFiLgexGnO9Lvg="; 47 }) 48 ]; 49
+17
pkgs/servers/search/elasticsearch/plugins.nix
··· 48 }; 49 }; 50 51 analysis-lemmagen = esPlugin rec { 52 pluginName = "analysis-lemmagen"; 53 version = esVersion;
··· 48 }; 49 }; 50 51 + analysis-kuromoji = esPlugin rec { 52 + pluginName = "analysis-kuromoji"; 53 + version = esVersion; 54 + src = fetchurl { 55 + url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip"; 56 + sha256 = 57 + if version == "7.17.3" then "1pwirciqzz092a30rys2y97mh62pwhlnk4mvv1a8g4640qmql2jx" 58 + else if version == "6.8.21" then "0ywvqicxwcd5bn1j6gsdqhiagjmpha373p76p4lc2ric3in4dz3p" 59 + else throw "unsupported version ${version} for plugin ${pluginName}"; 60 + }; 61 + meta = with lib; { 62 + homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-kuromoji"; 63 + description = "The Japanese (kuromoji) Analysis plugin integrates Lucene kuromoji analysis module into Elasticsearch."; 64 + license = licenses.asl20; 65 + }; 66 + }; 67 + 68 analysis-lemmagen = esPlugin rec { 69 pluginName = "analysis-lemmagen"; 70 version = esVersion;
+598 -216
pkgs/servers/search/qdrant/Cargo.lock
··· 66 "actix-codec", 67 "actix-rt", 68 "actix-service", 69 "actix-utils", 70 "ahash 0.7.6", 71 "base64 0.21.0", ··· 103 checksum = "465a6172cf69b960917811022d8f29bc0b7fa1398bc4f78b3c466673db1213b6" 104 dependencies = [ 105 "quote", 106 - "syn", 107 ] 108 109 [[package]] ··· 159 ] 160 161 [[package]] 162 name = "actix-utils" 163 version = "3.0.1" 164 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 181 "actix-rt", 182 "actix-server", 183 "actix-service", 184 "actix-utils", 185 "actix-web-codegen", 186 "ahash 0.7.6", ··· 218 "actix-router", 219 "proc-macro2", 220 "quote", 221 - "syn", 222 ] 223 224 [[package]] ··· 299 checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" 300 301 [[package]] 302 name = "anyhow" 303 - version = "1.0.69" 304 source = "registry+https://github.com/rust-lang/crates.io-index" 305 - checksum = "224afbd727c3d6e4b90103ece64b8d1b67fbb1973b1046c2281eed3f3803f800" 306 307 [[package]] 308 name = "api" 309 - version = "1.1.0" 310 dependencies = [ 311 "chrono", 312 "env_logger", 313 "log", 314 "prost", 315 "prost-types", 316 "rand 0.8.5", ··· 324 "tonic-build", 325 "tower", 326 "uuid", 327 ] 328 329 [[package]] ··· 380 dependencies = [ 381 "proc-macro2", 382 "quote", 383 - "syn", 384 ] 385 386 [[package]] 387 name = "async-trait" 388 - version = "0.1.66" 389 source = "registry+https://github.com/rust-lang/crates.io-index" 390 - checksum = "b84f9ebcc6c1f5b8cb160f6990096a5c127f423fcb6e1ccc46c370cbdfb75dfc" 391 dependencies = [ 392 "proc-macro2", 393 "quote", 394 - "syn", 395 ] 396 397 [[package]] ··· 415 source = "registry+https://github.com/rust-lang/crates.io-index" 416 checksum = "09a580bfc0fc2370333eddb71de8c8614d5972e3a327438eb3acc22824a638bf" 417 dependencies = [ 418 - "rustix", 419 "tempfile", 420 "windows-sys 0.45.0", 421 ] ··· 439 440 [[package]] 441 name = "axum" 442 - version = "0.6.1" 443 source = "registry+https://github.com/rust-lang/crates.io-index" 444 - checksum = "08b108ad2665fa3f6e6a517c3d80ec3e77d224c47d605167aefaa5d7ef97fa48" 445 dependencies = [ 446 "async-trait", 447 "axum-core", ··· 461 "serde", 462 "sync_wrapper", 463 "tower", 464 - "tower-http", 465 "tower-layer", 466 "tower-service", 467 ] 468 469 [[package]] 470 name = "axum-core" 471 - version = "0.3.0" 472 source = "registry+https://github.com/rust-lang/crates.io-index" 473 - checksum = "79b8558f5a0581152dc94dcd289132a1d377494bdeafcd41869b3258e3e2ad92" 474 dependencies = [ 475 "async-trait", 476 "bytes", ··· 536 "regex", 537 "rustc-hash", 538 "shlex", 539 - "syn", 540 ] 541 542 [[package]] ··· 763 764 [[package]] 765 name = "clap" 766 - version = "4.1.8" 767 source = "registry+https://github.com/rust-lang/crates.io-index" 768 - checksum = "c3d7ae14b20b94cb02149ed21a86c423859cbe18dc7ed69845cace50e52b40a5" 769 dependencies = [ 770 - "bitflags", 771 "clap_derive", 772 - "clap_lex 0.3.0", 773 - "is-terminal", 774 "once_cell", 775 "strsim", 776 - "termcolor", 777 ] 778 779 [[package]] 780 name = "clap_derive" 781 - version = "4.1.8" 782 source = "registry+https://github.com/rust-lang/crates.io-index" 783 - checksum = "44bec8e5c9d09e439c4335b1af0abaab56dcf3b94999a936e1bb47b9134288f0" 784 dependencies = [ 785 "heck", 786 - "proc-macro-error", 787 "proc-macro2", 788 "quote", 789 - "syn", 790 ] 791 792 [[package]] ··· 800 801 [[package]] 802 name = "clap_lex" 803 - version = "0.3.0" 804 source = "registry+https://github.com/rust-lang/crates.io-index" 805 - checksum = "0d4198f73e42b4936b35b5bb248d81d2b595ecb170da0bac7655c54eedfa8da8" 806 - dependencies = [ 807 - "os_str_bytes", 808 - ] 809 810 [[package]] 811 name = "codespan-reporting" ··· 821 name = "collection" 822 version = "0.4.2" 823 dependencies = [ 824 "api", 825 "arc-swap", 826 "async-trait", ··· 836 "log", 837 "merge", 838 "num_cpus", 839 - "ordered-float 3.4.0", 840 "parking_lot", 841 "pprof", 842 "rand 0.8.5", ··· 856 "tower", 857 "url", 858 "uuid", 859 "wal", 860 ] 861 ··· 871 ] 872 873 [[package]] 874 name = "config" 875 version = "0.13.3" 876 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1103 "proc-macro2", 1104 "quote", 1105 "scratch", 1106 - "syn", 1107 ] 1108 1109 [[package]] ··· 1120 dependencies = [ 1121 "proc-macro2", 1122 "quote", 1123 - "syn", 1124 ] 1125 1126 [[package]] ··· 1142 "proc-macro2", 1143 "quote", 1144 "rustc_version", 1145 - "syn", 1146 ] 1147 1148 [[package]] ··· 1235 ] 1236 1237 [[package]] 1238 name = "errno-dragonfly" 1239 version = "0.1.2" 1240 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1261 dependencies = [ 1262 "cfg-if", 1263 "libc", 1264 - "redox_syscall", 1265 "windows-sys 0.42.0", 1266 ] 1267 ··· 1330 ] 1331 1332 [[package]] 1333 - name = "fs2" 1334 - version = "0.4.3" 1335 source = "registry+https://github.com/rust-lang/crates.io-index" 1336 - checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" 1337 dependencies = [ 1338 "libc", 1339 "winapi", 1340 ] 1341 ··· 1359 1360 [[package]] 1361 name = "futures" 1362 - version = "0.3.27" 1363 source = "registry+https://github.com/rust-lang/crates.io-index" 1364 - checksum = "531ac96c6ff5fd7c62263c5e3c67a603af4fcaee2e1a0ae5565ba3a11e69e549" 1365 dependencies = [ 1366 "futures-channel", 1367 "futures-core", ··· 1374 1375 [[package]] 1376 name = "futures-channel" 1377 - version = "0.3.27" 1378 source = "registry+https://github.com/rust-lang/crates.io-index" 1379 - checksum = "164713a5a0dcc3e7b4b1ed7d3b433cabc18025386f9339346e8daf15963cf7ac" 1380 dependencies = [ 1381 "futures-core", 1382 "futures-sink", ··· 1384 1385 [[package]] 1386 name = "futures-core" 1387 - version = "0.3.27" 1388 source = "registry+https://github.com/rust-lang/crates.io-index" 1389 - checksum = "86d7a0c1aa76363dac491de0ee99faf6941128376f1cf96f07db7603b7de69dd" 1390 1391 [[package]] 1392 name = "futures-executor" 1393 - version = "0.3.27" 1394 source = "registry+https://github.com/rust-lang/crates.io-index" 1395 - checksum = "1997dd9df74cdac935c76252744c1ed5794fac083242ea4fe77ef3ed60ba0f83" 1396 dependencies = [ 1397 "futures-core", 1398 "futures-task", ··· 1401 1402 [[package]] 1403 name = "futures-io" 1404 - version = "0.3.27" 1405 source = "registry+https://github.com/rust-lang/crates.io-index" 1406 - checksum = "89d422fa3cbe3b40dca574ab087abb5bc98258ea57eea3fd6f1fa7162c778b91" 1407 1408 [[package]] 1409 name = "futures-macro" 1410 - version = "0.3.27" 1411 source = "registry+https://github.com/rust-lang/crates.io-index" 1412 - checksum = "3eb14ed937631bd8b8b8977f2c198443447a8355b6e3ca599f38c975e5a963b6" 1413 dependencies = [ 1414 "proc-macro2", 1415 "quote", 1416 - "syn", 1417 ] 1418 1419 [[package]] 1420 name = "futures-sink" 1421 - version = "0.3.27" 1422 source = "registry+https://github.com/rust-lang/crates.io-index" 1423 - checksum = "ec93083a4aecafb2a80a885c9de1f0ccae9dbd32c2bb54b0c3a65690e0b8d2f2" 1424 1425 [[package]] 1426 name = "futures-task" 1427 - version = "0.3.27" 1428 source = "registry+https://github.com/rust-lang/crates.io-index" 1429 - checksum = "fd65540d33b37b16542a0438c12e6aeead10d4ac5d05bd3f805b8f35ab592879" 1430 1431 [[package]] 1432 name = "futures-util" 1433 - version = "0.3.27" 1434 source = "registry+https://github.com/rust-lang/crates.io-index" 1435 - checksum = "3ef6b17e481503ec85211fed8f39d1970f128935ca1f814cd32ac4a6842e84ab" 1436 dependencies = [ 1437 "futures-channel", 1438 "futures-core", ··· 1467 1468 [[package]] 1469 name = "geo" 1470 - version = "0.24.0" 1471 source = "registry+https://github.com/rust-lang/crates.io-index" 1472 - checksum = "ce129b525496519c00321a00772d4532d2229071699c6dc6c9cefa5fa7d2b9ae" 1473 dependencies = [ 1474 "float_next_after", 1475 "geo-types", ··· 1551 "proc-macro-error", 1552 "proc-macro2", 1553 "quote", 1554 - "syn", 1555 ] 1556 1557 [[package]] ··· 1656 ] 1657 1658 [[package]] 1659 name = "http" 1660 version = "0.2.9" 1661 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1684 checksum = "21dec9db110f5f872ed9699c3ecf50cf16f423502706ba5c72462e28d3157573" 1685 1686 [[package]] 1687 - name = "http-range-header" 1688 - version = "0.3.0" 1689 - source = "registry+https://github.com/rust-lang/crates.io-index" 1690 - checksum = "0bfe8eed0a9285ef776bb792479ea3834e8b94e13d615c2f66d03dd50a435a29" 1691 - 1692 - [[package]] 1693 name = "httparse" 1694 version = "1.8.0" 1695 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1709 1710 [[package]] 1711 name = "hyper" 1712 - version = "0.14.23" 1713 source = "registry+https://github.com/rust-lang/crates.io-index" 1714 - checksum = "034711faac9d2166cb1baf1a2fb0b60b1f277f8492fd72176c17f3515e1abd3c" 1715 dependencies = [ 1716 "bytes", 1717 "futures-channel", ··· 1739 dependencies = [ 1740 "http", 1741 "hyper", 1742 - "rustls", 1743 "tokio", 1744 - "tokio-rustls", 1745 ] 1746 1747 [[package]] ··· 1794 ] 1795 1796 [[package]] 1797 name = "idna" 1798 version = "0.3.0" 1799 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1802 "unicode-bidi", 1803 "unicode-normalization", 1804 ] 1805 1806 [[package]] 1807 name = "indexmap" ··· 1855 1856 [[package]] 1857 name = "io-lifetimes" 1858 version = "1.0.3" 1859 source = "registry+https://github.com/rust-lang/crates.io-index" 1860 checksum = "46112a93252b123d31a119a8d1a1ac19deac4fac6e0e8b0df58f0d4e5870e63c" ··· 1871 1872 [[package]] 1873 name = "is-terminal" 1874 - version = "0.4.1" 1875 source = "registry+https://github.com/rust-lang/crates.io-index" 1876 - checksum = "927609f78c2913a6f6ac3c27a4fe87f43e2a35367c0c4b0f8265e8f49a104330" 1877 dependencies = [ 1878 - "hermit-abi 0.2.6", 1879 - "io-lifetimes", 1880 - "rustix", 1881 - "windows-sys 0.42.0", 1882 ] 1883 1884 [[package]] ··· 1945 1946 [[package]] 1947 name = "libc" 1948 - version = "0.2.138" 1949 source = "registry+https://github.com/rust-lang/crates.io-index" 1950 - checksum = "db6d7e329c562c5dfab7a46a2afabc8b987ab9a4834c9d1ca04dc54c1546cef8" 1951 1952 [[package]] 1953 name = "libloading" ··· 2007 2008 [[package]] 2009 name = "linux-raw-sys" 2010 version = "0.1.4" 2011 source = "registry+https://github.com/rust-lang/crates.io-index" 2012 checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" 2013 2014 [[package]] 2015 name = "local-channel" ··· 2048 dependencies = [ 2049 "cfg-if", 2050 ] 2051 2052 [[package]] 2053 name = "matchit" ··· 2098 "proc-macro-error", 2099 "proc-macro2", 2100 "quote", 2101 - "syn", 2102 ] 2103 2104 [[package]] ··· 2210 dependencies = [ 2211 "proc-macro2", 2212 "quote", 2213 - "syn", 2214 ] 2215 2216 [[package]] ··· 2282 2283 [[package]] 2284 name = "openssl" 2285 - version = "0.10.46" 2286 source = "registry+https://github.com/rust-lang/crates.io-index" 2287 - checksum = "fd2523381e46256e40930512c7fd25562b9eae4812cb52078f155e87217c9d1e" 2288 dependencies = [ 2289 "bitflags", 2290 "cfg-if", ··· 2303 dependencies = [ 2304 "proc-macro2", 2305 "quote", 2306 - "syn", 2307 ] 2308 2309 [[package]] ··· 2323 2324 [[package]] 2325 name = "openssl-sys" 2326 - version = "0.9.81" 2327 source = "registry+https://github.com/rust-lang/crates.io-index" 2328 - checksum = "176be2629957c157240f68f61f2d0053ad3a4ecfdd9ebf1e6521d18d9635cf67" 2329 dependencies = [ 2330 - "autocfg", 2331 "cc", 2332 "libc", 2333 "openssl-src", ··· 2346 2347 [[package]] 2348 name = "ordered-float" 2349 - version = "3.4.0" 2350 source = "registry+https://github.com/rust-lang/crates.io-index" 2351 - checksum = "d84eb1409416d254e4a9c8fa56cc24701755025b458f0fcd8e59e1f5f40c23bf" 2352 dependencies = [ 2353 "num-traits", 2354 ] ··· 2389 "cfg-if", 2390 "libc", 2391 "petgraph", 2392 - "redox_syscall", 2393 "smallvec", 2394 "thread-id", 2395 "windows-sys 0.42.0", 2396 ] 2397 2398 [[package]] 2399 name = "paste" 2400 version = "1.0.11" 2401 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2459 "pest_meta", 2460 "proc-macro2", 2461 "quote", 2462 - "syn", 2463 ] 2464 2465 [[package]] ··· 2500 dependencies = [ 2501 "proc-macro2", 2502 "quote", 2503 - "syn", 2504 ] 2505 2506 [[package]] ··· 2593 checksum = "2c8992a85d8e93a28bdf76137db888d3874e3b230dee5ed8bebac4c9f7617773" 2594 dependencies = [ 2595 "proc-macro2", 2596 - "syn", 2597 ] 2598 2599 [[package]] ··· 2605 "proc-macro-error-attr", 2606 "proc-macro2", 2607 "quote", 2608 - "syn", 2609 "version_check", 2610 ] 2611 ··· 2622 2623 [[package]] 2624 name = "proc-macro2" 2625 - version = "1.0.49" 2626 source = "registry+https://github.com/rust-lang/crates.io-index" 2627 - checksum = "57a8eca9f9c4ffde41714334dee777596264c7825420f521abc92b5b5deb63a5" 2628 dependencies = [ 2629 "unicode-ident", 2630 ] ··· 2676 2677 [[package]] 2678 name = "prost-build" 2679 - version = "0.11.4" 2680 source = "registry+https://github.com/rust-lang/crates.io-index" 2681 - checksum = "276470f7f281b0ed53d2ae42dd52b4a8d08853a3c70e7fe95882acbb98a6ae94" 2682 dependencies = [ 2683 "bytes", 2684 "heck", ··· 2691 "prost", 2692 "prost-types", 2693 "regex", 2694 - "syn", 2695 "tempfile", 2696 "which", 2697 ] ··· 2706 "itertools", 2707 "proc-macro2", 2708 "quote", 2709 - "syn", 2710 ] 2711 2712 [[package]] ··· 2734 "proc-macro2", 2735 "prost-build", 2736 "quote", 2737 - "syn", 2738 ] 2739 2740 [[package]] 2741 name = "qdrant" 2742 - version = "1.1.0" 2743 dependencies = [ 2744 "actix-cors", 2745 "actix-files", 2746 "actix-web", 2747 "anyhow", 2748 "api", 2749 "atty", 2750 "chrono", 2751 - "clap 4.1.8", 2752 "collection", 2753 "colored", 2754 "config", ··· 2786 "tower", 2787 "tower-layer", 2788 "uuid", 2789 ] 2790 2791 [[package]] ··· 2822 2823 [[package]] 2824 name = "quote" 2825 - version = "1.0.23" 2826 source = "registry+https://github.com/rust-lang/crates.io-index" 2827 - checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" 2828 dependencies = [ 2829 "proc-macro2", 2830 ] ··· 2838 [[package]] 2839 name = "raft" 2840 version = "0.7.0" 2841 - source = "git+https://github.com/tikv/raft-rs?rev=5ce52b480065ff31ecef16b9b77c7c3b7c57c8c7#5ce52b480065ff31ecef16b9b77c7c3b7c57c8c7" 2842 dependencies = [ 2843 "fxhash", 2844 "getset", ··· 2852 [[package]] 2853 name = "raft-proto" 2854 version = "0.7.0" 2855 - source = "git+https://github.com/tikv/raft-rs?rev=5ce52b480065ff31ecef16b9b77c7c3b7c57c8c7#5ce52b480065ff31ecef16b9b77c7c3b7c57c8c7" 2856 dependencies = [ 2857 "lazy_static", 2858 "prost", ··· 2982 ] 2983 2984 [[package]] 2985 name = "regex" 2986 version = "1.7.0" 2987 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3000 3001 [[package]] 3002 name = "reqwest" 3003 - version = "0.11.14" 3004 source = "registry+https://github.com/rust-lang/crates.io-index" 3005 - checksum = "21eed90ec8570952d53b772ecf8f206aa1ec9a3d76b2521c56c42973f2d91ee9" 3006 dependencies = [ 3007 "base64 0.21.0", 3008 "bytes", ··· 3023 "once_cell", 3024 "percent-encoding", 3025 "pin-project-lite", 3026 - "rustls", 3027 "rustls-pemfile", 3028 "serde", 3029 "serde_json", 3030 "serde_urlencoded", 3031 "tokio", 3032 "tokio-native-tls", 3033 - "tokio-rustls", 3034 "tokio-util", 3035 "tower-service", 3036 "url", ··· 3159 3160 [[package]] 3161 name = "rustix" 3162 version = "0.36.5" 3163 source = "registry+https://github.com/rust-lang/crates.io-index" 3164 checksum = "a3807b5d10909833d3e9acd1eb5fb988f79376ff10fce42937de71a449c4c588" 3165 dependencies = [ 3166 "bitflags", 3167 - "errno", 3168 - "io-lifetimes", 3169 "libc", 3170 - "linux-raw-sys", 3171 "windows-sys 0.42.0", 3172 ] 3173 3174 [[package]] 3175 name = "rustls" 3176 version = "0.20.7" 3177 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3184 ] 3185 3186 [[package]] 3187 name = "rustls-pemfile" 3188 version = "1.0.1" 3189 source = "registry+https://github.com/rust-lang/crates.io-index" 3190 checksum = "0864aeff53f8c05aa08d86e5ef839d3dfcf07aeba2db32f12db0ef716e87bd55" 3191 dependencies = [ 3192 "base64 0.13.1", 3193 ] 3194 3195 [[package]] ··· 3272 "proc-macro2", 3273 "quote", 3274 "serde_derive_internals", 3275 - "syn", 3276 ] 3277 3278 [[package]] ··· 3334 "atomicwrites", 3335 "bincode", 3336 "bitvec", 3337 "criterion", 3338 "fs_extra", 3339 "geo", ··· 3344 "num-derive", 3345 "num-traits", 3346 "num_cpus", 3347 - "ordered-float 3.4.0", 3348 "parking_lot", 3349 "pprof", 3350 "quantization", ··· 3365 "thiserror", 3366 "tinyvec", 3367 "uuid", 3368 "walkdir", 3369 ] 3370 ··· 3376 3377 [[package]] 3378 name = "serde" 3379 - version = "1.0.156" 3380 source = "registry+https://github.com/rust-lang/crates.io-index" 3381 - checksum = "314b5b092c0ade17c00142951e50ced110ec27cea304b1037c6969246c2469a4" 3382 dependencies = [ 3383 "serde_derive", 3384 ] ··· 3405 3406 [[package]] 3407 name = "serde_derive" 3408 - version = "1.0.156" 3409 source = "registry+https://github.com/rust-lang/crates.io-index" 3410 - checksum = "d7e29c4601e36bcec74a223228dce795f4cd3616341a4af93520ca1a837c087d" 3411 dependencies = [ 3412 "proc-macro2", 3413 "quote", 3414 - "syn", 3415 ] 3416 3417 [[package]] ··· 3422 dependencies = [ 3423 "proc-macro2", 3424 "quote", 3425 - "syn", 3426 ] 3427 3428 [[package]] 3429 name = "serde_json" 3430 - version = "1.0.94" 3431 source = "registry+https://github.com/rust-lang/crates.io-index" 3432 - checksum = "1c533a59c9d8a93a09c6ab31f0fd5e5f4dd1b8fc9434804029839884765d04ea" 3433 dependencies = [ 3434 "itoa", 3435 "ryu", ··· 3437 ] 3438 3439 [[package]] 3440 name = "serde_urlencoded" 3441 version = "0.7.1" 3442 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3536 3537 [[package]] 3538 name = "socket2" 3539 - version = "0.4.7" 3540 source = "registry+https://github.com/rust-lang/crates.io-index" 3541 - checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd" 3542 dependencies = [ 3543 "libc", 3544 "winapi", ··· 3606 "tonic", 3607 "url", 3608 "uuid", 3609 "wal", 3610 ] 3611 ··· 3656 ] 3657 3658 [[package]] 3659 name = "sync_wrapper" 3660 version = "0.1.1" 3661 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3690 3691 [[package]] 3692 name = "tempfile" 3693 - version = "3.4.0" 3694 source = "registry+https://github.com/rust-lang/crates.io-index" 3695 - checksum = "af18f7ae1acd354b992402e9ec5864359d693cd8a79dcbef59f76891701c1e95" 3696 dependencies = [ 3697 "cfg-if", 3698 "fastrand", 3699 - "redox_syscall", 3700 - "rustix", 3701 - "windows-sys 0.42.0", 3702 ] 3703 3704 [[package]] ··· 3728 3729 [[package]] 3730 name = "thiserror" 3731 - version = "1.0.39" 3732 source = "registry+https://github.com/rust-lang/crates.io-index" 3733 - checksum = "a5ab016db510546d856297882807df8da66a16fb8c4101cb8b30054b0d5b2d9c" 3734 dependencies = [ 3735 "thiserror-impl", 3736 ] 3737 3738 [[package]] 3739 name = "thiserror-impl" 3740 - version = "1.0.39" 3741 source = "registry+https://github.com/rust-lang/crates.io-index" 3742 - checksum = "5420d42e90af0c38c3290abcca25b9b3bdf379fc9f55c528f53a269d9c9a267e" 3743 dependencies = [ 3744 "proc-macro2", 3745 "quote", 3746 - "syn", 3747 ] 3748 3749 [[package]] ··· 3753 checksum = "5fdfe0627923f7411a43ec9ec9c39c3a9b4151be313e0922042581fb6c9b717f" 3754 dependencies = [ 3755 "libc", 3756 - "redox_syscall", 3757 "winapi", 3758 ] 3759 ··· 3843 3844 [[package]] 3845 name = "tokio" 3846 - version = "1.26.0" 3847 source = "registry+https://github.com/rust-lang/crates.io-index" 3848 - checksum = "03201d01c3c27a29c8a5cee5b55a93ddae1ccf6f08f65365c2c918f8c1b76f64" 3849 dependencies = [ 3850 "autocfg", 3851 "bytes", 3852 "libc", 3853 - "memchr", 3854 "mio", 3855 "num_cpus", 3856 "parking_lot", ··· 3873 3874 [[package]] 3875 name = "tokio-macros" 3876 - version = "1.8.2" 3877 source = "registry+https://github.com/rust-lang/crates.io-index" 3878 - checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8" 3879 dependencies = [ 3880 "proc-macro2", 3881 "quote", 3882 - "syn", 3883 ] 3884 3885 [[package]] ··· 3893 ] 3894 3895 [[package]] 3896 name = "tokio-rustls" 3897 version = "0.23.4" 3898 source = "registry+https://github.com/rust-lang/crates.io-index" 3899 checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" 3900 dependencies = [ 3901 - "rustls", 3902 "tokio", 3903 "webpki", 3904 ] 3905 3906 [[package]] 3907 name = "tokio-stream" 3908 version = "0.1.11" 3909 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3939 3940 [[package]] 3941 name = "tonic" 3942 - version = "0.8.3" 3943 source = "registry+https://github.com/rust-lang/crates.io-index" 3944 - checksum = "8f219fad3b929bef19b1f86fbc0358d35daed8f2cac972037ac0dc10bbb8d5fb" 3945 dependencies = [ 3946 "async-stream", 3947 "async-trait", 3948 "axum", 3949 - "base64 0.13.1", 3950 "bytes", 3951 "flate2", 3952 "futures-core", ··· 3959 "percent-encoding", 3960 "pin-project", 3961 "prost", 3962 - "prost-derive", 3963 "tokio", 3964 "tokio-stream", 3965 - "tokio-util", 3966 "tower", 3967 "tower-layer", 3968 "tower-service", 3969 "tracing", 3970 - "tracing-futures", 3971 ] 3972 3973 [[package]] 3974 name = "tonic-build" 3975 - version = "0.8.4" 3976 source = "registry+https://github.com/rust-lang/crates.io-index" 3977 - checksum = "5bf5e9b9c0f7e0a7c027dcfaba7b2c60816c7049171f679d99ee2ff65d0de8c4" 3978 dependencies = [ 3979 "prettyplease", 3980 "proc-macro2", 3981 "prost-build", 3982 "quote", 3983 - "syn", 3984 ] 3985 3986 [[package]] ··· 4004 ] 4005 4006 [[package]] 4007 - name = "tower-http" 4008 - version = "0.3.5" 4009 - source = "registry+https://github.com/rust-lang/crates.io-index" 4010 - checksum = "f873044bf02dd1e8239e9c1293ea39dad76dc594ec16185d0a1bf31d8dc8d858" 4011 - dependencies = [ 4012 - "bitflags", 4013 - "bytes", 4014 - "futures-core", 4015 - "futures-util", 4016 - "http", 4017 - "http-body", 4018 - "http-range-header", 4019 - "pin-project-lite", 4020 - "tower", 4021 - "tower-layer", 4022 - "tower-service", 4023 - ] 4024 - 4025 - [[package]] 4026 name = "tower-layer" 4027 version = "0.3.2" 4028 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4055 dependencies = [ 4056 "proc-macro2", 4057 "quote", 4058 - "syn", 4059 ] 4060 4061 [[package]] ··· 4065 checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" 4066 dependencies = [ 4067 "once_cell", 4068 - ] 4069 - 4070 - [[package]] 4071 - name = "tracing-futures" 4072 - version = "0.2.5" 4073 - source = "registry+https://github.com/rust-lang/crates.io-index" 4074 - checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" 4075 - dependencies = [ 4076 - "pin-project", 4077 - "tracing", 4078 ] 4079 4080 [[package]] ··· 4150 checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" 4151 dependencies = [ 4152 "form_urlencoded", 4153 - "idna", 4154 "percent-encoding", 4155 "serde", 4156 ] 4157 4158 [[package]] 4159 name = "uuid" 4160 - version = "1.3.0" 4161 source = "registry+https://github.com/rust-lang/crates.io-index" 4162 - checksum = "1674845326ee10d37ca60470760d4288a6f80f304007d92e5c53bab78c9cfd79" 4163 dependencies = [ 4164 "getrandom 0.2.8", 4165 "serde", 4166 ] 4167 4168 [[package]] 4169 name = "vcpkg" 4170 version = "0.2.15" 4171 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4189 [[package]] 4190 name = "wal" 4191 version = "0.1.2" 4192 - source = "git+https://github.com/qdrant/wal.git?rev=7536f9e222d55cc53f7f7507a3028b0e303976cc#7536f9e222d55cc53f7f7507a3028b0e303976cc" 4193 dependencies = [ 4194 "byteorder", 4195 "crc", 4196 "crossbeam-channel", 4197 "docopt", 4198 "env_logger", 4199 - "fs2", 4200 "log", 4201 "memmap2", 4202 "rand 0.8.5", 4203 "rand_distr", 4204 "serde", 4205 ] 4206 ··· 4263 "once_cell", 4264 "proc-macro2", 4265 "quote", 4266 - "syn", 4267 "wasm-bindgen-shared", 4268 ] 4269 ··· 4297 dependencies = [ 4298 "proc-macro2", 4299 "quote", 4300 - "syn", 4301 "wasm-bindgen-backend", 4302 "wasm-bindgen-shared", 4303 ] ··· 4412 checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" 4413 dependencies = [ 4414 "windows_aarch64_gnullvm", 4415 - "windows_aarch64_msvc 0.42.1", 4416 - "windows_i686_gnu 0.42.1", 4417 - "windows_i686_msvc 0.42.1", 4418 - "windows_x86_64_gnu 0.42.1", 4419 "windows_x86_64_gnullvm", 4420 - "windows_x86_64_msvc 0.42.1", 4421 ] 4422 4423 [[package]] ··· 4431 4432 [[package]] 4433 name = "windows-targets" 4434 - version = "0.42.1" 4435 source = "registry+https://github.com/rust-lang/crates.io-index" 4436 - checksum = "8e2522491fbfcd58cc84d47aeb2958948c4b8982e9a2d8a2a35bbaed431390e7" 4437 dependencies = [ 4438 "windows_aarch64_gnullvm", 4439 - "windows_aarch64_msvc 0.42.1", 4440 - "windows_i686_gnu 0.42.1", 4441 - "windows_i686_msvc 0.42.1", 4442 - "windows_x86_64_gnu 0.42.1", 4443 "windows_x86_64_gnullvm", 4444 - "windows_x86_64_msvc 0.42.1", 4445 ] 4446 4447 [[package]] 4448 name = "windows_aarch64_gnullvm" 4449 - version = "0.42.1" 4450 source = "registry+https://github.com/rust-lang/crates.io-index" 4451 - checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608" 4452 4453 [[package]] 4454 name = "windows_aarch64_msvc" ··· 4458 4459 [[package]] 4460 name = "windows_aarch64_msvc" 4461 - version = "0.42.1" 4462 source = "registry+https://github.com/rust-lang/crates.io-index" 4463 - checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7" 4464 4465 [[package]] 4466 name = "windows_i686_gnu" ··· 4470 4471 [[package]] 4472 name = "windows_i686_gnu" 4473 - version = "0.42.1" 4474 source = "registry+https://github.com/rust-lang/crates.io-index" 4475 - checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640" 4476 4477 [[package]] 4478 name = "windows_i686_msvc" ··· 4482 4483 [[package]] 4484 name = "windows_i686_msvc" 4485 - version = "0.42.1" 4486 source = "registry+https://github.com/rust-lang/crates.io-index" 4487 - checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605" 4488 4489 [[package]] 4490 name = "windows_x86_64_gnu" ··· 4494 4495 [[package]] 4496 name = "windows_x86_64_gnu" 4497 - version = "0.42.1" 4498 source = "registry+https://github.com/rust-lang/crates.io-index" 4499 - checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45" 4500 4501 [[package]] 4502 name = "windows_x86_64_gnullvm" 4503 - version = "0.42.1" 4504 source = "registry+https://github.com/rust-lang/crates.io-index" 4505 - checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463" 4506 4507 [[package]] 4508 name = "windows_x86_64_msvc" ··· 4512 4513 [[package]] 4514 name = "windows_x86_64_msvc" 4515 - version = "0.42.1" 4516 source = "registry+https://github.com/rust-lang/crates.io-index" 4517 - checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd" 4518 4519 [[package]] 4520 name = "winreg"
··· 66 "actix-codec", 67 "actix-rt", 68 "actix-service", 69 + "actix-tls", 70 "actix-utils", 71 "ahash 0.7.6", 72 "base64 0.21.0", ··· 104 checksum = "465a6172cf69b960917811022d8f29bc0b7fa1398bc4f78b3c466673db1213b6" 105 dependencies = [ 106 "quote", 107 + "syn 1.0.107", 108 + ] 109 + 110 + [[package]] 111 + name = "actix-multipart" 112 + version = "0.6.0" 113 + source = "registry+https://github.com/rust-lang/crates.io-index" 114 + checksum = "dee489e3c01eae4d1c35b03c4493f71cb40d93f66b14558feb1b1a807671cc4e" 115 + dependencies = [ 116 + "actix-multipart-derive", 117 + "actix-utils", 118 + "actix-web", 119 + "bytes", 120 + "derive_more", 121 + "futures-core", 122 + "futures-util", 123 + "httparse", 124 + "local-waker", 125 + "log", 126 + "memchr", 127 + "mime", 128 + "serde", 129 + "serde_json", 130 + "serde_plain", 131 + "tempfile", 132 + "tokio", 133 + ] 134 + 135 + [[package]] 136 + name = "actix-multipart-derive" 137 + version = "0.6.0" 138 + source = "registry+https://github.com/rust-lang/crates.io-index" 139 + checksum = "2ec592f234db8a253cf80531246a4407c8a70530423eea80688a6c5a44a110e7" 140 + dependencies = [ 141 + "darling", 142 + "parse-size", 143 + "proc-macro2", 144 + "quote", 145 + "syn 1.0.107", 146 ] 147 148 [[package]] ··· 198 ] 199 200 [[package]] 201 + name = "actix-tls" 202 + version = "3.0.3" 203 + source = "registry+https://github.com/rust-lang/crates.io-index" 204 + checksum = "9fde0cf292f7cdc7f070803cb9a0d45c018441321a78b1042ffbbb81ec333297" 205 + dependencies = [ 206 + "actix-codec", 207 + "actix-rt", 208 + "actix-service", 209 + "actix-utils", 210 + "futures-core", 211 + "log", 212 + "openssl", 213 + "pin-project-lite", 214 + "tokio-openssl", 215 + "tokio-util", 216 + ] 217 + 218 + [[package]] 219 name = "actix-utils" 220 version = "3.0.1" 221 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 238 "actix-rt", 239 "actix-server", 240 "actix-service", 241 + "actix-tls", 242 "actix-utils", 243 "actix-web-codegen", 244 "ahash 0.7.6", ··· 276 "actix-router", 277 "proc-macro2", 278 "quote", 279 + "syn 1.0.107", 280 + ] 281 + 282 + [[package]] 283 + name = "actix-web-validator" 284 + version = "5.0.1" 285 + source = "registry+https://github.com/rust-lang/crates.io-index" 286 + checksum = "f40ee5ed4e266dad8d980f964c5ddd746f1f4f85b7f3b54f7099ab861ec6d746" 287 + dependencies = [ 288 + "actix-http", 289 + "actix-router", 290 + "actix-web", 291 + "bytes", 292 + "futures", 293 + "futures-util", 294 + "log", 295 + "mime", 296 + "serde", 297 + "serde_json", 298 + "serde_qs", 299 + "serde_urlencoded", 300 + "thiserror", 301 + "validator", 302 ] 303 304 [[package]] ··· 379 checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" 380 381 [[package]] 382 + name = "anstream" 383 + version = "0.2.6" 384 + source = "registry+https://github.com/rust-lang/crates.io-index" 385 + checksum = "342258dd14006105c2b75ab1bd7543a03bdf0cfc94383303ac212a04939dff6f" 386 + dependencies = [ 387 + "anstyle", 388 + "anstyle-parse", 389 + "anstyle-wincon", 390 + "concolor-override", 391 + "concolor-query", 392 + "is-terminal", 393 + "utf8parse", 394 + ] 395 + 396 + [[package]] 397 + name = "anstyle" 398 + version = "0.3.5" 399 + source = "registry+https://github.com/rust-lang/crates.io-index" 400 + checksum = "23ea9e81bd02e310c216d080f6223c179012256e5151c41db88d12c88a1684d2" 401 + 402 + [[package]] 403 + name = "anstyle-parse" 404 + version = "0.1.1" 405 + source = "registry+https://github.com/rust-lang/crates.io-index" 406 + checksum = "a7d1bb534e9efed14f3e5f44e7dd1a4f709384023a4165199a4241e18dff0116" 407 + dependencies = [ 408 + "utf8parse", 409 + ] 410 + 411 + [[package]] 412 + name = "anstyle-wincon" 413 + version = "0.2.0" 414 + source = "registry+https://github.com/rust-lang/crates.io-index" 415 + checksum = "c3127af6145b149f3287bb9a0d10ad9c5692dba8c53ad48285e5bec4063834fa" 416 + dependencies = [ 417 + "anstyle", 418 + "windows-sys 0.45.0", 419 + ] 420 + 421 + [[package]] 422 name = "anyhow" 423 + version = "1.0.70" 424 source = "registry+https://github.com/rust-lang/crates.io-index" 425 + checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" 426 427 [[package]] 428 name = "api" 429 + version = "1.1.1" 430 dependencies = [ 431 "chrono", 432 "env_logger", 433 "log", 434 + "parking_lot", 435 "prost", 436 "prost-types", 437 "rand 0.8.5", ··· 445 "tonic-build", 446 "tower", 447 "uuid", 448 + "validator", 449 ] 450 451 [[package]] ··· 502 dependencies = [ 503 "proc-macro2", 504 "quote", 505 + "syn 1.0.107", 506 ] 507 508 [[package]] 509 name = "async-trait" 510 + version = "0.1.68" 511 source = "registry+https://github.com/rust-lang/crates.io-index" 512 + checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" 513 dependencies = [ 514 "proc-macro2", 515 "quote", 516 + "syn 2.0.11", 517 ] 518 519 [[package]] ··· 537 source = "registry+https://github.com/rust-lang/crates.io-index" 538 checksum = "09a580bfc0fc2370333eddb71de8c8614d5972e3a327438eb3acc22824a638bf" 539 dependencies = [ 540 + "rustix 0.36.5", 541 "tempfile", 542 "windows-sys 0.45.0", 543 ] ··· 561 562 [[package]] 563 name = "axum" 564 + version = "0.6.12" 565 source = "registry+https://github.com/rust-lang/crates.io-index" 566 + checksum = "349f8ccfd9221ee7d1f3d4b33e1f8319b3a81ed8f61f2ea40b37b859794b4491" 567 dependencies = [ 568 "async-trait", 569 "axum-core", ··· 583 "serde", 584 "sync_wrapper", 585 "tower", 586 "tower-layer", 587 "tower-service", 588 ] 589 590 [[package]] 591 name = "axum-core" 592 + version = "0.3.3" 593 source = "registry+https://github.com/rust-lang/crates.io-index" 594 + checksum = "b2f958c80c248b34b9a877a643811be8dbca03ca5ba827f2b63baf3a81e5fc4e" 595 dependencies = [ 596 "async-trait", 597 "bytes", ··· 657 "regex", 658 "rustc-hash", 659 "shlex", 660 + "syn 1.0.107", 661 ] 662 663 [[package]] ··· 884 885 [[package]] 886 name = "clap" 887 + version = "4.2.1" 888 source = "registry+https://github.com/rust-lang/crates.io-index" 889 + checksum = "046ae530c528f252094e4a77886ee1374437744b2bff1497aa898bbddbbb29b3" 890 dependencies = [ 891 + "clap_builder", 892 "clap_derive", 893 "once_cell", 894 + ] 895 + 896 + [[package]] 897 + name = "clap_builder" 898 + version = "4.2.1" 899 + source = "registry+https://github.com/rust-lang/crates.io-index" 900 + checksum = "223163f58c9a40c3b0a43e1c4b50a9ce09f007ea2cb1ec258a687945b4b7929f" 901 + dependencies = [ 902 + "anstream", 903 + "anstyle", 904 + "bitflags", 905 + "clap_lex 0.4.0", 906 "strsim", 907 ] 908 909 [[package]] 910 name = "clap_derive" 911 + version = "4.2.0" 912 source = "registry+https://github.com/rust-lang/crates.io-index" 913 + checksum = "3f9644cd56d6b87dbe899ef8b053e331c0637664e9e21a33dfcdc36093f5c5c4" 914 dependencies = [ 915 "heck", 916 "proc-macro2", 917 "quote", 918 + "syn 2.0.11", 919 ] 920 921 [[package]] ··· 929 930 [[package]] 931 name = "clap_lex" 932 + version = "0.4.0" 933 source = "registry+https://github.com/rust-lang/crates.io-index" 934 + checksum = "4f0807fb6f644c83f3e4ec014fec9858c1c8b26a7db8eb5f0bde5817df9c1df7" 935 936 [[package]] 937 name = "codespan-reporting" ··· 947 name = "collection" 948 version = "0.4.2" 949 dependencies = [ 950 + "actix-web-validator", 951 "api", 952 "arc-swap", 953 "async-trait", ··· 963 "log", 964 "merge", 965 "num_cpus", 966 + "ordered-float 3.6.0", 967 "parking_lot", 968 "pprof", 969 "rand 0.8.5", ··· 983 "tower", 984 "url", 985 "uuid", 986 + "validator", 987 "wal", 988 ] 989 ··· 999 ] 1000 1001 [[package]] 1002 + name = "concolor-override" 1003 + version = "1.0.0" 1004 + source = "registry+https://github.com/rust-lang/crates.io-index" 1005 + checksum = "a855d4a1978dc52fb0536a04d384c2c0c1aa273597f08b77c8c4d3b2eec6037f" 1006 + 1007 + [[package]] 1008 + name = "concolor-query" 1009 + version = "0.3.3" 1010 + source = "registry+https://github.com/rust-lang/crates.io-index" 1011 + checksum = "88d11d52c3d7ca2e6d0040212be9e4dbbcd78b6447f535b6b561f449427944cf" 1012 + dependencies = [ 1013 + "windows-sys 0.45.0", 1014 + ] 1015 + 1016 + [[package]] 1017 name = "config" 1018 version = "0.13.3" 1019 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1246 "proc-macro2", 1247 "quote", 1248 "scratch", 1249 + "syn 1.0.107", 1250 ] 1251 1252 [[package]] ··· 1263 dependencies = [ 1264 "proc-macro2", 1265 "quote", 1266 + "syn 1.0.107", 1267 + ] 1268 + 1269 + [[package]] 1270 + name = "darling" 1271 + version = "0.14.4" 1272 + source = "registry+https://github.com/rust-lang/crates.io-index" 1273 + checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" 1274 + dependencies = [ 1275 + "darling_core", 1276 + "darling_macro", 1277 + ] 1278 + 1279 + [[package]] 1280 + name = "darling_core" 1281 + version = "0.14.4" 1282 + source = "registry+https://github.com/rust-lang/crates.io-index" 1283 + checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" 1284 + dependencies = [ 1285 + "fnv", 1286 + "ident_case", 1287 + "proc-macro2", 1288 + "quote", 1289 + "strsim", 1290 + "syn 1.0.107", 1291 + ] 1292 + 1293 + [[package]] 1294 + name = "darling_macro" 1295 + version = "0.14.4" 1296 + source = "registry+https://github.com/rust-lang/crates.io-index" 1297 + checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" 1298 + dependencies = [ 1299 + "darling_core", 1300 + "quote", 1301 + "syn 1.0.107", 1302 ] 1303 1304 [[package]] ··· 1320 "proc-macro2", 1321 "quote", 1322 "rustc_version", 1323 + "syn 1.0.107", 1324 ] 1325 1326 [[package]] ··· 1413 ] 1414 1415 [[package]] 1416 + name = "errno" 1417 + version = "0.3.0" 1418 + source = "registry+https://github.com/rust-lang/crates.io-index" 1419 + checksum = "50d6a0976c999d473fe89ad888d5a284e55366d9dc9038b1ba2aa15128c4afa0" 1420 + dependencies = [ 1421 + "errno-dragonfly", 1422 + "libc", 1423 + "windows-sys 0.45.0", 1424 + ] 1425 + 1426 + [[package]] 1427 name = "errno-dragonfly" 1428 version = "0.1.2" 1429 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1450 dependencies = [ 1451 "cfg-if", 1452 "libc", 1453 + "redox_syscall 0.2.16", 1454 "windows-sys 0.42.0", 1455 ] 1456 ··· 1519 ] 1520 1521 [[package]] 1522 + name = "fs4" 1523 + version = "0.6.3" 1524 source = "registry+https://github.com/rust-lang/crates.io-index" 1525 + checksum = "8ea55201cc351fdb478217c0fb641b59813da9b4efe4c414a9d8f989a657d149" 1526 dependencies = [ 1527 "libc", 1528 + "rustix 0.35.13", 1529 "winapi", 1530 ] 1531 ··· 1549 1550 [[package]] 1551 name = "futures" 1552 + version = "0.3.28" 1553 source = "registry+https://github.com/rust-lang/crates.io-index" 1554 + checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" 1555 dependencies = [ 1556 "futures-channel", 1557 "futures-core", ··· 1564 1565 [[package]] 1566 name = "futures-channel" 1567 + version = "0.3.28" 1568 source = "registry+https://github.com/rust-lang/crates.io-index" 1569 + checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" 1570 dependencies = [ 1571 "futures-core", 1572 "futures-sink", ··· 1574 1575 [[package]] 1576 name = "futures-core" 1577 + version = "0.3.28" 1578 source = "registry+https://github.com/rust-lang/crates.io-index" 1579 + checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" 1580 1581 [[package]] 1582 name = "futures-executor" 1583 + version = "0.3.28" 1584 source = "registry+https://github.com/rust-lang/crates.io-index" 1585 + checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" 1586 dependencies = [ 1587 "futures-core", 1588 "futures-task", ··· 1591 1592 [[package]] 1593 name = "futures-io" 1594 + version = "0.3.28" 1595 source = "registry+https://github.com/rust-lang/crates.io-index" 1596 + checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" 1597 1598 [[package]] 1599 name = "futures-macro" 1600 + version = "0.3.28" 1601 source = "registry+https://github.com/rust-lang/crates.io-index" 1602 + checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" 1603 dependencies = [ 1604 "proc-macro2", 1605 "quote", 1606 + "syn 2.0.11", 1607 ] 1608 1609 [[package]] 1610 name = "futures-sink" 1611 + version = "0.3.28" 1612 source = "registry+https://github.com/rust-lang/crates.io-index" 1613 + checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" 1614 1615 [[package]] 1616 name = "futures-task" 1617 + version = "0.3.28" 1618 source = "registry+https://github.com/rust-lang/crates.io-index" 1619 + checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" 1620 1621 [[package]] 1622 name = "futures-util" 1623 + version = "0.3.28" 1624 source = "registry+https://github.com/rust-lang/crates.io-index" 1625 + checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" 1626 dependencies = [ 1627 "futures-channel", 1628 "futures-core", ··· 1657 1658 [[package]] 1659 name = "geo" 1660 + version = "0.24.1" 1661 source = "registry+https://github.com/rust-lang/crates.io-index" 1662 + checksum = "c7d640a4dd1d1c98b45f4653c841a8ec15f461a71b86bc30533ae64c6f20f268" 1663 dependencies = [ 1664 "float_next_after", 1665 "geo-types", ··· 1741 "proc-macro-error", 1742 "proc-macro2", 1743 "quote", 1744 + "syn 1.0.107", 1745 ] 1746 1747 [[package]] ··· 1846 ] 1847 1848 [[package]] 1849 + name = "hermit-abi" 1850 + version = "0.3.1" 1851 + source = "registry+https://github.com/rust-lang/crates.io-index" 1852 + checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" 1853 + 1854 + [[package]] 1855 name = "http" 1856 version = "0.2.9" 1857 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1880 checksum = "21dec9db110f5f872ed9699c3ecf50cf16f423502706ba5c72462e28d3157573" 1881 1882 [[package]] 1883 name = "httparse" 1884 version = "1.8.0" 1885 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1899 1900 [[package]] 1901 name = "hyper" 1902 + version = "0.14.25" 1903 source = "registry+https://github.com/rust-lang/crates.io-index" 1904 + checksum = "cc5e554ff619822309ffd57d8734d77cd5ce6238bc956f037ea06c58238c9899" 1905 dependencies = [ 1906 "bytes", 1907 "futures-channel", ··· 1929 dependencies = [ 1930 "http", 1931 "hyper", 1932 + "rustls 0.20.7", 1933 "tokio", 1934 + "tokio-rustls 0.23.4", 1935 ] 1936 1937 [[package]] ··· 1984 ] 1985 1986 [[package]] 1987 + name = "ident_case" 1988 + version = "1.0.1" 1989 + source = "registry+https://github.com/rust-lang/crates.io-index" 1990 + checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" 1991 + 1992 + [[package]] 1993 + name = "idna" 1994 + version = "0.2.3" 1995 + source = "registry+https://github.com/rust-lang/crates.io-index" 1996 + checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" 1997 + dependencies = [ 1998 + "matches", 1999 + "unicode-bidi", 2000 + "unicode-normalization", 2001 + ] 2002 + 2003 + [[package]] 2004 name = "idna" 2005 version = "0.3.0" 2006 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2009 "unicode-bidi", 2010 "unicode-normalization", 2011 ] 2012 + 2013 + [[package]] 2014 + name = "if_chain" 2015 + version = "1.0.2" 2016 + source = "registry+https://github.com/rust-lang/crates.io-index" 2017 + checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" 2018 2019 [[package]] 2020 name = "indexmap" ··· 2068 2069 [[package]] 2070 name = "io-lifetimes" 2071 + version = "0.7.5" 2072 + source = "registry+https://github.com/rust-lang/crates.io-index" 2073 + checksum = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074" 2074 + 2075 + [[package]] 2076 + name = "io-lifetimes" 2077 version = "1.0.3" 2078 source = "registry+https://github.com/rust-lang/crates.io-index" 2079 checksum = "46112a93252b123d31a119a8d1a1ac19deac4fac6e0e8b0df58f0d4e5870e63c" ··· 2090 2091 [[package]] 2092 name = "is-terminal" 2093 + version = "0.4.6" 2094 source = "registry+https://github.com/rust-lang/crates.io-index" 2095 + checksum = "256017f749ab3117e93acb91063009e1f1bb56d03965b14c2c8df4eb02c524d8" 2096 dependencies = [ 2097 + "hermit-abi 0.3.1", 2098 + "io-lifetimes 1.0.3", 2099 + "rustix 0.37.4", 2100 + "windows-sys 0.45.0", 2101 ] 2102 2103 [[package]] ··· 2164 2165 [[package]] 2166 name = "libc" 2167 + version = "0.2.140" 2168 source = "registry+https://github.com/rust-lang/crates.io-index" 2169 + checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" 2170 2171 [[package]] 2172 name = "libloading" ··· 2226 2227 [[package]] 2228 name = "linux-raw-sys" 2229 + version = "0.0.46" 2230 + source = "registry+https://github.com/rust-lang/crates.io-index" 2231 + checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d" 2232 + 2233 + [[package]] 2234 + name = "linux-raw-sys" 2235 version = "0.1.4" 2236 source = "registry+https://github.com/rust-lang/crates.io-index" 2237 checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" 2238 + 2239 + [[package]] 2240 + name = "linux-raw-sys" 2241 + version = "0.3.0" 2242 + source = "registry+https://github.com/rust-lang/crates.io-index" 2243 + checksum = "cd550e73688e6d578f0ac2119e32b797a327631a42f9433e59d02e139c8df60d" 2244 2245 [[package]] 2246 name = "local-channel" ··· 2279 dependencies = [ 2280 "cfg-if", 2281 ] 2282 + 2283 + [[package]] 2284 + name = "matches" 2285 + version = "0.1.10" 2286 + source = "registry+https://github.com/rust-lang/crates.io-index" 2287 + checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" 2288 2289 [[package]] 2290 name = "matchit" ··· 2335 "proc-macro-error", 2336 "proc-macro2", 2337 "quote", 2338 + "syn 1.0.107", 2339 ] 2340 2341 [[package]] ··· 2447 dependencies = [ 2448 "proc-macro2", 2449 "quote", 2450 + "syn 1.0.107", 2451 ] 2452 2453 [[package]] ··· 2519 2520 [[package]] 2521 name = "openssl" 2522 + version = "0.10.50" 2523 source = "registry+https://github.com/rust-lang/crates.io-index" 2524 + checksum = "7e30d8bc91859781f0a943411186324d580f2bbeb71b452fe91ae344806af3f1" 2525 dependencies = [ 2526 "bitflags", 2527 "cfg-if", ··· 2540 dependencies = [ 2541 "proc-macro2", 2542 "quote", 2543 + "syn 1.0.107", 2544 ] 2545 2546 [[package]] ··· 2560 2561 [[package]] 2562 name = "openssl-sys" 2563 + version = "0.9.85" 2564 source = "registry+https://github.com/rust-lang/crates.io-index" 2565 + checksum = "0d3d193fb1488ad46ffe3aaabc912cc931d02ee8518fe2959aea8ef52718b0c0" 2566 dependencies = [ 2567 "cc", 2568 "libc", 2569 "openssl-src", ··· 2582 2583 [[package]] 2584 name = "ordered-float" 2585 + version = "3.6.0" 2586 source = "registry+https://github.com/rust-lang/crates.io-index" 2587 + checksum = "13a384337e997e6860ffbaa83708b2ef329fd8c54cb67a5f64d421e0f943254f" 2588 dependencies = [ 2589 "num-traits", 2590 ] ··· 2625 "cfg-if", 2626 "libc", 2627 "petgraph", 2628 + "redox_syscall 0.2.16", 2629 "smallvec", 2630 "thread-id", 2631 "windows-sys 0.42.0", 2632 ] 2633 2634 [[package]] 2635 + name = "parse-size" 2636 + version = "1.0.0" 2637 + source = "registry+https://github.com/rust-lang/crates.io-index" 2638 + checksum = "944553dd59c802559559161f9816429058b869003836120e262e8caec061b7ae" 2639 + 2640 + [[package]] 2641 name = "paste" 2642 version = "1.0.11" 2643 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2701 "pest_meta", 2702 "proc-macro2", 2703 "quote", 2704 + "syn 1.0.107", 2705 ] 2706 2707 [[package]] ··· 2742 dependencies = [ 2743 "proc-macro2", 2744 "quote", 2745 + "syn 1.0.107", 2746 ] 2747 2748 [[package]] ··· 2835 checksum = "2c8992a85d8e93a28bdf76137db888d3874e3b230dee5ed8bebac4c9f7617773" 2836 dependencies = [ 2837 "proc-macro2", 2838 + "syn 1.0.107", 2839 ] 2840 2841 [[package]] ··· 2847 "proc-macro-error-attr", 2848 "proc-macro2", 2849 "quote", 2850 + "syn 1.0.107", 2851 "version_check", 2852 ] 2853 ··· 2864 2865 [[package]] 2866 name = "proc-macro2" 2867 + version = "1.0.54" 2868 source = "registry+https://github.com/rust-lang/crates.io-index" 2869 + checksum = "e472a104799c74b514a57226160104aa483546de37e839ec50e3c2e41dd87534" 2870 dependencies = [ 2871 "unicode-ident", 2872 ] ··· 2918 2919 [[package]] 2920 name = "prost-build" 2921 + version = "0.11.8" 2922 source = "registry+https://github.com/rust-lang/crates.io-index" 2923 + checksum = "2c828f93f5ca4826f97fedcbd3f9a536c16b12cff3dbbb4a007f932bbad95b12" 2924 dependencies = [ 2925 "bytes", 2926 "heck", ··· 2933 "prost", 2934 "prost-types", 2935 "regex", 2936 + "syn 1.0.107", 2937 "tempfile", 2938 "which", 2939 ] ··· 2948 "itertools", 2949 "proc-macro2", 2950 "quote", 2951 + "syn 1.0.107", 2952 ] 2953 2954 [[package]] ··· 2976 "proc-macro2", 2977 "prost-build", 2978 "quote", 2979 + "syn 1.0.107", 2980 ] 2981 2982 [[package]] 2983 name = "qdrant" 2984 + version = "1.1.1" 2985 dependencies = [ 2986 "actix-cors", 2987 "actix-files", 2988 + "actix-multipart", 2989 "actix-web", 2990 + "actix-web-validator", 2991 "anyhow", 2992 "api", 2993 "atty", 2994 "chrono", 2995 + "clap 4.2.1", 2996 "collection", 2997 "colored", 2998 "config", ··· 3030 "tower", 3031 "tower-layer", 3032 "uuid", 3033 + "validator", 3034 ] 3035 3036 [[package]] ··· 3067 3068 [[package]] 3069 name = "quote" 3070 + version = "1.0.26" 3071 source = "registry+https://github.com/rust-lang/crates.io-index" 3072 + checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" 3073 dependencies = [ 3074 "proc-macro2", 3075 ] ··· 3083 [[package]] 3084 name = "raft" 3085 version = "0.7.0" 3086 + source = "registry+https://github.com/rust-lang/crates.io-index" 3087 + checksum = "f12688b23a649902762d4c11d854d73c49c9b93138f2de16403ef9f571ad5bae" 3088 dependencies = [ 3089 "fxhash", 3090 "getset", ··· 3098 [[package]] 3099 name = "raft-proto" 3100 version = "0.7.0" 3101 + source = "registry+https://github.com/rust-lang/crates.io-index" 3102 + checksum = "fb6884896294f553e8d5cfbdb55080b9f5f2f43394afff59c9f077e0f4b46d6b" 3103 dependencies = [ 3104 "lazy_static", 3105 "prost", ··· 3229 ] 3230 3231 [[package]] 3232 + name = "redox_syscall" 3233 + version = "0.3.5" 3234 + source = "registry+https://github.com/rust-lang/crates.io-index" 3235 + checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" 3236 + dependencies = [ 3237 + "bitflags", 3238 + ] 3239 + 3240 + [[package]] 3241 name = "regex" 3242 version = "1.7.0" 3243 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3256 3257 [[package]] 3258 name = "reqwest" 3259 + version = "0.11.16" 3260 source = "registry+https://github.com/rust-lang/crates.io-index" 3261 + checksum = "27b71749df584b7f4cac2c426c127a7c785a5106cc98f7a8feb044115f0fa254" 3262 dependencies = [ 3263 "base64 0.21.0", 3264 "bytes", ··· 3279 "once_cell", 3280 "percent-encoding", 3281 "pin-project-lite", 3282 + "rustls 0.20.7", 3283 "rustls-pemfile", 3284 "serde", 3285 "serde_json", 3286 "serde_urlencoded", 3287 "tokio", 3288 "tokio-native-tls", 3289 + "tokio-rustls 0.23.4", 3290 "tokio-util", 3291 "tower-service", 3292 "url", ··· 3415 3416 [[package]] 3417 name = "rustix" 3418 + version = "0.35.13" 3419 + source = "registry+https://github.com/rust-lang/crates.io-index" 3420 + checksum = "727a1a6d65f786ec22df8a81ca3121107f235970dc1705ed681d3e6e8b9cd5f9" 3421 + dependencies = [ 3422 + "bitflags", 3423 + "errno 0.2.8", 3424 + "io-lifetimes 0.7.5", 3425 + "libc", 3426 + "linux-raw-sys 0.0.46", 3427 + "windows-sys 0.42.0", 3428 + ] 3429 + 3430 + [[package]] 3431 + name = "rustix" 3432 version = "0.36.5" 3433 source = "registry+https://github.com/rust-lang/crates.io-index" 3434 checksum = "a3807b5d10909833d3e9acd1eb5fb988f79376ff10fce42937de71a449c4c588" 3435 dependencies = [ 3436 "bitflags", 3437 + "errno 0.2.8", 3438 + "io-lifetimes 1.0.3", 3439 "libc", 3440 + "linux-raw-sys 0.1.4", 3441 "windows-sys 0.42.0", 3442 ] 3443 3444 [[package]] 3445 + name = "rustix" 3446 + version = "0.37.4" 3447 + source = "registry+https://github.com/rust-lang/crates.io-index" 3448 + checksum = "c348b5dc624ecee40108aa2922fed8bad89d7fcc2b9f8cb18f632898ac4a37f9" 3449 + dependencies = [ 3450 + "bitflags", 3451 + "errno 0.3.0", 3452 + "io-lifetimes 1.0.3", 3453 + "libc", 3454 + "linux-raw-sys 0.3.0", 3455 + "windows-sys 0.45.0", 3456 + ] 3457 + 3458 + [[package]] 3459 name = "rustls" 3460 version = "0.20.7" 3461 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3468 ] 3469 3470 [[package]] 3471 + name = "rustls" 3472 + version = "0.21.0" 3473 + source = "registry+https://github.com/rust-lang/crates.io-index" 3474 + checksum = "07180898a28ed6a7f7ba2311594308f595e3dd2e3c3812fa0a80a47b45f17e5d" 3475 + dependencies = [ 3476 + "log", 3477 + "ring", 3478 + "rustls-webpki", 3479 + "sct", 3480 + ] 3481 + 3482 + [[package]] 3483 name = "rustls-pemfile" 3484 version = "1.0.1" 3485 source = "registry+https://github.com/rust-lang/crates.io-index" 3486 checksum = "0864aeff53f8c05aa08d86e5ef839d3dfcf07aeba2db32f12db0ef716e87bd55" 3487 dependencies = [ 3488 "base64 0.13.1", 3489 + ] 3490 + 3491 + [[package]] 3492 + name = "rustls-webpki" 3493 + version = "0.100.1" 3494 + source = "registry+https://github.com/rust-lang/crates.io-index" 3495 + checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b" 3496 + dependencies = [ 3497 + "ring", 3498 + "untrusted", 3499 ] 3500 3501 [[package]] ··· 3578 "proc-macro2", 3579 "quote", 3580 "serde_derive_internals", 3581 + "syn 1.0.107", 3582 ] 3583 3584 [[package]] ··· 3640 "atomicwrites", 3641 "bincode", 3642 "bitvec", 3643 + "chrono", 3644 "criterion", 3645 "fs_extra", 3646 "geo", ··· 3651 "num-derive", 3652 "num-traits", 3653 "num_cpus", 3654 + "ordered-float 3.6.0", 3655 "parking_lot", 3656 "pprof", 3657 "quantization", ··· 3672 "thiserror", 3673 "tinyvec", 3674 "uuid", 3675 + "validator", 3676 "walkdir", 3677 ] 3678 ··· 3684 3685 [[package]] 3686 name = "serde" 3687 + version = "1.0.159" 3688 source = "registry+https://github.com/rust-lang/crates.io-index" 3689 + checksum = "3c04e8343c3daeec41f58990b9d77068df31209f2af111e059e9fe9646693065" 3690 dependencies = [ 3691 "serde_derive", 3692 ] ··· 3713 3714 [[package]] 3715 name = "serde_derive" 3716 + version = "1.0.159" 3717 source = "registry+https://github.com/rust-lang/crates.io-index" 3718 + checksum = "4c614d17805b093df4b147b51339e7e44bf05ef59fba1e45d83500bcfb4d8585" 3719 dependencies = [ 3720 "proc-macro2", 3721 "quote", 3722 + "syn 2.0.11", 3723 ] 3724 3725 [[package]] ··· 3730 dependencies = [ 3731 "proc-macro2", 3732 "quote", 3733 + "syn 1.0.107", 3734 ] 3735 3736 [[package]] 3737 name = "serde_json" 3738 + version = "1.0.95" 3739 source = "registry+https://github.com/rust-lang/crates.io-index" 3740 + checksum = "d721eca97ac802aa7777b701877c8004d950fc142651367300d21c1cc0194744" 3741 dependencies = [ 3742 "itoa", 3743 "ryu", ··· 3745 ] 3746 3747 [[package]] 3748 + name = "serde_plain" 3749 + version = "1.0.1" 3750 + source = "registry+https://github.com/rust-lang/crates.io-index" 3751 + checksum = "d6018081315db179d0ce57b1fe4b62a12a0028c9cf9bbef868c9cf477b3c34ae" 3752 + dependencies = [ 3753 + "serde", 3754 + ] 3755 + 3756 + [[package]] 3757 + name = "serde_qs" 3758 + version = "0.10.1" 3759 + source = "registry+https://github.com/rust-lang/crates.io-index" 3760 + checksum = "8cac3f1e2ca2fe333923a1ae72caca910b98ed0630bb35ef6f8c8517d6e81afa" 3761 + dependencies = [ 3762 + "actix-web", 3763 + "futures", 3764 + "percent-encoding", 3765 + "serde", 3766 + "thiserror", 3767 + ] 3768 + 3769 + [[package]] 3770 name = "serde_urlencoded" 3771 version = "0.7.1" 3772 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3866 3867 [[package]] 3868 name = "socket2" 3869 + version = "0.4.9" 3870 source = "registry+https://github.com/rust-lang/crates.io-index" 3871 + checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" 3872 dependencies = [ 3873 "libc", 3874 "winapi", ··· 3936 "tonic", 3937 "url", 3938 "uuid", 3939 + "validator", 3940 "wal", 3941 ] 3942 ··· 3987 ] 3988 3989 [[package]] 3990 + name = "syn" 3991 + version = "2.0.11" 3992 + source = "registry+https://github.com/rust-lang/crates.io-index" 3993 + checksum = "21e3787bb71465627110e7d87ed4faaa36c1f61042ee67badb9e2ef173accc40" 3994 + dependencies = [ 3995 + "proc-macro2", 3996 + "quote", 3997 + "unicode-ident", 3998 + ] 3999 + 4000 + [[package]] 4001 name = "sync_wrapper" 4002 version = "0.1.1" 4003 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4032 4033 [[package]] 4034 name = "tempfile" 4035 + version = "3.5.0" 4036 source = "registry+https://github.com/rust-lang/crates.io-index" 4037 + checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998" 4038 dependencies = [ 4039 "cfg-if", 4040 "fastrand", 4041 + "redox_syscall 0.3.5", 4042 + "rustix 0.37.4", 4043 + "windows-sys 0.45.0", 4044 ] 4045 4046 [[package]] ··· 4070 4071 [[package]] 4072 name = "thiserror" 4073 + version = "1.0.40" 4074 source = "registry+https://github.com/rust-lang/crates.io-index" 4075 + checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" 4076 dependencies = [ 4077 "thiserror-impl", 4078 ] 4079 4080 [[package]] 4081 name = "thiserror-impl" 4082 + version = "1.0.40" 4083 source = "registry+https://github.com/rust-lang/crates.io-index" 4084 + checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" 4085 dependencies = [ 4086 "proc-macro2", 4087 "quote", 4088 + "syn 2.0.11", 4089 ] 4090 4091 [[package]] ··· 4095 checksum = "5fdfe0627923f7411a43ec9ec9c39c3a9b4151be313e0922042581fb6c9b717f" 4096 dependencies = [ 4097 "libc", 4098 + "redox_syscall 0.2.16", 4099 "winapi", 4100 ] 4101 ··· 4185 4186 [[package]] 4187 name = "tokio" 4188 + version = "1.27.0" 4189 source = "registry+https://github.com/rust-lang/crates.io-index" 4190 + checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" 4191 dependencies = [ 4192 "autocfg", 4193 "bytes", 4194 "libc", 4195 "mio", 4196 "num_cpus", 4197 "parking_lot", ··· 4214 4215 [[package]] 4216 name = "tokio-macros" 4217 + version = "2.0.0" 4218 source = "registry+https://github.com/rust-lang/crates.io-index" 4219 + checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce" 4220 dependencies = [ 4221 "proc-macro2", 4222 "quote", 4223 + "syn 2.0.11", 4224 ] 4225 4226 [[package]] ··· 4234 ] 4235 4236 [[package]] 4237 + name = "tokio-openssl" 4238 + version = "0.6.3" 4239 + source = "registry+https://github.com/rust-lang/crates.io-index" 4240 + checksum = "c08f9ffb7809f1b20c1b398d92acf4cc719874b3b2b2d9ea2f09b4a80350878a" 4241 + dependencies = [ 4242 + "futures-util", 4243 + "openssl", 4244 + "openssl-sys", 4245 + "tokio", 4246 + ] 4247 + 4248 + [[package]] 4249 name = "tokio-rustls" 4250 version = "0.23.4" 4251 source = "registry+https://github.com/rust-lang/crates.io-index" 4252 checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" 4253 dependencies = [ 4254 + "rustls 0.20.7", 4255 "tokio", 4256 "webpki", 4257 ] 4258 4259 [[package]] 4260 + name = "tokio-rustls" 4261 + version = "0.24.0" 4262 + source = "registry+https://github.com/rust-lang/crates.io-index" 4263 + checksum = "e0d409377ff5b1e3ca6437aa86c1eb7d40c134bfec254e44c830defa92669db5" 4264 + dependencies = [ 4265 + "rustls 0.21.0", 4266 + "tokio", 4267 + ] 4268 + 4269 + [[package]] 4270 name = "tokio-stream" 4271 version = "0.1.11" 4272 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4302 4303 [[package]] 4304 name = "tonic" 4305 + version = "0.9.1" 4306 source = "registry+https://github.com/rust-lang/crates.io-index" 4307 + checksum = "38bd8e87955eb13c1986671838177d6792cdc52af9bffced0d2c8a9a7f741ab3" 4308 dependencies = [ 4309 "async-stream", 4310 "async-trait", 4311 "axum", 4312 + "base64 0.21.0", 4313 "bytes", 4314 "flate2", 4315 "futures-core", ··· 4322 "percent-encoding", 4323 "pin-project", 4324 "prost", 4325 + "rustls-pemfile", 4326 "tokio", 4327 + "tokio-rustls 0.24.0", 4328 "tokio-stream", 4329 "tower", 4330 "tower-layer", 4331 "tower-service", 4332 "tracing", 4333 ] 4334 4335 [[package]] 4336 name = "tonic-build" 4337 + version = "0.9.1" 4338 source = "registry+https://github.com/rust-lang/crates.io-index" 4339 + checksum = "0f60a933bbea70c95d633c04c951197ddf084958abaa2ed502a3743bdd8d8dd7" 4340 dependencies = [ 4341 "prettyplease", 4342 "proc-macro2", 4343 "prost-build", 4344 "quote", 4345 + "syn 1.0.107", 4346 ] 4347 4348 [[package]] ··· 4366 ] 4367 4368 [[package]] 4369 name = "tower-layer" 4370 version = "0.3.2" 4371 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4398 dependencies = [ 4399 "proc-macro2", 4400 "quote", 4401 + "syn 1.0.107", 4402 ] 4403 4404 [[package]] ··· 4408 checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" 4409 dependencies = [ 4410 "once_cell", 4411 ] 4412 4413 [[package]] ··· 4483 checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" 4484 dependencies = [ 4485 "form_urlencoded", 4486 + "idna 0.3.0", 4487 "percent-encoding", 4488 "serde", 4489 ] 4490 4491 [[package]] 4492 + name = "utf8parse" 4493 + version = "0.2.1" 4494 + source = "registry+https://github.com/rust-lang/crates.io-index" 4495 + checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" 4496 + 4497 + [[package]] 4498 name = "uuid" 4499 + version = "1.3.1" 4500 source = "registry+https://github.com/rust-lang/crates.io-index" 4501 + checksum = "5b55a3fef2a1e3b3a00ce878640918820d3c51081576ac657d23af9fc7928fdb" 4502 dependencies = [ 4503 "getrandom 0.2.8", 4504 "serde", 4505 ] 4506 4507 [[package]] 4508 + name = "validator" 4509 + version = "0.16.0" 4510 + source = "registry+https://github.com/rust-lang/crates.io-index" 4511 + checksum = "32ad5bf234c7d3ad1042e5252b7eddb2c4669ee23f32c7dd0e9b7705f07ef591" 4512 + dependencies = [ 4513 + "idna 0.2.3", 4514 + "lazy_static", 4515 + "regex", 4516 + "serde", 4517 + "serde_derive", 4518 + "serde_json", 4519 + "url", 4520 + "validator_derive", 4521 + ] 4522 + 4523 + [[package]] 4524 + name = "validator_derive" 4525 + version = "0.16.0" 4526 + source = "registry+https://github.com/rust-lang/crates.io-index" 4527 + checksum = "bc44ca3088bb3ba384d9aecf40c6a23a676ce23e09bdaca2073d99c207f864af" 4528 + dependencies = [ 4529 + "if_chain", 4530 + "lazy_static", 4531 + "proc-macro-error", 4532 + "proc-macro2", 4533 + "quote", 4534 + "regex", 4535 + "syn 1.0.107", 4536 + "validator_types", 4537 + ] 4538 + 4539 + [[package]] 4540 + name = "validator_types" 4541 + version = "0.16.0" 4542 + source = "registry+https://github.com/rust-lang/crates.io-index" 4543 + checksum = "111abfe30072511849c5910134e8baf8dc05de4c0e5903d681cbd5c9c4d611e3" 4544 + dependencies = [ 4545 + "proc-macro2", 4546 + "syn 1.0.107", 4547 + ] 4548 + 4549 + [[package]] 4550 name = "vcpkg" 4551 version = "0.2.15" 4552 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4570 [[package]] 4571 name = "wal" 4572 version = "0.1.2" 4573 + source = "git+https://github.com/qdrant/wal.git?rev=9fe5a0c97c148152adacca0df238be6b1bf7d704#9fe5a0c97c148152adacca0df238be6b1bf7d704" 4574 dependencies = [ 4575 "byteorder", 4576 "crc", 4577 "crossbeam-channel", 4578 "docopt", 4579 "env_logger", 4580 + "fs4", 4581 "log", 4582 "memmap2", 4583 "rand 0.8.5", 4584 "rand_distr", 4585 + "rustix 0.37.4", 4586 "serde", 4587 ] 4588 ··· 4645 "once_cell", 4646 "proc-macro2", 4647 "quote", 4648 + "syn 1.0.107", 4649 "wasm-bindgen-shared", 4650 ] 4651 ··· 4679 dependencies = [ 4680 "proc-macro2", 4681 "quote", 4682 + "syn 1.0.107", 4683 "wasm-bindgen-backend", 4684 "wasm-bindgen-shared", 4685 ] ··· 4794 checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" 4795 dependencies = [ 4796 "windows_aarch64_gnullvm", 4797 + "windows_aarch64_msvc 0.42.2", 4798 + "windows_i686_gnu 0.42.2", 4799 + "windows_i686_msvc 0.42.2", 4800 + "windows_x86_64_gnu 0.42.2", 4801 "windows_x86_64_gnullvm", 4802 + "windows_x86_64_msvc 0.42.2", 4803 ] 4804 4805 [[package]] ··· 4813 4814 [[package]] 4815 name = "windows-targets" 4816 + version = "0.42.2" 4817 source = "registry+https://github.com/rust-lang/crates.io-index" 4818 + checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 4819 dependencies = [ 4820 "windows_aarch64_gnullvm", 4821 + "windows_aarch64_msvc 0.42.2", 4822 + "windows_i686_gnu 0.42.2", 4823 + "windows_i686_msvc 0.42.2", 4824 + "windows_x86_64_gnu 0.42.2", 4825 "windows_x86_64_gnullvm", 4826 + "windows_x86_64_msvc 0.42.2", 4827 ] 4828 4829 [[package]] 4830 name = "windows_aarch64_gnullvm" 4831 + version = "0.42.2" 4832 source = "registry+https://github.com/rust-lang/crates.io-index" 4833 + checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 4834 4835 [[package]] 4836 name = "windows_aarch64_msvc" ··· 4840 4841 [[package]] 4842 name = "windows_aarch64_msvc" 4843 + version = "0.42.2" 4844 source = "registry+https://github.com/rust-lang/crates.io-index" 4845 + checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 4846 4847 [[package]] 4848 name = "windows_i686_gnu" ··· 4852 4853 [[package]] 4854 name = "windows_i686_gnu" 4855 + version = "0.42.2" 4856 source = "registry+https://github.com/rust-lang/crates.io-index" 4857 + checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 4858 4859 [[package]] 4860 name = "windows_i686_msvc" ··· 4864 4865 [[package]] 4866 name = "windows_i686_msvc" 4867 + version = "0.42.2" 4868 source = "registry+https://github.com/rust-lang/crates.io-index" 4869 + checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 4870 4871 [[package]] 4872 name = "windows_x86_64_gnu" ··· 4876 4877 [[package]] 4878 name = "windows_x86_64_gnu" 4879 + version = "0.42.2" 4880 source = "registry+https://github.com/rust-lang/crates.io-index" 4881 + checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 4882 4883 [[package]] 4884 name = "windows_x86_64_gnullvm" 4885 + version = "0.42.2" 4886 source = "registry+https://github.com/rust-lang/crates.io-index" 4887 + checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 4888 4889 [[package]] 4890 name = "windows_x86_64_msvc" ··· 4894 4895 [[package]] 4896 name = "windows_x86_64_msvc" 4897 + version = "0.42.2" 4898 source = "registry+https://github.com/rust-lang/crates.io-index" 4899 + checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" 4900 4901 [[package]] 4902 name = "winreg"
+3 -4
pkgs/servers/search/qdrant/default.nix
··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "qdrant"; 13 - version = "1.1.0"; 14 15 src = fetchFromGitHub { 16 owner = "qdrant"; 17 repo = "qdrant"; 18 rev = "refs/tags/v${version}"; 19 - sha256 = "sha256-mNprwomTVg/C75tPciQ4J8bb42ejpVKy/RSRcQySdvU="; 20 }; 21 22 cargoLock = { 23 lockFile = ./Cargo.lock; 24 outputHashes = { 25 "quantization-0.1.0" = "sha256-4TY08ScRbL4zVG428BTZu42ocAsPk/8wM+zzI8EFSrs="; 26 - "raft-0.7.0" = "sha256-NflESS+CoTFMkCC2SYWgyMRHBe7+sMIbuElhUL5uMcg="; 27 - "wal-0.1.2" = "sha256-vaPQff8pBqCJhACj4/t3AyPhnddHwsGWCI3IUr5uWro="; 28 }; 29 }; 30
··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "qdrant"; 13 + version = "1.1.1"; 14 15 src = fetchFromGitHub { 16 owner = "qdrant"; 17 repo = "qdrant"; 18 rev = "refs/tags/v${version}"; 19 + sha256 = "sha256-Kjao5TjVT8QVV2tKt7TTt9cYmYXRl/oPLi8UK1tc/nA="; 20 }; 21 22 cargoLock = { 23 lockFile = ./Cargo.lock; 24 outputHashes = { 25 "quantization-0.1.0" = "sha256-4TY08ScRbL4zVG428BTZu42ocAsPk/8wM+zzI8EFSrs="; 26 + "wal-0.1.2" = "sha256-EfCvwgHMfyiId8VjV+yFyNqoIv6fxF8UFcw1s46hF5k="; 27 }; 28 }; 29
+13 -26
pkgs/tools/audio/tts/default.nix
··· 1 { lib 2 , python3 3 , fetchFromGitHub 4 , espeak-ng 5 , tts 6 }: ··· 8 let 9 python = python3.override { 10 packageOverrides = self: super: { 11 - # API breakage with 0.9.0 12 - # TypeError: mel() takes 0 positional arguments but 2 positional arguments (and 3 keyword-only arguments) were given 13 - librosa = super.librosa.overridePythonAttrs (oldAttrs: rec { 14 - version = "0.8.1"; 15 - src = super.fetchPypi { 16 - pname = "librosa"; 17 - inherit version; 18 - hash = "sha256-xT0F52iuSj5VOuIcLlAVKT5e+/1cEtSX8RBMtRnMprM="; 19 - }; 20 - propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ (with super; [ 21 - resampy 22 - ]); 23 - doCheck = false; 24 - }); 25 - 26 - numpy = super.numpy.overridePythonAttrs (oldAttrs: rec { 27 - version = "1.23.5"; 28 - src = super.fetchPypi { 29 - pname = "numpy"; 30 - inherit version; 31 - extension = "tar.gz"; 32 - hash = "sha256-Gxdm1vOXwYFT1AAV3fx53bcVyrrcBNLSKNTlqLxN7Ro="; 33 - }; 34 - doCheck = false; 35 - }); 36 }; 37 }; 38 in 39 python.pkgs.buildPythonApplication rec { 40 pname = "tts"; 41 - version = "0.12.0"; 42 format = "pyproject"; 43 44 src = fetchFromGitHub { ··· 47 rev = "refs/tags/v${version}"; 48 hash = "sha256-3t4JYEwQ+puGLhGl3nn93qsL8IeOwlYtHXTrnZ5Cf+w="; 49 }; 50 51 postPatch = let 52 relaxedConstraints = [
··· 1 { lib 2 , python3 3 , fetchFromGitHub 4 + , fetchpatch 5 , espeak-ng 6 , tts 7 }: ··· 9 let 10 python = python3.override { 11 packageOverrides = self: super: { 12 }; 13 }; 14 in 15 python.pkgs.buildPythonApplication rec { 16 pname = "tts"; 17 + version = "0.13.2"; 18 format = "pyproject"; 19 20 src = fetchFromGitHub { ··· 23 rev = "refs/tags/v${version}"; 24 hash = "sha256-3t4JYEwQ+puGLhGl3nn93qsL8IeOwlYtHXTrnZ5Cf+w="; 25 }; 26 + 27 + patches = [ 28 + (fetchpatch { 29 + # upgrade librosa to 0.10.0 30 + url = "https://github.com/coqui-ai/TTS/commit/4c829e74a1399ab083b566a70c1b7e879eda6e1e.patch"; 31 + hash = "sha256-QP9AnMbdEpGJywiZBreojHUjq29ihqy6HxvUtS5OKvQ="; 32 + excludes = [ 33 + "requirements.txt" 34 + ]; 35 + }) 36 + ]; 37 38 postPatch = let 39 relaxedConstraints = [
+1 -1
pkgs/tools/filesystems/fuse-7z-ng/default.nix
··· 34 ''; 35 36 meta = with lib; { 37 - inherit (src.homepage); 38 description = "A FUSE-based filesystem that uses the p7zip library"; 39 longDescription = '' 40 fuse-7z-ng is a FUSE file system that uses the p7zip
··· 34 ''; 35 36 meta = with lib; { 37 + inherit (src.meta) homepage; 38 description = "A FUSE-based filesystem that uses the p7zip library"; 39 longDescription = '' 40 fuse-7z-ng is a FUSE file system that uses the p7zip
+1 -1
pkgs/tools/inputmethods/fcitx5/fcitx5-qt.nix
··· 31 32 cmakeFlags = [ 33 # adding qt6 to buildInputs would result in error: detected mismatched Qt dependencies 34 - "-DCMAKE_PREFIX_PATH=${qt6.qtbase.dev}" 35 "-DENABLE_QT4=0" 36 "-DENABLE_QT6=1" 37 ];
··· 31 32 cmakeFlags = [ 33 # adding qt6 to buildInputs would result in error: detected mismatched Qt dependencies 34 + "-DCMAKE_PREFIX_PATH=${qt6.qtbase}" 35 "-DENABLE_QT4=0" 36 "-DENABLE_QT6=1" 37 ];
+8
pkgs/top-level/all-packages.nix
··· 1173 name = "keep-build-tree-hook"; 1174 } ../build-support/setup-hooks/keep-build-tree.sh; 1175 1176 enableGCOVInstrumentation = makeSetupHook { 1177 name = "enable-gcov-instrumentation-hook"; 1178 } ../build-support/setup-hooks/enable-coverage-instrumentation.sh; ··· 35879 fheroes2 = callPackage ../games/fheroes2 { }; 35880 35881 fish-fillets-ng = callPackage ../games/fish-fillets-ng { }; 35882 35883 jumpy = callPackage ../games/jumpy { }; 35884
··· 1173 name = "keep-build-tree-hook"; 1174 } ../build-support/setup-hooks/keep-build-tree.sh; 1175 1176 + moveBuildTree = makeSetupHook { 1177 + name = "move-build-tree-hook"; 1178 + } ../build-support/setup-hooks/move-build-tree.sh; 1179 + 1180 enableGCOVInstrumentation = makeSetupHook { 1181 name = "enable-gcov-instrumentation-hook"; 1182 } ../build-support/setup-hooks/enable-coverage-instrumentation.sh; ··· 35883 fheroes2 = callPackage ../games/fheroes2 { }; 35884 35885 fish-fillets-ng = callPackage ../games/fish-fillets-ng { }; 35886 + 35887 + jazz2 = callPackage ../games/jazz2/game.nix { }; 35888 + 35889 + jazz2-content = callPackage ../games/jazz2/content.nix { }; 35890 35891 jumpy = callPackage ../games/jumpy { }; 35892