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 129 ### Packaging a library on luarocks {#packaging-a-library-on-luarocks} 130 130 131 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 132 + The site proposes two types of packages, the `rockspec` and the `src.rock` 133 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 . 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): 135 139 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. 140 + ```sh 141 + ./maintainers/scripts/update-luarocks-packages update 142 + ``` 138 143 139 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). 140 145 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`. 146 + These customizations go in [pkgs/development/lua-modules/overrides.nix](https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/lua-modules/overrides.nix). 142 147 For instance if the rockspec defines `external_dependencies`, these need to be manually added to the overrides.nix. 143 148 144 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 212 213 213 ## Adding new plugins to nixpkgs {#adding-new-plugins-to-nixpkgs} 214 214 215 - Nix expressions for Vim plugins are stored in [pkgs/applications/editors/vim/plugins](https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/editors/vim/plugins). For the vast majority of plugins, Nix expressions are automatically generated by running [`./update.py`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/update.py). This creates a [generated.nix](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/generated.nix) file based on the plugins listed in [vim-plugin-names](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/vim-plugin-names). 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`. 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 216 217 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 218 ··· 226 226 227 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 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. 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 230 231 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 232
+6
maintainers/maintainer-list.nix
··· 14752 14752 githubId = 187109; 14753 14753 name = "Bjarki Ágúst Guðmundsson"; 14754 14754 }; 14755 + surfaceflinger = { 14756 + email = "nat@nekopon.pl"; 14757 + github = "surfaceflinger"; 14758 + githubId = 44725111; 14759 + name = "nat"; 14760 + }; 14755 14761 suryasr007 = { 14756 14762 email = "94suryateja@gmail.com"; 14757 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 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 2 5 3 6 # format: 4 7 # $ nix run nixpkgs.python3Packages.black -c black update.py ··· 315 318 with CleanEnvironment(): 316 319 cmd = ["nix", "eval", "--extra-experimental-features", 317 320 "nix-command", "--impure", "--json", "--expr", expr] 318 - log.debug("Running command %s", cmd) 321 + log.debug("Running command %s", " ".join(cmd)) 319 322 out = subprocess.check_output(cmd) 320 - data = json.loads(out) 321 - return data 323 + data = json.loads(out) 324 + return data 322 325 323 326 324 327 class Editor: ··· 344 347 self.cache_file = cache_file or f"{name}-plugin-cache.json" 345 348 self.nixpkgs_repo = None 346 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 + 347 378 def get_current_plugins(self) -> List[Plugin]: 348 379 """To fill the cache""" 349 380 data = run_nix_expr(self.get_plugins) 350 381 plugins = [] 351 382 for name, attr in data.items(): 352 - print("get_current_plugins: name %s" % name) 353 383 p = Plugin(name, attr["rev"], attr["submodules"], attr["sha256"]) 354 384 plugins.append(p) 355 385 return plugins ··· 358 388 '''CSV spec''' 359 389 return load_plugins_from_csv(config, plugin_file) 360 390 361 - def generate_nix(self, plugins, outfile: str): 391 + def generate_nix(self, _plugins, _outfile: str): 362 392 '''Returns nothing for now, writes directly to outfile''' 363 393 raise NotImplementedError() 364 394 ··· 395 425 return rewrite_input(*args, **kwargs) 396 426 397 427 def create_parser(self): 398 - parser = argparse.ArgumentParser( 428 + common = argparse.ArgumentParser( 429 + add_help=False, 399 430 description=(f""" 400 431 Updates nix derivations for {self.name} plugins.\n 401 432 By default from {self.default_in} to {self.default_out}""" 402 433 ) 403 434 ) 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( 435 + common.add_argument( 412 436 "--input-names", 413 437 "-i", 414 438 dest="input_file", 415 439 default=self.default_in, 416 440 help="A list of plugins in the form owner/repo", 417 441 ) 418 - parser.add_argument( 442 + common.add_argument( 419 443 "--out", 420 444 "-o", 421 445 dest="outfile", 422 446 default=self.default_out, 423 447 help="Filename to save generated nix code", 424 448 ) 425 - parser.add_argument( 449 + common.add_argument( 426 450 "--proc", 427 451 "-p", 428 452 dest="proc", ··· 430 454 default=30, 431 455 help="Number of concurrent processes to spawn. Setting --github-token allows higher values.", 432 456 ) 433 - parser.add_argument( 457 + common.add_argument( 434 458 "--github-token", 435 459 "-t", 436 460 type=str, ··· 438 462 help="""Allows to set --proc to higher values. 439 463 Uses GITHUB_API_TOKEN environment variables as the default value.""", 440 464 ) 441 - parser.add_argument( 465 + common.add_argument( 442 466 "--no-commit", "-n", action="store_true", default=False, 443 467 help="Whether to autocommit changes" 444 468 ) 445 - parser.add_argument( 469 + common.add_argument( 446 470 "--debug", "-d", choices=LOG_LEVELS.keys(), 447 471 default=logging.getLevelName(logging.WARN), 448 472 help="Adjust log level" 449 473 ) 450 - return parser 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 + 451 520 452 521 453 522 ··· 661 730 def update_plugins(editor: Editor, args): 662 731 """The main entry function of this module. All input arguments are grouped in the `Editor`.""" 663 732 664 - log.setLevel(LOG_LEVELS[args.debug]) 665 733 log.info("Start updating plugins") 666 734 fetch_config = FetchConfig(args.proc, args.github_token) 667 735 update = editor.get_update(args.input_file, args.outfile, fetch_config) ··· 684 752 [args.outfile, args.input_file, editor.deprecated], 685 753 ) 686 754 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 -5
maintainers/scripts/update-luarocks-packages
··· 203 203 default_out = ROOT.joinpath(GENERATED_NIXFILE) 204 204 ) 205 205 206 - parser = editor.create_parser() 207 - args = parser.parse_args() 208 - 209 - update_plugins(editor, args) 210 - 206 + editor.run() 211 207 212 208 if __name__ == "__main__": 213 209
+4 -2
nixos/tests/cage.nix
··· 10 10 11 11 { 12 12 imports = [ ./common/user-account.nix ]; 13 + 14 + fonts.fonts = with pkgs; [ dejavu_fonts ]; 15 + 13 16 services.cage = { 14 17 enable = true; 15 18 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"; 19 + program = "${pkgs.xterm}/bin/xterm"; 18 20 }; 19 21 20 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 81 82 82 def main(): 83 83 editor = KakouneEditor("kakoune", ROOT, GET_PLUGINS) 84 - parser = editor.create_parser() 85 - args = parser.parse_args() 86 - 87 - pluginupdate.update_plugins(editor, args) 84 + editor.run() 88 85 89 86 90 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 42 import pluginupdate 43 43 from pluginupdate import run_nix_expr, PluginDesc 44 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)""" 45 + 60 46 61 47 GET_PLUGINS_LUA = """ 62 48 with import <localpkgs> {}; 63 49 lib.attrNames lua51Packages""" 64 50 65 51 HEADER = ( 66 - "# This file has been generated by ./pkgs/applications/editors/vim/plugins/update.py. Do not edit!" 52 + "# GENERATED by ./pkgs/applications/editors/vim/plugins/update.py. Do not edit!" 67 53 ) 68 54 69 55 def isNeovimPlugin(plug: pluginupdate.Plugin) -> bool: ··· 118 104 119 105 """.format( 120 106 buildFn="buildNeovimPluginFrom2Nix" if isNeovim else "buildVimPluginFrom2Nix", plugin=plugin, src_nix=src_nix, repo=repo) 121 - print(content) 107 + log.debug(content) 122 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 + 123 130 124 131 def main(): 125 132 126 133 global luaPlugins 127 134 luaPlugins = run_nix_expr(GET_PLUGINS_LUA) 128 135 136 + with open(f"{ROOT}/get-plugins.nix") as f: 137 + GET_PLUGINS = f.read() 129 138 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") 139 + editor.run() 149 140 150 141 151 142 if __name__ == "__main__":
+2
pkgs/applications/misc/girara/default.nix
··· 43 43 gettext 44 44 check 45 45 dbus 46 + glib # for glib-compile-resources 46 47 ]; 47 48 48 49 buildInputs = [ ··· 64 65 65 66 mesonFlags = [ 66 67 "-Ddocs=disabled" # docs do not seem to be installed 68 + (lib.mesonEnable "tests" (stdenv.buildPlatform.canExecute stdenv.hostPlatform)) 67 69 ]; 68 70 69 71 checkPhase = ''
+2 -2
pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix
··· 2 2 3 3 (if stdenv.isDarwin then darwin.apple_sdk_11_0.clang14Stdenv else stdenv).mkDerivation rec { 4 4 pname = "signalbackup-tools"; 5 - version = "20230413"; 5 + version = "20230414"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "bepaald"; 9 9 repo = pname; 10 10 rev = version; 11 - hash = "sha256-7jIltC7YlnsvwADwKItFKKw5LUKDHux+b7frZfcNDyE="; 11 + hash = "sha256-0pCItZCYdwX/Bl20HHc/FhIF4ZHsqz9aadfFYNdQ71M="; 12 12 }; 13 13 14 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 54 ]; 55 55 qtscript = [ ./qtscript.patch ]; 56 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 + ]; 57 64 qtwebengine = [ 58 65 (fetchpatch { 59 66 url = "https://raw.githubusercontent.com/Homebrew/formula-patches/a6f16c6daea3b5a1f7bc9f175d1645922c131563/qt5/qt5-webengine-python3.patch"; ··· 166 173 qtserialport = callPackage ../modules/qtserialport.nix {}; 167 174 qtspeech = callPackage ../modules/qtspeech.nix {}; 168 175 qtsvg = callPackage ../modules/qtsvg.nix {}; 176 + qtsystems = callPackage ../modules/qtsystems.nix {}; 169 177 qtscxml = callPackage ../modules/qtscxml.nix {}; 170 178 qttools = callPackage ../modules/qttools.nix {}; 171 179 qttranslations = callPackage ../modules/qttranslations.nix {};
+11
pkgs/development/libraries/qt-5/5.15/srcs.nix
··· 34 34 version = "5.212.0-alpha4"; 35 35 }; 36 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 + 37 48 catapult = fetchgit { 38 49 url = "https://chromium.googlesource.com/catapult"; 39 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 5 , fetchpatch 6 6 , makeSetupHook 7 7 , makeWrapper 8 - , cmake 9 8 , gst_all_1 10 9 , libglvnd 11 10 , darwin ··· 27 26 callPackage = self.newScope ({ 28 27 inherit qtModule srcs; 29 28 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 29 }); 36 30 in 37 31 { ··· 44 38 withGtk3 = true; 45 39 inherit (srcs.qtbase) src version; 46 40 inherit developerBuild; 47 - inherit (darwin.apple_sdk_11_0.frameworks) AGL AVFoundation AppKit GSS MetalKit; 41 + inherit (darwin.apple_sdk_11_0.frameworks) 42 + AGL AVFoundation AppKit Contacts CoreBluetooth EventKit GSS MetalKit; 48 43 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 - }) 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 59 50 ]; 60 51 }; 61 52 env = callPackage ./qt-env.nix { };
+24 -27
pkgs/development/libraries/qt-6/hooks/fix-qt-builtin-paths.sh
··· 7 7 fixQtBuiltinPaths() { 8 8 local dir="$1" 9 9 local pattern="$2" 10 - local bin="${!outputBin}" 11 - local dev="${!outputDev}" 12 - local doc="${!outputDoc}" 13 10 local lib="${!outputLib}" 14 11 15 12 if [ -d "$dir" ]; then ··· 17 14 if grep -q '\$\$\[QT_' "${pr_:?}"; then 18 15 echo "fixQtBuiltinPaths: Fixing Qt builtin paths in \`${pr_:?}'..." 19 16 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" \ 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" \ 24 21 -e "s|\\\$\\\$\\[QT_INSTALL_ARCHDATA[^]]*\\]|$lib|g" \ 25 - -e "s|\\\$\\\$\\[QT_INSTALL_BINS[^]]*\\]|$bin/bin|g" \ 26 - -e "s|\\\$\\\$\\[QT_INSTALL_CONFIGURATION[^]]*\\]|$bin|g" \ 22 + -e "s|\\\$\\\$\\[QT_INSTALL_BINS[^]]*\\]|$lib/bin|g" \ 23 + -e "s|\\\$\\\$\\[QT_INSTALL_CONFIGURATION[^]]*\\]|$lib|g" \ 27 24 -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" \ 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" \ 31 28 -e "s|\\\$\\\$\\[QT_INSTALL_LIBS[^]]*\\]|$lib/lib|g" \ 32 29 -e "s|\\\$\\\$\\[QT_INSTALL_LIBEXECS[^]]*\\]|$lib/libexec|g" \ 33 - -e "s|\\\$\\\$\\[QT_INSTALL_PLUGINS[^]]*\\]|$bin/$qtPluginPrefix|g" \ 30 + -e "s|\\\$\\\$\\[QT_INSTALL_PLUGINS[^]]*\\]|$lib/$qtPluginPrefix|g" \ 34 31 -e "s|\\\$\\\$\\[QT_INSTALL_PREFIX[^]]*\\]|$lib|g" \ 35 - -e "s|\\\$\\\$\\[QT_INSTALL_TESTS[^]]*\\]|$dev/tests|g" \ 32 + -e "s|\\\$\\\$\\[QT_INSTALL_TESTS[^]]*\\]|$lib/tests|g" \ 36 33 -e "s|\\\$\\\$\\[QT_INSTALL_TRANSLATIONS[^]]*\\]|$lib/translations|g" \ 37 - -e "s|\\\$\\\$\\[QT_INSTALL_QML[^]]*\\]|$bin/$qtQmlPrefix|g" 34 + -e "s|\\\$\\\$\\[QT_INSTALL_QML[^]]*\\]|$lib/$qtQmlPrefix|g" 38 35 fi 39 36 done 40 37 elif [ -e "$dir" ]; then 41 38 if grep -q '\$\$\[QT_' "${dir:?}"; then 42 39 echo "fixQtBuiltinPaths: Fixing Qt builtin paths in \`${dir:?}'..." 43 40 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" \ 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" \ 48 45 -e "s|\\\$\\\$\\[QT_INSTALL_ARCHDATA[^]]*\\]|$lib|g" \ 49 - -e "s|\\\$\\\$\\[QT_INSTALL_BINS[^]]*\\]|$bin/bin|g" \ 50 - -e "s|\\\$\\\$\\[QT_INSTALL_CONFIGURATION[^]]*\\]|$bin|g" \ 46 + -e "s|\\\$\\\$\\[QT_INSTALL_BINS[^]]*\\]|$lib/bin|g" \ 47 + -e "s|\\\$\\\$\\[QT_INSTALL_CONFIGURATION[^]]*\\]|$lib|g" \ 51 48 -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" \ 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" \ 55 52 -e "s|\\\$\\\$\\[QT_INSTALL_LIBS[^]]*\\]|$lib/lib|g" \ 56 53 -e "s|\\\$\\\$\\[QT_INSTALL_LIBEXECS[^]]*\\]|$lib/libexec|g" \ 57 - -e "s|\\\$\\\$\\[QT_INSTALL_PLUGINS[^]]*\\]|$bin/$qtPluginPrefix|g" \ 54 + -e "s|\\\$\\\$\\[QT_INSTALL_PLUGINS[^]]*\\]|$lib/$qtPluginPrefix|g" \ 58 55 -e "s|\\\$\\\$\\[QT_INSTALL_PREFIX[^]]*\\]|$lib|g" \ 59 - -e "s|\\\$\\\$\\[QT_INSTALL_TESTS[^]]*\\]|$dev/tests|g" \ 56 + -e "s|\\\$\\\$\\[QT_INSTALL_TESTS[^]]*\\]|$lib/tests|g" \ 60 57 -e "s|\\\$\\\$\\[QT_INSTALL_TRANSLATIONS[^]]*\\]|$lib/translations|g" \ 61 - -e "s|\\\$\\\$\\[QT_INSTALL_QML[^]]*\\]|$bin/$qtQmlPrefix|g" 58 + -e "s|\\\$\\\$\\[QT_INSTALL_QML[^]]*\\]|$lib/$qtQmlPrefix|g" 62 59 fi 63 60 else 64 61 echo "fixQtBuiltinPaths: Warning: \`$dir' does not exist"
+2 -11
pkgs/development/libraries/qt-6/hooks/fix-qt-module-paths.sh
··· 6 6 # 7 7 fixQtModulePaths() { 8 8 local dir="$1" 9 - local bin="${!outputBin}" 10 - local dev="${!outputDev}" 11 9 local lib="${!outputLib}" 12 10 13 11 if [ -d "$dir" ]; then ··· 17 15 sed -i "${pr:?}" \ 18 16 -e "s|\\\$\\\$QT_MODULE_LIB_BASE|$lib/lib|g" \ 19 17 -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" 18 + -e "s|\\\$\\\$QT_MODULE_INCLUDE_BASE|$lib/include|g" \ 19 + -e "s|\\\$\\\$QT_MODULE_BIN_BASE|$lib/bin|g" 22 20 fi 23 21 done 24 22 elif [ -e "$dir" ]; then 25 23 echo "fixQtModulePaths: Warning: \`$dir' is not a directory" 26 24 else 27 25 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 26 fi 36 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 1 if [[ -n "${__nix_qtbase-}" ]]; then 2 2 # Throw an error if a different version of Qt was already set up. 3 - if [[ "$__nix_qtbase" != "@dev@" ]]; then 3 + if [[ "$__nix_qtbase" != "@out@" ]]; then 4 4 echo >&2 "Error: detected mismatched Qt dependencies:" 5 - echo >&2 " @dev@" 5 + echo >&2 " @out@" 6 6 echo >&2 " $__nix_qtbase" 7 7 exit 1 8 8 fi 9 9 else # Only set up Qt once. 10 - __nix_qtbase="@dev@" 10 + __nix_qtbase="@out@" 11 11 12 12 qtPluginPrefix=@qtPluginPrefix@ 13 13 qtQmlPrefix=@qtQmlPrefix@ ··· 30 30 fi 31 31 32 32 # Build tools are often confused if QMAKE is unset. 33 - export QMAKE=@dev@/bin/qmake 33 + export QMAKE=@out@/bin/qmake 34 34 35 35 export QMAKEPATH= 36 36 ··· 53 53 # Prevent this hook from running multiple times 54 54 dontPatchMkspecs=1 55 55 56 - local bin="${!outputBin}" 57 - local dev="${!outputDev}" 58 - local doc="${!outputDoc}" 59 56 local lib="${!outputLib}" 60 57 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" 58 + if [ -d "$lib/mkspecs/modules" ]; then 59 + fixQtModulePaths "$lib/mkspecs/modules" 67 60 fi 68 61 69 - if [ -d "$dev/mkspecs" ]; then 70 - fixQtBuiltinPaths "$dev/mkspecs" '*.pr?' 62 + if [ -d "$lib/mkspecs" ]; then 63 + fixQtBuiltinPaths "$lib/mkspecs" '*.pr?' 71 64 fi 72 65 73 - if [ -d "$dev/lib" ]; then 74 - fixQtBuiltinPaths "$dev/lib" '*.pr?' 66 + if [ -d "$lib/lib" ]; then 67 + fixQtBuiltinPaths "$lib/lib" '*.pr?' 75 68 fi 76 69 } 77 70 if [ -z "${dontPatchMkspecs-}" ]; then
+13 -52
pkgs/development/libraries/qt-6/modules/qtbase.nix
··· 71 71 , unixODBC 72 72 , unixODBCDrivers 73 73 # darwin 74 + , moveBuildTree 74 75 , xcbuild 75 76 , AGL 76 77 , AVFoundation 77 78 , AppKit 79 + , Contacts 80 + , CoreBluetooth 81 + , EventKit 78 82 , GSS 79 83 , MetalKit 80 84 # optional dependencies ··· 166 170 AGL 167 171 AVFoundation 168 172 AppKit 173 + Contacts 174 + CoreBluetooth 175 + EventKit 169 176 GSS 170 177 MetalKit 171 178 ] ++ lib.optional libGLSupported libGL; ··· 184 191 ++ lib.optional (libmysqlclient != null) libmysqlclient 185 192 ++ lib.optional (postgresql != null) postgresql; 186 193 187 - nativeBuildInputs = [ bison flex gperf lndir perl pkg-config which cmake xmlstarlet ninja ]; 194 + nativeBuildInputs = [ bison flex gperf lndir perl pkg-config which cmake xmlstarlet ninja ] 195 + ++ lib.optionals stdenv.isDarwin [ moveBuildTree ]; 188 196 189 197 propagatedNativeBuildInputs = [ lndir ]; 190 198 ··· 204 212 preHook = '' 205 213 . "$fix_qt_builtin_paths" 206 214 . "$fix_qt_module_paths" 207 - . ${../hooks/move-qt-dev-tools.sh} 208 - . ${../hooks/fix-qmake-libtool.sh} 209 215 ''; 210 216 211 217 qtPluginPrefix = "lib/qt-6/plugins"; 212 218 qtQmlPrefix = "lib/qt-6/qml"; 213 219 214 220 cmakeFlags = [ 221 + "-DQT_EMBED_TOOLCHAIN_COMPILER=OFF" 215 222 "-DINSTALL_PLUGINSDIR=${qtPluginPrefix}" 216 223 "-DINSTALL_QMLDIR=${qtQmlPrefix}" 217 224 "-DQT_FEATURE_libproxy=ON" ··· 233 240 234 241 outputs = [ "out" "dev" ]; 235 242 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 - ]; 243 + moveToDev = false; 261 244 262 245 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 246 + fixQtModulePaths "$out/mkspecs/modules" 247 + fixQtBuiltinPaths "$out" '*.pr?' 287 248 ''; 288 249 289 250 dontStrip = debugSymbols;
-23
pkgs/development/libraries/qt-6/modules/qtdeclarative.nix
··· 10 10 pname = "qtdeclarative"; 11 11 qtInputs = [ qtbase qtlanguageserver qtshadertools ]; 12 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 13 patches = [ 21 14 # prevent headaches from stale qmlcache data 22 15 ../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 16 ]; 40 17 }
+5 -25
pkgs/development/libraries/qt-6/modules/qttools.nix
··· 15 15 ../patches/qttools-paths.patch 16 16 ]; 17 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" 18 + "-DNIX_OUTPUT_OUT=\"${placeholder "out"}\"" 42 19 ]; 43 - 20 + postInstall = '' 21 + mkdir -p "$dev" 22 + ln -s "$out/bin" "$dev/bin" 23 + ''; 44 24 }
+13 -15
pkgs/development/libraries/qt-6/modules/qtwebengine.nix
··· 110 110 substituteInPlace cmake/Functions.cmake \ 111 111 --replace "/bin/bash" "${buildPackages.bash}/bin/bash" 112 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 '' 113 120 sed -i -e '/lib_loader.*Load/s!"\(libudev\.so\)!"${lib.getLib systemd}/lib/\1!' \ 114 121 src/3rdparty/chromium/device/udev_linux/udev?_loader.cc 115 122 ··· 118 125 119 126 substituteInPlace src/3rdparty/chromium/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc \ 120 127 --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 ''; 128 129 129 130 cmakeFlags = [ ··· 143 144 # android only. https://bugreports.qt.io/browse/QTBUG-100293 144 145 # "-DQT_FEATURE_webengine_native_spellchecker=ON" 145 146 "-DQT_FEATURE_webengine_sanitizer=ON" 146 - "-DQT_FEATURE_webengine_webrtc_pipewire=ON" 147 147 "-DQT_FEATURE_webengine_kerberos=ON" 148 - ] ++ lib.optional enableProprietaryCodecs "-DQT_FEATURE_webengine_proprietary_codecs=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 + ]; 149 153 150 154 propagatedBuildInputs = [ 151 155 # Image formats ··· 174 178 175 179 libevent 176 180 ffmpeg_4 177 - 181 + ] ++ lib.optionals stdenv.isLinux [ 178 182 dbus 179 183 zlib 180 184 minizip ··· 224 228 225 229 preConfigure = '' 226 230 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 231 ''; 234 232 235 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 + 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 + 1 15 diff --git a/mkspecs/common/mac.conf b/mkspecs/common/mac.conf 2 - index 61bea952..9909dae7 100644 16 + index 61bea952b2..9909dae726 100644 3 17 --- a/mkspecs/common/mac.conf 4 18 +++ b/mkspecs/common/mac.conf 5 19 @@ -23,7 +23,7 @@ QMAKE_INCDIR_OPENGL = \ ··· 12 26 13 27 QMAKE_LFLAGS_REL_RPATH = 14 28 diff --git a/mkspecs/features/mac/default_post.prf b/mkspecs/features/mac/default_post.prf 15 - index 09db1764..aadfce87 100644 29 + index 09db1764b1..aadfce875e 100644 16 30 --- a/mkspecs/features/mac/default_post.prf 17 31 +++ b/mkspecs/features/mac/default_post.prf 18 32 @@ -1,9 +1,5 @@ ··· 299 313 generate_xcode_project.commands = @$(QMAKE) -spec macx-xcode \"$(EXPORT__PRO_FILE_)\" $$QMAKE_ARGS 300 314 generate_xcode_project.target = xcodeproj 301 315 diff --git a/mkspecs/features/mac/default_pre.prf b/mkspecs/features/mac/default_pre.prf 302 - index e3534561..3b01424e 100644 316 + index e3534561a5..3b01424e67 100644 303 317 --- a/mkspecs/features/mac/default_pre.prf 304 318 +++ b/mkspecs/features/mac/default_pre.prf 305 319 @@ -1,60 +1,2 @@ ··· 364 378 -xcode_copy_phase_strip_setting.value = NO 365 379 -QMAKE_MAC_XCODE_SETTINGS += xcode_copy_phase_strip_setting 366 380 diff --git a/mkspecs/features/mac/sdk.mk b/mkspecs/features/mac/sdk.mk 367 - index a32ceacb..e69de29b 100644 381 + index a32ceacb6c..e69de29bb2 100644 368 382 --- a/mkspecs/features/mac/sdk.mk 369 383 +++ b/mkspecs/features/mac/sdk.mk 370 384 @@ -1,27 +0,0 @@ ··· 396 410 - endif 397 411 -endif 398 412 diff --git a/mkspecs/features/mac/sdk.prf b/mkspecs/features/mac/sdk.prf 399 - index 3a9c2778..e69de29b 100644 413 + index 3a9c2778bb..e69de29bb2 100644 400 414 --- a/mkspecs/features/mac/sdk.prf 401 415 +++ b/mkspecs/features/mac/sdk.prf 402 416 @@ -1,61 +0,0 @@ ··· 462 476 - cache($$tool_variable, set stash, $$tool) 463 477 -} 464 478 diff --git a/mkspecs/features/mac/toolchain.prf b/mkspecs/features/mac/toolchain.prf 465 - index df191eb1..e69de29b 100644 479 + index df191eb13c..e69de29bb2 100644 466 480 --- a/mkspecs/features/mac/toolchain.prf 467 481 +++ b/mkspecs/features/mac/toolchain.prf 468 482 @@ -1,5 +0,0 @@ ··· 471 485 -sdk: load(sdk) 472 486 - 473 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 + 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 + 1 10 diff --git a/src/corelib/time/qtimezoneprivate_tz.cpp b/src/corelib/time/qtimezoneprivate_tz.cpp 2 - index 627a4a81..a5f50acc 100644 11 + index e87e34f76d..39bd79d4a4 100644 3 12 --- a/src/corelib/time/qtimezoneprivate_tz.cpp 4 13 +++ b/src/corelib/time/qtimezoneprivate_tz.cpp 5 14 @@ -51,7 +51,11 @@ typedef QHash<QByteArray, QTzTimeZone> QTzTimeZoneHash; ··· 15 24 if (!QFile::exists(path)) 16 25 path = QStringLiteral("/usr/lib/zoneinfo/zone.tab"); 17 26 18 - @@ -727,18 +731,21 @@ QTzTimeZoneCacheEntry QTzTimeZoneCache::findEntry(const QByteArray &ianaId) 27 + @@ -729,18 +733,21 @@ QTzTimeZoneCacheEntry QTzTimeZoneCache::findEntry(const QByteArray &ianaId) 19 28 if (!tzif.open(QIODevice::ReadOnly)) 20 29 return ret; 21 30 } else { ··· 46 55 } 47 56 } 48 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 1 + From 5bd3672c7870b2e46e2a734dc9a9cb1837375a1c Mon Sep 17 00:00:00 2001 2 2 From: Nick Cao <nickcao@nichi.co> 3 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 4 + Subject: [PATCH 5/6] qtbase: deal with a font face at index 0 as Regular for 5 + Variable fonts 6 6 7 7 Reference: https://bugreports.qt.io/browse/QTBUG-111994 8 8 ---
+2 -2
pkgs/development/libraries/qt-6/patches/qttools-paths.patch
··· 10 10 +{ 11 11 + switch (location) { 12 12 + case QLibraryInfo::BinariesPath: 13 - + return QLatin1String(NIX_OUTPUT_DEV) + QLatin1String("/bin"); 13 + + return QLatin1String(NIX_OUTPUT_OUT) + QLatin1String("/bin"); 14 14 + case QLibraryInfo::LibraryExecutablesPath: 15 - + return QLatin1String(NIX_OUTPUT_DEV) + QLatin1String("/libexec"); 15 + + return QLatin1String(NIX_OUTPUT_OUT) + QLatin1String("/libexec"); 16 16 + default: 17 17 + return QLibraryInfo::path(location); 18 18 + }
+1 -1
pkgs/development/libraries/qt-6/qt-env.nix
··· 9 9 10 10 postBuild = '' 11 11 rm "$out/bin/qmake" 12 - cp "${qtbase.dev}/bin/qmake" "$out/bin" 12 + cp "${qtbase}/bin/qmake" "$out/bin" 13 13 cat >"$out/bin/qt.conf" <<EOF 14 14 [Paths] 15 15 Prefix = $out
+5 -10
pkgs/development/libraries/qt-6/qtModule.nix
··· 3 3 , cmake 4 4 , ninja 5 5 , perl 6 + , moveBuildTree 6 7 , srcs 7 8 , patches ? [ ] 8 9 }: ··· 18 19 inherit pname version src; 19 20 patches = args.patches or patches.${pname} or [ ]; 20 21 21 - preHook = '' 22 - . ${./hooks/move-qt-dev-tools.sh} 23 - ''; 24 - 25 22 buildInputs = args.buildInputs or [ ]; 26 - nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ cmake ninja perl ]; 23 + nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ cmake ninja perl ] 24 + ++ lib.optionals stdenv.isDarwin [ moveBuildTree ]; 27 25 propagatedBuildInputs = args.qtInputs ++ (args.propagatedBuildInputs or [ ]); 28 26 27 + moveToDev = false; 28 + 29 29 outputs = args.outputs or [ "out" "dev" ]; 30 30 31 31 dontWrapQtApps = args.dontWrapQtApps or true; 32 - 33 - postFixup = '' 34 - moveToOutput "libexec" "''${!outputDev}" 35 - moveQtDevTools 36 - '' + args.postFixup or ""; 37 32 38 33 meta = with lib; { 39 34 homepage = "https://www.qt.io/";
+18 -5
pkgs/development/python-modules/lightgbm/default.nix
··· 8 8 , scikit-learn 9 9 , llvmPackages ? null 10 10 , pythonOlder 11 + , python 12 + , ocl-icd 13 + , opencl-headers 14 + , boost 15 + , gpuSupport ? true 11 16 }: 12 17 13 18 buildPythonPackage rec { ··· 28 33 29 34 dontUseCmakeConfigure = true; 30 35 31 - buildInputs = lib.optionals stdenv.cc.isClang [ 36 + buildInputs = (lib.optionals stdenv.cc.isClang [ 32 37 llvmPackages.openmp 33 - ]; 38 + ]) ++ (lib.optionals gpuSupport [ 39 + boost 40 + ocl-icd 41 + opencl-headers 42 + ]); 34 43 35 44 propagatedBuildInputs = [ 36 45 numpy 37 46 scipy 38 47 scikit-learn 39 48 ]; 49 + 50 + buildPhase = '' 51 + ${python.pythonForBuild.interpreter} setup.py bdist_wheel ${lib.optionalString gpuSupport "--gpu"} 52 + ''; 40 53 41 54 postConfigure = '' 42 55 export HOME=$(mktemp -d) ··· 51 64 "lightgbm" 52 65 ]; 53 66 54 - meta = with lib; { 67 + meta = { 55 68 description = "A fast, distributed, high performance gradient boosting (GBDT, GBRT, GBM or MART) framework"; 56 69 homepage = "https://github.com/Microsoft/LightGBM"; 57 70 changelog = "https://github.com/microsoft/LightGBM/releases/tag/v${version}"; 58 - license = licenses.mit; 59 - maintainers = with maintainers; [ teh costrouc ]; 71 + license = lib.licenses.mit; 72 + maintainers = with lib.maintainers; [ teh costrouc ]; 60 73 }; 61 74 }
+2 -2
pkgs/development/python-modules/nibabel/default.nix
··· 20 20 21 21 buildPythonPackage rec { 22 22 pname = "nibabel"; 23 - version = "5.0.1"; 23 + version = "5.1.0"; 24 24 format = "pyproject"; 25 25 26 26 disabled = pythonOlder "3.8"; 27 27 28 28 src = fetchPypi { 29 29 inherit pname version; 30 - hash = "sha256-SvZQFbTMmZQEyvA04cFcGrZ1h5XCXWkH/3T127/p9D4="; 30 + hash = "sha256-znPKXpVyCechmiI8tx93I1yd8qz00/J/hhujjpSBrFM="; 31 31 }; 32 32 33 33 nativeBuildInputs = [
+3 -3
pkgs/development/tools/fq/default.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "fq"; 10 - version = "0.4.0"; 10 + version = "0.5.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "wader"; 14 14 repo = "fq"; 15 15 rev = "v${version}"; 16 - hash = "sha256-2Sif6LUv99u/R4SrvsJoJ08aS5G/o34IC+4qAoRvX/g="; 16 + hash = "sha256-Fg5J/iLxGUwb2QRZJMHLqK9dBECW9VsiZGX+LyUtyhw="; 17 17 }; 18 18 19 - vendorHash = "sha256-8YJ52stnRHyTfiEHVvUgzLMd14WHI5ZeNAPk77oXSlA="; 19 + vendorHash = "sha256-sjzGtSBgRybcJvOXM4wKN5pTgihNrjUCMPsc62n3tLk="; 20 20 21 21 ldflags = [ 22 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 1 + { lib, stdenv, fetchFromGitHub, substituteAll, fetchpatch, pkg-config, gnused, autoreconfHook 2 2 , gtk-doc, acl, systemd, glib, libatasmart, polkit, coreutils, bash, which 3 3 , expat, libxslt, docbook_xsl, util-linux, mdadm, libgudev, libblockdev, parted 4 4 , gobject-introspection, docbook_xml_dtd_412, docbook_xml_dtd_43 ··· 39 39 btrfs-progs coreutils dosfstools e2fsprogs exfat f2fs-tools nilfs-utils 40 40 xfsprogs ntfs3g parted util-linux 41 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="; 42 47 }) 43 48 ]; 44 49
+17
pkgs/servers/search/elasticsearch/plugins.nix
··· 48 48 }; 49 49 }; 50 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 + 51 68 analysis-lemmagen = esPlugin rec { 52 69 pluginName = "analysis-lemmagen"; 53 70 version = esVersion;
+598 -216
pkgs/servers/search/qdrant/Cargo.lock
··· 66 66 "actix-codec", 67 67 "actix-rt", 68 68 "actix-service", 69 + "actix-tls", 69 70 "actix-utils", 70 71 "ahash 0.7.6", 71 72 "base64 0.21.0", ··· 103 104 checksum = "465a6172cf69b960917811022d8f29bc0b7fa1398bc4f78b3c466673db1213b6" 104 105 dependencies = [ 105 106 "quote", 106 - "syn", 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", 107 146 ] 108 147 109 148 [[package]] ··· 159 198 ] 160 199 161 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]] 162 219 name = "actix-utils" 163 220 version = "3.0.1" 164 221 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 181 238 "actix-rt", 182 239 "actix-server", 183 240 "actix-service", 241 + "actix-tls", 184 242 "actix-utils", 185 243 "actix-web-codegen", 186 244 "ahash 0.7.6", ··· 218 276 "actix-router", 219 277 "proc-macro2", 220 278 "quote", 221 - "syn", 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", 222 302 ] 223 303 224 304 [[package]] ··· 299 379 checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" 300 380 301 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]] 302 422 name = "anyhow" 303 - version = "1.0.69" 423 + version = "1.0.70" 304 424 source = "registry+https://github.com/rust-lang/crates.io-index" 305 - checksum = "224afbd727c3d6e4b90103ece64b8d1b67fbb1973b1046c2281eed3f3803f800" 425 + checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" 306 426 307 427 [[package]] 308 428 name = "api" 309 - version = "1.1.0" 429 + version = "1.1.1" 310 430 dependencies = [ 311 431 "chrono", 312 432 "env_logger", 313 433 "log", 434 + "parking_lot", 314 435 "prost", 315 436 "prost-types", 316 437 "rand 0.8.5", ··· 324 445 "tonic-build", 325 446 "tower", 326 447 "uuid", 448 + "validator", 327 449 ] 328 450 329 451 [[package]] ··· 380 502 dependencies = [ 381 503 "proc-macro2", 382 504 "quote", 383 - "syn", 505 + "syn 1.0.107", 384 506 ] 385 507 386 508 [[package]] 387 509 name = "async-trait" 388 - version = "0.1.66" 510 + version = "0.1.68" 389 511 source = "registry+https://github.com/rust-lang/crates.io-index" 390 - checksum = "b84f9ebcc6c1f5b8cb160f6990096a5c127f423fcb6e1ccc46c370cbdfb75dfc" 512 + checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" 391 513 dependencies = [ 392 514 "proc-macro2", 393 515 "quote", 394 - "syn", 516 + "syn 2.0.11", 395 517 ] 396 518 397 519 [[package]] ··· 415 537 source = "registry+https://github.com/rust-lang/crates.io-index" 416 538 checksum = "09a580bfc0fc2370333eddb71de8c8614d5972e3a327438eb3acc22824a638bf" 417 539 dependencies = [ 418 - "rustix", 540 + "rustix 0.36.5", 419 541 "tempfile", 420 542 "windows-sys 0.45.0", 421 543 ] ··· 439 561 440 562 [[package]] 441 563 name = "axum" 442 - version = "0.6.1" 564 + version = "0.6.12" 443 565 source = "registry+https://github.com/rust-lang/crates.io-index" 444 - checksum = "08b108ad2665fa3f6e6a517c3d80ec3e77d224c47d605167aefaa5d7ef97fa48" 566 + checksum = "349f8ccfd9221ee7d1f3d4b33e1f8319b3a81ed8f61f2ea40b37b859794b4491" 445 567 dependencies = [ 446 568 "async-trait", 447 569 "axum-core", ··· 461 583 "serde", 462 584 "sync_wrapper", 463 585 "tower", 464 - "tower-http", 465 586 "tower-layer", 466 587 "tower-service", 467 588 ] 468 589 469 590 [[package]] 470 591 name = "axum-core" 471 - version = "0.3.0" 592 + version = "0.3.3" 472 593 source = "registry+https://github.com/rust-lang/crates.io-index" 473 - checksum = "79b8558f5a0581152dc94dcd289132a1d377494bdeafcd41869b3258e3e2ad92" 594 + checksum = "b2f958c80c248b34b9a877a643811be8dbca03ca5ba827f2b63baf3a81e5fc4e" 474 595 dependencies = [ 475 596 "async-trait", 476 597 "bytes", ··· 536 657 "regex", 537 658 "rustc-hash", 538 659 "shlex", 539 - "syn", 660 + "syn 1.0.107", 540 661 ] 541 662 542 663 [[package]] ··· 763 884 764 885 [[package]] 765 886 name = "clap" 766 - version = "4.1.8" 887 + version = "4.2.1" 767 888 source = "registry+https://github.com/rust-lang/crates.io-index" 768 - checksum = "c3d7ae14b20b94cb02149ed21a86c423859cbe18dc7ed69845cace50e52b40a5" 889 + checksum = "046ae530c528f252094e4a77886ee1374437744b2bff1497aa898bbddbbb29b3" 769 890 dependencies = [ 770 - "bitflags", 891 + "clap_builder", 771 892 "clap_derive", 772 - "clap_lex 0.3.0", 773 - "is-terminal", 774 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", 775 906 "strsim", 776 - "termcolor", 777 907 ] 778 908 779 909 [[package]] 780 910 name = "clap_derive" 781 - version = "4.1.8" 911 + version = "4.2.0" 782 912 source = "registry+https://github.com/rust-lang/crates.io-index" 783 - checksum = "44bec8e5c9d09e439c4335b1af0abaab56dcf3b94999a936e1bb47b9134288f0" 913 + checksum = "3f9644cd56d6b87dbe899ef8b053e331c0637664e9e21a33dfcdc36093f5c5c4" 784 914 dependencies = [ 785 915 "heck", 786 - "proc-macro-error", 787 916 "proc-macro2", 788 917 "quote", 789 - "syn", 918 + "syn 2.0.11", 790 919 ] 791 920 792 921 [[package]] ··· 800 929 801 930 [[package]] 802 931 name = "clap_lex" 803 - version = "0.3.0" 932 + version = "0.4.0" 804 933 source = "registry+https://github.com/rust-lang/crates.io-index" 805 - checksum = "0d4198f73e42b4936b35b5bb248d81d2b595ecb170da0bac7655c54eedfa8da8" 806 - dependencies = [ 807 - "os_str_bytes", 808 - ] 934 + checksum = "4f0807fb6f644c83f3e4ec014fec9858c1c8b26a7db8eb5f0bde5817df9c1df7" 809 935 810 936 [[package]] 811 937 name = "codespan-reporting" ··· 821 947 name = "collection" 822 948 version = "0.4.2" 823 949 dependencies = [ 950 + "actix-web-validator", 824 951 "api", 825 952 "arc-swap", 826 953 "async-trait", ··· 836 963 "log", 837 964 "merge", 838 965 "num_cpus", 839 - "ordered-float 3.4.0", 966 + "ordered-float 3.6.0", 840 967 "parking_lot", 841 968 "pprof", 842 969 "rand 0.8.5", ··· 856 983 "tower", 857 984 "url", 858 985 "uuid", 986 + "validator", 859 987 "wal", 860 988 ] 861 989 ··· 871 999 ] 872 1000 873 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]] 874 1017 name = "config" 875 1018 version = "0.13.3" 876 1019 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1103 1246 "proc-macro2", 1104 1247 "quote", 1105 1248 "scratch", 1106 - "syn", 1249 + "syn 1.0.107", 1107 1250 ] 1108 1251 1109 1252 [[package]] ··· 1120 1263 dependencies = [ 1121 1264 "proc-macro2", 1122 1265 "quote", 1123 - "syn", 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", 1124 1302 ] 1125 1303 1126 1304 [[package]] ··· 1142 1320 "proc-macro2", 1143 1321 "quote", 1144 1322 "rustc_version", 1145 - "syn", 1323 + "syn 1.0.107", 1146 1324 ] 1147 1325 1148 1326 [[package]] ··· 1235 1413 ] 1236 1414 1237 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]] 1238 1427 name = "errno-dragonfly" 1239 1428 version = "0.1.2" 1240 1429 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1261 1450 dependencies = [ 1262 1451 "cfg-if", 1263 1452 "libc", 1264 - "redox_syscall", 1453 + "redox_syscall 0.2.16", 1265 1454 "windows-sys 0.42.0", 1266 1455 ] 1267 1456 ··· 1330 1519 ] 1331 1520 1332 1521 [[package]] 1333 - name = "fs2" 1334 - version = "0.4.3" 1522 + name = "fs4" 1523 + version = "0.6.3" 1335 1524 source = "registry+https://github.com/rust-lang/crates.io-index" 1336 - checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" 1525 + checksum = "8ea55201cc351fdb478217c0fb641b59813da9b4efe4c414a9d8f989a657d149" 1337 1526 dependencies = [ 1338 1527 "libc", 1528 + "rustix 0.35.13", 1339 1529 "winapi", 1340 1530 ] 1341 1531 ··· 1359 1549 1360 1550 [[package]] 1361 1551 name = "futures" 1362 - version = "0.3.27" 1552 + version = "0.3.28" 1363 1553 source = "registry+https://github.com/rust-lang/crates.io-index" 1364 - checksum = "531ac96c6ff5fd7c62263c5e3c67a603af4fcaee2e1a0ae5565ba3a11e69e549" 1554 + checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" 1365 1555 dependencies = [ 1366 1556 "futures-channel", 1367 1557 "futures-core", ··· 1374 1564 1375 1565 [[package]] 1376 1566 name = "futures-channel" 1377 - version = "0.3.27" 1567 + version = "0.3.28" 1378 1568 source = "registry+https://github.com/rust-lang/crates.io-index" 1379 - checksum = "164713a5a0dcc3e7b4b1ed7d3b433cabc18025386f9339346e8daf15963cf7ac" 1569 + checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" 1380 1570 dependencies = [ 1381 1571 "futures-core", 1382 1572 "futures-sink", ··· 1384 1574 1385 1575 [[package]] 1386 1576 name = "futures-core" 1387 - version = "0.3.27" 1577 + version = "0.3.28" 1388 1578 source = "registry+https://github.com/rust-lang/crates.io-index" 1389 - checksum = "86d7a0c1aa76363dac491de0ee99faf6941128376f1cf96f07db7603b7de69dd" 1579 + checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" 1390 1580 1391 1581 [[package]] 1392 1582 name = "futures-executor" 1393 - version = "0.3.27" 1583 + version = "0.3.28" 1394 1584 source = "registry+https://github.com/rust-lang/crates.io-index" 1395 - checksum = "1997dd9df74cdac935c76252744c1ed5794fac083242ea4fe77ef3ed60ba0f83" 1585 + checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" 1396 1586 dependencies = [ 1397 1587 "futures-core", 1398 1588 "futures-task", ··· 1401 1591 1402 1592 [[package]] 1403 1593 name = "futures-io" 1404 - version = "0.3.27" 1594 + version = "0.3.28" 1405 1595 source = "registry+https://github.com/rust-lang/crates.io-index" 1406 - checksum = "89d422fa3cbe3b40dca574ab087abb5bc98258ea57eea3fd6f1fa7162c778b91" 1596 + checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" 1407 1597 1408 1598 [[package]] 1409 1599 name = "futures-macro" 1410 - version = "0.3.27" 1600 + version = "0.3.28" 1411 1601 source = "registry+https://github.com/rust-lang/crates.io-index" 1412 - checksum = "3eb14ed937631bd8b8b8977f2c198443447a8355b6e3ca599f38c975e5a963b6" 1602 + checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" 1413 1603 dependencies = [ 1414 1604 "proc-macro2", 1415 1605 "quote", 1416 - "syn", 1606 + "syn 2.0.11", 1417 1607 ] 1418 1608 1419 1609 [[package]] 1420 1610 name = "futures-sink" 1421 - version = "0.3.27" 1611 + version = "0.3.28" 1422 1612 source = "registry+https://github.com/rust-lang/crates.io-index" 1423 - checksum = "ec93083a4aecafb2a80a885c9de1f0ccae9dbd32c2bb54b0c3a65690e0b8d2f2" 1613 + checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" 1424 1614 1425 1615 [[package]] 1426 1616 name = "futures-task" 1427 - version = "0.3.27" 1617 + version = "0.3.28" 1428 1618 source = "registry+https://github.com/rust-lang/crates.io-index" 1429 - checksum = "fd65540d33b37b16542a0438c12e6aeead10d4ac5d05bd3f805b8f35ab592879" 1619 + checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" 1430 1620 1431 1621 [[package]] 1432 1622 name = "futures-util" 1433 - version = "0.3.27" 1623 + version = "0.3.28" 1434 1624 source = "registry+https://github.com/rust-lang/crates.io-index" 1435 - checksum = "3ef6b17e481503ec85211fed8f39d1970f128935ca1f814cd32ac4a6842e84ab" 1625 + checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" 1436 1626 dependencies = [ 1437 1627 "futures-channel", 1438 1628 "futures-core", ··· 1467 1657 1468 1658 [[package]] 1469 1659 name = "geo" 1470 - version = "0.24.0" 1660 + version = "0.24.1" 1471 1661 source = "registry+https://github.com/rust-lang/crates.io-index" 1472 - checksum = "ce129b525496519c00321a00772d4532d2229071699c6dc6c9cefa5fa7d2b9ae" 1662 + checksum = "c7d640a4dd1d1c98b45f4653c841a8ec15f461a71b86bc30533ae64c6f20f268" 1473 1663 dependencies = [ 1474 1664 "float_next_after", 1475 1665 "geo-types", ··· 1551 1741 "proc-macro-error", 1552 1742 "proc-macro2", 1553 1743 "quote", 1554 - "syn", 1744 + "syn 1.0.107", 1555 1745 ] 1556 1746 1557 1747 [[package]] ··· 1656 1846 ] 1657 1847 1658 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]] 1659 1855 name = "http" 1660 1856 version = "0.2.9" 1661 1857 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1684 1880 checksum = "21dec9db110f5f872ed9699c3ecf50cf16f423502706ba5c72462e28d3157573" 1685 1881 1686 1882 [[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 1883 name = "httparse" 1694 1884 version = "1.8.0" 1695 1885 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1709 1899 1710 1900 [[package]] 1711 1901 name = "hyper" 1712 - version = "0.14.23" 1902 + version = "0.14.25" 1713 1903 source = "registry+https://github.com/rust-lang/crates.io-index" 1714 - checksum = "034711faac9d2166cb1baf1a2fb0b60b1f277f8492fd72176c17f3515e1abd3c" 1904 + checksum = "cc5e554ff619822309ffd57d8734d77cd5ce6238bc956f037ea06c58238c9899" 1715 1905 dependencies = [ 1716 1906 "bytes", 1717 1907 "futures-channel", ··· 1739 1929 dependencies = [ 1740 1930 "http", 1741 1931 "hyper", 1742 - "rustls", 1932 + "rustls 0.20.7", 1743 1933 "tokio", 1744 - "tokio-rustls", 1934 + "tokio-rustls 0.23.4", 1745 1935 ] 1746 1936 1747 1937 [[package]] ··· 1794 1984 ] 1795 1985 1796 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]] 1797 2004 name = "idna" 1798 2005 version = "0.3.0" 1799 2006 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1802 2009 "unicode-bidi", 1803 2010 "unicode-normalization", 1804 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" 1805 2018 1806 2019 [[package]] 1807 2020 name = "indexmap" ··· 1855 2068 1856 2069 [[package]] 1857 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" 1858 2077 version = "1.0.3" 1859 2078 source = "registry+https://github.com/rust-lang/crates.io-index" 1860 2079 checksum = "46112a93252b123d31a119a8d1a1ac19deac4fac6e0e8b0df58f0d4e5870e63c" ··· 1871 2090 1872 2091 [[package]] 1873 2092 name = "is-terminal" 1874 - version = "0.4.1" 2093 + version = "0.4.6" 1875 2094 source = "registry+https://github.com/rust-lang/crates.io-index" 1876 - checksum = "927609f78c2913a6f6ac3c27a4fe87f43e2a35367c0c4b0f8265e8f49a104330" 2095 + checksum = "256017f749ab3117e93acb91063009e1f1bb56d03965b14c2c8df4eb02c524d8" 1877 2096 dependencies = [ 1878 - "hermit-abi 0.2.6", 1879 - "io-lifetimes", 1880 - "rustix", 1881 - "windows-sys 0.42.0", 2097 + "hermit-abi 0.3.1", 2098 + "io-lifetimes 1.0.3", 2099 + "rustix 0.37.4", 2100 + "windows-sys 0.45.0", 1882 2101 ] 1883 2102 1884 2103 [[package]] ··· 1945 2164 1946 2165 [[package]] 1947 2166 name = "libc" 1948 - version = "0.2.138" 2167 + version = "0.2.140" 1949 2168 source = "registry+https://github.com/rust-lang/crates.io-index" 1950 - checksum = "db6d7e329c562c5dfab7a46a2afabc8b987ab9a4834c9d1ca04dc54c1546cef8" 2169 + checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" 1951 2170 1952 2171 [[package]] 1953 2172 name = "libloading" ··· 2007 2226 2008 2227 [[package]] 2009 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" 2010 2235 version = "0.1.4" 2011 2236 source = "registry+https://github.com/rust-lang/crates.io-index" 2012 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" 2013 2244 2014 2245 [[package]] 2015 2246 name = "local-channel" ··· 2048 2279 dependencies = [ 2049 2280 "cfg-if", 2050 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" 2051 2288 2052 2289 [[package]] 2053 2290 name = "matchit" ··· 2098 2335 "proc-macro-error", 2099 2336 "proc-macro2", 2100 2337 "quote", 2101 - "syn", 2338 + "syn 1.0.107", 2102 2339 ] 2103 2340 2104 2341 [[package]] ··· 2210 2447 dependencies = [ 2211 2448 "proc-macro2", 2212 2449 "quote", 2213 - "syn", 2450 + "syn 1.0.107", 2214 2451 ] 2215 2452 2216 2453 [[package]] ··· 2282 2519 2283 2520 [[package]] 2284 2521 name = "openssl" 2285 - version = "0.10.46" 2522 + version = "0.10.50" 2286 2523 source = "registry+https://github.com/rust-lang/crates.io-index" 2287 - checksum = "fd2523381e46256e40930512c7fd25562b9eae4812cb52078f155e87217c9d1e" 2524 + checksum = "7e30d8bc91859781f0a943411186324d580f2bbeb71b452fe91ae344806af3f1" 2288 2525 dependencies = [ 2289 2526 "bitflags", 2290 2527 "cfg-if", ··· 2303 2540 dependencies = [ 2304 2541 "proc-macro2", 2305 2542 "quote", 2306 - "syn", 2543 + "syn 1.0.107", 2307 2544 ] 2308 2545 2309 2546 [[package]] ··· 2323 2560 2324 2561 [[package]] 2325 2562 name = "openssl-sys" 2326 - version = "0.9.81" 2563 + version = "0.9.85" 2327 2564 source = "registry+https://github.com/rust-lang/crates.io-index" 2328 - checksum = "176be2629957c157240f68f61f2d0053ad3a4ecfdd9ebf1e6521d18d9635cf67" 2565 + checksum = "0d3d193fb1488ad46ffe3aaabc912cc931d02ee8518fe2959aea8ef52718b0c0" 2329 2566 dependencies = [ 2330 - "autocfg", 2331 2567 "cc", 2332 2568 "libc", 2333 2569 "openssl-src", ··· 2346 2582 2347 2583 [[package]] 2348 2584 name = "ordered-float" 2349 - version = "3.4.0" 2585 + version = "3.6.0" 2350 2586 source = "registry+https://github.com/rust-lang/crates.io-index" 2351 - checksum = "d84eb1409416d254e4a9c8fa56cc24701755025b458f0fcd8e59e1f5f40c23bf" 2587 + checksum = "13a384337e997e6860ffbaa83708b2ef329fd8c54cb67a5f64d421e0f943254f" 2352 2588 dependencies = [ 2353 2589 "num-traits", 2354 2590 ] ··· 2389 2625 "cfg-if", 2390 2626 "libc", 2391 2627 "petgraph", 2392 - "redox_syscall", 2628 + "redox_syscall 0.2.16", 2393 2629 "smallvec", 2394 2630 "thread-id", 2395 2631 "windows-sys 0.42.0", 2396 2632 ] 2397 2633 2398 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]] 2399 2641 name = "paste" 2400 2642 version = "1.0.11" 2401 2643 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2459 2701 "pest_meta", 2460 2702 "proc-macro2", 2461 2703 "quote", 2462 - "syn", 2704 + "syn 1.0.107", 2463 2705 ] 2464 2706 2465 2707 [[package]] ··· 2500 2742 dependencies = [ 2501 2743 "proc-macro2", 2502 2744 "quote", 2503 - "syn", 2745 + "syn 1.0.107", 2504 2746 ] 2505 2747 2506 2748 [[package]] ··· 2593 2835 checksum = "2c8992a85d8e93a28bdf76137db888d3874e3b230dee5ed8bebac4c9f7617773" 2594 2836 dependencies = [ 2595 2837 "proc-macro2", 2596 - "syn", 2838 + "syn 1.0.107", 2597 2839 ] 2598 2840 2599 2841 [[package]] ··· 2605 2847 "proc-macro-error-attr", 2606 2848 "proc-macro2", 2607 2849 "quote", 2608 - "syn", 2850 + "syn 1.0.107", 2609 2851 "version_check", 2610 2852 ] 2611 2853 ··· 2622 2864 2623 2865 [[package]] 2624 2866 name = "proc-macro2" 2625 - version = "1.0.49" 2867 + version = "1.0.54" 2626 2868 source = "registry+https://github.com/rust-lang/crates.io-index" 2627 - checksum = "57a8eca9f9c4ffde41714334dee777596264c7825420f521abc92b5b5deb63a5" 2869 + checksum = "e472a104799c74b514a57226160104aa483546de37e839ec50e3c2e41dd87534" 2628 2870 dependencies = [ 2629 2871 "unicode-ident", 2630 2872 ] ··· 2676 2918 2677 2919 [[package]] 2678 2920 name = "prost-build" 2679 - version = "0.11.4" 2921 + version = "0.11.8" 2680 2922 source = "registry+https://github.com/rust-lang/crates.io-index" 2681 - checksum = "276470f7f281b0ed53d2ae42dd52b4a8d08853a3c70e7fe95882acbb98a6ae94" 2923 + checksum = "2c828f93f5ca4826f97fedcbd3f9a536c16b12cff3dbbb4a007f932bbad95b12" 2682 2924 dependencies = [ 2683 2925 "bytes", 2684 2926 "heck", ··· 2691 2933 "prost", 2692 2934 "prost-types", 2693 2935 "regex", 2694 - "syn", 2936 + "syn 1.0.107", 2695 2937 "tempfile", 2696 2938 "which", 2697 2939 ] ··· 2706 2948 "itertools", 2707 2949 "proc-macro2", 2708 2950 "quote", 2709 - "syn", 2951 + "syn 1.0.107", 2710 2952 ] 2711 2953 2712 2954 [[package]] ··· 2734 2976 "proc-macro2", 2735 2977 "prost-build", 2736 2978 "quote", 2737 - "syn", 2979 + "syn 1.0.107", 2738 2980 ] 2739 2981 2740 2982 [[package]] 2741 2983 name = "qdrant" 2742 - version = "1.1.0" 2984 + version = "1.1.1" 2743 2985 dependencies = [ 2744 2986 "actix-cors", 2745 2987 "actix-files", 2988 + "actix-multipart", 2746 2989 "actix-web", 2990 + "actix-web-validator", 2747 2991 "anyhow", 2748 2992 "api", 2749 2993 "atty", 2750 2994 "chrono", 2751 - "clap 4.1.8", 2995 + "clap 4.2.1", 2752 2996 "collection", 2753 2997 "colored", 2754 2998 "config", ··· 2786 3030 "tower", 2787 3031 "tower-layer", 2788 3032 "uuid", 3033 + "validator", 2789 3034 ] 2790 3035 2791 3036 [[package]] ··· 2822 3067 2823 3068 [[package]] 2824 3069 name = "quote" 2825 - version = "1.0.23" 3070 + version = "1.0.26" 2826 3071 source = "registry+https://github.com/rust-lang/crates.io-index" 2827 - checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" 3072 + checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" 2828 3073 dependencies = [ 2829 3074 "proc-macro2", 2830 3075 ] ··· 2838 3083 [[package]] 2839 3084 name = "raft" 2840 3085 version = "0.7.0" 2841 - source = "git+https://github.com/tikv/raft-rs?rev=5ce52b480065ff31ecef16b9b77c7c3b7c57c8c7#5ce52b480065ff31ecef16b9b77c7c3b7c57c8c7" 3086 + source = "registry+https://github.com/rust-lang/crates.io-index" 3087 + checksum = "f12688b23a649902762d4c11d854d73c49c9b93138f2de16403ef9f571ad5bae" 2842 3088 dependencies = [ 2843 3089 "fxhash", 2844 3090 "getset", ··· 2852 3098 [[package]] 2853 3099 name = "raft-proto" 2854 3100 version = "0.7.0" 2855 - source = "git+https://github.com/tikv/raft-rs?rev=5ce52b480065ff31ecef16b9b77c7c3b7c57c8c7#5ce52b480065ff31ecef16b9b77c7c3b7c57c8c7" 3101 + source = "registry+https://github.com/rust-lang/crates.io-index" 3102 + checksum = "fb6884896294f553e8d5cfbdb55080b9f5f2f43394afff59c9f077e0f4b46d6b" 2856 3103 dependencies = [ 2857 3104 "lazy_static", 2858 3105 "prost", ··· 2982 3229 ] 2983 3230 2984 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]] 2985 3241 name = "regex" 2986 3242 version = "1.7.0" 2987 3243 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3000 3256 3001 3257 [[package]] 3002 3258 name = "reqwest" 3003 - version = "0.11.14" 3259 + version = "0.11.16" 3004 3260 source = "registry+https://github.com/rust-lang/crates.io-index" 3005 - checksum = "21eed90ec8570952d53b772ecf8f206aa1ec9a3d76b2521c56c42973f2d91ee9" 3261 + checksum = "27b71749df584b7f4cac2c426c127a7c785a5106cc98f7a8feb044115f0fa254" 3006 3262 dependencies = [ 3007 3263 "base64 0.21.0", 3008 3264 "bytes", ··· 3023 3279 "once_cell", 3024 3280 "percent-encoding", 3025 3281 "pin-project-lite", 3026 - "rustls", 3282 + "rustls 0.20.7", 3027 3283 "rustls-pemfile", 3028 3284 "serde", 3029 3285 "serde_json", 3030 3286 "serde_urlencoded", 3031 3287 "tokio", 3032 3288 "tokio-native-tls", 3033 - "tokio-rustls", 3289 + "tokio-rustls 0.23.4", 3034 3290 "tokio-util", 3035 3291 "tower-service", 3036 3292 "url", ··· 3159 3415 3160 3416 [[package]] 3161 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" 3162 3432 version = "0.36.5" 3163 3433 source = "registry+https://github.com/rust-lang/crates.io-index" 3164 3434 checksum = "a3807b5d10909833d3e9acd1eb5fb988f79376ff10fce42937de71a449c4c588" 3165 3435 dependencies = [ 3166 3436 "bitflags", 3167 - "errno", 3168 - "io-lifetimes", 3437 + "errno 0.2.8", 3438 + "io-lifetimes 1.0.3", 3169 3439 "libc", 3170 - "linux-raw-sys", 3440 + "linux-raw-sys 0.1.4", 3171 3441 "windows-sys 0.42.0", 3172 3442 ] 3173 3443 3174 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]] 3175 3459 name = "rustls" 3176 3460 version = "0.20.7" 3177 3461 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3184 3468 ] 3185 3469 3186 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]] 3187 3483 name = "rustls-pemfile" 3188 3484 version = "1.0.1" 3189 3485 source = "registry+https://github.com/rust-lang/crates.io-index" 3190 3486 checksum = "0864aeff53f8c05aa08d86e5ef839d3dfcf07aeba2db32f12db0ef716e87bd55" 3191 3487 dependencies = [ 3192 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", 3193 3499 ] 3194 3500 3195 3501 [[package]] ··· 3272 3578 "proc-macro2", 3273 3579 "quote", 3274 3580 "serde_derive_internals", 3275 - "syn", 3581 + "syn 1.0.107", 3276 3582 ] 3277 3583 3278 3584 [[package]] ··· 3334 3640 "atomicwrites", 3335 3641 "bincode", 3336 3642 "bitvec", 3643 + "chrono", 3337 3644 "criterion", 3338 3645 "fs_extra", 3339 3646 "geo", ··· 3344 3651 "num-derive", 3345 3652 "num-traits", 3346 3653 "num_cpus", 3347 - "ordered-float 3.4.0", 3654 + "ordered-float 3.6.0", 3348 3655 "parking_lot", 3349 3656 "pprof", 3350 3657 "quantization", ··· 3365 3672 "thiserror", 3366 3673 "tinyvec", 3367 3674 "uuid", 3675 + "validator", 3368 3676 "walkdir", 3369 3677 ] 3370 3678 ··· 3376 3684 3377 3685 [[package]] 3378 3686 name = "serde" 3379 - version = "1.0.156" 3687 + version = "1.0.159" 3380 3688 source = "registry+https://github.com/rust-lang/crates.io-index" 3381 - checksum = "314b5b092c0ade17c00142951e50ced110ec27cea304b1037c6969246c2469a4" 3689 + checksum = "3c04e8343c3daeec41f58990b9d77068df31209f2af111e059e9fe9646693065" 3382 3690 dependencies = [ 3383 3691 "serde_derive", 3384 3692 ] ··· 3405 3713 3406 3714 [[package]] 3407 3715 name = "serde_derive" 3408 - version = "1.0.156" 3716 + version = "1.0.159" 3409 3717 source = "registry+https://github.com/rust-lang/crates.io-index" 3410 - checksum = "d7e29c4601e36bcec74a223228dce795f4cd3616341a4af93520ca1a837c087d" 3718 + checksum = "4c614d17805b093df4b147b51339e7e44bf05ef59fba1e45d83500bcfb4d8585" 3411 3719 dependencies = [ 3412 3720 "proc-macro2", 3413 3721 "quote", 3414 - "syn", 3722 + "syn 2.0.11", 3415 3723 ] 3416 3724 3417 3725 [[package]] ··· 3422 3730 dependencies = [ 3423 3731 "proc-macro2", 3424 3732 "quote", 3425 - "syn", 3733 + "syn 1.0.107", 3426 3734 ] 3427 3735 3428 3736 [[package]] 3429 3737 name = "serde_json" 3430 - version = "1.0.94" 3738 + version = "1.0.95" 3431 3739 source = "registry+https://github.com/rust-lang/crates.io-index" 3432 - checksum = "1c533a59c9d8a93a09c6ab31f0fd5e5f4dd1b8fc9434804029839884765d04ea" 3740 + checksum = "d721eca97ac802aa7777b701877c8004d950fc142651367300d21c1cc0194744" 3433 3741 dependencies = [ 3434 3742 "itoa", 3435 3743 "ryu", ··· 3437 3745 ] 3438 3746 3439 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]] 3440 3770 name = "serde_urlencoded" 3441 3771 version = "0.7.1" 3442 3772 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3536 3866 3537 3867 [[package]] 3538 3868 name = "socket2" 3539 - version = "0.4.7" 3869 + version = "0.4.9" 3540 3870 source = "registry+https://github.com/rust-lang/crates.io-index" 3541 - checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd" 3871 + checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" 3542 3872 dependencies = [ 3543 3873 "libc", 3544 3874 "winapi", ··· 3606 3936 "tonic", 3607 3937 "url", 3608 3938 "uuid", 3939 + "validator", 3609 3940 "wal", 3610 3941 ] 3611 3942 ··· 3656 3987 ] 3657 3988 3658 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]] 3659 4001 name = "sync_wrapper" 3660 4002 version = "0.1.1" 3661 4003 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3690 4032 3691 4033 [[package]] 3692 4034 name = "tempfile" 3693 - version = "3.4.0" 4035 + version = "3.5.0" 3694 4036 source = "registry+https://github.com/rust-lang/crates.io-index" 3695 - checksum = "af18f7ae1acd354b992402e9ec5864359d693cd8a79dcbef59f76891701c1e95" 4037 + checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998" 3696 4038 dependencies = [ 3697 4039 "cfg-if", 3698 4040 "fastrand", 3699 - "redox_syscall", 3700 - "rustix", 3701 - "windows-sys 0.42.0", 4041 + "redox_syscall 0.3.5", 4042 + "rustix 0.37.4", 4043 + "windows-sys 0.45.0", 3702 4044 ] 3703 4045 3704 4046 [[package]] ··· 3728 4070 3729 4071 [[package]] 3730 4072 name = "thiserror" 3731 - version = "1.0.39" 4073 + version = "1.0.40" 3732 4074 source = "registry+https://github.com/rust-lang/crates.io-index" 3733 - checksum = "a5ab016db510546d856297882807df8da66a16fb8c4101cb8b30054b0d5b2d9c" 4075 + checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" 3734 4076 dependencies = [ 3735 4077 "thiserror-impl", 3736 4078 ] 3737 4079 3738 4080 [[package]] 3739 4081 name = "thiserror-impl" 3740 - version = "1.0.39" 4082 + version = "1.0.40" 3741 4083 source = "registry+https://github.com/rust-lang/crates.io-index" 3742 - checksum = "5420d42e90af0c38c3290abcca25b9b3bdf379fc9f55c528f53a269d9c9a267e" 4084 + checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" 3743 4085 dependencies = [ 3744 4086 "proc-macro2", 3745 4087 "quote", 3746 - "syn", 4088 + "syn 2.0.11", 3747 4089 ] 3748 4090 3749 4091 [[package]] ··· 3753 4095 checksum = "5fdfe0627923f7411a43ec9ec9c39c3a9b4151be313e0922042581fb6c9b717f" 3754 4096 dependencies = [ 3755 4097 "libc", 3756 - "redox_syscall", 4098 + "redox_syscall 0.2.16", 3757 4099 "winapi", 3758 4100 ] 3759 4101 ··· 3843 4185 3844 4186 [[package]] 3845 4187 name = "tokio" 3846 - version = "1.26.0" 4188 + version = "1.27.0" 3847 4189 source = "registry+https://github.com/rust-lang/crates.io-index" 3848 - checksum = "03201d01c3c27a29c8a5cee5b55a93ddae1ccf6f08f65365c2c918f8c1b76f64" 4190 + checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" 3849 4191 dependencies = [ 3850 4192 "autocfg", 3851 4193 "bytes", 3852 4194 "libc", 3853 - "memchr", 3854 4195 "mio", 3855 4196 "num_cpus", 3856 4197 "parking_lot", ··· 3873 4214 3874 4215 [[package]] 3875 4216 name = "tokio-macros" 3876 - version = "1.8.2" 4217 + version = "2.0.0" 3877 4218 source = "registry+https://github.com/rust-lang/crates.io-index" 3878 - checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8" 4219 + checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce" 3879 4220 dependencies = [ 3880 4221 "proc-macro2", 3881 4222 "quote", 3882 - "syn", 4223 + "syn 2.0.11", 3883 4224 ] 3884 4225 3885 4226 [[package]] ··· 3893 4234 ] 3894 4235 3895 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]] 3896 4249 name = "tokio-rustls" 3897 4250 version = "0.23.4" 3898 4251 source = "registry+https://github.com/rust-lang/crates.io-index" 3899 4252 checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" 3900 4253 dependencies = [ 3901 - "rustls", 4254 + "rustls 0.20.7", 3902 4255 "tokio", 3903 4256 "webpki", 3904 4257 ] 3905 4258 3906 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]] 3907 4270 name = "tokio-stream" 3908 4271 version = "0.1.11" 3909 4272 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3939 4302 3940 4303 [[package]] 3941 4304 name = "tonic" 3942 - version = "0.8.3" 4305 + version = "0.9.1" 3943 4306 source = "registry+https://github.com/rust-lang/crates.io-index" 3944 - checksum = "8f219fad3b929bef19b1f86fbc0358d35daed8f2cac972037ac0dc10bbb8d5fb" 4307 + checksum = "38bd8e87955eb13c1986671838177d6792cdc52af9bffced0d2c8a9a7f741ab3" 3945 4308 dependencies = [ 3946 4309 "async-stream", 3947 4310 "async-trait", 3948 4311 "axum", 3949 - "base64 0.13.1", 4312 + "base64 0.21.0", 3950 4313 "bytes", 3951 4314 "flate2", 3952 4315 "futures-core", ··· 3959 4322 "percent-encoding", 3960 4323 "pin-project", 3961 4324 "prost", 3962 - "prost-derive", 4325 + "rustls-pemfile", 3963 4326 "tokio", 4327 + "tokio-rustls 0.24.0", 3964 4328 "tokio-stream", 3965 - "tokio-util", 3966 4329 "tower", 3967 4330 "tower-layer", 3968 4331 "tower-service", 3969 4332 "tracing", 3970 - "tracing-futures", 3971 4333 ] 3972 4334 3973 4335 [[package]] 3974 4336 name = "tonic-build" 3975 - version = "0.8.4" 4337 + version = "0.9.1" 3976 4338 source = "registry+https://github.com/rust-lang/crates.io-index" 3977 - checksum = "5bf5e9b9c0f7e0a7c027dcfaba7b2c60816c7049171f679d99ee2ff65d0de8c4" 4339 + checksum = "0f60a933bbea70c95d633c04c951197ddf084958abaa2ed502a3743bdd8d8dd7" 3978 4340 dependencies = [ 3979 4341 "prettyplease", 3980 4342 "proc-macro2", 3981 4343 "prost-build", 3982 4344 "quote", 3983 - "syn", 4345 + "syn 1.0.107", 3984 4346 ] 3985 4347 3986 4348 [[package]] ··· 4004 4366 ] 4005 4367 4006 4368 [[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 4369 name = "tower-layer" 4027 4370 version = "0.3.2" 4028 4371 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4055 4398 dependencies = [ 4056 4399 "proc-macro2", 4057 4400 "quote", 4058 - "syn", 4401 + "syn 1.0.107", 4059 4402 ] 4060 4403 4061 4404 [[package]] ··· 4065 4408 checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" 4066 4409 dependencies = [ 4067 4410 "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 4411 ] 4079 4412 4080 4413 [[package]] ··· 4150 4483 checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" 4151 4484 dependencies = [ 4152 4485 "form_urlencoded", 4153 - "idna", 4486 + "idna 0.3.0", 4154 4487 "percent-encoding", 4155 4488 "serde", 4156 4489 ] 4157 4490 4158 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]] 4159 4498 name = "uuid" 4160 - version = "1.3.0" 4499 + version = "1.3.1" 4161 4500 source = "registry+https://github.com/rust-lang/crates.io-index" 4162 - checksum = "1674845326ee10d37ca60470760d4288a6f80f304007d92e5c53bab78c9cfd79" 4501 + checksum = "5b55a3fef2a1e3b3a00ce878640918820d3c51081576ac657d23af9fc7928fdb" 4163 4502 dependencies = [ 4164 4503 "getrandom 0.2.8", 4165 4504 "serde", 4166 4505 ] 4167 4506 4168 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]] 4169 4550 name = "vcpkg" 4170 4551 version = "0.2.15" 4171 4552 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4189 4570 [[package]] 4190 4571 name = "wal" 4191 4572 version = "0.1.2" 4192 - source = "git+https://github.com/qdrant/wal.git?rev=7536f9e222d55cc53f7f7507a3028b0e303976cc#7536f9e222d55cc53f7f7507a3028b0e303976cc" 4573 + source = "git+https://github.com/qdrant/wal.git?rev=9fe5a0c97c148152adacca0df238be6b1bf7d704#9fe5a0c97c148152adacca0df238be6b1bf7d704" 4193 4574 dependencies = [ 4194 4575 "byteorder", 4195 4576 "crc", 4196 4577 "crossbeam-channel", 4197 4578 "docopt", 4198 4579 "env_logger", 4199 - "fs2", 4580 + "fs4", 4200 4581 "log", 4201 4582 "memmap2", 4202 4583 "rand 0.8.5", 4203 4584 "rand_distr", 4585 + "rustix 0.37.4", 4204 4586 "serde", 4205 4587 ] 4206 4588 ··· 4263 4645 "once_cell", 4264 4646 "proc-macro2", 4265 4647 "quote", 4266 - "syn", 4648 + "syn 1.0.107", 4267 4649 "wasm-bindgen-shared", 4268 4650 ] 4269 4651 ··· 4297 4679 dependencies = [ 4298 4680 "proc-macro2", 4299 4681 "quote", 4300 - "syn", 4682 + "syn 1.0.107", 4301 4683 "wasm-bindgen-backend", 4302 4684 "wasm-bindgen-shared", 4303 4685 ] ··· 4412 4794 checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" 4413 4795 dependencies = [ 4414 4796 "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", 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", 4419 4801 "windows_x86_64_gnullvm", 4420 - "windows_x86_64_msvc 0.42.1", 4802 + "windows_x86_64_msvc 0.42.2", 4421 4803 ] 4422 4804 4423 4805 [[package]] ··· 4431 4813 4432 4814 [[package]] 4433 4815 name = "windows-targets" 4434 - version = "0.42.1" 4816 + version = "0.42.2" 4435 4817 source = "registry+https://github.com/rust-lang/crates.io-index" 4436 - checksum = "8e2522491fbfcd58cc84d47aeb2958948c4b8982e9a2d8a2a35bbaed431390e7" 4818 + checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 4437 4819 dependencies = [ 4438 4820 "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", 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", 4443 4825 "windows_x86_64_gnullvm", 4444 - "windows_x86_64_msvc 0.42.1", 4826 + "windows_x86_64_msvc 0.42.2", 4445 4827 ] 4446 4828 4447 4829 [[package]] 4448 4830 name = "windows_aarch64_gnullvm" 4449 - version = "0.42.1" 4831 + version = "0.42.2" 4450 4832 source = "registry+https://github.com/rust-lang/crates.io-index" 4451 - checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608" 4833 + checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 4452 4834 4453 4835 [[package]] 4454 4836 name = "windows_aarch64_msvc" ··· 4458 4840 4459 4841 [[package]] 4460 4842 name = "windows_aarch64_msvc" 4461 - version = "0.42.1" 4843 + version = "0.42.2" 4462 4844 source = "registry+https://github.com/rust-lang/crates.io-index" 4463 - checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7" 4845 + checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 4464 4846 4465 4847 [[package]] 4466 4848 name = "windows_i686_gnu" ··· 4470 4852 4471 4853 [[package]] 4472 4854 name = "windows_i686_gnu" 4473 - version = "0.42.1" 4855 + version = "0.42.2" 4474 4856 source = "registry+https://github.com/rust-lang/crates.io-index" 4475 - checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640" 4857 + checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 4476 4858 4477 4859 [[package]] 4478 4860 name = "windows_i686_msvc" ··· 4482 4864 4483 4865 [[package]] 4484 4866 name = "windows_i686_msvc" 4485 - version = "0.42.1" 4867 + version = "0.42.2" 4486 4868 source = "registry+https://github.com/rust-lang/crates.io-index" 4487 - checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605" 4869 + checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 4488 4870 4489 4871 [[package]] 4490 4872 name = "windows_x86_64_gnu" ··· 4494 4876 4495 4877 [[package]] 4496 4878 name = "windows_x86_64_gnu" 4497 - version = "0.42.1" 4879 + version = "0.42.2" 4498 4880 source = "registry+https://github.com/rust-lang/crates.io-index" 4499 - checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45" 4881 + checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 4500 4882 4501 4883 [[package]] 4502 4884 name = "windows_x86_64_gnullvm" 4503 - version = "0.42.1" 4885 + version = "0.42.2" 4504 4886 source = "registry+https://github.com/rust-lang/crates.io-index" 4505 - checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463" 4887 + checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 4506 4888 4507 4889 [[package]] 4508 4890 name = "windows_x86_64_msvc" ··· 4512 4894 4513 4895 [[package]] 4514 4896 name = "windows_x86_64_msvc" 4515 - version = "0.42.1" 4897 + version = "0.42.2" 4516 4898 source = "registry+https://github.com/rust-lang/crates.io-index" 4517 - checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd" 4899 + checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" 4518 4900 4519 4901 [[package]] 4520 4902 name = "winreg"
+3 -4
pkgs/servers/search/qdrant/default.nix
··· 10 10 11 11 rustPlatform.buildRustPackage rec { 12 12 pname = "qdrant"; 13 - version = "1.1.0"; 13 + version = "1.1.1"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "qdrant"; 17 17 repo = "qdrant"; 18 18 rev = "refs/tags/v${version}"; 19 - sha256 = "sha256-mNprwomTVg/C75tPciQ4J8bb42ejpVKy/RSRcQySdvU="; 19 + sha256 = "sha256-Kjao5TjVT8QVV2tKt7TTt9cYmYXRl/oPLi8UK1tc/nA="; 20 20 }; 21 21 22 22 cargoLock = { 23 23 lockFile = ./Cargo.lock; 24 24 outputHashes = { 25 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="; 26 + "wal-0.1.2" = "sha256-EfCvwgHMfyiId8VjV+yFyNqoIv6fxF8UFcw1s46hF5k="; 28 27 }; 29 28 }; 30 29
+13 -26
pkgs/tools/audio/tts/default.nix
··· 1 1 { lib 2 2 , python3 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , espeak-ng 5 6 , tts 6 7 }: ··· 8 9 let 9 10 python = python3.override { 10 11 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 12 }; 37 13 }; 38 14 in 39 15 python.pkgs.buildPythonApplication rec { 40 16 pname = "tts"; 41 - version = "0.12.0"; 17 + version = "0.13.2"; 42 18 format = "pyproject"; 43 19 44 20 src = fetchFromGitHub { ··· 47 23 rev = "refs/tags/v${version}"; 48 24 hash = "sha256-3t4JYEwQ+puGLhGl3nn93qsL8IeOwlYtHXTrnZ5Cf+w="; 49 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 + ]; 50 37 51 38 postPatch = let 52 39 relaxedConstraints = [
+1 -1
pkgs/tools/filesystems/fuse-7z-ng/default.nix
··· 34 34 ''; 35 35 36 36 meta = with lib; { 37 - inherit (src.homepage); 37 + inherit (src.meta) homepage; 38 38 description = "A FUSE-based filesystem that uses the p7zip library"; 39 39 longDescription = '' 40 40 fuse-7z-ng is a FUSE file system that uses the p7zip
+1 -1
pkgs/tools/inputmethods/fcitx5/fcitx5-qt.nix
··· 31 31 32 32 cmakeFlags = [ 33 33 # adding qt6 to buildInputs would result in error: detected mismatched Qt dependencies 34 - "-DCMAKE_PREFIX_PATH=${qt6.qtbase.dev}" 34 + "-DCMAKE_PREFIX_PATH=${qt6.qtbase}" 35 35 "-DENABLE_QT4=0" 36 36 "-DENABLE_QT6=1" 37 37 ];
+8
pkgs/top-level/all-packages.nix
··· 1173 1173 name = "keep-build-tree-hook"; 1174 1174 } ../build-support/setup-hooks/keep-build-tree.sh; 1175 1175 1176 + moveBuildTree = makeSetupHook { 1177 + name = "move-build-tree-hook"; 1178 + } ../build-support/setup-hooks/move-build-tree.sh; 1179 + 1176 1180 enableGCOVInstrumentation = makeSetupHook { 1177 1181 name = "enable-gcov-instrumentation-hook"; 1178 1182 } ../build-support/setup-hooks/enable-coverage-instrumentation.sh; ··· 35879 35883 fheroes2 = callPackage ../games/fheroes2 { }; 35880 35884 35881 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 { }; 35882 35890 35883 35891 jumpy = callPackage ../games/jumpy { }; 35884 35892