nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
371c2a63 025d8692

+1237 -1029
+1
.github/ISSUE_TEMPLATE/bug_report.md
··· 26 26 Add any other context about the problem here. 27 27 28 28 ### Notify maintainers 29 + 29 30 <!-- 30 31 Please @ people who are in the `meta.maintainers` list of the offending package or module. 31 32 If in doubt, check `git blame` for whoever last touched something.
+6 -1
.github/ISSUE_TEMPLATE/build_failure.md
··· 1 1 --- 2 2 name: Build failure 3 3 about: Create a report to help us improve 4 - title: '' 4 + title: 'Build failure: PACKAGENAME' 5 5 labels: '0.kind: build failure' 6 6 assignees: '' 7 7 8 8 --- 9 9 10 10 ### Steps To Reproduce 11 + 11 12 Steps to reproduce the behavior: 12 13 1. build *X* 13 14 14 15 ### Build log 16 + 15 17 ``` 16 18 log here if short otherwise a link to a gist 17 19 ``` 18 20 19 21 ### Additional context 22 + 20 23 Add any other context about the problem here. 21 24 22 25 ### Notify maintainers 26 + 23 27 <!-- 24 28 Please @ people who are in the `meta.maintainers` list of the offending package or module. 25 29 If in doubt, check `git blame` for whoever last touched something. 26 30 --> 27 31 28 32 ### Metadata 33 + 29 34 Please run `nix-shell -p nix-info --run "nix-info -m"` and paste the result. 30 35 31 36 ```console
+5 -5
.github/ISSUE_TEMPLATE/missing_documentation.md
··· 1 1 --- 2 2 name: Missing or incorrect documentation 3 3 about: Help us improve the Nixpkgs and NixOS reference manuals 4 - title: '' 4 + title: 'Documentation: ' 5 5 labels: '9.needs: documentation' 6 6 assignees: '' 7 7 ··· 10 10 ## Problem 11 11 12 12 <!-- describe your problem --> 13 + 14 + ## Proposal 15 + 16 + <!-- propose a solution (optional) --> 13 17 14 18 ## Checklist 15 19 ··· 29 25 [nixos-source]: https://github.com/NixOS/nixpkgs/tree/master/nixos/doc/manual 30 26 [open documentation issues]: https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+label%3A%229.needs%3A+documentation%22 31 27 [open documentation pull requests]: https://github.com/NixOS/nixpkgs/pulls?q=is%3Aopen+is%3Apr+label%3A%228.has%3A+documentation%22%2C%226.topic%3A+documentation%22 32 - 33 - ## Proposal 34 - 35 - <!-- propose a solution --> 36 28
+10 -30
.github/ISSUE_TEMPLATE/out_of_date_package_report.md
··· 1 1 --- 2 2 name: Out-of-date package reports 3 3 about: For packages that are out-of-date 4 - title: '' 4 + title: 'Update request: PACKAGENAME OLDVERSION → NEWVERSION' 5 5 labels: '9.needs: package (update)' 6 6 assignees: '' 7 7 8 8 --- 9 9 10 - 11 - ###### Checklist 12 - 13 - <!-- Note that these are hard requirements --> 14 - 15 - <!-- 16 - You can use the "Go to file" functionality on GitHub to find the package 17 - Then you can go to the history for this package 18 - Find the latest "package_name: old_version -> new_version" commit 19 - The "new_version" is the current version of the package 20 - --> 21 - - [ ] Checked the [nixpkgs master branch](https://github.com/NixOS/nixpkgs) 10 + - Package name: 11 + - Latest released version: 12 + <!-- Search your package here: https://search.nixos.org/packages?channel=unstable --> 13 + - Current version on the unstable channel: 14 + - Current version on the stable/release channel: 22 15 <!-- 23 16 Type the name of your package and try to find an open pull request for the package 24 17 If you find an open pull request, you can review it! ··· 19 26 --> 20 27 - [ ] Checked the [nixpkgs pull requests](https://github.com/NixOS/nixpkgs/pulls) 21 28 22 - ###### Project name 23 - `nix search` name: 24 - <!-- 25 - The current version can be found easily with the same process as above for checking the master branch 26 - If an open PR is present for the package, take this version as the current one and link to the PR 27 - --> 28 - current version: 29 - desired version: 29 + **Notify maintainers** 30 30 31 - ###### Notify maintainers 32 - <!-- 33 - Search your package here: https://search.nixos.org/packages?channel=unstable 34 - If no maintainer is listed for your package, tag the person that last updated the package 35 - --> 31 + <!-- If the search.nixos.org result shows no maintainers, tag the person that last updated the package. --> 36 32 37 - maintainers: 33 + ----- 38 34 39 - ###### Note for maintainers 40 - 41 - Please tag this issue in your PR. 35 + Note for maintainers: Please tag this issue in your PR.
+3 -2
.github/ISSUE_TEMPLATE/packaging_request.md
··· 1 1 --- 2 2 name: Packaging requests 3 3 about: For packages that are missing 4 - title: '' 4 + title: 'Package request: PACKAGENAME' 5 5 labels: '0.kind: packaging request' 6 6 assignees: '' 7 7 8 8 --- 9 9 10 10 **Project description** 11 - _describe the project a little_ 11 + 12 + <!-- Describe the project a little: --> 12 13 13 14 **Metadata** 14 15
+1 -2
doc/default.nix
··· 1 1 { pkgs ? (import ./.. { }), nixpkgs ? { }}: 2 2 let 3 - lib = pkgs.lib; 4 3 doc-support = import ./doc-support { inherit pkgs nixpkgs; }; 5 4 in pkgs.stdenv.mkDerivation { 6 5 name = "nixpkgs-manual"; ··· 14 15 xmlformat 15 16 ]; 16 17 17 - src = lib.cleanSource ./.; 18 + src = pkgs.nix-gitignore.gitignoreSource [] ./.; 18 19 19 20 postPatch = '' 20 21 ln -s ${doc-support} ./doc-support/result
+3 -2
doc/stdenv/stdenv.chapter.md
··· 626 626 627 627 ### The check phase {#ssec-check-phase} 628 628 629 - The check phase checks whether the package was built correctly by running its test suite. The default `checkPhase` calls `make $checkTarget`, but only if the `doCheck` variable is enabled (see below). 629 + The check phase checks whether the package was built correctly by running its test suite. The default `checkPhase` calls `make $checkTarget`, but only if the [`doCheck` variable](#var-stdenv-doCheck) is enabled. 630 630 631 631 #### Variables controlling the check phase {#variables-controlling-the-check-phase} 632 632 ··· 646 646 647 647 ##### `checkTarget` {#var-stdenv-checkTarget} 648 648 649 - The make target that runs the tests. Defaults to `check` if it exists, otherwise `test`; if neither is found, do nothing. 649 + The `make` target that runs the tests. 650 + If unset, use `check` if it exists, otherwise `test`; if neither is found, do nothing. 650 651 651 652 ##### `checkFlags` / `checkFlagsArray` {#var-stdenv-checkFlags} 652 653
+7
lib/licenses.nix
··· 343 343 free = false; 344 344 }; 345 345 346 + ecl20 = { 347 + fullName = "Educational Community License, Version 2.0"; 348 + url = "https://opensource.org/licenses/ECL-2.0"; 349 + shortName = "ECL 2.0"; 350 + spdxId = "ECL-2.0"; 351 + }; 352 + 346 353 efl10 = { 347 354 spdxId = "EFL-1.0"; 348 355 fullName = "Eiffel Forum License v1.0";
+63 -7
lib/path/default.nix
··· 4 4 5 5 inherit (builtins) 6 6 isString 7 + isPath 7 8 split 8 9 match 9 10 ; ··· 24 23 25 24 inherit (lib.asserts) 26 25 assertMsg 26 + ; 27 + 28 + inherit (lib.path.subpath) 29 + isValid 27 30 ; 28 31 29 32 # Return the reason why a subpath is invalid, or `null` if it's valid ··· 99 94 100 95 in /* No rec! Add dependencies on this file at the top. */ { 101 96 97 + /* Append a subpath string to a path. 98 + 99 + Like `path + ("/" + string)` but safer, because it errors instead of returning potentially surprising results. 100 + More specifically, it checks that the first argument is a [path value type](https://nixos.org/manual/nix/stable/language/values.html#type-path"), 101 + and that the second argument is a valid subpath string (see `lib.path.subpath.isValid`). 102 + 103 + Type: 104 + append :: Path -> String -> Path 105 + 106 + Example: 107 + append /foo "bar/baz" 108 + => /foo/bar/baz 109 + 110 + # subpaths don't need to be normalised 111 + append /foo "./bar//baz/./" 112 + => /foo/bar/baz 113 + 114 + # can append to root directory 115 + append /. "foo/bar" 116 + => /foo/bar 117 + 118 + # first argument needs to be a path value type 119 + append "/foo" "bar" 120 + => <error> 121 + 122 + # second argument needs to be a valid subpath string 123 + append /foo /bar 124 + => <error> 125 + append /foo "" 126 + => <error> 127 + append /foo "/bar" 128 + => <error> 129 + append /foo "../bar" 130 + => <error> 131 + */ 132 + append = 133 + # The absolute path to append to 134 + path: 135 + # The subpath string to append 136 + subpath: 137 + assert assertMsg (isPath path) '' 138 + lib.path.append: The first argument is of type ${builtins.typeOf path}, but a path was expected''; 139 + assert assertMsg (isValid subpath) '' 140 + lib.path.append: Second argument is not a valid subpath string: 141 + ${subpathInvalidReason subpath}''; 142 + path + ("/" + subpath); 102 143 103 144 /* Whether a value is a valid subpath string. 104 145 ··· 184 133 subpath.isValid "./foo//bar/" 185 134 => true 186 135 */ 187 - subpath.isValid = value: 136 + subpath.isValid = 137 + # The value to check 138 + value: 188 139 subpathInvalidReason value == null; 189 140 190 141 ··· 203 150 204 151 Laws: 205 152 206 - - (Idempotency) Normalising multiple times gives the same result: 153 + - Idempotency - normalising multiple times gives the same result: 207 154 208 155 subpath.normalise (subpath.normalise p) == subpath.normalise p 209 156 210 - - (Uniqueness) There's only a single normalisation for the paths that lead to the same file system node: 157 + - Uniqueness - there's only a single normalisation for the paths that lead to the same file system node: 211 158 212 159 subpath.normalise p != subpath.normalise q -> $(realpath ${p}) != $(realpath ${q}) 213 160 ··· 263 210 subpath.normalise "/foo" 264 211 => <error> 265 212 */ 266 - subpath.normalise = path: 267 - assert assertMsg (subpathInvalidReason path == null) 268 - "lib.path.subpath.normalise: Argument is not a valid subpath string: ${subpathInvalidReason path}"; 269 - joinRelPath (splitRelPath path); 213 + subpath.normalise = 214 + # The subpath string to normalise 215 + subpath: 216 + assert assertMsg (isValid subpath) '' 217 + lib.path.subpath.normalise: Argument is not a valid subpath string: 218 + ${subpathInvalidReason subpath}''; 219 + joinRelPath (splitRelPath subpath); 270 220 271 221 }
+39 -1
lib/path/tests/unit.nix
··· 3 3 { libpath }: 4 4 let 5 5 lib = import libpath; 6 - inherit (lib.path) subpath; 6 + inherit (lib.path) append subpath; 7 7 8 8 cases = lib.runTests { 9 + # Test examples from the lib.path.append documentation 10 + testAppendExample1 = { 11 + expr = append /foo "bar/baz"; 12 + expected = /foo/bar/baz; 13 + }; 14 + testAppendExample2 = { 15 + expr = append /foo "./bar//baz/./"; 16 + expected = /foo/bar/baz; 17 + }; 18 + testAppendExample3 = { 19 + expr = append /. "foo/bar"; 20 + expected = /foo/bar; 21 + }; 22 + testAppendExample4 = { 23 + expr = (builtins.tryEval (append "/foo" "bar")).success; 24 + expected = false; 25 + }; 26 + testAppendExample5 = { 27 + expr = (builtins.tryEval (append /foo /bar)).success; 28 + expected = false; 29 + }; 30 + testAppendExample6 = { 31 + expr = (builtins.tryEval (append /foo "")).success; 32 + expected = false; 33 + }; 34 + testAppendExample7 = { 35 + expr = (builtins.tryEval (append /foo "/bar")).success; 36 + expected = false; 37 + }; 38 + testAppendExample8 = { 39 + expr = (builtins.tryEval (append /foo "../bar")).success; 40 + expected = false; 41 + }; 42 + 43 + # Test examples from the lib.path.subpath.isValid documentation 9 44 testSubpathIsValidExample1 = { 10 45 expr = subpath.isValid null; 11 46 expected = false; ··· 65 30 expr = subpath.isValid "./foo//bar/"; 66 31 expected = true; 67 32 }; 33 + # Some extra tests 68 34 testSubpathIsValidTwoDotsEnd = { 69 35 expr = subpath.isValid "foo/.."; 70 36 expected = false; ··· 107 71 expected = true; 108 72 }; 109 73 74 + # Test examples from the lib.path.subpath.normalise documentation 110 75 testSubpathNormaliseExample1 = { 111 76 expr = subpath.normalise "foo//bar"; 112 77 expected = "./foo/bar"; ··· 144 107 expr = (builtins.tryEval (subpath.normalise "/foo")).success; 145 108 expected = false; 146 109 }; 110 + # Some extra tests 147 111 testSubpathNormaliseIsValidDots = { 148 112 expr = subpath.normalise "./foo/.bar/.../baz...qux"; 149 113 expected = "./foo/.bar/.../baz...qux";
+6
maintainers/maintainer-list.nix
··· 6071 6071 githubId = 1592375; 6072 6072 name = "Walter Huf"; 6073 6073 }; 6074 + hughobrien = { 6075 + email = "github@hughobrien.ie"; 6076 + github = "hughobrien"; 6077 + githubId = 3400690; 6078 + name = "Hugh O'Brien"; 6079 + }; 6074 6080 hugolgst = { 6075 6081 email = "hugo.lageneste@pm.me"; 6076 6082 github = "hugolgst";
+1 -1
nixos/doc/manual/configuration/xfce.chapter.md
··· 54 54 $ xfconf-query -c xfce4-session -p /compat/LaunchGNOME -s true 55 55 ``` 56 56 57 - A log-out and re-log will be needed for this to take effect. 57 + It is necessary to log out and log in again for this to take effect.
+2 -1
nixos/doc/manual/from_md/configuration/xfce.chapter.xml
··· 63 63 $ xfconf-query -c xfce4-session -p /compat/LaunchGNOME -s true 64 64 </programlisting> 65 65 <para> 66 - A log-out and re-log will be needed for this to take effect. 66 + It is necessary to log out and log in again for this to take 67 + effect. 67 68 </para> 68 69 </section> 69 70 </chapter>
+26 -24
nixos/lib/test-driver/test_driver/machine.py
··· 1 - from contextlib import _GeneratorContextManager 1 + from contextlib import _GeneratorContextManager, nullcontext 2 2 from pathlib import Path 3 3 from queue import Queue 4 4 from typing import Any, Callable, Dict, Iterable, List, Optional, Tuple ··· 406 406 return rootlog.nested(msg, my_attrs) 407 407 408 408 def wait_for_monitor_prompt(self) -> str: 409 - with self.nested("waiting for monitor prompt"): 410 - assert self.monitor is not None 411 - answer = "" 412 - while True: 413 - undecoded_answer = self.monitor.recv(1024) 414 - if not undecoded_answer: 415 - break 416 - answer += undecoded_answer.decode() 417 - if answer.endswith("(qemu) "): 418 - break 419 - return answer 409 + assert self.monitor is not None 410 + answer = "" 411 + while True: 412 + undecoded_answer = self.monitor.recv(1024) 413 + if not undecoded_answer: 414 + break 415 + answer += undecoded_answer.decode() 416 + if answer.endswith("(qemu) "): 417 + break 418 + return answer 420 419 421 420 def send_monitor_command(self, command: str) -> str: 422 421 self.run_callbacks() 423 - with self.nested(f"sending monitor command: {command}"): 424 - message = f"{command}\n".encode() 425 - assert self.monitor is not None 426 - self.monitor.send(message) 427 - return self.wait_for_monitor_prompt() 422 + message = f"{command}\n".encode() 423 + assert self.monitor is not None 424 + self.monitor.send(message) 425 + return self.wait_for_monitor_prompt() 428 426 429 427 def wait_for_unit( 430 428 self, unit: str, user: Optional[str] = None, timeout: int = 900 ··· 545 547 self.shell.send("echo ${PIPESTATUS[0]}\n".encode()) 546 548 rc = int(self._next_newline_closed_block_from_shell().strip()) 547 549 548 - return (rc, output.decode()) 550 + return (rc, output.decode(errors="replace")) 549 551 550 552 def shell_interact(self, address: Optional[str] = None) -> None: 551 553 """Allows you to interact with the guest shell for debugging purposes. ··· 683 685 retry(tty_matches) 684 686 685 687 def send_chars(self, chars: str, delay: Optional[float] = 0.01) -> None: 686 - with self.nested(f"sending keys '{chars}'"): 688 + with self.nested(f"sending keys {repr(chars)}"): 687 689 for char in chars: 688 - self.send_key(char, delay) 690 + self.send_key(char, delay, log=False) 689 691 690 692 def wait_for_file(self, filename: str) -> None: 691 693 """Waits until the file exists in machine's file system.""" ··· 858 860 if matches is not None: 859 861 return 860 862 861 - def send_key(self, key: str, delay: Optional[float] = 0.01) -> None: 863 + def send_key( 864 + self, key: str, delay: Optional[float] = 0.01, log: Optional[bool] = True 865 + ) -> None: 862 866 key = CHAR_TO_KEY.get(key, key) 863 - self.send_monitor_command(f"sendkey {key}") 864 - if delay is not None: 865 - time.sleep(delay) 867 + context = self.nested(f"sending key {repr(key)}") if log else nullcontext() 868 + with context: 869 + self.send_monitor_command(f"sendkey {key}") 870 + if delay is not None: 871 + time.sleep(delay) 866 872 867 873 def send_console(self, chars: str) -> None: 868 874 assert self.process
+99 -20
nixos/modules/hardware/video/nvidia.nix
··· 21 21 pCfg = cfg.prime; 22 22 syncCfg = pCfg.sync; 23 23 offloadCfg = pCfg.offload; 24 - primeEnabled = syncCfg.enable || offloadCfg.enable; 24 + reverseSyncCfg = pCfg.reverseSync; 25 + primeEnabled = syncCfg.enable || reverseSyncCfg.enable || offloadCfg.enable; 25 26 nvidiaPersistencedEnabled = cfg.nvidiaPersistenced; 26 27 nvidiaSettings = cfg.nvidiaSettings; 27 28 busIDType = types.strMatching "([[:print:]]+[\:\@][0-9]{1,3}\:[0-9]{1,2}\:[0-9])?"; ··· 32 31 imports = 33 32 [ 34 33 (mkRenamedOptionModule [ "hardware" "nvidia" "optimus_prime" "enable" ] [ "hardware" "nvidia" "prime" "sync" "enable" ]) 35 - (mkRenamedOptionModule [ "hardware" "nvidia" "optimus_prime" "allowExternalGpu" ] [ "hardware" "nvidia" "prime" "sync" "allowExternalGpu" ]) 34 + (mkRenamedOptionModule [ "hardware" "nvidia" "optimus_prime" "allowExternalGpu" ] [ "hardware" "nvidia" "prime" "allowExternalGpu" ]) 35 + (mkRenamedOptionModule [ "hardware" "nvidia" "prime" "sync" "allowExternalGpu" ] [ "hardware" "nvidia" "prime" "allowExternalGpu" ]) 36 36 (mkRenamedOptionModule [ "hardware" "nvidia" "optimus_prime" "nvidiaBusId" ] [ "hardware" "nvidia" "prime" "nvidiaBusId" ]) 37 37 (mkRenamedOptionModule [ "hardware" "nvidia" "optimus_prime" "intelBusId" ] [ "hardware" "nvidia" "prime" "intelBusId" ]) 38 38 ]; ··· 106 104 description = lib.mdDoc '' 107 105 Enable NVIDIA Optimus support using the NVIDIA proprietary driver via PRIME. 108 106 If enabled, the NVIDIA GPU will be always on and used for all rendering, 109 - while enabling output to displays attached only to the integrated Intel GPU 110 - without a multiplexer. 107 + while enabling output to displays attached only to the integrated Intel/AMD 108 + GPU without a multiplexer. 111 109 112 110 Note that this option only has any effect if the "nvidia" driver is specified 113 111 in {option}`services.xserver.videoDrivers`, and it should preferably 114 112 be the only driver there. 115 113 116 - If this is enabled, then the bus IDs of the NVIDIA and Intel GPUs have to be 117 - specified ({option}`hardware.nvidia.prime.nvidiaBusId` and 118 - {option}`hardware.nvidia.prime.intelBusId`). 114 + If this is enabled, then the bus IDs of the NVIDIA and Intel/AMD GPUs have to 115 + be specified ({option}`hardware.nvidia.prime.nvidiaBusId` and 116 + {option}`hardware.nvidia.prime.intelBusId` or 117 + {option}`hardware.nvidia.prime.amdgpuBusId`). 119 118 120 119 If you enable this, you may want to also enable kernel modesetting for the 121 120 NVIDIA driver ({option}`hardware.nvidia.modesetting.enable`) in order ··· 128 125 ''; 129 126 }; 130 127 131 - hardware.nvidia.prime.sync.allowExternalGpu = mkOption { 128 + hardware.nvidia.prime.allowExternalGpu = mkOption { 132 129 type = types.bool; 133 130 default = false; 134 131 description = lib.mdDoc '' 135 - Configure X to allow external NVIDIA GPUs when using optimus. 132 + Configure X to allow external NVIDIA GPUs when using Prime [Reverse] sync optimus. 136 133 ''; 137 134 }; 138 135 ··· 142 139 description = lib.mdDoc '' 143 140 Enable render offload support using the NVIDIA proprietary driver via PRIME. 144 141 145 - If this is enabled, then the bus IDs of the NVIDIA and Intel GPUs have to be 146 - specified ({option}`hardware.nvidia.prime.nvidiaBusId` and 147 - {option}`hardware.nvidia.prime.intelBusId`). 142 + If this is enabled, then the bus IDs of the NVIDIA and Intel/AMD GPUs have to 143 + be specified ({option}`hardware.nvidia.prime.nvidiaBusId` and 144 + {option}`hardware.nvidia.prime.intelBusId` or 145 + {option}`hardware.nvidia.prime.amdgpuBusId`). 146 + ''; 147 + }; 148 + 149 + hardware.nvidia.prime.offload.enableOffloadCmd = mkOption { 150 + type = types.bool; 151 + default = false; 152 + description = lib.mdDoc '' 153 + Adds a `nvidia-offload` convenience script to {option}`environment.systemPackages` 154 + for offloading programs to an nvidia device. To work, should have also enabled 155 + {option}`hardware.nvidia.prime.offload.enable` or {option}`hardware.nvidia.prime.reverseSync.enable`. 156 + 157 + Example usage `nvidia-offload sauerbraten_client`. 158 + ''; 159 + }; 160 + 161 + hardware.nvidia.prime.reverseSync.enable = mkOption { 162 + type = types.bool; 163 + default = false; 164 + description = lib.mdDoc '' 165 + Warning: This feature is relatively new, depending on your system this might 166 + work poorly. AMD support, especially so. 167 + See: https://forums.developer.nvidia.com/t/the-all-new-outputsink-feature-aka-reverse-prime/129828 168 + 169 + Enable NVIDIA Optimus support using the NVIDIA proprietary driver via reverse 170 + PRIME. If enabled, the Intel/AMD GPU will be used for all rendering, while 171 + enabling output to displays attached only to the NVIDIA GPU without a 172 + multiplexer. 173 + 174 + Note that this option only has any effect if the "nvidia" driver is specified 175 + in {option}`services.xserver.videoDrivers`, and it should preferably 176 + be the only driver there. 177 + 178 + If this is enabled, then the bus IDs of the NVIDIA and Intel/AMD GPUs have to 179 + be specified ({option}`hardware.nvidia.prime.nvidiaBusId` and 180 + {option}`hardware.nvidia.prime.intelBusId` or 181 + {option}`hardware.nvidia.prime.amdgpuBusId`). 182 + 183 + If you enable this, you may want to also enable kernel modesetting for the 184 + NVIDIA driver ({option}`hardware.nvidia.modesetting.enable`) in order 185 + to prevent tearing. 186 + 187 + Note that this configuration will only be successful when a display manager 188 + for which the {option}`services.xserver.displayManager.setupCommands` 189 + option is supported is used. 148 190 ''; 149 191 }; 150 192 ··· 254 206 } 255 207 256 208 { 209 + assertion = offloadCfg.enableOffloadCmd -> offloadCfg.enable || reverseSyncCfg.enable; 210 + message = '' 211 + Offload command requires offloading or reverse prime sync to be enabled. 212 + ''; 213 + } 214 + 215 + { 257 216 assertion = primeEnabled -> pCfg.nvidiaBusId != "" && (pCfg.intelBusId != "" || pCfg.amdgpuBusId != ""); 258 217 message = '' 259 218 When NVIDIA PRIME is enabled, the GPU bus IDs must configured. ··· 273 218 } 274 219 275 220 { 221 + assertion = (reverseSyncCfg.enable && pCfg.amdgpuBusId != "") -> versionAtLeast nvidia_x11.version "470.0"; 222 + message = "NVIDIA PRIME render offload for AMD APUs is currently only supported on versions >= 470 beta."; 223 + } 224 + 225 + { 276 226 assertion = !(syncCfg.enable && offloadCfg.enable); 277 - message = "Only one NVIDIA PRIME solution may be used at a time."; 227 + message = "PRIME Sync and Offload cannot be both enabled"; 228 + } 229 + 230 + { 231 + assertion = !(syncCfg.enable && reverseSyncCfg.enable); 232 + message = "PRIME Sync and PRIME Reverse Sync cannot be both enabled"; 278 233 } 279 234 280 235 { ··· 322 257 # - Configure the display manager to run specific `xrandr` commands which will 323 258 # configure/enable displays connected to the Intel iGPU / AMD APU. 324 259 325 - services.xserver.drivers = let 326 - in optional primeEnabled { 260 + # reverse sync implies offloading 261 + hardware.nvidia.prime.offload.enable = mkDefault reverseSyncCfg.enable; 262 + 263 + services.xserver.drivers = optional primeEnabled { 327 264 name = igpuDriver; 328 265 display = offloadCfg.enable; 329 266 modules = optionals (igpuDriver == "amdgpu") [ pkgs.xorg.xf86videoamdgpu ]; ··· 340 273 deviceSection = optionalString primeEnabled 341 274 '' 342 275 BusID "${pCfg.nvidiaBusId}" 343 - ${optionalString syncCfg.allowExternalGpu "Option \"AllowExternalGpus\""} 276 + ${optionalString pCfg.allowExternalGpu "Option \"AllowExternalGpus\""} 344 277 ''; 345 278 screenSection = 346 279 '' ··· 357 290 358 291 services.xserver.serverLayoutSection = optionalString syncCfg.enable '' 359 292 Inactive "Device-${igpuDriver}[0]" 293 + '' + optionalString reverseSyncCfg.enable '' 294 + Inactive "Device-nvidia[0]" 360 295 '' + optionalString offloadCfg.enable '' 361 296 Option "AllowNVIDIAGPUScreens" 362 297 ''; 363 298 364 299 services.xserver.displayManager.setupCommands = let 365 - sinkGpuProviderName = if igpuDriver == "amdgpu" then 300 + gpuProviderName = if igpuDriver == "amdgpu" then 366 301 # find the name of the provider if amdgpu 367 302 "`${pkgs.xorg.xrandr}/bin/xrandr --listproviders | ${pkgs.gnugrep}/bin/grep -i AMD | ${pkgs.gnused}/bin/sed -n 's/^.*name://p'`" 368 303 else 369 304 igpuDriver; 370 - in optionalString syncCfg.enable '' 305 + providerCmdParams = if syncCfg.enable then "\"${gpuProviderName}\" NVIDIA-0" else "NVIDIA-G0 \"${gpuProviderName}\""; 306 + in optionalString (syncCfg.enable || reverseSyncCfg.enable) '' 371 307 # Added by nvidia configuration module for Optimus/PRIME. 372 - ${pkgs.xorg.xrandr}/bin/xrandr --setprovideroutputsource "${sinkGpuProviderName}" NVIDIA-0 308 + ${pkgs.xorg.xrandr}/bin/xrandr --setprovideroutputsource ${providerCmdParams} 373 309 ${pkgs.xorg.xrandr}/bin/xrandr --auto 374 310 ''; 375 311 ··· 395 325 396 326 environment.systemPackages = [ nvidia_x11.bin ] 397 327 ++ optionals cfg.nvidiaSettings [ nvidia_x11.settings ] 398 - ++ optionals nvidiaPersistencedEnabled [ nvidia_x11.persistenced ]; 328 + ++ optionals nvidiaPersistencedEnabled [ nvidia_x11.persistenced ] 329 + ++ optionals offloadCfg.enableOffloadCmd [ 330 + (pkgs.writeShellScriptBin "nvidia-offload" '' 331 + export __NV_PRIME_RENDER_OFFLOAD=1 332 + export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 333 + export __GLX_VENDOR_LIBRARY_NAME=nvidia 334 + export __VK_LAYER_NV_optimus=NVIDIA_only 335 + exec "$@" 336 + '') 337 + ]; 399 338 400 339 systemd.packages = optional cfg.powerManagement.enable nvidia_x11.out; 401 340
+5 -1
nixos/modules/services/mail/roundcube.nix
··· 150 150 root = cfg.package; 151 151 index = "index.php"; 152 152 extraConfig = '' 153 - location ~* \.php$ { 153 + location ~* \.php(/|$) { 154 154 fastcgi_split_path_info ^(.+\.php)(/.+)$; 155 155 fastcgi_pass unix:${fpm.socket}; 156 + 157 + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 158 + fastcgi_param PATH_INFO $fastcgi_path_info; 159 + 156 160 include ${config.services.nginx.package}/conf/fastcgi_params; 157 161 include ${pkgs.nginx}/conf/fastcgi.conf; 158 162 }
+1
nixos/tests/all-tests.nix
··· 248 248 gnome = handleTest ./gnome.nix {}; 249 249 gnome-flashback = handleTest ./gnome-flashback.nix {}; 250 250 gnome-xorg = handleTest ./gnome-xorg.nix {}; 251 + gnupg = handleTest ./gnupg.nix {}; 251 252 go-neb = handleTest ./go-neb.nix {}; 252 253 gobgpd = handleTest ./gobgpd.nix {}; 253 254 gocd-agent = handleTest ./gocd-agent.nix {};
+118
nixos/tests/gnupg.nix
··· 1 + import ./make-test-python.nix ({ pkgs, lib, ...}: 2 + 3 + { 4 + name = "gnupg"; 5 + meta = with lib.maintainers; { 6 + maintainers = [ rnhmjoj ]; 7 + }; 8 + 9 + # server for testing SSH 10 + nodes.server = { ... }: { 11 + imports = [ ../modules/profiles/minimal.nix ]; 12 + 13 + users.users.alice.isNormalUser = true; 14 + services.openssh.enable = true; 15 + }; 16 + 17 + # machine for testing GnuPG 18 + nodes.machine = { pkgs, ... }: { 19 + imports = [ ../modules/profiles/minimal.nix ]; 20 + 21 + users.users.alice.isNormalUser = true; 22 + services.getty.autologinUser = "alice"; 23 + 24 + environment.shellInit = '' 25 + # preset a key passphrase in gpg-agent 26 + preset_key() { 27 + # find all keys 28 + case "$1" in 29 + ssh) grips=$(awk '/^[0-9A-F]/{print $1}' "''${GNUPGHOME:-$HOME/.gnupg}/sshcontrol") ;; 30 + pgp) grips=$(gpg --with-keygrip --list-secret-keys | awk '/Keygrip/{print $3}') ;; 31 + esac 32 + 33 + # try to preset the passphrase for each key found 34 + for grip in $grips; do 35 + "$(gpgconf --list-dirs libexecdir)/gpg-preset-passphrase" -c -P "$2" "$grip" 36 + done 37 + } 38 + ''; 39 + 40 + programs.gnupg.agent.enable = true; 41 + programs.gnupg.agent.enableSSHSupport = true; 42 + }; 43 + 44 + testScript = 45 + '' 46 + import shlex 47 + 48 + 49 + def as_alice(command: str) -> str: 50 + """ 51 + Wraps a command to run it as Alice in a login shell 52 + """ 53 + quoted = shlex.quote(command) 54 + return "su --login alice --command " + quoted 55 + 56 + 57 + start_all() 58 + 59 + with subtest("Wait for the autologin"): 60 + machine.wait_until_tty_matches("1", "alice@machine") 61 + 62 + with subtest("Can generate a PGP key"): 63 + # Note: this needs a tty because of pinentry 64 + machine.send_chars("gpg --gen-key\n") 65 + machine.wait_until_tty_matches("1", "Real name:") 66 + machine.send_chars("Alice\n") 67 + machine.wait_until_tty_matches("1", "Email address:") 68 + machine.send_chars("alice@machine\n") 69 + machine.wait_until_tty_matches("1", "Change") 70 + machine.send_chars("O\n") 71 + machine.wait_until_tty_matches("1", "Please enter") 72 + machine.send_chars("pgp_p4ssphrase\n") 73 + machine.wait_until_tty_matches("1", "Please re-enter") 74 + machine.send_chars("pgp_p4ssphrase\n") 75 + machine.wait_until_tty_matches("1", "public and secret key created") 76 + 77 + with subtest("Confirm the key is in the keyring"): 78 + machine.wait_until_succeeds(as_alice("gpg --list-secret-keys | grep -q alice@machine")) 79 + 80 + with subtest("Can generate and add an SSH key"): 81 + machine.succeed(as_alice("ssh-keygen -t ed25519 -f alice -N ssh_p4ssphrase")) 82 + 83 + # Note: apparently this must be run before using the OpenSSH agent 84 + # socket for the first time in a tty. It's not needed for `ssh` 85 + # because there's a hook that calls it automatically (only in NixOS). 86 + machine.send_chars("gpg-connect-agent updatestartuptty /bye\n") 87 + 88 + # Note: again, this needs a tty because of pinentry 89 + machine.send_chars("ssh-add alice\n") 90 + machine.wait_until_tty_matches("1", "Enter passphrase") 91 + machine.send_chars("ssh_p4ssphrase\n") 92 + machine.wait_until_tty_matches("1", "Please enter") 93 + machine.send_chars("ssh_agent_p4ssphrase\n") 94 + machine.wait_until_tty_matches("1", "Please re-enter") 95 + machine.send_chars("ssh_agent_p4ssphrase\n") 96 + 97 + with subtest("Confirm the SSH key has been registered"): 98 + machine.wait_until_succeeds(as_alice("ssh-add -l | grep -q alice@machine")) 99 + 100 + with subtest("Can preset the key passphrases in the agent"): 101 + machine.succeed(as_alice("echo allow-preset-passphrase > .gnupg/gpg-agent.conf")) 102 + machine.succeed(as_alice("pkill gpg-agent")) 103 + machine.succeed(as_alice("preset_key pgp pgp_p4ssphrase")) 104 + machine.succeed(as_alice("preset_key ssh ssh_agent_p4ssphrase")) 105 + 106 + with subtest("Can encrypt and decrypt a message"): 107 + machine.succeed(as_alice("echo Hello | gpg -e -r alice | gpg -d | grep -q Hello")) 108 + 109 + with subtest("Can log into the server"): 110 + # Install Alice's public key 111 + public_key = machine.succeed(as_alice("cat alice.pub")) 112 + server.succeed("mkdir /etc/ssh/authorized_keys.d") 113 + server.succeed(f"printf '{public_key}' > /etc/ssh/authorized_keys.d/alice") 114 + 115 + server.wait_for_open_port(22) 116 + machine.succeed(as_alice("ssh -i alice -o StrictHostKeyChecking=no server exit")) 117 + ''; 118 + })
+38 -10
pkgs/applications/audio/bambootracker/default.nix
··· 1 - { mkDerivation 2 - , stdenv 1 + { stdenv 3 2 , lib 4 3 , fetchFromGitHub 5 - , qmake 6 4 , pkg-config 7 - , qttools 5 + , qmake 6 + , qt5compat ? null 8 7 , qtbase 8 + , qttools 9 9 , rtaudio 10 10 , rtmidi 11 + , wrapQtAppsHook 11 12 }: 12 13 13 - mkDerivation rec { 14 + assert lib.versionAtLeast qtbase.version "6.0" -> qt5compat != null; 15 + 16 + stdenv.mkDerivation rec { 14 17 pname = "bambootracker"; 15 - version = "0.6.0"; 18 + version = "0.6.1"; 16 19 17 20 src = fetchFromGitHub { 18 21 owner = "BambooTracker"; 19 22 repo = "BambooTracker"; 20 23 rev = "v${version}"; 21 24 fetchSubmodules = true; 22 - sha256 = "sha256-yubaKTc8NFLxMY0/5c2VubRHgAGOsRlitmXJ1UHzl60="; 25 + hash = "sha256-Ymi1tjJCgStF0Rtseelq/YuTtBs2PrbF898TlbjyYUw="; 23 26 }; 24 27 25 - nativeBuildInputs = [ qmake qttools pkg-config ]; 28 + postPatch = lib.optionalString (lib.versionAtLeast qtbase.version "6.0") '' 29 + # Work around lrelease finding in qmake being broken by using pre-Qt5.12 code path 30 + # https://github.com/NixOS/nixpkgs/issues/214765 31 + substituteInPlace BambooTracker/lang/lang.pri \ 32 + --replace 'equals(QT_MAJOR_VERSION, 5):lessThan(QT_MINOR_VERSION, 12)' 'if(true)' 33 + ''; 26 34 27 - buildInputs = [ qtbase rtaudio rtmidi ]; 35 + nativeBuildInputs = [ 36 + pkg-config 37 + qmake 38 + qttools 39 + wrapQtAppsHook 40 + ]; 28 41 29 - qmakeFlags = [ "CONFIG+=system_rtaudio" "CONFIG+=system_rtmidi" ]; 42 + buildInputs = [ 43 + qtbase 44 + rtaudio 45 + rtmidi 46 + ] ++ lib.optionals (lib.versionAtLeast qtbase.version "6.0") [ 47 + qt5compat 48 + ]; 49 + 50 + qmakeFlags = [ 51 + "CONFIG+=system_rtaudio" 52 + "CONFIG+=system_rtmidi" 53 + ]; 30 54 31 55 postConfigure = "make qmake_all"; 56 + 57 + # Wrapping the inside of the app bundles, avoiding double-wrapping 58 + dontWrapQtApps = stdenv.hostPlatform.isDarwin; 32 59 33 60 postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' 34 61 mkdir -p $out/Applications 35 62 mv $out/{bin,Applications}/BambooTracker.app 36 63 ln -s $out/{Applications/BambooTracker.app/Contents/MacOS,bin}/BambooTracker 64 + wrapQtApp $out/Applications/BambooTracker.app/Contents/MacOS/BambooTracker 37 65 ''; 38 66 39 67 meta = with lib; {
+10 -10
pkgs/applications/audio/lollypop/default.nix
··· 1 1 { lib 2 - , fetchgit 2 + , fetchFromGitLab 3 3 , nix-update-script 4 4 , meson 5 5 , ninja ··· 9 9 , gst_all_1 10 10 , libhandy 11 11 , libsecret 12 - , libsoup 12 + , libsoup_3 13 13 , appstream-glib 14 14 , desktop-file-utils 15 15 , totem-pl-parser ··· 25 25 26 26 python3.pkgs.buildPythonApplication rec { 27 27 pname = "lollypop"; 28 - version = "1.4.35"; 28 + version = "1.4.37"; 29 29 30 30 format = "other"; 31 - doCheck = false; 32 31 33 - src = fetchgit { 34 - url = "https://gitlab.gnome.org/World/lollypop"; 35 - rev = "refs/tags/${version}"; 32 + src = fetchFromGitLab { 33 + domain = "gitlab.gnome.org"; 34 + owner = "World"; 35 + repo = pname; 36 + rev = version; 36 37 fetchSubmodules = true; 37 - sha256 = "sha256-Rdp0gZjdj2tXOWarsTpqgvSZVXAQsCLfk5oUyalE/ZA="; 38 + sha256 = "sha256-3GPmGNbbSxvLq0t3F9q1x64BwNQCEvFQWLb0bSO9KUY="; 38 39 }; 39 40 40 41 nativeBuildInputs = [ ··· 60 59 gstreamer 61 60 gtk3 62 61 libhandy 63 - libsoup 62 + libsoup_3 64 63 pango 65 64 totem-pl-parser 66 65 ] ++ lib.optional lastFMSupport libsecret; ··· 98 97 passthru = { 99 98 updateScript = nix-update-script { }; 100 99 }; 101 - 102 100 103 101 meta = with lib; { 104 102 changelog = "https://gitlab.gnome.org/World/lollypop/tags/${version}";
+34
pkgs/applications/audio/pbpctrl/default.nix
··· 1 + { rustPlatform 2 + , fetchFromGitHub 3 + , pkg-config 4 + , dbus 5 + , protobuf 6 + , lib 7 + }: 8 + 9 + rustPlatform.buildRustPackage rec { 10 + pname = "pbpctrl"; 11 + 12 + # https://github.com/qzed/pbpctrl/issues/4 13 + version = "unstable-2023-02-07"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "qzed"; 17 + repo = "${pname}"; 18 + rev = "9fef4bb88046a9f00719b189f8e378c8dbdb8ee6"; 19 + hash = "sha256-8YbsBqqITJ9bKzbGX6d/CSBb8wzr6bDzy8vsyntL1CA="; 20 + }; 21 + 22 + cargoHash = "sha256-ZxJjjaT/ZpEPxvO42UWBy3xW/V5dhXGsKn3KmuM89YA=="; 23 + 24 + nativeBuildInputs = [ pkg-config protobuf ]; 25 + buildInputs = [ dbus ]; 26 + 27 + meta = with lib; { 28 + description = "Control Google Pixel Buds Pro from the Linux command line."; 29 + homepage = "https://github.com/qzed/pbpctrl"; 30 + license = with licenses; [ asl20 mit ]; 31 + maintainers = [ maintainers.vanilla ]; 32 + platforms = platforms.linux; 33 + }; 34 + }
+3 -3
pkgs/applications/audio/shortwave/default.nix
··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "shortwave"; 26 - version = "3.1.0"; 26 + version = "3.2.0"; 27 27 28 28 src = fetchFromGitLab { 29 29 domain = "gitlab.gnome.org"; 30 30 owner = "World"; 31 31 repo = "Shortwave"; 32 32 rev = version; 33 - sha256 = "sha256-N0ftIq0+sxkpo56IGHZYAK6MgRNW7T6C2jWEiJsYy/Y="; 33 + sha256 = "sha256-ESZ1yD1IuBar8bv83xMczZbtPtHbWRpe2yMVyr7K5gQ="; 34 34 }; 35 35 36 36 cargoDeps = rustPlatform.fetchCargoTarball { 37 37 inherit src; 38 38 name = "${pname}-${version}"; 39 - hash = "sha256-90JBN3cJKqIJX6DRq5FtEpIr5Isxf+jb1SlxGMbBwMQ="; 39 + hash = "sha256-8W46bGAitR2YbZbnsigAZMW5pSFTkDAe5JNaNOH5JfA="; 40 40 }; 41 41 42 42 nativeBuildInputs = [
+3 -3
pkgs/applications/audio/spotify-player/default.nix
··· 11 11 12 12 rustPlatform.buildRustPackage rec { 13 13 pname = "spotify-player"; 14 - version = "0.10.0"; 14 + version = "0.11.1"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "aome510"; 18 18 repo = pname; 19 19 rev = "v${version}"; 20 - sha256 = "sha256-bHPWpx8EJibr2kNuzuGAQPZ0DE6qeJwIRYDy+NFS/PQ="; 20 + sha256 = "sha256-iaDaPjh2wZXxBxBDhWp+hHrJZyXqw6HSzgCzbZj9iho="; 21 21 }; 22 22 23 - cargoSha256 = "sha256-QeQ3PYI5RmbJ+VQ9hLSTXgQXVVoID5zbRqSTrbWzVy8="; 23 + cargoHash = "sha256-I8n/fR1aOsSex2p0u5FaqoJCh2J0oMxkikS9aynxgpA="; 24 24 25 25 nativeBuildInputs = [ 26 26 pkg-config
+1 -1
pkgs/applications/editors/eclipse/default.nix
··· 103 103 fetchurl { 104 104 url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-SDK-${platform_major}.${platform_minor}-linux-gtk-${arch}.tar.gz"; 105 105 hash = { 106 - x86_64 = "sha512-hmdWGteMDt4HhYq+k9twuftalpTzHtGnVVLphZcpJcw+6vJfersciDMaeLRqbCAeFbzJdgzjYo76bpP6FubySw=="; 106 + x86_64 = "sha512-yH4/K9sBLCUc2EVYwPL0dLql/S3AfaV6fFh7ewAuIb7yHtcsOWMqy/h1hZUlFFg2ykfwDWDDHEK7qfTI0hM7BQ=="; 107 107 aarch64 = "sha512-UYp8t7r2RrN3rKN180cWpJyhyO5LVXL8LrTRKJzttUgB7kM1nroTEI3DesBu+Hw4Ynl7eLiBK397rqcpOAfxJw=="; 108 108 }.${arch}; 109 109 };
+2 -2
pkgs/applications/editors/gnome-builder/default.nix
··· 41 41 42 42 stdenv.mkDerivation rec { 43 43 pname = "gnome-builder"; 44 - version = "43.5"; 44 + version = "43.6"; 45 45 46 46 outputs = [ "out" "devdoc" ]; 47 47 48 48 src = fetchurl { 49 49 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 50 - sha256 = "Rav15H1s4jzjTXjFcOgeBrIntD6ZoRMlcy7GXhskU+o="; 50 + sha256 = "m08hPdloyVL75CJoUPXJVk3f1XimoPiT06K2rhmjd6k="; 51 51 }; 52 52 53 53 patches = [
+4 -4
pkgs/applications/emulators/rpcs3/default.nix
··· 9 9 10 10 let 11 11 # Keep these separate so the update script can regex them 12 - rpcs3GitVersion = "14637-c471120a8"; 13 - rpcs3Version = "0.0.26-14637-c471120a8"; 14 - rpcs3Revision = "c471120a80ec6f12cd4489e1a9be073d7d9c96f2"; 15 - rpcs3Sha256 = "1fl7zarxbjaz6mi3lqv55kdwpvjfz8d02qfl0655zihwm6zzdny5"; 12 + rpcs3GitVersion = "14684-8652b7d35"; 13 + rpcs3Version = "0.0.26-14684-8652b7d35"; 14 + rpcs3Revision = "8652b7d358fe975242dd2c51c91fd2968e6bcb82"; 15 + rpcs3Sha256 = "08cd082cih9pcppipkhid1x1s7bq4grsz0zfa1rlxkzw3lajxnrf"; 16 16 17 17 ittapi = fetchFromGitHub { 18 18 owner = "intel";
+2 -2
pkgs/applications/gis/qgis/unwrapped-ltr.nix
··· 73 73 six 74 74 ]; 75 75 in mkDerivation rec { 76 - version = "3.22.15"; 76 + version = "3.22.16"; 77 77 pname = "qgis-ltr-unwrapped"; 78 78 79 79 src = fetchFromGitHub { 80 80 owner = "qgis"; 81 81 repo = "QGIS"; 82 82 rev = "final-${lib.replaceStrings [ "." ] [ "_" ] version}"; 83 - hash = "sha256-0hly1yZ7NAcSe84XMwDlcmZPunPcNXYzvAhd0Z5rB0Q="; 83 + hash = "sha256-6UpWVEyh94Oo6eI/dEmDuJHRwpPtkEsksjE90iAUgo8="; 84 84 }; 85 85 86 86 passthru = {
+2 -2
pkgs/applications/graphics/ImageMagick/default.nix
··· 47 47 48 48 stdenv.mkDerivation rec { 49 49 pname = "imagemagick"; 50 - version = "7.1.0-60"; 50 + version = "7.1.0-61"; 51 51 52 52 src = fetchFromGitHub { 53 53 owner = "ImageMagick"; 54 54 repo = "ImageMagick"; 55 55 rev = version; 56 - hash = "sha256-dQfmW9rt66eWOaKbZ9j8jc1k8v+F8B9TpTx12L+0VE4="; 56 + hash = "sha256-g7WeqPpPd1gceU+s+vRDpb41IX1lzpiqh3cAYeFdUlg="; 57 57 }; 58 58 59 59 outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
+3 -3
pkgs/applications/misc/moolticute/default.nix
··· 9 9 10 10 mkDerivation rec { 11 11 pname = "moolticute"; 12 - version = "1.00.1"; 12 + version = "1.01.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "mooltipass"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-oENMr3d2vFisEFl7gYBQQ0XRBeogAYOfBE5th463laI="; 18 + sha256 = "sha256-6vqYyAJ9p0ey49kc2Tp/HZVv0mePARX2dcmcIG4bcNQ="; 19 19 }; 20 20 21 21 outputs = [ "out" "udev" ]; ··· 40 40 ''; 41 41 homepage = "https://github.com/mooltipass/moolticute"; 42 42 license = licenses.gpl3Plus; 43 - maintainers = [ maintainers.kirikaza ]; 43 + maintainers = with maintainers; [ kirikaza hughobrien ]; 44 44 platforms = platforms.linux; 45 45 }; 46 46 }
+2 -2
pkgs/applications/misc/privacyidea/default.nix
··· 159 159 in 160 160 python3'.pkgs.buildPythonPackage rec { 161 161 pname = "privacyIDEA"; 162 - version = "3.8"; 162 + version = "3.8.1"; 163 163 164 164 src = fetchFromGitHub { 165 165 owner = pname; 166 166 repo = pname; 167 167 rev = "v${version}"; 168 - sha256 = "sha256-FCvuWXon8c9LnX1FnCxcSTfBR5/6zijD6ld0iAEVFkU="; 168 + sha256 = "sha256-SYXw8PBCb514v3rcy15W/vZS5JyMsu81D2sJmviLRtw="; 169 169 fetchSubmodules = true; 170 170 }; 171 171
+2 -2
pkgs/applications/networking/cluster/glooctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "glooctl"; 5 - version = "1.13.4"; 5 + version = "1.13.5"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "solo-io"; 9 9 repo = "gloo"; 10 10 rev = "v${version}"; 11 - hash = "sha256-eyfMWum1fZUq4iF77Q+0FP2Rdq2P+xK0au3ytN8MS+k="; 11 + hash = "sha256-mBmjGP7O1uX+uVM4/us4RWeJcXB1lSEvZQWT/3Ygzik="; 12 12 }; 13 13 14 14 subPackages = [ "projects/gloo/cli/cmd" ];
+2 -2
pkgs/applications/networking/instant-messengers/zulip/default.nix
··· 5 5 6 6 let 7 7 pname = "zulip"; 8 - version = "5.9.4"; 8 + version = "5.9.5"; 9 9 10 10 src = fetchurl { 11 11 url = "https://github.com/zulip/zulip-desktop/releases/download/v${version}/Zulip-${version}-x86_64.AppImage"; 12 - hash = "sha256-gbusyhMgoaQmeWm6dB6pc3kSykD4T97VQcJgcF5KbzM="; 12 + hash = "sha256-w2thmF/UA42j3u3m4L+/onilQhwMOa7IJoOMZ/ERypw="; 13 13 name="${pname}-${version}.AppImage"; 14 14 }; 15 15
+89 -89
pkgs/applications/networking/n8n/node-packages.nix
··· 193 193 sha512 = "UA/8dgLy3+ZiwJjAZHxL4MUB14fFQPkaAOZ94jsTW/Z6WmoOeny2+cLk0+dyIX/iH6qSrEWKwbStEeB970B9pA=="; 194 194 }; 195 195 }; 196 - "@azure/msal-browser-2.32.2" = { 196 + "@azure/msal-browser-2.33.0" = { 197 197 name = "_at_azure_slash_msal-browser"; 198 198 packageName = "@azure/msal-browser"; 199 - version = "2.32.2"; 199 + version = "2.33.0"; 200 200 src = fetchurl { 201 - url = "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-2.32.2.tgz"; 202 - sha512 = "1YqGzXtPG3QrZPFBKaMWr2WQdukDj+PelqUCv351+p+hlw/AhdRrb8haY73/iqkhT6Cdrbnh7sL4gikVsF4O1g=="; 201 + url = "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-2.33.0.tgz"; 202 + sha512 = "c7CVh1tfUfxiWkEIhoIb11hL4PGo4hz0M+gMy34ATagAKdLK7qyEu/5AXJWAf5lz5eE+vQhm7+LKiuETrcXXGw=="; 203 + }; 204 + }; 205 + "@azure/msal-common-10.0.0" = { 206 + name = "_at_azure_slash_msal-common"; 207 + packageName = "@azure/msal-common"; 208 + version = "10.0.0"; 209 + src = fetchurl { 210 + url = "https://registry.npmjs.org/@azure/msal-common/-/msal-common-10.0.0.tgz"; 211 + sha512 = "/LghpT93jsZLy55QzTsRZWMx6R1Mjc1Aktwps8sKSGE3WbrGwbSsh2uhDlpl6FMcKChYjJ0ochThWwwOodrQNg=="; 203 212 }; 204 213 }; 205 214 "@azure/msal-common-4.5.1" = { ··· 229 220 sha512 = "XqfbglUTVLdkHQ8F9UQJtKseRr3sSnr9ysboxtoswvaMVaEfvyLtMoHv9XdKUfOc0qKGzNgRFd9yRjIWVepl6Q=="; 230 221 }; 231 222 }; 232 - "@azure/msal-common-9.1.1" = { 233 - name = "_at_azure_slash_msal-common"; 234 - packageName = "@azure/msal-common"; 235 - version = "9.1.1"; 236 - src = fetchurl { 237 - url = "https://registry.npmjs.org/@azure/msal-common/-/msal-common-9.1.1.tgz"; 238 - sha512 = "we9xR8lvu47fF0h+J8KyXoRy9+G/fPzm3QEa2TrdR3jaVS3LKAyE2qyMuUkNdbVkvzl8Zr9f7l+IUSP22HeqXw=="; 239 - }; 240 - }; 241 223 "@azure/msal-node-1.0.0-beta.6" = { 242 224 name = "_at_azure_slash_msal-node"; 243 225 packageName = "@azure/msal-node"; ··· 238 238 sha512 = "ZQI11Uz1j0HJohb9JZLRD8z0moVcPks1AFW4Q/Gcl67+QvH4aKEJti7fjCcipEEZYb/qzLSO8U6IZgPYytsiJQ=="; 239 239 }; 240 240 }; 241 - "@azure/msal-node-1.14.6" = { 241 + "@azure/msal-node-1.15.0" = { 242 242 name = "_at_azure_slash_msal-node"; 243 243 packageName = "@azure/msal-node"; 244 - version = "1.14.6"; 244 + version = "1.15.0"; 245 245 src = fetchurl { 246 - url = "https://registry.npmjs.org/@azure/msal-node/-/msal-node-1.14.6.tgz"; 247 - sha512 = "em/qqFL5tLMxMPl9vormAs13OgZpmQoJbiQ/GlWr+BA77eCLoL+Ehr5xRHowYo+LFe5b+p+PJVkRvT+mLvOkwA=="; 246 + url = "https://registry.npmjs.org/@azure/msal-node/-/msal-node-1.15.0.tgz"; 247 + sha512 = "fwC5M0c8pxOAzmScPbpx7j28YVTDebUaizlVF7bR0xvlU0r3VWW5OobCcr9ybqKS6wGyO7u4EhXJS9rjRWAuwA=="; 248 248 }; 249 249 }; 250 250 "@azure/storage-blob-12.12.0" = { ··· 1246 1246 sha512 = "erqUpFXksaeR2kejKnhnjZjbFxUpGZx4Z7ydNL9ie8tEhXPiZTsLeUDJ6aR1F8j5wWUAtOAQWUqkc7givBJbBA=="; 1247 1247 }; 1248 1248 }; 1249 - "@types/express-4.17.16" = { 1249 + "@types/express-4.17.17" = { 1250 1250 name = "_at_types_slash_express"; 1251 1251 packageName = "@types/express"; 1252 - version = "4.17.16"; 1252 + version = "4.17.17"; 1253 1253 src = fetchurl { 1254 - url = "https://registry.npmjs.org/@types/express/-/express-4.17.16.tgz"; 1255 - sha512 = "LkKpqRZ7zqXJuvoELakaFYuETHjZkSol8EV6cNnyishutDBCCdv6+dsKPbKkCcIk57qRphOLY5sEgClw1bO3gA=="; 1254 + url = "https://registry.npmjs.org/@types/express/-/express-4.17.17.tgz"; 1255 + sha512 = "Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q=="; 1256 1256 }; 1257 1257 }; 1258 1258 "@types/express-jwt-0.0.42" = { ··· 1336 1336 sha512 = "/SNsDidUFCvqqcWDwxv2feww/yqhNeTRL5CVoL3jU4Goc4kKEL10T7Eye65ZqPNi4HRx8sAEX59pV1aEH7drNA=="; 1337 1337 }; 1338 1338 }; 1339 - "@types/node-18.11.18" = { 1339 + "@types/node-18.11.19" = { 1340 1340 name = "_at_types_slash_node"; 1341 1341 packageName = "@types/node"; 1342 - version = "18.11.18"; 1342 + version = "18.11.19"; 1343 1343 src = fetchurl { 1344 - url = "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz"; 1345 - sha512 = "DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA=="; 1344 + url = "https://registry.npmjs.org/@types/node/-/node-18.11.19.tgz"; 1345 + sha512 = "YUgMWAQBWLObABqrvx8qKO1enAvBUdjZOAWQ5grBAkp5LQv45jBvYKZ3oFS9iKRCQyFjqw6iuEa1vmFqtxYLZw=="; 1346 1346 }; 1347 1347 }; 1348 1348 "@types/node-fetch-2.6.2" = { ··· 1435 1435 sha512 = "kr90f+ERiQtKWMz5rP32ltJ/BtULDI5RVO0uavn1HQUOwjx0R1h0rnDYNL0CepF1zL5bSY6FISAfd9tOdDhU5Q=="; 1436 1436 }; 1437 1437 }; 1438 - "@types/validator-13.7.11" = { 1438 + "@types/validator-13.7.12" = { 1439 1439 name = "_at_types_slash_validator"; 1440 1440 packageName = "@types/validator"; 1441 - version = "13.7.11"; 1441 + version = "13.7.12"; 1442 1442 src = fetchurl { 1443 - url = "https://registry.npmjs.org/@types/validator/-/validator-13.7.11.tgz"; 1444 - sha512 = "WqTos+CnAKN64YwyBMhgUYhb5VsTNKwUY6AuzG5qu9/pFZJar/RJFMZBXwX7VS+uzYi+lIAr3WkvuWqEI9F2eg=="; 1443 + url = "https://registry.npmjs.org/@types/validator/-/validator-13.7.12.tgz"; 1444 + sha512 = "YVtyAPqpefU+Mm/qqnOANW6IkqKpCSrarcyV269C8MA8Ux0dbkEuQwM/4CjL47kVEM2LgBef/ETfkH+c6+moFA=="; 1445 1445 }; 1446 1446 }; 1447 1447 "@types/webidl-conversions-7.0.0" = { ··· 1966 1966 sha512 = "9cYNccliXZDByFsFliVwk5GvTq058Fj513CiR4E60ndDwmuXzTJEp/Bp8FyuRmGyYupLjHLs+JA9/CBoVS4/NQ=="; 1967 1967 }; 1968 1968 }; 1969 - "aws-sdk-2.1308.0" = { 1969 + "aws-sdk-2.1310.0" = { 1970 1970 name = "aws-sdk"; 1971 1971 packageName = "aws-sdk"; 1972 - version = "2.1308.0"; 1972 + version = "2.1310.0"; 1973 1973 src = fetchurl { 1974 - url = "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1308.0.tgz"; 1975 - sha512 = "tm4UXah8dCqt1geyxrtoyp6dN5QhuLjNeACUZEsffww5oZPMx24EX9dAtvtSu3UfIHwmbR74QomYi1c1u8Jndg=="; 1974 + url = "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1310.0.tgz"; 1975 + sha512 = "D0m9uFUa1UVXWTe4GSyNJP4+6DXwboE2FEG/URkLoo4r9Q8LHxwNFCGkBhaoEwssREyRe2LOYS1Nag/6WyvC6Q=="; 1976 1976 }; 1977 1977 }; 1978 1978 "aws-sign2-0.7.0" = { ··· 2092 2092 sha512 = "V/Hy/X9Vt7f3BbPJEi8BdVFMByHi+jNXrYkW3huaybV/kQ0KJg0Y6PkEMbn+zeT+i+SiKZ/HMqJGIIt4LZDqNQ=="; 2093 2093 }; 2094 2094 }; 2095 - "better-sqlite3-8.0.1" = { 2095 + "better-sqlite3-8.1.0" = { 2096 2096 name = "better-sqlite3"; 2097 2097 packageName = "better-sqlite3"; 2098 - version = "8.0.1"; 2098 + version = "8.1.0"; 2099 2099 src = fetchurl { 2100 - url = "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-8.0.1.tgz"; 2101 - sha512 = "JhTZjpyapA1icCEjIZB4TSSgkGdFgpWZA2Wszg7Cf4JwJwKQmbvuNnJBeR+EYG/Z29OXvR4G//Rbg31BW/Z7Yg=="; 2100 + url = "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-8.1.0.tgz"; 2101 + sha512 = "p1m09H+Oi8R9TPj810pdNswMFuVgRNgCJEWypp6jlkOgSwMIrNyuj3hW78xEuBRGok5RzeaUW8aBtTWF3l/TQA=="; 2102 2102 }; 2103 2103 }; 2104 2104 "big-integer-1.6.51" = { ··· 5098 5098 sha512 = "4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw=="; 5099 5099 }; 5100 5100 }; 5101 - "ics-2.41.0" = { 5101 + "ics-2.44.0" = { 5102 5102 name = "ics"; 5103 5103 packageName = "ics"; 5104 - version = "2.41.0"; 5104 + version = "2.44.0"; 5105 5105 src = fetchurl { 5106 - url = "https://registry.npmjs.org/ics/-/ics-2.41.0.tgz"; 5107 - sha512 = "6oleMfOpdBIrZGMNrTutwW7eFwua8lOkymDNxMXlsVF00HghqH+I3S6frt3a2rfjXTlkI0qiY2rnsKP2JQ9vJA=="; 5106 + url = "https://registry.npmjs.org/ics/-/ics-2.44.0.tgz"; 5107 + sha512 = "JeiPjNeWkd7Qri/wfHqjZCtglVwRJRqy1MEFKn9QzatzxUyCOsx4YARPlLkU8UnPxpg4VtEjR+VRUG+Cvj6bDg=="; 5108 5108 }; 5109 5109 }; 5110 5110 "ieee754-1.1.13" = { ··· 6466 6466 sha512 = "A9SzX4hMKWS25MyalwcOnNoplyHbkNVsjidhTp8ru0Sj23wY9GWBKS8gAIGDSAqeWjIjvE4KBEl24XXAs+v4wQ=="; 6467 6467 }; 6468 6468 }; 6469 - "logform-2.4.2" = { 6469 + "logform-2.5.0" = { 6470 6470 name = "logform"; 6471 6471 packageName = "logform"; 6472 - version = "2.4.2"; 6472 + version = "2.5.0"; 6473 6473 src = fetchurl { 6474 - url = "https://registry.npmjs.org/logform/-/logform-2.4.2.tgz"; 6475 - sha512 = "W4c9himeAwXEdZ05dQNerhFz2XG80P9Oj0loPUMV23VC2it0orMHQhJm4hdnnor3rd1HsGf6a2lPwBM1zeXHGw=="; 6474 + url = "https://registry.npmjs.org/logform/-/logform-2.5.0.tgz"; 6475 + sha512 = "fsFiH2yjSCTmzotZ5JmEo0brQyJ7iHrc8pQ5pnHg6e1e5WfkqdNMDvgRWSfz+aCr3Y2YxYzHA4UKj+6QoctKrg=="; 6476 6476 }; 6477 6477 }; 6478 6478 "long-4.0.0" = { ··· 6871 6871 sha512 = "DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw=="; 6872 6872 }; 6873 6873 }; 6874 - "minipass-4.0.1" = { 6874 + "minipass-4.0.2" = { 6875 6875 name = "minipass"; 6876 6876 packageName = "minipass"; 6877 - version = "4.0.1"; 6877 + version = "4.0.2"; 6878 6878 src = fetchurl { 6879 - url = "https://registry.npmjs.org/minipass/-/minipass-4.0.1.tgz"; 6880 - sha512 = "V9esFpNbK0arbN3fm2sxDKqMYgIp7XtVdE4Esj+PE4Qaaxdg1wIw48ITQIOn1sc8xXSmUviVL3cyjMqPlrVkiA=="; 6879 + url = "https://registry.npmjs.org/minipass/-/minipass-4.0.2.tgz"; 6880 + sha512 = "4Hbzei7ZyBp+1aw0874YWpKOubZd/jc53/XU+gkYry1QV+VvrbO8icLM5CUtm4F0hyXn85DXYKEMIS26gitD3A=="; 6881 6881 }; 6882 6882 }; 6883 6883 "minipass-collect-1.0.2" = { ··· 7159 7159 sha512 = "Dd6SdWYDjlhgrpPbof4DFPP4hPdpH9cA+3YkFSCgQLNyCi0RdqiQJqPQ5xQFlNVaxd6a7R69RHy/oNwt6/+cLw=="; 7160 7160 }; 7161 7161 }; 7162 - "n8n-editor-ui-0.180.0" = { 7162 + "n8n-editor-ui-0.180.2" = { 7163 7163 name = "n8n-editor-ui"; 7164 7164 packageName = "n8n-editor-ui"; 7165 - version = "0.180.0"; 7165 + version = "0.180.2"; 7166 7166 src = fetchurl { 7167 - url = "https://registry.npmjs.org/n8n-editor-ui/-/n8n-editor-ui-0.180.0.tgz"; 7168 - sha512 = "Xbjumqnc9chwVWDulXsIhXZ8r9i1nYUzJGBepC6xNM8kTaCRwCokfxUALfFPGNRUBg/A47ez89TNgDY9Mu/X3w=="; 7167 + url = "https://registry.npmjs.org/n8n-editor-ui/-/n8n-editor-ui-0.180.2.tgz"; 7168 + sha512 = "5XIIDN6X2CbQtDFwthCOqanvkOgbbFu36h9LZb/eB8KdQKs5dxNFi958lIrKuyZaiPYBQTZCPZWMcqqie+9JIQ=="; 7169 7169 }; 7170 7170 }; 7171 - "n8n-nodes-base-0.212.0" = { 7171 + "n8n-nodes-base-0.212.2" = { 7172 7172 name = "n8n-nodes-base"; 7173 7173 packageName = "n8n-nodes-base"; 7174 - version = "0.212.0"; 7174 + version = "0.212.2"; 7175 7175 src = fetchurl { 7176 - url = "https://registry.npmjs.org/n8n-nodes-base/-/n8n-nodes-base-0.212.0.tgz"; 7177 - sha512 = "OENgQkAU70krTAoElQkQTX61Bh/rz2cpip+WDFea+KTXTBqU1gQDNlt3IZdhkS1l0F4e1VfblQawqMeJVFxwbA=="; 7176 + url = "https://registry.npmjs.org/n8n-nodes-base/-/n8n-nodes-base-0.212.2.tgz"; 7177 + sha512 = "kmuuZOvQ+c84Eap2TW/RUzTZffYznI9fscTUSZYd8xpFdbptIH9TL0pkkcKhybvOC5y0CFPeMKV5JcH0uEujmw=="; 7178 7178 }; 7179 7179 }; 7180 7180 "n8n-workflow-0.135.0" = { ··· 7294 7294 sha512 = "fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg=="; 7295 7295 }; 7296 7296 }; 7297 - "node-abi-3.31.0" = { 7297 + "node-abi-3.32.0" = { 7298 7298 name = "node-abi"; 7299 7299 packageName = "node-abi"; 7300 - version = "3.31.0"; 7300 + version = "3.32.0"; 7301 7301 src = fetchurl { 7302 - url = "https://registry.npmjs.org/node-abi/-/node-abi-3.31.0.tgz"; 7303 - sha512 = "eSKV6s+APenqVh8ubJyiu/YhZgxQpGP66ntzUb3lY1xB9ukSRaGnx0AIxI+IM+1+IVYC1oWobgG5L3Lt9ARykQ=="; 7302 + url = "https://registry.npmjs.org/node-abi/-/node-abi-3.32.0.tgz"; 7303 + sha512 = "HkwdiLzE/LeuOMIQq/dJq70oNyRc88+wt5CH/RXYseE00LkA/c4PkS6Ti1vE4OHYUiKjkwuxjWq9pItgrz8UJw=="; 7304 7304 }; 7305 7305 }; 7306 7306 "node-abort-controller-2.0.0" = { ··· 10156 10156 sha512 = "a7wPxPdVlQL7lqvitHGGRsofhdwtkoSXPGATFuSOA2i1ZNQEPLrGnj68vOp2sOJTCFAQVXPeNMX/GctBaO9L2w=="; 10157 10157 }; 10158 10158 }; 10159 - "tinycolor2-1.5.2" = { 10159 + "tinycolor2-1.6.0" = { 10160 10160 name = "tinycolor2"; 10161 10161 packageName = "tinycolor2"; 10162 - version = "1.5.2"; 10162 + version = "1.6.0"; 10163 10163 src = fetchurl { 10164 - url = "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.5.2.tgz"; 10165 - sha512 = "h80m9GPFGbcLzZByXlNSEhp1gf8Dy+VX/2JCGUZsWLo7lV1mnE/XlxGYgRBoMLJh1lIDXP0EMC4RPTjlRaV+Bg=="; 10164 + url = "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.6.0.tgz"; 10165 + sha512 = "XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw=="; 10166 10166 }; 10167 10167 }; 10168 10168 "title-case-3.0.3" = { ··· 10804 10804 sha512 = "ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw=="; 10805 10805 }; 10806 10806 }; 10807 - "vm2-3.9.13" = { 10807 + "vm2-3.9.14" = { 10808 10808 name = "vm2"; 10809 10809 packageName = "vm2"; 10810 - version = "3.9.13"; 10810 + version = "3.9.14"; 10811 10811 src = fetchurl { 10812 - url = "https://registry.npmjs.org/vm2/-/vm2-3.9.13.tgz"; 10813 - sha512 = "0rvxpB8P8Shm4wX2EKOiMp7H2zq+HUE/UwodY0pCZXs9IffIKZq6vUti5OgkVCTakKo9e/fgO4X1fkwfjWxE3Q=="; 10812 + url = "https://registry.npmjs.org/vm2/-/vm2-3.9.14.tgz"; 10813 + sha512 = "HgvPHYHeQy8+QhzlFryvSteA4uQLBCOub02mgqdR+0bN/akRZ48TGB1v0aCv7ksyc0HXx16AZtMHKS38alc6TA=="; 10814 10814 }; 10815 10815 }; 10816 10816 "vue-2.6.14" = { ··· 11359 11359 n8n = nodeEnv.buildNodePackage { 11360 11360 name = "n8n"; 11361 11361 packageName = "n8n"; 11362 - version = "0.214.0"; 11362 + version = "0.214.2"; 11363 11363 src = fetchurl { 11364 - url = "https://registry.npmjs.org/n8n/-/n8n-0.214.0.tgz"; 11365 - sha512 = "nCwdAvgweOtKOg1ZAMLNoc9PgKBFPHAob3+2mw1UAqV0O+pBFcearssVMczcqiH9yr+PYkL4FKqvrPkB292Iwg=="; 11364 + url = "https://registry.npmjs.org/n8n/-/n8n-0.214.2.tgz"; 11365 + sha512 = "9KbRJMT8/f4+5kiCnqZbe+ETKdBnBb5VJtw7DUbtu3Uj327dtGlPeX2E/kgXwwonnkO6XgdOteJZDSiixxozbg=="; 11366 11366 }; 11367 11367 dependencies = [ 11368 11368 (sources."@acuminous/bitsyntax-0.1.2" // { ··· 11452 11452 ]; 11453 11453 }) 11454 11454 sources."@azure/ms-rest-nodeauth-3.1.1" 11455 - (sources."@azure/msal-browser-2.32.2" // { 11455 + (sources."@azure/msal-browser-2.33.0" // { 11456 11456 dependencies = [ 11457 - sources."@azure/msal-common-9.1.1" 11457 + sources."@azure/msal-common-10.0.0" 11458 11458 ]; 11459 11459 }) 11460 11460 sources."@azure/msal-common-7.6.0" 11461 - (sources."@azure/msal-node-1.14.6" // { 11461 + (sources."@azure/msal-node-1.15.0" // { 11462 11462 dependencies = [ 11463 - sources."@azure/msal-common-9.1.1" 11463 + sources."@azure/msal-common-10.0.0" 11464 11464 ]; 11465 11465 }) 11466 11466 (sources."@azure/storage-blob-12.12.0" // { ··· 11656 11656 sources."@types/connect-3.4.35" 11657 11657 sources."@types/duplexify-3.6.1" 11658 11658 sources."@types/es-aggregate-error-1.0.2" 11659 - sources."@types/express-4.17.16" 11659 + sources."@types/express-4.17.17" 11660 11660 sources."@types/express-jwt-0.0.42" 11661 11661 sources."@types/express-serve-static-core-4.17.33" 11662 11662 sources."@types/express-unless-2.0.1" ··· 11666 11666 sources."@types/long-4.0.2" 11667 11667 sources."@types/mime-3.0.1" 11668 11668 sources."@types/multer-1.4.7" 11669 - sources."@types/node-18.11.18" 11669 + sources."@types/node-18.11.19" 11670 11670 (sources."@types/node-fetch-2.6.2" // { 11671 11671 dependencies = [ 11672 11672 sources."form-data-3.0.1" ··· 11681 11681 sources."@types/tough-cookie-2.3.8" 11682 11682 sources."@types/tunnel-0.0.3" 11683 11683 sources."@types/uuid-9.0.0" 11684 - sources."@types/validator-13.7.11" 11684 + sources."@types/validator-13.7.12" 11685 11685 sources."@types/webidl-conversions-7.0.0" 11686 11686 sources."@types/whatwg-url-8.2.2" 11687 11687 sources."@vue/compiler-sfc-2.7.14" ··· 11769 11769 }) 11770 11770 sources."available-typed-arrays-1.0.5" 11771 11771 sources."avsc-5.7.7" 11772 - (sources."aws-sdk-2.1308.0" // { 11772 + (sources."aws-sdk-2.1310.0" // { 11773 11773 dependencies = [ 11774 11774 sources."buffer-4.9.2" 11775 11775 sources."events-1.1.1" ··· 11800 11800 }) 11801 11801 sources."bcrypt-pbkdf-1.0.2" 11802 11802 sources."bcryptjs-2.4.3" 11803 - sources."better-sqlite3-8.0.1" 11803 + sources."better-sqlite3-8.1.0" 11804 11804 sources."big-integer-1.6.51" 11805 11805 sources."big.js-6.2.1" 11806 11806 sources."bignumber.js-2.4.0" ··· 12252 12252 sources."humanize-ms-1.2.1" 12253 12253 sources."hyperlinker-1.0.0" 12254 12254 sources."iconv-lite-0.6.3" 12255 - sources."ics-2.41.0" 12255 + sources."ics-2.44.0" 12256 12256 sources."ieee754-1.2.1" 12257 12257 sources."ignore-5.2.4" 12258 12258 (sources."imap-0.8.19" // { ··· 12427 12427 sources."lodash.uniqby-4.7.0" 12428 12428 sources."lodash.unset-4.5.2" 12429 12429 sources."lodash.zipobject-4.1.3" 12430 - sources."logform-2.4.2" 12430 + sources."logform-2.5.0" 12431 12431 sources."long-4.0.0" 12432 12432 sources."lossless-json-1.0.5" 12433 12433 (sources."lower-case-2.0.2" // { ··· 12487 12487 ]; 12488 12488 }) 12489 12489 sources."minimist-1.2.7" 12490 - sources."minipass-4.0.1" 12490 + sources."minipass-4.0.2" 12491 12491 (sources."minipass-collect-1.0.2" // { 12492 12492 dependencies = [ 12493 12493 sources."minipass-3.3.6" ··· 12581 12581 sources."vue2-boring-avatars-0.3.8" 12582 12582 ]; 12583 12583 }) 12584 - sources."n8n-editor-ui-0.180.0" 12585 - (sources."n8n-nodes-base-0.212.0" // { 12584 + sources."n8n-editor-ui-0.180.2" 12585 + (sources."n8n-nodes-base-0.212.2" // { 12586 12586 dependencies = [ 12587 12587 sources."chokidar-3.5.2" 12588 12588 ]; ··· 12608 12608 sources."tslib-2.5.0" 12609 12609 ]; 12610 12610 }) 12611 - sources."node-abi-3.31.0" 12611 + sources."node-abi-3.32.0" 12612 12612 sources."node-abort-controller-3.1.1" 12613 12613 sources."node-addon-api-4.3.0" 12614 12614 sources."node-ensure-0.0.0" ··· 13083 13083 sources."through2-filter-3.0.0" 13084 13084 sources."throwback-4.1.0" 13085 13085 sources."timeago.js-4.0.2" 13086 - sources."tinycolor2-1.5.2" 13086 + sources."tinycolor2-1.6.0" 13087 13087 (sources."title-case-3.0.3" // { 13088 13088 dependencies = [ 13089 13089 sources."tslib-2.5.0" ··· 13227 13227 sources."core-util-is-1.0.2" 13228 13228 ]; 13229 13229 }) 13230 - sources."vm2-3.9.13" 13230 + sources."vm2-3.9.14" 13231 13231 sources."vue-2.7.14" 13232 13232 sources."vue-agile-2.0.0" 13233 13233 sources."vue-color-2.8.1"
+194
pkgs/applications/science/chemistry/nwchem/default.nix
··· 1 + { lib 2 + , stdenv 3 + , pkgs 4 + , fetchFromGitHub 5 + , fetchpatch 6 + , which 7 + , openssh 8 + , gcc 9 + , gfortran 10 + , perl 11 + , mpi 12 + , blas 13 + , lapack 14 + , python3 15 + , tcsh 16 + , bash 17 + , automake 18 + , autoconf 19 + , libtool 20 + , makeWrapper 21 + }: 22 + 23 + assert blas.isILP64 == lapack.isILP64; 24 + 25 + let 26 + versionGA = "5.7.2"; # Fixed by nwchem 27 + 28 + ga_src = fetchFromGitHub { 29 + owner = "GlobalArrays"; 30 + repo = "ga"; 31 + rev = "v${versionGA}"; 32 + sha256 = "0c1y9a5jpdw9nafzfmvjcln1xc2gklskaly0r1alm18ng9zng33i"; 33 + }; 34 + 35 + in 36 + stdenv.mkDerivation rec { 37 + pname = "nwchem"; 38 + version = "7.0.2"; 39 + 40 + src = fetchFromGitHub { 41 + owner = "nwchemgit"; 42 + repo = "nwchem"; 43 + rev = "v${version}-release"; 44 + sha256 = "1ckhcjaw1hzdsmm1x2fva27c4rs3r0h82qivg72v53idz880hbp3"; 45 + }; 46 + 47 + patches = [ 48 + # Fix Python 3.10 compatibility 49 + (fetchpatch { 50 + name = "python3.10"; 51 + url = "https://github.com/nwchemgit/nwchem/commit/638401361c6f294164a4f820ff867a62ac836fd5.patch"; 52 + sha256 = "sha256-yUZb3wWYZm1dX0HwvffksFwhVdb7ix1p8ooJnqiSgEg="; 53 + }) 54 + ]; 55 + 56 + nativeBuildInputs = [ 57 + perl 58 + automake 59 + autoconf 60 + libtool 61 + makeWrapper 62 + gfortran 63 + which 64 + ]; 65 + buildInputs = [ 66 + tcsh 67 + openssh 68 + blas 69 + lapack 70 + python3 71 + ]; 72 + propagatedBuildInputs = [ mpi ]; 73 + propagatedUserEnvPkgs = [ mpi ]; 74 + 75 + postUnpack = '' 76 + cp -r ${ga_src}/ source/src/tools/ga-${versionGA} 77 + chmod -R u+w source/src/tools/ga-${versionGA} 78 + ''; 79 + 80 + postPatch = '' 81 + find -type f -executable -exec sed -i "s:/bin/csh:${tcsh}/bin/tcsh:" \{} \; 82 + find -type f -name "GNUmakefile" -exec sed -i "s:/usr/bin/gcc:${gcc}/bin/gcc:" \{} \; 83 + find -type f -name "GNUmakefile" -exec sed -i "s:/bin/rm:rm:" \{} \; 84 + find -type f -executable -exec sed -i "s:/bin/rm:rm:" \{} \; 85 + find -type f -name "makelib.h" -exec sed -i "s:/bin/rm:rm:" \{} \; 86 + 87 + # Overwrite script, skipping the download 88 + echo -e '#!/bin/sh\n cd ga-${versionGA};autoreconf -ivf' > src/tools/get-tools-github 89 + 90 + patchShebangs ./ 91 + ''; 92 + 93 + # There is no configure script. Instead the build is controlled via 94 + # environment variables passed to the Makefile 95 + configurePhase = '' 96 + runHook preConfigure 97 + 98 + # config parameters 99 + export NWCHEM_TARGET="LINUX64" 100 + 101 + export ARMCI_NETWORK="MPI-PR" 102 + export USE_MPI="y" 103 + export USE_MPIF="y" 104 + 105 + export NWCHEM_MODULES="all python" 106 + 107 + export USE_PYTHONCONFIG="y" 108 + export USE_PYTHON64="n" 109 + export PYTHONLIBTYPE="so" 110 + export PYTHONHOME="${python3}" 111 + export PYTHONVERSION=${lib.versions.majorMinor python3.version} 112 + 113 + export BLASOPT="-L${blas}/lib -lblas" 114 + export LAPACK_LIB="-L${lapack}/lib -llapack" 115 + export BLAS_SIZE=${if blas.isILP64 then "8" else "4"} 116 + 117 + # extra TCE related options 118 + export MRCC_METHODS="y" 119 + export EACCSD="y" 120 + export IPCCSD="y" 121 + 122 + export NWCHEM_TOP="$(pwd)" 123 + 124 + runHook postConfigure 125 + ''; 126 + 127 + enableParallelBuilding = true; 128 + 129 + preBuild = '' 130 + ln -s ${ga_src} src/tools/ga-${versionGA}.tar.gz 131 + cd src 132 + make nwchem_config 133 + ${lib.optionalString (!blas.isILP64) "make 64_to_32"} 134 + ''; 135 + 136 + postBuild = '' 137 + cd $NWCHEM_TOP/src/util 138 + make version 139 + make 140 + cd $NWCHEM_TOP/src 141 + make link 142 + ''; 143 + 144 + installPhase = '' 145 + mkdir -p $out/bin $out/share/nwchem 146 + 147 + cp $NWCHEM_TOP/bin/LINUX64/nwchem $out/bin/nwchem 148 + cp -r $NWCHEM_TOP/src/data $out/share/nwchem/ 149 + cp -r $NWCHEM_TOP/src/basis/libraries $out/share/nwchem/data 150 + cp -r $NWCHEM_TOP/src/nwpw/libraryps $out/share/nwchem/data 151 + cp -r $NWCHEM_TOP/QA $out/share/nwchem 152 + 153 + wrapProgram $out/bin/nwchem \ 154 + --set-default NWCHEM_BASIS_LIBRARY $out/share/nwchem/data/libraries/ 155 + 156 + cat > $out/share/nwchem/nwchemrc << EOF 157 + nwchem_basis_library $out/share/nwchem/data/libraries/ 158 + nwchem_nwpw_library $out/share/nwchem//data/libraryps/ 159 + ffield amber 160 + amber_1 $out/share/nwchem/data/amber_s/ 161 + amber_2 $out/share/nwchem/data/amber_q/ 162 + amber_3 $out/share/nwchem/data/amber_x/ 163 + amber_4 $out/share/nwchem/data/amber_u/ 164 + spce $out/share/nwchem/data/solvents/spce.rst 165 + charmm_s $out/share/nwchem/data/charmm_s/ 166 + charmm_x $out/share/nwchem/data/charmm_x/ 167 + EOF 168 + ''; 169 + 170 + doCheck = false; 171 + 172 + doInstallCheck = true; 173 + installCheckPhase = '' 174 + export OMP_NUM_THREADS=1 175 + 176 + # Fix to make mpich run in a sandbox 177 + export HYDRA_IFACE=lo 178 + export OMPI_MCA_rmaps_base_oversubscribe=1 179 + 180 + # run a simple water test 181 + mpirun -np 2 $out/bin/nwchem $out/share/nwchem/QA/tests/h2o/h2o.nw > h2o.out 182 + grep "Total SCF energy" h2o.out | grep 76.010538 183 + ''; 184 + 185 + passthru = { inherit mpi; }; 186 + 187 + meta = with lib; { 188 + description = "Open Source High-Performance Computational Chemistry"; 189 + platforms = [ "x86_64-linux" ]; 190 + maintainers = with maintainers; [ sheepforce markuskowa ]; 191 + homepage = "https://nwchemgit.github.io"; 192 + license = licenses.ecl20; 193 + }; 194 + }
+3 -3
pkgs/applications/terminal-emulators/kitty/default.nix
··· 28 28 with python3Packages; 29 29 buildPythonApplication rec { 30 30 pname = "kitty"; 31 - version = "0.27.0"; 31 + version = "0.27.1"; 32 32 format = "other"; 33 33 34 34 src = fetchFromGitHub { 35 35 owner = "kovidgoyal"; 36 36 repo = "kitty"; 37 37 rev = "refs/tags/v${version}"; 38 - hash = "sha256-742RB5ijCEYgjGgGyb6ZZ34GfMHm8253d3cNLQQzL38="; 38 + hash = "sha256-/K/5T15kULTQP1FCLnyrKfhlQjIStayutaxLjmHjHes="; 39 39 }; 40 - vendorHash = "sha256-0hylttMwkmhpydKY7cpOoHrKmaGF4ediI8uwtcT3x4I="; 40 + vendorHash = "sha256-JLPPNOsoq+ErLhELsX3z3YehYfgp7OGXEXlP3IVcM5k="; 41 41 42 42 buildInputs = [ 43 43 harfbuzz
+6 -1
pkgs/applications/virtualization/colima/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , buildGoModule 3 4 , fetchFromGitHub 4 5 , installShellFiles 5 6 , lima 7 + , lima-bin 6 8 , makeWrapper 7 9 , qemu 8 10 , testers 9 11 , colima 12 + # use lima-bin on darwin to support native macOS virtualization 13 + # https://github.com/NixOS/nixpkgs/pull/209171 14 + , lima-drv ? if stdenv.isDarwin then lima-bin else lima 10 15 }: 11 16 12 17 buildGoModule rec { ··· 46 41 47 42 postInstall = '' 48 43 wrapProgram $out/bin/colima \ 49 - --prefix PATH : ${lib.makeBinPath [ lima qemu ]} 44 + --prefix PATH : ${lib.makeBinPath [ lima-drv qemu ]} 50 45 51 46 installShellCompletion --cmd colima \ 52 47 --bash <($out/bin/colima completion bash) \
+2 -2
pkgs/data/fonts/lxgw-neoxihei/default.nix
··· 5 5 6 6 stdenvNoCC.mkDerivation rec { 7 7 pname = "lxgw-neoxihei"; 8 - version = "1.005"; 8 + version = "1.006"; 9 9 10 10 src = fetchurl { 11 11 url = "https://github.com/lxgw/LxgwNeoXiHei/releases/download/v${version}/LXGWNeoXiHei.ttf"; 12 - hash = "sha256-IvbbeBjpFz9zHt3mHu5vY8sLETKnvOMv7eHjANQ2GlA="; 12 + hash = "sha256-n7TTunWOHGWLxvs75r5My1il0KELOZbAgTGqtMpQ+mQ="; 13 13 }; 14 14 15 15 dontUnpack = true;
+1
pkgs/desktops/deepin/default.nix
··· 38 38 39 39 #### MISC 40 40 deepin-desktop-base = callPackage ./misc/deepin-desktop-base { }; 41 + deepin-turbo = callPackage ./misc/deepin-turbo { }; 41 42 }; 42 43 in 43 44 lib.makeScope libsForQt5.newScope packages
+42
pkgs/desktops/deepin/misc/deepin-turbo/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , wrapQtAppsHook 7 + , dtkwidget 8 + }: 9 + 10 + stdenv.mkDerivation rec { 11 + pname = "deepin-turbo"; 12 + version = "0.0.6.3"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "linuxdeepin"; 16 + repo = pname; 17 + rev = version; 18 + sha256 = "sha256-t6/Ws/Q8DO0zBzrUr/liD61VkxbOv4W4x6VgMWr+Ozk="; 19 + }; 20 + 21 + nativeBuildInputs = [ 22 + cmake 23 + pkg-config 24 + wrapQtAppsHook 25 + ]; 26 + 27 + buildInputs = [ 28 + dtkwidget 29 + ]; 30 + 31 + postPatch = '' 32 + substituteInPlace src/{booster-dtkwidget/CMakeLists.txt,booster-desktop/{CMakeLists.txt,desktop.conf},booster-generic/CMakeLists.txt} --replace "/usr" "$out" 33 + ''; 34 + 35 + meta = with lib; { 36 + description = "A daemon that helps to launch dtk applications faster"; 37 + homepage = "https://github.com/linuxdeepin/deepin-turbo"; 38 + license = licenses.gpl3Plus; 39 + platforms = platforms.linux; 40 + maintainers = teams.deepin.members; 41 + }; 42 + }
+10
pkgs/desktops/gnome/extensions/extensionOverrides.nix
··· 12 12 , nvme-cli 13 13 , procps 14 14 , pulseaudio 15 + , libgtop 15 16 , python3 16 17 , smartmontools 17 18 , substituteAll ··· 111 110 ]; 112 111 113 112 meta.maintainers = with lib.maintainers; [ rhoriguchi ]; 113 + })) 114 + 115 + (patchExtension "tophat@fflewddur.github.io" (old: { 116 + patches = [ 117 + (substituteAll { 118 + src = ./extensionOverridesPatches/tophat_at_fflewddur.github.io.patch; 119 + gtop_path = "${libgtop}/lib/girepository-1.0"; 120 + }) 121 + ]; 114 122 })) 115 123 116 124 (patchExtension "unite@hardpixel.eu" (old: {
+13
pkgs/desktops/gnome/extensions/extensionOverridesPatches/tophat_at_fflewddur.github.io.patch
··· 1 + diff --git a/extension.js b/extension.js 2 + index 60396f8..b044872 100644 3 + --- a/extension.js 4 + +++ b/extension.js 5 + @@ -20,6 +20,8 @@ 6 + 7 + /* exported init, enable, disable */ 8 + 9 + +imports.gi.GIRepository.Repository.prepend_search_path('@gtop_path@'); 10 + + 11 + let depFailures = []; 12 + let missingLibs = []; 13 +
+2 -2
pkgs/development/libraries/aravis/default.nix
··· 29 29 30 30 stdenv.mkDerivation rec { 31 31 pname = "aravis"; 32 - version = "0.8.22"; 32 + version = "0.8.24"; 33 33 34 34 src = fetchFromGitHub { 35 35 owner = "AravisProject"; 36 36 repo = pname; 37 37 rev = version; 38 - sha256 = "sha256-S9DmXjywxNr5Rpx605zip76vGKBSrUwyerqXlBm05VI="; 38 + sha256 = "sha256-2d2CZzRfVr45gfgIg43Rr+1SoVIxzy8YjaQJhwi5owE="; 39 39 }; 40 40 41 41 outputs = [ "bin" "dev" "out" "lib" ];
-511
pkgs/development/libraries/ffmpeg-full/default.nix
··· 1 - { lib, stdenv, buildPackages, ffmpeg, addOpenGLRunpath, pkg-config, perl, texinfo, yasm 2 - /* 3 - * Licensing options (yes some are listed twice, filters and such are not listed) 4 - */ 5 - , gplLicensing ? true # GPL: fdkaac,openssl,frei0r,cdio,samba,utvideo,vidstab,x265,x265,xavs,avid,zvbi,x11grab 6 - , version3Licensing ? true # (L)GPL3: libvmaf,opencore-amrnb,opencore-amrwb,samba,vo-aacenc,vo-amrwbenc 7 - , nonfreeLicensing ? false # NONFREE: openssl,fdkaac,blackmagic-design-desktop-video 8 - /* 9 - * Build options 10 - */ 11 - , smallBuild ? false # Optimize for size instead of speed 12 - , runtimeCpuDetectBuild ? true # Detect CPU capabilities at runtime (disable to compile natively) 13 - , grayBuild ? true # Full grayscale support 14 - , swscaleAlphaBuild ? true # Alpha channel support in swscale 15 - , hardcodedTablesBuild ? true # Hardcode decode tables instead of runtime generation 16 - , safeBitstreamReaderBuild ? true # Buffer boundary checking in bitreaders 17 - , multithreadBuild ? true # Multithreading via pthreads/win32 threads 18 - , networkBuild ? true # Network support 19 - , pixelutilsBuild ? true # Pixel utils in libavutil 20 - , enableLto ? false # build with link-time optimization 21 - /* 22 - * Program options 23 - */ 24 - , ffmpegProgram ? true # Build ffmpeg executable 25 - , ffplayProgram ? true # Build ffplay executable 26 - , ffprobeProgram ? true # Build ffprobe executable 27 - , qtFaststartProgram ? true # Build qt-faststart executable 28 - /* 29 - * Library options 30 - */ 31 - , avcodecLibrary ? true # Build avcodec library 32 - , avdeviceLibrary ? true # Build avdevice library 33 - , avfilterLibrary ? true # Build avfilter library 34 - , avformatLibrary ? true # Build avformat library 35 - , avutilLibrary ? true # Build avutil library 36 - , postprocLibrary ? true # Build postproc library 37 - , swresampleLibrary ? true # Build swresample library 38 - , swscaleLibrary ? true # Build swscale library 39 - /* 40 - * Documentation options 41 - */ 42 - , htmlpagesDocumentation ? false # HTML documentation pages 43 - , manpagesDocumentation ? true # Man documentation pages 44 - , podpagesDocumentation ? false # POD documentation pages 45 - , txtpagesDocumentation ? false # Text documentation pages 46 - /* 47 - * External libraries options 48 - */ 49 - , alsa-lib ? null # Alsa in/output support 50 - #, avisynth ? null # Support for reading AviSynth scripts 51 - , bzip2 ? null 52 - , clang ? null 53 - , celt ? null # CELT decoder 54 - #, crystalhd ? null # Broadcom CrystalHD hardware acceleration 55 - , cuda ? !stdenv.isDarwin && !stdenv.isAarch64 # Dynamically linked CUDA 56 - , cuda-llvm ? !stdenv.isDarwin && !stdenv.isAarch64 # LLVM-based CUDA compilation 57 - , dav1d ? null # AV1 decoder (focused on speed and correctness) 58 - #, decklinkExtlib ? false, blackmagic-design-desktop-video ? null # Blackmagic Design DeckLink I/O support 59 - , fdkaacExtlib ? false, fdk_aac ? null # Fraunhofer FDK AAC de/encoder 60 - #, flite ? null # Flite (voice synthesis) support 61 - , fontconfig ? null # Needed for drawtext filter 62 - , freetype ? null # Needed for drawtext filter 63 - , frei0r ? null # frei0r video filtering 64 - , fribidi ? null # Needed for drawtext filter 65 - , game-music-emu ? null # Game Music Emulator 66 - , gnutls ? null 67 - , gsm ? null # GSM de/encoder 68 - #, ilbc ? null # iLBC de/encoder 69 - , libjack2 ? null # Jack audio (only version 2 is supported in this build) 70 - , ladspaH ? null # LADSPA audio filtering 71 - , lame ? null # LAME MP3 encoder 72 - , libass ? null # (Advanced) SubStation Alpha subtitle rendering 73 - , libaom ? null # AV1 encoder 74 - , libbluray ? null # BluRay reading 75 - , libbs2b ? null # bs2b DSP library 76 - , libcaca ? null # Textual display (ASCII art) 77 - #, libcdio-paranoia ? null # Audio CD grabbing 78 - , libdc1394 ? null, libraw1394 ? null # IIDC-1394 grabbing (ieee 1394) 79 - , libdrm ? null # libdrm support 80 - , libiconv ? null 81 - #, libiec61883 ? null, libavc1394 ? null # iec61883 (also uses libraw1394) 82 - , libmfx ? null # Hardware acceleration vis libmfx 83 - , libmodplug ? null # ModPlug support 84 - , libmysofa ? null # HRTF support via SOFAlizer 85 - #, libnut ? null # NUT (de)muxer, native (de)muser exists 86 - , libogg ? null # Ogg container used by vorbis & theora 87 - , libopenmpt ? null # Tracked music files decoder 88 - , libopus ? null # Opus de/encoder 89 - , librsvg ? null # SVG protocol 90 - , libssh ? null # SFTP protocol 91 - , libtheora ? null # Theora encoder 92 - , libv4l ? null # Video 4 Linux support 93 - , libva ? null # Vaapi hardware acceleration 94 - , libvdpau ? null # Vdpau hardware acceleration 95 - , libvmaf ? null # Netflix's VMAF (Video Multi-Method Assessment Fusion) 96 - , libvorbis ? null # Vorbis de/encoding, native encoder exists 97 - , libvpx ? null # VP8 & VP9 de/encoding 98 - , libwebp ? null # WebP encoder 99 - , libX11 ? null # Xlib support 100 - , libxcb ? null # X11 grabbing using XCB 101 - , libxcbshmExtlib ? true # X11 grabbing shm communication 102 - , libxcbxfixesExtlib ? true # X11 grabbing mouse rendering 103 - , libxcbshapeExtlib ? true # X11 grabbing shape rendering 104 - , libXv ? null # Xlib support 105 - , libXext ? null # Xlib support 106 - , libxml2 ? null # libxml2 support, for IMF and DASH demuxers 107 - , xz ? null # xz-utils 108 - , nv-codec-headers ? null 109 - , nvdec ? !stdenv.isDarwin && !stdenv.isAarch64 # NVIDIA NVDEC support 110 - , nvenc ? !stdenv.isDarwin && !stdenv.isAarch64 # NVIDIA NVENC support 111 - , openal ? null # OpenAL 1.1 capture support 112 - , ocl-icd ? null # OpenCL ICD 113 - , opencl-headers ? null # OpenCL headers 114 - , opencore-amr ? null # AMR-NB de/encoder & AMR-WB decoder 115 - #, opencv ? null # Video filtering 116 - , openglExtlib ? false, libGL ? null, libGLU ? null # OpenGL rendering 117 - , openh264 ? null # H.264/AVC encoder 118 - , openjpeg ? null # JPEG 2000 de/encoder 119 - , opensslExtlib ? false, openssl ? null 120 - , libpulseaudio ? null # Pulseaudio input support 121 - , rav1e ? null # AV1 encoder (focused on speed and safety) 122 - , svt-av1 ? null # AV1 encoder/decoder (focused on speed and correctness) 123 - , rtmpdump ? null # RTMP[E] support 124 - #, libquvi ? null # Quvi input support 125 - , samba ? null # Samba protocol 126 - #, schroedinger ? null # Dirac de/encoder 127 - , SDL2 ? null 128 - #, shine ? null # Fixed-point MP3 encoder 129 - , soxr ? null # Resampling via soxr 130 - , speex ? null # Speex de/encoder 131 - , srt ? null # Secure Reliable Transport (SRT) protocol 132 - #, twolame ? null # MP2 encoder 133 - #, utvideo ? null # Ut Video de/encoder 134 - , vid-stab ? null # Video stabilization 135 - #, vo-aacenc ? null # AAC encoder 136 - , vo-amrwbenc ? null # AMR-WB encoder 137 - , x264 ? null # H.264/AVC encoder 138 - , x265 ? null # H.265/HEVC encoder 139 - , xavs ? null # AVS encoder 140 - , xvidcore ? null # Xvid encoder, native encoder exists 141 - , zeromq4 ? null # Message passing 142 - , zimg ? null 143 - , zlib ? null 144 - , vulkan-loader ? null 145 - , glslang ? null 146 - #, zvbi ? null # Teletext support 147 - /* 148 - * Developer options 149 - */ 150 - , debugDeveloper ? false 151 - , optimizationsDeveloper ? true 152 - , extraWarningsDeveloper ? false 153 - , strippingDeveloper ? false 154 - /* 155 - * Darwin frameworks 156 - */ 157 - , Cocoa, CoreAudio, CoreServices, AVFoundation, MediaToolbox 158 - , VideoDecodeAcceleration, VideoToolbox 159 - }: 160 - 161 - /* Maintainer notes: 162 - * 163 - * Version bumps: 164 - * It should always be safe to bump patch releases (e.g. 2.1.x, x being a patch release) 165 - * If adding a new branch, note any configure flags that were added, changed, or deprecated/removed 166 - * and make the necessary changes. 167 - * 168 - * Packages with errors: 169 - * flite ilbc schroedinger 170 - * opencv - circular dependency issue 171 - * 172 - * Not packaged: 173 - * aacplus avisynth cdio-paranoia crystalhd libavc1394 libiec61883 174 - * libnut libquvi nvenc oss shine twolame 175 - * utvideo vo-aacenc vo-amrwbenc xvmc zvbi blackmagic-design-desktop-video 176 - * 177 - * Need fixes to support Darwin: 178 - * gsm libjack2 libmodplug libmfx(intel-media-sdk) nvenc pulseaudio samba 179 - * vid-stab 180 - * 181 - * Need fixes to support AArch64: 182 - * libmfx(intel-media-sdk) nvenc 183 - * 184 - * Not supported: 185 - * stagefright-h264(android only) 186 - * 187 - * Known issues: 188 - * flite: configure fails to find library 189 - * Tried modifying ffmpeg's configure script and flite to use pkg-config 190 - * Cross-compiling will disable features not present on host OS 191 - * (e.g. dxva2 support [DirectX] will not be enabled unless natively compiled on Cygwin) 192 - * 193 - */ 194 - 195 - let 196 - inherit (stdenv) isCygwin isDarwin isFreeBSD isLinux isAarch64; 197 - inherit (lib) optional optionals optionalString enableFeature; 198 - in 199 - 200 - /* 201 - * Licensing dependencies 202 - */ 203 - assert version3Licensing -> gplLicensing; 204 - assert nonfreeLicensing -> gplLicensing && version3Licensing; 205 - /* 206 - * Build dependencies 207 - */ 208 - assert networkBuild -> gnutls != null || opensslExtlib; 209 - assert pixelutilsBuild -> avutilLibrary; 210 - /* 211 - * Platform dependencies 212 - */ 213 - assert isDarwin -> !nvenc; 214 - /* 215 - * Program dependencies 216 - */ 217 - assert ffmpegProgram -> avcodecLibrary 218 - && avfilterLibrary 219 - && avformatLibrary 220 - && swresampleLibrary; 221 - assert ffplayProgram -> avcodecLibrary 222 - && avformatLibrary 223 - && swscaleLibrary 224 - && swresampleLibrary 225 - && SDL2 != null; 226 - assert ffprobeProgram -> avcodecLibrary && avformatLibrary; 227 - /* 228 - * Library dependencies 229 - */ 230 - assert avcodecLibrary -> avutilLibrary; # configure flag since 0.6 231 - assert avdeviceLibrary -> avformatLibrary 232 - && avcodecLibrary 233 - && avutilLibrary; # configure flag since 0.6 234 - assert avformatLibrary -> avcodecLibrary && avutilLibrary; # configure flag since 0.6 235 - assert postprocLibrary -> avutilLibrary; 236 - assert swresampleLibrary -> soxr != null; 237 - assert swscaleLibrary -> avutilLibrary; 238 - /* 239 - * External libraries 240 - */ 241 - #assert decklinkExtlib -> blackmagic-design-desktop-video != null 242 - # && !isCygwin && multithreadBuild # POSIX threads required 243 - # && nonfreeLicensing; 244 - assert fdkaacExtlib -> fdk_aac != null && nonfreeLicensing; 245 - assert gnutls != null -> !opensslExtlib; 246 - assert libxcbshmExtlib -> libxcb != null; 247 - assert libxcbxfixesExtlib -> libxcb != null; 248 - assert libxcbshapeExtlib -> libxcb != null; 249 - assert openglExtlib -> libGL != null && libGLU != null; 250 - assert opensslExtlib -> gnutls == null && openssl != null && nonfreeLicensing; 251 - 252 - stdenv.mkDerivation rec { 253 - pname = "ffmpeg-full"; 254 - inherit (ffmpeg) src version patches; 255 - 256 - prePatch = '' 257 - patchShebangs . 258 - '' + lib.optionalString stdenv.isDarwin '' 259 - sed -i 's/#ifndef __MAC_10_11/#if 1/' ./libavcodec/audiotoolboxdec.c 260 - '' + lib.optionalString (frei0r != null) '' 261 - substituteInPlace libavfilter/vf_frei0r.c \ 262 - --replace /usr/local/lib/frei0r-1 ${frei0r}/lib/frei0r-1 263 - substituteInPlace doc/filters.texi \ 264 - --replace /usr/local/lib/frei0r-1 ${frei0r}/lib/frei0r-1 265 - ''; 266 - 267 - configurePlatforms = []; 268 - configureFlags = [ 269 - "--target_os=${if stdenv.hostPlatform.isMinGW then "mingw64" else stdenv.hostPlatform.parsed.kernel.name}" #mingw32 and mingw64 doesn't have a difference here, it is internally rewritten as mingw32 270 - "--arch=${stdenv.hostPlatform.parsed.cpu.name}" 271 - /* 272 - * Licensing flags 273 - */ 274 - (enableFeature gplLicensing "gpl") 275 - (enableFeature version3Licensing "version3") 276 - (enableFeature nonfreeLicensing "nonfree") 277 - /* 278 - * Build flags 279 - */ 280 - # On some ARM platforms --enable-thumb 281 - "--enable-shared" 282 - (enableFeature true "pic") 283 - (enableFeature smallBuild "small") 284 - (enableFeature runtimeCpuDetectBuild "runtime-cpudetect") 285 - (enableFeature enableLto "lto") 286 - (enableFeature grayBuild "gray") 287 - (enableFeature swscaleAlphaBuild "swscale-alpha") 288 - (enableFeature hardcodedTablesBuild "hardcoded-tables") 289 - (enableFeature safeBitstreamReaderBuild "safe-bitstream-reader") 290 - (if multithreadBuild then ( 291 - if stdenv.hostPlatform.isWindows then 292 - "--disable-pthreads --enable-w32threads" 293 - else # Use POSIX threads by default 294 - "--enable-pthreads --disable-w32threads") 295 - else 296 - "--disable-pthreads --disable-w32threads") 297 - "--disable-os2threads" # We don't support OS/2 298 - (enableFeature networkBuild "network") 299 - (enableFeature pixelutilsBuild "pixelutils") 300 - /* 301 - * Program flags 302 - */ 303 - (enableFeature ffmpegProgram "ffmpeg") 304 - (enableFeature ffplayProgram "ffplay") 305 - (enableFeature ffprobeProgram "ffprobe") 306 - /* 307 - * Library flags 308 - */ 309 - (enableFeature avcodecLibrary "avcodec") 310 - (enableFeature avdeviceLibrary "avdevice") 311 - (enableFeature avfilterLibrary "avfilter") 312 - (enableFeature avformatLibrary "avformat") 313 - (enableFeature avutilLibrary "avutil") 314 - (enableFeature (postprocLibrary && gplLicensing) "postproc") 315 - (enableFeature swresampleLibrary "swresample") 316 - (enableFeature swscaleLibrary "swscale") 317 - /* 318 - * Documentation flags 319 - */ 320 - (enableFeature (htmlpagesDocumentation 321 - || manpagesDocumentation 322 - || podpagesDocumentation 323 - || txtpagesDocumentation) "doc") 324 - (enableFeature htmlpagesDocumentation "htmlpages") 325 - (enableFeature manpagesDocumentation "manpages") 326 - (enableFeature podpagesDocumentation "podpages") 327 - (enableFeature txtpagesDocumentation "txtpages") 328 - /* 329 - * External libraries 330 - */ 331 - #(enableFeature avisynth "avisynth") 332 - (enableFeature (bzip2 != null) "bzlib") 333 - (enableFeature (celt != null) "libcelt") 334 - (enableFeature cuda "cuda") 335 - (enableFeature (clang != null && cuda-llvm) "cuda-llvm") 336 - #(enableFeature crystalhd "crystalhd") 337 - (enableFeature (dav1d != null) "libdav1d") 338 - #(enableFeature decklinkExtlib "decklink") 339 - (enableFeature (fdkaacExtlib && gplLicensing) "libfdk-aac") 340 - #(enableFeature (flite != null) "libflite") 341 - "--disable-libflite" # Force disable until a solution is found 342 - (enableFeature (fontconfig != null) "fontconfig") 343 - (enableFeature (freetype != null) "libfreetype") 344 - (enableFeature (frei0r != null && gplLicensing) "frei0r") 345 - (enableFeature (fribidi != null) "libfribidi") 346 - (enableFeature (game-music-emu != null) "libgme") 347 - (enableFeature (gnutls != null) "gnutls") 348 - (enableFeature (gsm != null) "libgsm") 349 - #(enableFeature (ilbc != null) "libilbc") 350 - (enableFeature (ladspaH !=null) "ladspa") 351 - (enableFeature (lame != null) "libmp3lame") 352 - (enableFeature (libaom != null) "libaom") 353 - (enableFeature (libass != null) "libass") 354 - #(enableFeature (libavc1394 != null) null null) 355 - (enableFeature (libbluray != null) "libbluray") 356 - (enableFeature (libbs2b != null) "libbs2b") 357 - #(enableFeature (libcaca != null) "libcaca") 358 - #(enableFeature (cdio-paranoia != null && gplLicensing) "libcdio") 359 - (enableFeature (if isLinux then libdc1394 != null && libraw1394 != null else false) "libdc1394") 360 - (enableFeature ((isLinux || isFreeBSD) && libdrm != null) "libdrm") 361 - (enableFeature (libiconv != null) "iconv") 362 - (enableFeature (libjack2 != null) "libjack") 363 - #(enableFeature (if isLinux then libiec61883 != null && libavc1394 != null && libraw1394 != null else false) "libiec61883") 364 - (enableFeature (if isLinux && !isAarch64 then libmfx != null else false) "libmfx") 365 - (enableFeature (libmodplug != null) "libmodplug") 366 - (enableFeature (libmysofa != null) "libmysofa") 367 - #(enableFeature (libnut != null) "libnut") 368 - (enableFeature (libopenmpt != null) "libopenmpt") 369 - (enableFeature (libopus != null) "libopus") 370 - (enableFeature (librsvg != null) "librsvg") 371 - (enableFeature (srt != null) "libsrt") 372 - (enableFeature (libssh != null) "libssh") 373 - (enableFeature (libtheora != null) "libtheora") 374 - (enableFeature (if isLinux then libv4l != null else false) "libv4l2") 375 - (enableFeature ((isLinux || isFreeBSD) && libva != null) "vaapi") 376 - (enableFeature (libvdpau != null) "vdpau") 377 - (enableFeature (libvorbis != null) "libvorbis") 378 - (enableFeature (!isAarch64 && libvmaf != null && version3Licensing) "libvmaf") 379 - (enableFeature (libvpx != null) "libvpx") 380 - (enableFeature (libwebp != null) "libwebp") 381 - (enableFeature (libX11 != null && libXv != null && libXext != null) "xlib") 382 - (enableFeature (libxcb != null) "libxcb") 383 - (enableFeature libxcbshmExtlib "libxcb-shm") 384 - (enableFeature libxcbxfixesExtlib "libxcb-xfixes") 385 - (enableFeature libxcbshapeExtlib "libxcb-shape") 386 - (enableFeature (libxml2 != null) "libxml2") 387 - (enableFeature (xz != null) "lzma") 388 - (enableFeature nvdec "cuvid") 389 - (enableFeature nvdec "nvdec") 390 - (enableFeature nvenc "nvenc") 391 - (enableFeature (openal != null) "openal") 392 - (enableFeature (ocl-icd != null && opencl-headers != null) "opencl") 393 - (enableFeature (opencore-amr != null && version3Licensing) "libopencore-amrnb") 394 - #(enableFeature (opencv != null) "libopencv") 395 - (enableFeature openglExtlib "opengl") 396 - (enableFeature (openh264 != null) "libopenh264") 397 - (enableFeature (openjpeg != null) "libopenjpeg") 398 - (enableFeature (opensslExtlib && gplLicensing) "openssl") 399 - (enableFeature (libpulseaudio != null) "libpulse") 400 - #(enableFeature quvi "libquvi") 401 - (enableFeature (rav1e != null) "librav1e") 402 - (enableFeature (svt-av1 != null) "libsvtav1") 403 - (enableFeature (rtmpdump != null) "librtmp") 404 - #(enableFeature (schroedinger != null) "libschroedinger") 405 - (enableFeature (SDL2 != null) "sdl2") 406 - (enableFeature (soxr != null) "libsoxr") 407 - (enableFeature (speex != null) "libspeex") 408 - #(enableFeature (twolame != null) "libtwolame") 409 - #(enableFeature (utvideo != null && gplLicensing) "libutvideo") 410 - (enableFeature (vid-stab != null && gplLicensing) "libvidstab") # Actual min. version 2.0 411 - #(enableFeature (vo-aacenc != null && version3Licensing) "libvo-aacenc") 412 - (enableFeature (vo-amrwbenc != null && version3Licensing) "libvo-amrwbenc") 413 - (enableFeature (x264 != null && gplLicensing) "libx264") 414 - (enableFeature (x265 != null && gplLicensing) "libx265") 415 - (enableFeature (xavs != null && gplLicensing) "libxavs") 416 - (enableFeature (xvidcore != null && gplLicensing) "libxvid") 417 - (enableFeature (zeromq4 != null) "libzmq") 418 - (enableFeature (zimg != null) "libzimg") 419 - (enableFeature (zlib != null) "zlib") 420 - (enableFeature (isLinux && vulkan-loader != null) "vulkan") 421 - (enableFeature (isLinux && vulkan-loader != null && glslang != null) "libglslang") 422 - (enableFeature (samba != null && gplLicensing && version3Licensing) "libsmbclient") 423 - #(enableFeature (zvbi != null && gplLicensing) "libzvbi") 424 - /* 425 - * Developer flags 426 - */ 427 - (enableFeature debugDeveloper "debug") 428 - (enableFeature optimizationsDeveloper "optimizations") 429 - (enableFeature extraWarningsDeveloper "extra-warnings") 430 - (enableFeature strippingDeveloper "stripping") 431 - ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 432 - "--cross-prefix=${stdenv.cc.targetPrefix}" 433 - "--enable-cross-compile" 434 - "--host-cc=${buildPackages.stdenv.cc}/bin/cc" 435 - ] ++ optionals stdenv.cc.isClang [ 436 - "--cc=clang" 437 - "--cxx=clang++" 438 - ]; 439 - 440 - nativeBuildInputs = [ addOpenGLRunpath perl pkg-config texinfo yasm ]; 441 - 442 - buildInputs = [ 443 - bzip2 celt dav1d fontconfig freetype frei0r fribidi game-music-emu gnutls gsm 444 - libjack2 ladspaH lame libaom libass libbluray libbs2b libcaca libdc1394 libmodplug libmysofa 445 - libogg libopenmpt libopus librsvg libssh libtheora libvdpau libvorbis libvpx libwebp libX11 446 - libxcb libXv libXext libxml2 xz openal ocl-icd opencl-headers openjpeg libpulseaudio rav1e svt-av1 rtmpdump opencore-amr 447 - samba SDL2 soxr speex srt vid-stab vo-amrwbenc x264 x265 xavs xvidcore 448 - zeromq4 zimg zlib openh264 449 - ] ++ optionals openglExtlib [ libGL libGLU ] 450 - ++ optionals nonfreeLicensing [ fdk_aac openssl ] 451 - ++ optional ((isLinux || isFreeBSD) && libva != null) libva 452 - ++ optional ((isLinux || isFreeBSD) && libdrm != null) libdrm 453 - ++ optional (!isAarch64 && libvmaf != null && version3Licensing) libvmaf 454 - ++ optionals isLinux [ alsa-lib libraw1394 libv4l vulkan-loader glslang ] 455 - ++ optional (isLinux && !isAarch64 && libmfx != null) libmfx 456 - ++ optional (nvdec || nvenc) nv-codec-headers 457 - ++ optional cuda-llvm clang 458 - ++ optionals stdenv.isDarwin [ Cocoa CoreServices CoreAudio AVFoundation 459 - MediaToolbox VideoDecodeAcceleration VideoToolbox 460 - libiconv ]; 461 - 462 - buildFlags = [ "all" ] 463 - ++ optional qtFaststartProgram "tools/qt-faststart"; # Build qt-faststart executable 464 - 465 - doCheck = true; 466 - checkPhase = let 467 - ldLibraryPathEnv = if stdenv.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH"; 468 - in '' 469 - ${ldLibraryPathEnv}="libavcodec:libavdevice:libavfilter:libavformat:libavutil:libpostproc:libswresample:libswscale:''${${ldLibraryPathEnv}}" \ 470 - make check -j$NIX_BUILD_CORES 471 - ''; 472 - 473 - # Hacky framework patching technique borrowed from the phantomjs2 package 474 - postInstall = optionalString qtFaststartProgram '' 475 - cp -a tools/qt-faststart $out/bin/ 476 - ''; 477 - 478 - postFixup = optionalString stdenv.isLinux '' 479 - # Set RUNPATH so that libnvcuvid and libcuda in /run/opengl-driver(-32)/lib can be found. 480 - # See the explanation in addOpenGLRunpath. 481 - addOpenGLRunpath $out/lib/libavcodec.so 482 - addOpenGLRunpath $out/lib/libavutil.so 483 - ''; 484 - 485 - enableParallelBuilding = true; 486 - 487 - meta = with lib; { 488 - description = "A complete, cross-platform solution to record, convert and stream audio and video"; 489 - homepage = "https://www.ffmpeg.org/"; 490 - changelog = "https://github.com/FFmpeg/FFmpeg/blob/n${version}/Changelog"; 491 - longDescription = '' 492 - FFmpeg is the leading multimedia framework, able to decode, encode, transcode, 493 - mux, demux, stream, filter and play pretty much anything that humans and machines 494 - have created. It supports the most obscure ancient formats up to the cutting edge. 495 - No matter if they were designed by some standards committee, the community or 496 - a corporation. 497 - ''; 498 - license = ( 499 - if nonfreeLicensing then 500 - licenses.unfreeRedistributable 501 - else if version3Licensing then 502 - licenses.gpl3 503 - else if gplLicensing then 504 - licenses.gpl2Plus 505 - else 506 - licenses.lgpl21Plus 507 - ); 508 - platforms = platforms.all; 509 - maintainers = with maintainers; [ codyopel ]; 510 - }; 511 - }
+22 -7
pkgs/development/libraries/ffmpeg/generic.nix
··· 140 140 , buildAvdevice ? withHeadlessDeps # Build avdevice library 141 141 , buildAvfilter ? withHeadlessDeps # Build avfilter library 142 142 , buildAvformat ? withHeadlessDeps # Build avformat library 143 + # Deprecated but depended upon by some packages. 144 + # https://github.com/NixOS/nixpkgs/pull/211834#issuecomment-1417435991) 145 + , buildAvresample ? withHeadlessDeps && lib.versionOlder version "5" # Build avresample library 143 146 , buildAvutil ? withHeadlessDeps # Build avutil library 144 147 , buildPostproc ? withHeadlessDeps # Build postproc library 145 148 , buildSwresample ? withHeadlessDeps # Build swresample library ··· 304 301 assert buildFfmpeg -> buildAvcodec 305 302 && buildAvfilter 306 303 && buildAvformat 307 - && buildSwresample; 304 + && (buildSwresample || buildAvresample); 308 305 assert buildFfplay -> buildAvcodec 309 306 && buildAvformat 310 307 && buildSwscale 311 - && buildSwresample; 308 + && (buildSwresample || buildAvresample); 312 309 assert buildFfprobe -> buildAvcodec && buildAvformat; 313 310 /* 314 311 * Library dependencies ··· 395 392 (enableFeature buildAvdevice "avdevice") 396 393 (enableFeature buildAvfilter "avfilter") 397 394 (enableFeature buildAvformat "avformat") 395 + ] ++ optionals (lib.versionOlder version "5") [ 396 + # Ffmpeg > 4 doesn't know about the flag anymore 397 + (enableFeature buildAvresample "avresample") 398 + ] ++ [ 398 399 (enableFeature buildAvutil "avutil") 399 400 (enableFeature (buildPostproc && withGPL) "postproc") 400 401 (enableFeature buildSwresample "swresample") ··· 618 611 619 612 doCheck = stdenv.hostPlatform == stdenv.buildPlatform; 620 613 621 - # Fails with SIGABRT otherwise 614 + # Fails with SIGABRT otherwise FIXME: Why? 622 615 checkPhase = let 623 616 ldLibraryPathEnv = if stdenv.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH"; 617 + libsToLink = [ ] 618 + ++ optional buildAvcodec "libavcodec" 619 + ++ optional buildAvdevice "libavdevice" 620 + ++ optional buildAvfilter "libavfilter" 621 + ++ optional buildAvformat "libavformat" 622 + ++ optional buildAvresample "libavresample" 623 + ++ optional buildAvutil "libavutil" 624 + ++ optional buildPostproc "libpostproc" 625 + ++ optional buildSwresample "libswresample" 626 + ++ optional buildSwscale "libswscale" 627 + ; 624 628 in '' 625 - ${ldLibraryPathEnv}="libavcodec:libavdevice:libavfilter:libavformat:libavutil:libpostproc${ 626 - optionalString (withHeadlessDeps) ":libswresample" # TODO this can probably go away 627 - }:libswscale:''${${ldLibraryPathEnv}}" \ 628 - make check -j$NIX_BUILD_CORES 629 + ${ldLibraryPathEnv}="${lib.concatStringsSep ":" libsToLink}" make check -j$NIX_BUILD_CORES 629 630 ''; 630 631 631 632 outputs = optionals withBin [ "bin" ] # The first output is the one that gets symlinked by default!
-36
pkgs/development/libraries/openssl/3.0/CVE-2022-3996.patch
··· 1 - From 7725e7bfe6f2ce8146b6552b44e0d226be7638e7 Mon Sep 17 00:00:00 2001 2 - From: Pauli <pauli@openssl.org> 3 - Date: Fri, 11 Nov 2022 09:40:19 +1100 4 - Subject: [PATCH] x509: fix double locking problem 5 - 6 - This reverts commit 9aa4be691f5c73eb3c68606d824c104550c053f7 and removed the 7 - redundant flag setting. 8 - 9 - Fixes #19643 10 - 11 - Fixes LOW CVE-2022-3996 12 - 13 - Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> 14 - Reviewed-by: Tomas Mraz <tomas@openssl.org> 15 - (Merged from https://github.com/openssl/openssl/pull/19652) 16 - 17 - (cherry picked from commit 4d0340a6d2f327700a059f0b8f954d6160f8eef5) 18 - --- 19 - crypto/x509/pcy_map.c | 4 ---- 20 - 1 file changed, 4 deletions(-) 21 - 22 - diff --git a/crypto/x509/pcy_map.c b/crypto/x509/pcy_map.c 23 - index 05406c6493fc..60dfd1e3203b 100644 24 - --- a/crypto/x509/pcy_map.c 25 - +++ b/crypto/x509/pcy_map.c 26 - @@ -73,10 +73,6 @@ int ossl_policy_cache_set_mapping(X509 *x, POLICY_MAPPINGS *maps) 27 - 28 - ret = 1; 29 - bad_mapping: 30 - - if (ret == -1 && CRYPTO_THREAD_write_lock(x->lock)) { 31 - - x->ex_flags |= EXFLAG_INVALID_POLICY; 32 - - CRYPTO_THREAD_unlock(x->lock); 33 - - } 34 - sk_POLICY_MAPPING_pop_free(maps, POLICY_MAPPING_free); 35 - return ret; 36 -
+4 -7
pkgs/development/libraries/openssl/default.nix
··· 216 216 217 217 218 218 openssl_1_1 = common { 219 - version = "1.1.1s"; 220 - sha256 = "sha256-xawB52Dub/Dath1rK70wFGck0GPrMiGAxvGKb3Tktqo="; 219 + version = "1.1.1t"; 220 + sha256 = "sha256-je6bJL2x3L8MPR6bAvuPa/IhZegH9Fret8lndTaFnTs="; 221 221 patches = [ 222 222 ./1.1/nix-ssl-cert-file.patch 223 223 ··· 229 229 }; 230 230 231 231 openssl_3 = common { 232 - version = "3.0.7"; 233 - sha256 = "sha256-gwSdBComDmlvYkBqxcCL9wb9hDg/lFzyG9YentlcOW4="; 232 + version = "3.0.8"; 233 + sha256 = "sha256-bBPSvzj98x6sPOKjRwc2c/XWMmM5jx9p0N9KQSU+Sz4="; 234 234 patches = [ 235 235 ./3.0/nix-ssl-cert-file.patch 236 236 ··· 241 241 (if stdenv.hostPlatform.isDarwin 242 242 then ./use-etc-ssl-certs-darwin.patch 243 243 else ./use-etc-ssl-certs.patch) 244 - 245 - # Remove with 3.0.8 release 246 - ./3.0/CVE-2022-3996.patch 247 244 ]; 248 245 249 246 withDocs = true;
+2
pkgs/development/ocaml-modules/caqti/driver-sqlite3.nix
··· 4 4 pname = "caqti-driver-sqlite3"; 5 5 inherit (caqti) version src; 6 6 7 + duneVersion = "3"; 8 + 7 9 propagatedBuildInputs = [ caqti ocaml_sqlite3 ]; 8 10 9 11 meta = caqti.meta // {
+2 -1
pkgs/development/ocaml-modules/checkseum/default.nix
··· 10 10 pname = "checkseum"; 11 11 12 12 minimalOCamlVersion = "4.07"; 13 + duneVersion = "3"; 13 14 14 15 src = fetchurl { 15 16 url = "https://github.com/mirage/checkseum/releases/download/v${version}/checkseum-${version}.tbz"; 16 - sha256 = "sha256-K6QPMts5+hxH2a+WQ1N0lwMBoshG2T0bSozNgzRvAlo="; 17 + hash = "sha256-K6QPMts5+hxH2a+WQ1N0lwMBoshG2T0bSozNgzRvAlo="; 17 18 }; 18 19 19 20 buildInputs = [ dune-configurator ];
+1
pkgs/development/ocaml-modules/chrome-trace/default.nix
··· 4 4 pname = "chrome-trace"; 5 5 inherit (dune_3) src version; 6 6 7 + minimalOCamlVersion = "4.08"; 7 8 duneVersion = "3"; 8 9 9 10 dontAddPrefix = true;
+1
pkgs/development/ocaml-modules/irmin/chunk.nix
··· 4 4 5 5 pname = "irmin-chunk"; 6 6 inherit (irmin) version src strictDeps; 7 + duneVersion = "3"; 7 8 8 9 propagatedBuildInputs = [ irmin fmt logs lwt ]; 9 10
+1
pkgs/development/ocaml-modules/irmin/containers.nix
··· 7 7 pname = "irmin-containers"; 8 8 9 9 inherit (ppx_irmin) src version strictDeps; 10 + duneVersion = "3"; 10 11 11 12 nativeBuildInputs = [ 12 13 ppx_irmin
+2 -1
pkgs/development/ocaml-modules/irmin/default.nix
··· 9 9 10 10 inherit (ppx_irmin) src version strictDeps; 11 11 12 - minimalOCamlVersion = "4.08"; 12 + minimalOCamlVersion = "4.10"; 13 + duneVersion = "3"; 13 14 14 15 propagatedBuildInputs = [ 15 16 astring
+1
pkgs/development/ocaml-modules/irmin/fs.nix
··· 7 7 pname = "irmin-fs"; 8 8 9 9 inherit (irmin) version src strictDeps; 10 + duneVersion = "3"; 10 11 11 12 propagatedBuildInputs = [ irmin astring logs lwt ]; 12 13
+1
pkgs/development/ocaml-modules/irmin/mirage.nix
··· 4 4 pname = "irmin-mirage"; 5 5 6 6 inherit (irmin) version src strictDeps; 7 + duneVersion = "3"; 7 8 8 9 propagatedBuildInputs = [ 9 10 irmin fmt ptime mirage-clock
+4 -3
pkgs/development/ocaml-modules/irmin/pack.nix
··· 1 1 { lib, buildDunePackage 2 - , index, ppx_irmin, irmin, optint, fmt, logs, lwt, mtime, cmdliner 2 + , index, ppx_irmin, irmin, optint, fmt, logs, lwt, mtime, cmdliner, checkseum, rusage 3 3 , alcotest, alcotest-lwt, astring, irmin-test 4 4 }: 5 5 6 6 buildDunePackage rec { 7 - minimalOCamlVersion = "4.08"; 7 + minimalOCamlVersion = "4.10"; 8 + duneVersion = "3"; 8 9 9 10 pname = "irmin-pack"; 10 11 ··· 13 12 14 13 nativeBuildInputs = [ ppx_irmin ]; 15 14 16 - propagatedBuildInputs = [ index irmin optint fmt logs lwt mtime cmdliner ]; 15 + propagatedBuildInputs = [ index irmin optint fmt logs lwt mtime cmdliner checkseum rusage ]; 17 16 18 17 checkInputs = [ astring alcotest alcotest-lwt irmin-test ]; 19 18
+3 -2
pkgs/development/ocaml-modules/irmin/ppx.nix
··· 2 2 3 3 buildDunePackage rec { 4 4 pname = "ppx_irmin"; 5 - version = "3.4.1"; 5 + version = "3.5.1"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz"; 9 - sha256 = "sha256-kig2EWww7GgGijhpSgm7pSHPR+3Q5K5E4Ha5tJY9oYA="; 9 + hash = "sha256-zXiKjT9KPdGNwWChU9SuyR6vaw+0GtQUZNJsecMEqY4="; 10 10 }; 11 11 12 12 minimalOCamlVersion = "4.10"; 13 + duneVersion = "3"; 13 14 14 15 propagatedBuildInputs = [ 15 16 ppx_repr
+1
pkgs/development/ocaml-modules/irmin/test.nix
··· 8 8 pname = "irmin-test"; 9 9 10 10 inherit (irmin) version src strictDeps; 11 + duneVersion = "3"; 11 12 12 13 nativeBuildInputs = [ ppx_irmin ]; 13 14
+1
pkgs/development/ocaml-modules/irmin/tezos.nix
··· 7 7 pname = "irmin-tezos"; 8 8 9 9 inherit (irmin) version src strictDeps; 10 + duneVersion = "3"; 10 11 11 12 propagatedBuildInputs = [ 12 13 irmin
+1
pkgs/development/ocaml-modules/ordering/default.nix
··· 4 4 pname = "ordering"; 5 5 inherit (dune_3) version src; 6 6 duneVersion = "3"; 7 + minimalOCamlVersion = "4.08"; 7 8 8 9 dontAddPrefix = true; 9 10
+20
pkgs/development/ocaml-modules/rusage/default.nix
··· 1 + { lib, fetchurl, buildDunePackage }: 2 + 3 + buildDunePackage rec { 4 + pname = "rusage"; 5 + version = "1.0.0"; 6 + 7 + duneVersion = "3"; 8 + 9 + src = fetchurl { 10 + url = "https://github.com/CraigFe/ocaml-rusage/releases/download/${version}/rusage-${version}.tbz"; 11 + hash = "sha256-OgYA2Fe1goqoaOS45Z6FBJNNYN/uq+KQoUwG8KSo6Fk="; 12 + }; 13 + 14 + meta = { 15 + description = "Bindings to the GETRUSAGE(2) syscall"; 16 + homepage = "https://github.com/CraigFe/ocaml-rusage"; 17 + license = lib.licenses.mit; 18 + maintainers = [ lib.maintainers.vbgl ]; 19 + }; 20 + }
+3 -3
pkgs/development/ocaml-modules/sqlite3/default.nix
··· 3 3 buildDunePackage rec { 4 4 pname = "sqlite3"; 5 5 version = "5.1.0"; 6 - useDune2 = true; 7 - minimumOCamlVersion = "4.05"; 6 + duneVersion = "3"; 7 + minimalOCamlVersion = "4.12"; 8 8 9 9 src = fetchurl { 10 10 url = "https://github.com/mmottl/sqlite3-ocaml/releases/download/${version}/sqlite3-${version}.tbz"; 11 - sha256 = "sha256-uw23EWkajfok/insTstpEkRK2Q4PTER6+Jgx5tHf/qU="; 11 + hash = "sha256-uw23EWkajfok/insTstpEkRK2Q4PTER6+Jgx5tHf/qU="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkg-config ];
+1
pkgs/development/ocaml-modules/xdg/default.nix
··· 5 5 inherit (dune_3) src version; 6 6 7 7 duneVersion = "3"; 8 + minimalOCamlVersion = "4.08"; 8 9 9 10 dontAddPrefix = true; 10 11
+16 -8
pkgs/development/perl-modules/ham/default.nix
··· 1 - { lib, buildPerlPackage, fetchFromGitHub, makeWrapper, openssh, GitRepository, URI, XMLMini }: 1 + { lib 2 + , buildPerlPackage 3 + , fetchFromGitHub 4 + , makeWrapper 5 + , openssh 6 + , GitRepository 7 + , URI 8 + , XMLMini 9 + }: 2 10 3 11 buildPerlPackage { 4 12 pname = "ham-unstable"; 5 - version = "2020-09-09"; 13 + version = "2022-10-26"; 6 14 7 15 src = fetchFromGitHub { 8 16 owner = "kernkonzept"; 9 17 repo = "ham"; 10 - rev = "ae2a326f2efcdae0fa7c5bf0ba205b580fc91ecc"; 11 - sha256 = "0m65pav2830y0ivwsy60dc4w457qlc0nqg43lji1kj2g96hmy2bw"; 18 + rev = "f2f10516177d00a79fe81701351632df2544ba4e"; 19 + hash = "sha256-cxlZh1x8ycpZIwSeOwqB6BtwYaMoWtSPaeiyW41epdk="; 12 20 }; 13 21 14 22 outputs = [ "out" ]; ··· 40 32 41 33 doCheck = false; 42 34 43 - meta = { 35 + meta = with lib; { 44 36 description = "A tool to manage big projects consisting of multiple loosely-coupled git repositories"; 45 37 homepage = "https://github.com/kernkonzept/ham"; 46 - license = "unknown"; # should be gpl2, but not quite sure 47 - maintainers = with lib.maintainers; [ aw ]; 38 + license = licenses.bsd2; 39 + maintainers = with maintainers; [ aw ]; 48 40 mainProgram = "ham"; 49 - platforms = lib.platforms.unix; 41 + platforms = platforms.unix; 50 42 }; 51 43 }
+2 -2
pkgs/development/python-modules/bluemaestro-ble/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "bluemaestro-ble"; 14 - version = "0.2.1"; 14 + version = "0.2.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.9"; ··· 20 20 owner = "Bluetooth-Devices"; 21 21 repo = pname; 22 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-QGad5o9JZ6ansVh3bRBO+9mE4PKw05acY+9+Ur2OBsY="; 23 + hash = "sha256-mJ5JNGN4F9U3WMJQDwiZwuxE0zOirwo1sWF3/bVwXhY="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/bluetooth-sensor-state-data/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "bluetooth-sensor-state-data"; 13 - version = "1.6.0"; 13 + version = "1.6.1"; 14 14 format = "pyproject"; 15 15 16 16 disabled = pythonOlder "3.9"; ··· 19 19 owner = "Bluetooth-Devices"; 20 20 repo = pname; 21 21 rev = "v${version}"; 22 - hash = "sha256-Btfya9l1UX7GbiUxuaFHT0l+pG+Dg5X0L2JS+1/VYOo="; 22 + hash = "sha256-3qZlk6zV/AeFG4OSRONQ7EMw9Kk/yHjVHV2o64bxCGM="; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/desktop-notifier/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "desktop-notifier"; 14 - version = "3.4.2"; 14 + version = "3.4.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 20 20 owner = "SamSchott"; 21 21 repo = pname; 22 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-OujBpq3SBDKw9Jgb9MD200Rp0fD0OJRw90flxS22I2s="; 23 + hash = "sha256-V5CggWp9G0/XoQhArrY3LCvfkF2SymORDWdJGjsr7yI="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/django_treebeard/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "django-treebeard"; 12 - version = "4.6.0"; 12 + version = "4.6.1"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.8"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - hash = "sha256-frHrcbJCFPLn3DvSFfDDrjL9Z2QXnNR3SveqtJE53qA="; 19 + hash = "sha256-hKs1BAJ31STrd5OeI1VoychWy1I8yWVXk7Zv6aPvRos="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/elementpath/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "elementpath"; 9 - version = "3.0.2"; 9 + version = "4.0.1"; 10 10 format = "setuptools"; 11 11 12 12 disabled = pythonOlder "3.7"; ··· 15 15 owner = "sissaschool"; 16 16 repo = "elementpath"; 17 17 rev = "refs/tags/v${version}"; 18 - hash = "sha256-b+Th28GI2UOmfO4jy4biohAJWPiYWkvFLqqs9lgR4Vc="; 18 + hash = "sha256-BEnSPRuQUnKXtPAJfjxS+fwE0rpPj1U2yRK8eImKMYw="; 19 19 }; 20 20 21 21 # avoid circular dependency with xmlschema which directly depends on this
+2 -2
pkgs/development/python-modules/goodwe/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "goodwe"; 11 - version = "0.2.23"; 11 + version = "0.2.24"; 12 12 format = "pyproject"; 13 13 14 14 disabled = pythonOlder "3.8"; ··· 17 17 owner = "marcelblijleven"; 18 18 repo = pname; 19 19 rev = "refs/tags/v${version}"; 20 - sha256 = "sha256-SX49v+DuV4IZdTJc9XhqhgtG81qLC9QnR/LPMu2m0fo="; 20 + sha256 = "sha256-dcz9IEPr5n86NHne9lEDB0kERY8o+jUEqPmz6QMEF4Q="; 21 21 }; 22 22 23 23 postPatch = ''
+2 -2
pkgs/development/python-modules/lupupy/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "lupupy"; 12 - version = "0.2.5"; 12 + version = "0.2.7"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.6"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - hash = "sha256-SxhGUwcZjaRNCS5dB2hh5uctFGHWuKnM48CcIz6VMh8="; 19 + hash = "sha256-nSa/qFJUnk1QTwUqq2il0RWCPdF4Jwby9NPIwAwcVds="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/oralb-ble/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "oralb-ble"; 15 - version = "0.17.2"; 15 + version = "0.17.4"; 16 16 format = "pyproject"; 17 17 18 18 disabled = pythonOlder "3.9"; ··· 21 21 owner = "Bluetooth-Devices"; 22 22 repo = pname; 23 23 rev = "refs/tags/v${version}"; 24 - hash = "sha256-v2c1FoLgG6HH02d+YBr4Qh12ztRsiwWyueUNOBpWqPM="; 24 + hash = "sha256-KvvcyeYXBtV/sUKMv+1xoXH9ALUX46EWS/STFZkCnUQ="; 25 25 }; 26 26 27 27 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pydeps/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pydeps"; 13 - version = "1.11.0"; 13 + version = "1.11.1"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 19 19 owner = "thebjorn"; 20 20 repo = pname; 21 21 rev = "refs/tags/v${version}"; 22 - hash = "sha256-XAx7B3v+7xYiW15nJgiL82YlNeBxW80M0Rq0LMMsWu0="; 22 + hash = "sha256-nFdt68QhpX1URLEQtdikR11KFK9E9Y+cTvJQn4/YZlI="; 23 23 }; 24 24 25 25 buildInputs = [
+5 -1
pkgs/development/python-modules/pymemcache/default.nix
··· 42 42 disabledTests = [ 43 43 # python-memcached is not available (last release in 2017) 44 44 "TestClientSocketConnect" 45 + ] ++ lib.optionals stdenv.is32bit [ 46 + # test_compressed_complex is broken on 32-bit platforms 47 + # this can be removed on the next version bump 48 + # see also https://github.com/pinterest/pymemcache/pull/480 49 + "test_compressed_complex" 45 50 ]; 46 51 47 52 pythonImportsCheck = [ ··· 58 53 homepage = "https://pymemcache.readthedocs.io/"; 59 54 license = with licenses; [ asl20 ]; 60 55 maintainers = with maintainers; [ fab ]; 61 - broken = stdenv.is32bit; 62 56 }; 63 57 }
+2 -2
pkgs/development/python-modules/schwifty/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "schwifty"; 15 - version = "2022.9.0"; 15 + version = "2023.2.0"; 16 16 format = "pyproject"; 17 17 18 18 disabled = pythonOlder "3.7"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "sha256-/zxK0pUfg5G5w9E+QBt1H12Ld5gWc+WakQdNVRMSFiA="; 22 + sha256 = "sha256-YEBBrU+Xcl5zFPEt/EvPD5eFPUYSpGJ3ZoIK6PRVwlc="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/sensorpro-ble/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "sensorpro-ble"; 14 - version = "0.5.1"; 14 + version = "0.5.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.9"; ··· 20 20 owner = "Bluetooth-Devices"; 21 21 repo = pname; 22 22 rev = "v${version}"; 23 - hash = "sha256-D0xHNPsGlNBoHR3LqR6TbVhqXWapzwYsG+uN3kSF1oE="; 23 + hash = "sha256-Zqa6qa0Jw79Iu4VEw6KN0GsZcC1X7OpiYUiyT4zwKyY="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+4 -3
pkgs/development/python-modules/sensorpush-ble/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "sensorpush-ble"; 14 - version = "1.5.2"; 14 + version = "1.5.5"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.9"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "Bluetooth-Devices"; 21 21 repo = pname; 22 - rev = "v${version}"; 23 - hash = "sha256-64DywtZwfDFjW8WUzw3ZTT462sBGFgAHGc0bGnKCJpY="; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-17Yzpbcy/r+GlkLktgghehfAEboZHMbB/Dze1no4I80="; 24 24 }; 25 25 26 26 nativeBuildInputs = [ ··· 49 49 meta = with lib; { 50 50 description = "Library for SensorPush BLE devices"; 51 51 homepage = "https://github.com/Bluetooth-Devices/sensorpush-ble"; 52 + changelog = "https://github.com/Bluetooth-Devices/sensorpush-ble/releases/tag/v${version}"; 52 53 license = with licenses; [ mit ]; 53 54 maintainers = with maintainers; [ fab ]; 54 55 };
+3 -16
pkgs/development/python-modules/soundfile/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "soundfile"; 15 - version = "0.10.3.post1"; 15 + version = "0.11.0"; 16 16 # https://github.com/bastibe/python-soundfile/issues/157 17 17 disabled = isPyPy || stdenv.isi686; 18 18 19 19 src = fetchPypi { 20 - pname = "SoundFile"; 21 - inherit version; 22 - sha256 = "0yqhrfz7xkvqrwdxdx2ydy4h467sk7z3gf984y1x2cq7cm1gy329"; 20 + inherit pname version; 21 + sha256 = "sha256-kxc4ock+hoTC0+HVFKxjRAzoJ+x4PqCi0+RzDj3FjBg="; 23 22 }; 24 - 25 - patches = [ 26 - # Fix build on macOS arm64, https://github.com/bastibe/python-soundfile/pull/332 27 - (fetchpatch { 28 - url = "https://github.com/bastibe/python-soundfile/commit/e554e9ce8bed96207d587e6aa661e4b08f1c6a79.patch"; 29 - sha256 = "sha256-vu/7s5q4I3yBnoNHmmFmcXvOLFcPwY9ri9ri6cKLDwU="; 30 - }) 31 - ]; 32 23 33 24 postPatch = '' 34 25 substituteInPlace soundfile.py --replace "_find_library('sndfile')" "'${libsndfile.out}/lib/libsndfile${stdenv.hostPlatform.extensions.sharedLibrary}'" ··· 28 37 nativeCheckInputs = [ pytestCheckHook ]; 29 38 propagatedBuildInputs = [ numpy libsndfile cffi ]; 30 39 propagatedNativeBuildInputs = [ cffi ]; 31 - 32 - # Test fails on aarch64-darwin with `MemoryError`, 53 failed, 31 errors, see 33 - # https://github.com/bastibe/python-soundfile/issues/331 34 - doCheck = stdenv.system != "aarch64-darwin"; 35 40 36 41 meta = { 37 42 description = "An audio library based on libsndfile, CFFI and NumPy";
+2 -2
pkgs/development/python-modules/thermopro-ble/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "thermopro-ble"; 14 - version = "0.4.3"; 14 + version = "0.4.5"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.9"; ··· 20 20 owner = "bluetooth-devices"; 21 21 repo = pname; 22 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-y8Uh1REZqfrS3Y/L/uCmHYkdPQzwzdx7eSz003oz05o="; 23 + hash = "sha256-z3RrPOV7NGl3aNor+baeVivn+DKwYHcrdlM5sNMGVD0="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+4 -3
pkgs/development/python-modules/tilt-ble/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "tilt-ble"; 14 - version = "0.2.3"; 14 + version = "0.2.4"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.9"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "Bluetooth-Devices"; 21 21 repo = pname; 22 - rev = "v${version}"; 23 - hash = "sha256-PR+BA0wUljUeUYCTRMKxkG+kj6PfklksbO/k9L7sWdE="; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-ok9XWx47hcke535480NORfS1pSagaOJvMR48lYTa/Tg="; 24 24 }; 25 25 26 26 nativeBuildInputs = [ ··· 49 49 meta = with lib; { 50 50 description = "Library for Tilt BLE devices"; 51 51 homepage = "https://github.com/Bluetooth-Devices/tilt-ble"; 52 + changelog = "https://github.com/Bluetooth-Devices/tilt-ble/releases/tag/v${version}"; 52 53 license = with licenses; [ mit ]; 53 54 maintainers = with maintainers; [ fab ]; 54 55 };
+2 -2
pkgs/development/python-modules/types-colorama/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "types-colorama"; 8 - version = "0.4.15.5"; 8 + version = "0.4.15.7"; 9 9 format = "setuptools"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - hash = "sha256-PSqJbsfz0fZpz3ruoO9+usRznwLbM6sTKB5qcewvwsU="; 13 + hash = "sha256-2oToq+lcLhGtKyi6VXq45dyAhjvW+HOefBkWyVB1WvQ="; 14 14 }; 15 15 16 16 # Module has no tests
+2 -2
pkgs/development/python-modules/types-docutils/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "types-docutils"; 8 - version = "0.19.1.2"; 8 + version = "0.19.1.3"; 9 9 format = "setuptools"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - hash = "sha256-yj0hNUhK21LdBCu929bt3LvajGCLo/Xl+Qi9VI/8s5k="; 13 + hash = "sha256-Nv4w3lbx7OGp96mQ1H2qeBta+DHSs/Lct9/QG4V8w9Q="; 14 14 }; 15 15 16 16 # Module doesn't have tests
+2 -2
pkgs/development/python-modules/types-requests/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "types-requests"; 9 - version = "2.28.11.8"; 9 + version = "2.28.11.11"; 10 10 format = "setuptools"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "sha256-5nQkUl+ErfvqtyaKFZ08Yzhi2vrhXFsZVHzhtVlU8KM="; 14 + sha256 = "sha256-GWIqzjWl2hg47pytDfSlDH46Qg+KN+g1fOhw/tSS+oE="; 15 15 }; 16 16 17 17 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/types-urllib3/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "types-urllib3"; 8 - version = "1.26.25.4"; 8 + version = "1.26.25.5"; 9 9 format = "setuptools"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - hash = "sha256-7sVVZCjuyGKxrFePtpqrOHeZWpn/7J5aEs9/vQzJ2u4="; 13 + hash = "sha256-VjDleCRtFw2R6+OQF4jNKNU8TgRNwuJIjjsNVftoldg="; 14 14 }; 15 15 16 16 # Module doesn't have tests
+2 -3
pkgs/development/python-modules/volvooncall/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "volvooncall"; 20 - version = "0.10.1"; 20 + version = "0.10.2"; 21 21 format = "setuptools"; 22 22 23 23 disabled = pythonOlder "3.8"; ··· 26 26 owner = "molobrakos"; 27 27 repo = "volvooncall"; 28 28 rev = "refs/tags/v${version}"; 29 - hash = "sha256-udYvgKj7Rlc/hA86bbeBfnoVRjKkXT4TwpceWz226cU="; 29 + hash = "sha256-/BMwDuo4xE/XOLM8qzJwt0A0h0+ihbCVCxT3BBToiVU="; 30 30 }; 31 31 32 32 patches = [ ··· 67 67 meta = with lib; { 68 68 description = "Retrieve information from the Volvo On Call web service"; 69 69 homepage = "https://github.com/molobrakos/volvooncall"; 70 - changelog = "https://github.com/molobrakos/volvooncall/releases/tag/v${version}"; 71 70 license = licenses.unlicense; 72 71 maintainers = with maintainers; [ dotlambda ]; 73 72 };
+2 -2
pkgs/development/python-modules/xiaomi-ble/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "xiaomi-ble"; 17 - version = "0.15.0"; 17 + version = "0.16.1"; 18 18 format = "pyproject"; 19 19 20 20 disabled = pythonOlder "3.9"; ··· 23 23 owner = "Bluetooth-Devices"; 24 24 repo = pname; 25 25 rev = "refs/tags/v${version}"; 26 - hash = "sha256-6j5hZ9NGmAFpbgYTyC4UuI4XkQwotZND1UMHnmJHCdo="; 26 + hash = "sha256-JsrOt6LmmhJZ4MBwLVKKt3IMbvAnxJx70AZROhb9gbc="; 27 27 }; 28 28 29 29 nativeBuildInputs = [
+5 -15
pkgs/development/python-modules/xmlschema/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , elementpath 5 + , jinja2 5 6 , lxml 6 7 , pytestCheckHook 7 8 , pythonOlder ··· 10 9 11 10 buildPythonPackage rec { 12 11 pname = "xmlschema"; 13 - version = "2.1.1"; 12 + version = "2.2.0"; 14 13 format = "setuptools"; 15 14 16 15 disabled = pythonOlder "3.7"; ··· 19 18 owner = "sissaschool"; 20 19 repo = "xmlschema"; 21 20 rev = "refs/tags/v${version}"; 22 - hash = "sha256-rt7QScg458ezDwktO1QRydmC3XqedX+kPpv6J+JvLzQ="; 21 + hash = "sha256-KK1F8OVK+19ZWwu+2UtTMiVNyPPoPOv3V1qJFZAu2h4="; 23 22 }; 24 23 25 24 propagatedBuildInputs = [ ··· 27 26 ]; 28 27 29 28 nativeCheckInputs = [ 29 + jinja2 30 30 lxml 31 31 pytestCheckHook 32 - ]; 33 - 34 - # Ignore broken fixtures, and tests for files which don't exist. 35 - # For darwin, we need to explicity say we can't reach network 36 - disabledTests = [ 37 - "export_remote" 38 - "element_tree_import_script" 39 - ]; 40 - 41 - disabledTestPaths = [ 42 - "tests/test_schemas.py" 43 - "tests/test_memory.py" 44 - "tests/test_validation.py" 45 32 ]; 46 33 47 34 pythonImportsCheck = [ ··· 37 48 ]; 38 49 39 50 meta = with lib; { 51 + changelog = "https://github.com/sissaschool/xmlschema/blob/${src.rev}/CHANGELOG.rst"; 40 52 description = "XML Schema validator and data conversion library for Python"; 41 53 homepage = "https://github.com/sissaschool/xmlschema"; 42 54 license = licenses.mit;
+3 -3
pkgs/development/tools/codeowners/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "codeowners"; 5 - version = "1.1.1"; 5 + version = "1.1.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "hmarr"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - hash = "sha256-lklKZCDX/e3MZ0ix3A4AIEICPoufBq7SAIULqDXOYDI="; 11 + hash = "sha256-bjSlt439Y5hmbxR6s4J37ao+P2tuKNuwqRg872P+MUg="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-G+oaX3SXsHJu3lq6n8dLmoRXDAYcFkrYarwePB/MdEU="; 14 + vendorHash = "sha256-G+oaX3SXsHJu3lq6n8dLmoRXDAYcFkrYarwePB/MdEU="; 15 15 16 16 meta = with lib; { 17 17 description = "A CLI and Go library for Github's CODEOWNERS file";
+2 -2
pkgs/development/tools/lazygit/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "lazygit"; 5 - version = "0.36.0"; 5 + version = "0.37.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "jesseduffield"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-0emAo/K27lmQ+409maTR/hnonQVkbijF0RAwvIErBFo="; 11 + sha256 = "sha256-A6aFHC4MNNFl7IieR/7aQ3cMzhBXfQwq6sPv+v5Gu4o="; 12 12 }; 13 13 14 14 vendorSha256 = null;
+3 -1
pkgs/development/tools/misc/sqitch/default.nix
··· 5 5 , shortenPerlShebang 6 6 , mysqlSupport ? false 7 7 , postgresqlSupport ? false 8 + , templateToolkitSupport ? false 8 9 }: 9 10 10 11 let 11 12 sqitch = perlPackages.AppSqitch; 12 13 modules = with perlPackages; [ ] 13 14 ++ lib.optional mysqlSupport DBDmysql 14 - ++ lib.optional postgresqlSupport DBDPg; 15 + ++ lib.optional postgresqlSupport DBDPg 16 + ++ lib.optional templateToolkitSupport TemplateToolkit; 15 17 in 16 18 17 19 stdenv.mkDerivation {
+1
pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix
··· 7 7 pname = "js_of_ocaml-compiler"; 8 8 version = "4.1.0"; 9 9 duneVersion = "3"; 10 + minimalOCamlVersion = "4.08"; 10 11 11 12 src = fetchurl { 12 13 url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz";
+3 -3
pkgs/development/web/deno/default.nix
··· 17 17 18 18 rustPlatform.buildRustPackage rec { 19 19 pname = "deno"; 20 - version = "1.30.2"; 20 + version = "1.30.3"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "denoland"; 24 24 repo = pname; 25 25 rev = "v${version}"; 26 - sha256 = "sha256-WpS1pqy6o8FUWMdJpzG5T8xoCkQZ/SbWI4k9vellVb8="; 26 + sha256 = "sha256-Dg4ZX1CpjZuCXDu3GxbaRIwdhDuJ50j53b6XETfFGAU="; 27 27 }; 28 - cargoSha256 = "sha256-RVoXHrEWMwuC+nD6ypiZzGsYEr/BFReE67z7gqqDOzA="; 28 + cargoSha256 = "sha256-6V9djLUmPEQDewKEN0ND7zyXSrKdakXZdYSRsyXWNuE="; 29 29 30 30 postPatch = '' 31 31 # upstream uses lld on aarch64-darwin for faster builds
+4 -4
pkgs/games/anki/bin.nix
··· 3 3 let 4 4 pname = "anki-bin"; 5 5 # Update hashes for both Linux and Darwin! 6 - version = "2.1.56"; 6 + version = "2.1.57"; 7 7 8 8 sources = { 9 9 linux = fetchurl { 10 10 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-linux-qt6.tar.zst"; 11 - sha256 = "sha256-bois8+W/Jvte0HqC6Vi8WcXzrc8y8fKoW3ttbPb/v14="; 11 + sha256 = "sha256-W8EQxvdOQRYHVKoYGu+6LNAHJZGsVQgdvNsRXOBVUKM="; 12 12 }; 13 13 14 14 # For some reason anki distributes completely separate dmg-files for the aarch64 version and the x86_64 version 15 15 darwin-x86_64 = fetchurl { 16 16 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-intel-qt6.dmg"; 17 - sha256 = "sha256-xd96wG+dElf6kSJ3jtdwfDhxJIv2r/o/JF2RcIwaZkg="; 17 + sha256 = "sha256-NhCMmXuZj+Il/hhZZhbk7eLsmbfnqYlSRgw33xIbv8M="; 18 18 }; 19 19 darwin-aarch64 = fetchurl { 20 20 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-apple-qt6.dmg"; 21 - sha256 = "sha256-dYYgKEN6ytZ1CIH2+hK7H7xs3ISMbZGDv3w+Ie+ISlw="; 21 + sha256 = "sha256-8gLtFoqJVvh1NfaSpNeH8+YecMln+A7UyqeSXWVEtmo="; 22 22 }; 23 23 }; 24 24
+2 -2
pkgs/games/heroic/default.nix
··· 10 10 11 11 mkYarnPackage rec { 12 12 pname = "heroic-unwrapped"; 13 - version = "2.6.1"; 13 + version = "2.6.2"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "Heroic-Games-Launcher"; 17 17 repo = "HeroicGamesLauncher"; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-bU4jvF81GI8a9ACwYn1Hdb5DbpK6GI7z19enO7uu48o="; 19 + sha256 = "sha256-QXciJkY5l5Oqzgnj9vV5IwOSUtVeLMH29r2EIQVt2LI="; 20 20 }; 21 21 22 22 packageJSON = ./package.json;
+6 -6
pkgs/games/heroic/package.json
··· 1 1 { 2 2 "name": "heroic", 3 - "version": "2.6.1", 3 + "version": "2.6.2", 4 4 "private": true, 5 5 "main": "build/electron/main.js", 6 6 "homepage": "./", ··· 39 39 } 40 40 ], 41 41 "win": { 42 - "artifactName": "${productName}-${version}-Setup.${ext}", 42 + "artifactName": "${productName}-${version}-Setup-${arch}.${ext}", 43 43 "icon": "build/win_icon.ico", 44 44 "asarUnpack": [ 45 45 "build/bin/win32/legendary.exe", ··· 50 50 ] 51 51 }, 52 52 "portable": { 53 - "artifactName": "${productName}-${version}-Portable.${ext}" 53 + "artifactName": "${productName}-${version}-Portable-${arch}.${ext}" 54 54 }, 55 55 "mac": { 56 56 "artifactName": "${productName}-${version}-macOS-${arch}.${ext}", ··· 175 175 "test-watch": "jest --watch --maxWorkers=25%", 176 176 "test:ci": "jest --runInBand --silent", 177 177 "release:linux": "vite build && electron-builder -p always --linux deb AppImage rpm pacman tar.xz", 178 - "release:mac": "vite build && electron-builder -p always --mac", 179 - "release:win": "vite build && electron-builder -p always --win nsis portable", 178 + "release:mac": "vite build && electron-builder -p always --mac --x64 --arm64", 179 + "release:win": "vite build && electron-builder -p never --win nsis portable --x64 --arm64", 180 180 "dist:linux": "vite build && electron-builder --linux", 181 - "dist:mac": "vite build && electron-builder --mac --x64 --arm64", 181 + "dist:mac": "vite build && electron-builder --mac", 182 182 "dist:win": "vite build && electron-builder --win", 183 183 "dist:flatpak": "yarn dist:linux appimage && yarn flatpak:prepare && yarn flatpak:build", 184 184 "lint": "eslint --cache -c .eslintrc --ext .tsx,ts ./src",
+3 -3
pkgs/games/heroic/yarn.lock
··· 4272 4272 entities "^4.3.0" 4273 4273 4274 4274 http-cache-semantics@^4.0.0: 4275 - version "4.1.0" 4276 - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" 4277 - integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== 4275 + version "4.1.1" 4276 + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" 4277 + integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== 4278 4278 4279 4279 http-proxy-agent@^5.0.0: 4280 4280 version "5.0.0"
+4 -4
pkgs/games/heroic/yarn.nix
··· 4496 4496 }; 4497 4497 } 4498 4498 { 4499 - name = "http_cache_semantics___http_cache_semantics_4.1.0.tgz"; 4499 + name = "http_cache_semantics___http_cache_semantics_4.1.1.tgz"; 4500 4500 path = fetchurl { 4501 - name = "http_cache_semantics___http_cache_semantics_4.1.0.tgz"; 4502 - url = "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz"; 4503 - sha512 = "carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ=="; 4501 + name = "http_cache_semantics___http_cache_semantics_4.1.1.tgz"; 4502 + url = "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz"; 4503 + sha512 = "er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ=="; 4504 4504 }; 4505 4505 } 4506 4506 {
+3 -3
pkgs/games/unciv/default.nix
··· 25 25 in 26 26 stdenv.mkDerivation rec { 27 27 pname = "unciv"; 28 - version = "4.4.9"; 28 + version = "4.4.11"; 29 29 30 30 src = fetchurl { 31 31 url = "https://github.com/yairm210/Unciv/releases/download/${version}/Unciv.jar"; 32 - sha256 = "sha256-8OoQgiMrjYPlEjvm/9m7YkMaKyGBtNBkGavjACwY/00="; 32 + hash = "sha256-UvTEqptA9Dp1wdri12sAYDB6rjiZCvk2tiG5i0AWU78="; 33 33 }; 34 34 35 35 dontUnpack = true; ··· 55 55 maintainers = with maintainers; [ tex ]; 56 56 sourceProvenance = with sourceTypes; [ binaryBytecode ]; 57 57 license = licenses.mpl20; 58 - platforms = [ "x86_64-linux" ]; 58 + platforms = platforms.all; 59 59 }; 60 60 }
+3 -3
pkgs/os-specific/linux/setools/default.nix
··· 8 8 9 9 buildPythonApplication rec { 10 10 pname = "setools"; 11 - version = "4.4.0"; 11 + version = "4.4.1"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "SELinuxProject"; 15 15 repo = pname; 16 - rev = version; 17 - sha256 = "1qvd5j6zwq4fmlahg45swjplhif2z89x7s6pnp07gvcp2fbqdsh5"; 16 + rev = "refs/tags/${version}"; 17 + sha256 = "sha256-4T5FIdnKi35JSm+IoYA2gIBBRV0nN0YLEw9xvDqNcgo="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ cython ];
+10 -3
pkgs/servers/caddy/xcaddy/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "xcaddy"; 5 - version = "0.3.1"; 5 + version = "0.3.2"; 6 6 7 7 subPackages = [ "cmd/xcaddy" ]; 8 8 ··· 10 10 owner = "caddyserver"; 11 11 repo = pname; 12 12 rev = "v${version}"; 13 - hash = "sha256-oGTtS5UlEebIqv4SM4q0YclASJNu8DNOLrGLRRAtkd8="; 13 + hash = "sha256-M0eMI/TtUNVqE4F1ifizVb0e4ACGa+yLkG3pJLaaDNs="; 14 14 }; 15 15 16 16 patches = [ 17 + ./inject_version_info.diff 17 18 ./use_tmpdir_on_darwin.diff 19 + ]; 20 + 21 + ldflags = [ 22 + "-s" 23 + "-w" 24 + "-X github.com/caddyserver/xcaddy/cmd.customVersion=v${version}" 18 25 ]; 19 26 20 27 vendorHash = "sha256-RpbnoXyTrqGOI7DpgkO+J47P17T4QCVvM1CfS6kRO9Y="; ··· 30 23 homepage = "https://github.com/caddyserver/xcaddy"; 31 24 description = "Build Caddy with plugins"; 32 25 license = licenses.asl20; 33 - maintainers = with maintainers; [ tjni ]; 26 + maintainers = with maintainers; [ tjni indeednotjames ]; 34 27 }; 35 28 }
+16
pkgs/servers/caddy/xcaddy/inject_version_info.diff
··· 1 + diff --git a/cmd/main.go b/cmd/main.go 2 + index ede7cd8..c553140 100644 3 + --- a/cmd/main.go 4 + +++ b/cmd/main.go 5 + @@ -401,8 +401,11 @@ func splitWith(arg string) (module, version, replace string, err error) { 6 + return 7 + } 8 + 9 + +var customVersion string 10 + + 11 + // xcaddyVersion returns a detailed version string, if available. 12 + func xcaddyVersion() string { 13 + + return customVersion 14 + mod := goModule() 15 + ver := mod.Version 16 + if mod.Sum != "" {
+2 -2
pkgs/servers/dns/pdns-recursor/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "pdns-recursor"; 8 - version = "4.8.1"; 8 + version = "4.8.2"; 9 9 10 10 src = fetchurl { 11 11 url = "https://downloads.powerdns.com/releases/pdns-recursor-${version}.tar.bz2"; 12 - sha256 = "17A0RwCSV+US8B/MRsvbnIWbZyocmyP684LocHZbDw0="; 12 + sha256 = "sha256-Q4LT6E8TQBaFdyd53+3my8gVfs9nY/p/2x3TPuP3msc="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ pkg-config ];
+2 -2
pkgs/servers/icingaweb2/default.nix
··· 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 4 pname = "icingaweb2"; 5 - version = "2.11.3"; 5 + version = "2.11.4"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Icinga"; 9 9 repo = "icingaweb2"; 10 10 rev = "v${version}"; 11 - hash = "sha256-DxAWSU6nleTRkgtU6cW5KEJ0aQuzom+kGwTOk1Kg8CI="; 11 + hash = "sha256-UMC1puEM0PhIu+lJouOj81tI/E6fz1PzPN0FU7TNwTg="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ makeWrapper ];
+2 -2
pkgs/servers/jackett/default.nix
··· 9 9 10 10 buildDotnetModule rec { 11 11 pname = "jackett"; 12 - version = "0.20.2916"; 12 + version = "0.20.2986"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = pname; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - hash = "sha512-tYIPpEAqN+ENYN/NJcGWnk3NpJm0MeTBwAp7nu21QWED88sKkHatM/z+puibWxM46WMb7kyPtCmyA//aP08mJQ=="; 18 + hash = "sha512-IbcIn2n5Cob+Ewp0lkkIENuo00HBlNy6V5pKARC6EgBDRKbB+YXETDX1Ko3Dsl0x6mxZgoTCbzEIPxD+Y2J4Rw=="; 19 19 }; 20 20 21 21 projectFile = "src/Jackett.Server/Jackett.Server.csproj";
+5 -5
pkgs/servers/prowlarr/default.nix
··· 16 16 }."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 17 17 18 18 hash = { 19 - x64-linux_hash = "sha256-0JeZaHaAJ0Z+wcEPGA8yidiKsU/lxEgC6BGpFEzjO0A="; 20 - arm64-linux_hash = "sha256-/N8SY0JS3yX2MARb7MN68CWEZQ8mIXM5zmg96r8hVsw="; 21 - x64-osx_hash = "sha256-kcD6ATOGYJULk6g+v4uISDtnzr0c1y2BntIt3MWUR0Q="; 19 + x64-linux_hash = "sha256-hKvme3saa3/GT0l6OlFjYI0RPClo5rWtVYFN/YuJSaw="; 20 + arm64-linux_hash = "sha256-f7YIJRk1AhlfepmsQqlDFMA97QnbAAzrUtPFfbuV+QY="; 21 + x64-osx_hash = "sha256-7nU12Y7f+fwjziUm6O+xO78IZf8EOfgmz+JibAP/xk8="; 22 22 }."${arch}-${os}_hash"; 23 23 24 24 in stdenv.mkDerivation rec { 25 25 pname = "prowlarr"; 26 - version = "1.1.2.2453"; 26 + version = "1.1.3.2521"; 27 27 28 28 src = fetchurl { 29 - url = "https://github.com/Prowlarr/Prowlarr/releases/download/v${version}/Prowlarr.develop.${version}.${os}-core-${arch}.tar.gz"; 29 + url = "https://github.com/Prowlarr/Prowlarr/releases/download/v${version}/Prowlarr.master.${version}.${os}-core-${arch}.tar.gz"; 30 30 sha256 = hash; 31 31 }; 32 32
+1 -1
pkgs/servers/prowlarr/update.sh
··· 13 13 14 14 hashKey="${arch}-${os}_hash" 15 15 16 - url="https://github.com/Prowlarr/Prowlarr/releases/download/v$version/Prowlarr.develop.$version.$os-core-$arch.tar.gz" 16 + url="https://github.com/Prowlarr/Prowlarr/releases/download/v$version/Prowlarr.master.$version.$os-core-$arch.tar.gz" 17 17 hash=$(nix-prefetch-url --type sha256 $url) 18 18 sriHash="$(nix hash to-sri --type sha256 $hash)" 19 19
+2 -2
pkgs/servers/sabnzbd/default.nix
··· 24 24 ]); 25 25 path = lib.makeBinPath [ par2cmdline unrar unzip p7zip ]; 26 26 in stdenv.mkDerivation rec { 27 - version = "3.7.1"; 27 + version = "3.7.2"; 28 28 pname = "sabnzbd"; 29 29 30 30 src = fetchFromGitHub { 31 31 owner = pname; 32 32 repo = pname; 33 33 rev = version; 34 - sha256 = "sha256-Zzqqh/3ijOTVVm5ksmsHY4LOL034VXHeZ7XsEg8cxY0="; 34 + sha256 = "sha256-1gGvdc6TJrkFIrN+TUL/7EejApgpgAQxnQbp8RMknHQ="; 35 35 }; 36 36 37 37 nativeBuildInputs = [ makeWrapper ];
+14 -6
pkgs/servers/sql/proxysql/default.nix
··· 32 32 33 33 stdenv.mkDerivation rec { 34 34 pname = "proxysql"; 35 - version = "2.4.5"; 35 + version = "2.5.0"; 36 36 37 37 src = fetchFromGitHub { 38 38 owner = "sysown"; 39 39 repo = pname; 40 40 rev = version; 41 - hash = "sha256-JWrll6VF0Ss1DlPNrh+xd3sGMclMeb6dlVgHd/UaNs0="; 41 + hash = "sha256-psQzKycavS9xr24wGiRkr255IXW79AoG9fUEBkvPMZk="; 42 42 }; 43 43 44 44 patches = [ ··· 67 67 ]; 68 68 69 69 enableParallelBuilding = true; 70 - 71 - # otherwise, it looks for …-1.15 72 - ACLOCAL = "aclocal"; 73 - AUTOMAKE = "automake"; 74 70 75 71 GIT_VERSION = version; 76 72 ··· 135 139 popd 136 140 137 141 sed -i s_/usr/bin/env_${coreutils}/bin/env_g libssl/openssl/config 142 + 143 + pushd libmicrohttpd/libmicrohttpd 144 + autoreconf 145 + popd 146 + 147 + pushd libconfig/libconfig 148 + autoreconf 149 + popd 150 + 151 + pushd libdaemon/libdaemon 152 + autoreconf 153 + popd 138 154 139 155 popd 140 156 patchShebangs .
+31 -20
pkgs/servers/sql/proxysql/makefiles.patch
··· 1 1 diff --git a/Makefile b/Makefile 2 - index fba4e6a1..ceff4f3d 100644 2 + index e7dae058..09c28859 100644 3 3 --- a/Makefile 4 4 +++ b/Makefile 5 5 @@ -57,11 +57,7 @@ endif ··· 15 15 USERCHECK := $(shell getent passwd proxysql) 16 16 GROUPCHECK := $(shell getent group proxysql) 17 17 18 - @@ -724,16 +720,10 @@ cleanbuild: 18 + @@ -784,16 +780,10 @@ cleanbuild: 19 19 20 20 .PHONY: install 21 21 install: src/proxysql ··· 36 36 install -m 0755 etc/init.d/proxysql /etc/init.d 37 37 ifeq ($(DISTRO),"CentOS Linux") 38 38 diff --git a/deps/Makefile b/deps/Makefile 39 - index 13eed9c5..9abb2262 100644 39 + index 23ef204c..3fbcc4a7 100644 40 40 --- a/deps/Makefile 41 41 +++ b/deps/Makefile 42 - @@ -65,18 +65,11 @@ endif 42 + @@ -65,10 +65,7 @@ endif 43 43 44 44 45 45 libinjection/libinjection/src/libinjection.a: 46 46 - cd libinjection && rm -rf libinjection-*/ || true 47 47 - cd libinjection && tar -zxf libinjection-3.10.0.tar.gz 48 - -ifneq ($(CENTOSVER),6) 48 + ifneq ($(CENTOSVER),6) 49 49 - cd libinjection/libinjection && patch -p1 < ../update-build-py3.diff 50 - -endif 51 - sed -i 's/CC=/CC?=/' libinjection/libinjection/src/Makefile 52 - cd libinjection/libinjection && CC=${CC} CXX=${CXX} ${MAKE} 50 + cd libinjection/libinjection && patch -p1 < ../libinjection_sqli.c.patch 51 + endif 52 + ifeq ($(UNAME_S),Darwin) 53 + @@ -80,8 +77,6 @@ endif 53 54 libinjection: libinjection/libinjection/src/libinjection.a 54 55 55 56 libssl/openssl/libssl.a: ··· 59 58 cd libssl/openssl && patch crypto/ec/curve448/curve448.c < ../curve448.c-multiplication-overflow.patch 60 59 cd libssl/openssl && patch crypto/asn1/a_time.c < ../a_time.c-multiplication-overflow.patch 61 60 cd libssl/openssl && ./config no-ssl3 no-tests 62 - @@ -93,8 +86,6 @@ ifeq ($(MIN_VERSION),$(lastword $(sort $(GCC_VERSION) $(MIN_VERSION)))) 61 + @@ -99,9 +94,6 @@ ifeq ($(MIN_VERSION),$(lastword $(SORTED_VERSIONS))) 63 62 endif 64 63 65 64 libhttpserver/libhttpserver/build/src/.libs/libhttpserver.a: libmicrohttpd/libmicrohttpd/src/microhttpd/.libs/libmicrohttpd.a re2/re2/obj/libre2.a 66 65 - cd libhttpserver && rm -rf libhttpserver-*/ || true 67 66 - cd libhttpserver && tar -zxf libhttpserver-0.18.1.tar.gz 68 - ifeq ($(REQUIRE_PATCH), true) 67 + -#ifeq ($(REQUIRE_PATCH), true) 69 68 cd libhttpserver/libhttpserver && patch src/httpserver/basic_auth_fail_response.hpp < ../basic_auth_fail_response.hpp.patch 70 69 cd libhttpserver/libhttpserver && patch src/httpserver/create_webserver.hpp < ../create_webserver.hpp.patch 71 - @@ -117,34 +108,16 @@ endif 70 + cd libhttpserver/libhttpserver && patch src/httpserver/deferred_response.hpp < ../deferred_response.hpp.patch 71 + @@ -112,7 +104,6 @@ libhttpserver/libhttpserver/build/src/.libs/libhttpserver.a: libmicrohttpd/libmi 72 + cd libhttpserver/libhttpserver && patch src/httpserver/http_response.hpp < ../http_response.hpp.patch 73 + cd libhttpserver/libhttpserver && patch src/httpserver/string_response.hpp < ../string_response.hpp.patch 74 + cd libhttpserver/libhttpserver && patch -p0 < ../re2_regex.patch 75 + -#endif 76 + cd libhttpserver/libhttpserver && patch -p0 < ../final_val_post_process.patch 77 + cd libhttpserver/libhttpserver && patch -p0 < ../empty_uri_log_crash.patch 78 + ifeq ($(UNAME_S),FreeBSD) 79 + @@ -124,35 +115,17 @@ endif 72 80 libhttpserver: libhttpserver/libhttpserver/build/src/.libs/libhttpserver.a 73 81 74 82 libev/libev/.libs/libev.a: ··· 92 82 - cd curl && rm -rf curl-*/ || true 93 83 - cd curl && tar -zxf curl-*.tar.gz 94 84 - #cd curl/curl && ./configure --disable-debug --disable-ftp --disable-ldap --disable-ldaps --disable-rtsp --disable-proxy --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher --disable-manual --disable-ipv6 --disable-sspi --disable-crypto-auth --disable-ntlm-wb --disable-tls-srp --without-nghttp2 --without-libidn2 --without-libssh2 --without-brotli --with-ssl=$(shell pwd)/../../libssl/openssl/ && CC=${CC} CXX=${CXX} ${MAKE} 85 + cd curl/curl && patch configure < ../configure.patch 95 86 cd curl/curl && CFLAGS=-fPIC ./configure --disable-debug --disable-ftp --disable-ldap --disable-ldaps --disable-rtsp --disable-proxy --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher --disable-manual --disable-ipv6 --disable-sspi --disable-ntlm-wb --disable-tls-srp --without-nghttp2 --without-libidn2 --without-libssh2 --without-brotli --without-librtmp --without-libpsl --without-zstd --with-ssl=$(shell pwd)/libssl/openssl/ --enable-shared=no && CC=${CC} CXX=${CXX} ${MAKE} 96 87 curl: curl/curl/lib/.libs/libcurl.a 97 88 ··· 107 96 - cd libmicrohttpd && tar -zxf libmicrohttpd-0.9.68.tar.gz 108 97 - cd libmicrohttpd/libmicrohttpd && patch src/microhttpd/connection.c < ../connection.c-snprintf-overflow.patch 109 98 -endif 110 - -ifeq ($(OS),Darwin) 99 + -ifeq ($(UNAME_S),Darwin) 111 100 - cd libmicrohttpd/libmicrohttpd && patch src/microhttpd/mhd_sockets.c < ../mhd_sockets.c-issue-5977.patch 112 101 -endif 113 102 cd libmicrohttpd/libmicrohttpd && ./configure --enable-https && CC=${CC} CXX=${CXX} ${MAKE} 114 103 microhttpd: libmicrohttpd/libmicrohttpd/src/microhttpd/.libs/libmicrohttpd.a 115 104 116 - @@ -155,8 +128,6 @@ cityhash/cityhash/src/.libs/libcityhash.a: 105 + @@ -163,8 +136,6 @@ cityhash/cityhash/src/.libs/libcityhash.a: 117 106 cityhash: cityhash/cityhash/src/.libs/libcityhash.a 118 107 119 108 lz4/lz4/liblz4.a: ··· 122 111 cd lz4/lz4 && CC=${CC} CXX=${CXX} ${MAKE} 123 112 lz4: lz4/lz4/liblz4.a 124 113 125 - @@ -181,8 +152,6 @@ clickhouse-cpp: clickhouse-cpp/clickhouse-cpp/clickhouse/libclickhouse-cpp-lib-s 114 + @@ -189,8 +160,6 @@ clickhouse-cpp: clickhouse-cpp/clickhouse-cpp/clickhouse/libclickhouse-cpp-lib-s 126 115 127 116 128 117 libdaemon/libdaemon/libdaemon/.libs/libdaemon.a: 129 118 - cd libdaemon && rm -rf libdaemon-*/ || true 130 119 - cd libdaemon && tar -zxf libdaemon-0.14.tar.gz 131 - cd libdaemon/libdaemon && cp ../config.guess . && chmod +x config.guess && ./configure --disable-examples 120 + cd libdaemon/libdaemon && cp ../config.guess . && chmod +x config.guess && cp ../config.sub . && chmod +x config.sub && ./configure --disable-examples 132 121 cd libdaemon/libdaemon && CC=${CC} CXX=${CXX} ${MAKE} 133 122 134 - @@ -253,17 +222,12 @@ sqlite3/sqlite3/sqlite3.o: 123 + @@ -264,17 +233,12 @@ sqlite3/sqlite3/sqlite3.o: 135 124 sqlite3: sqlite3/sqlite3/sqlite3.o 136 125 137 126 libconfig/libconfig/lib/.libs/libconfig++.a: ··· 149 138 cd prometheus-cpp/prometheus-cpp && patch -p1 < ../serial_exposer.patch 150 139 cd prometheus-cpp/prometheus-cpp && patch -p0 < ../registry_counters_reset.patch 151 140 cd prometheus-cpp/prometheus-cpp && patch -p0 < ../include_limits.patch 152 - @@ -273,10 +237,6 @@ prometheus-cpp/prometheus-cpp/lib/libprometheus-cpp-core.a: 141 + @@ -284,10 +248,6 @@ prometheus-cpp/prometheus-cpp/lib/libprometheus-cpp-core.a: 153 142 prometheus-cpp: prometheus-cpp/prometheus-cpp/lib/libprometheus-cpp-core.a 154 143 155 144 re2/re2/obj/libre2.a: ··· 158 147 -# cd re2/re2 && sed -i -e 's/-O3 -g /-O3 -fPIC /' Makefile 159 148 -# cd re2/re2 && patch util/mutex.h < ../mutex.h.patch 160 149 cd re2/re2 && patch re2/onepass.cc < ../onepass.cc-multiplication-overflow.patch 161 - cd re2/re2 && sed -i -e 's/-O3 /-O3 -fPIC -DMEMORY_SANITIZER -DRE2_ON_VALGRIND /' Makefile 162 - cd re2/re2 && sed -i -e 's/RE2_CXXFLAGS?=-std=c++11 /RE2_CXXFLAGS?=-std=c++11 -fPIC /' Makefile 163 - @@ -285,8 +245,6 @@ re2/re2/obj/libre2.a: 150 + ifeq ($(UNAME_S),Darwin) 151 + cd re2/re2 && sed -i '' -e 's/-O3 /-O3 -fPIC -DMEMORY_SANITIZER -DRE2_ON_VALGRIND /' Makefile 152 + @@ -301,8 +261,6 @@ endif 164 153 re2: re2/re2/obj/libre2.a 165 154 166 155 pcre/pcre/.libs/libpcre.a:
+5
pkgs/servers/x11/xorg/overrides.nix
··· 852 852 url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/ccdd431cd8f1cabae9d744f0514b6533c438908c.diff"; 853 853 sha256 = "sha256-IGPsjS7KgRPLrs1ImBXvIFCa8Iu5ZiAHRZvHlBYP8KQ="; 854 854 }) 855 + (fetchpatch { 856 + name = "CVE-2023-0494.diff"; 857 + url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/0ba6d8c37071131a49790243cdac55392ecf71ec.diff"; 858 + sha256 = "sha256-/+IuGk09OYVEIB/Y+DTKf7kfHyukEFX/6u1FDIGJieY="; 859 + }) 855 860 ]; 856 861 buildInputs = commonBuildInputs ++ [ libdrm mesa ]; 857 862 propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ libpciaccess ] ++ commonPropagatedBuildInputs ++ lib.optionals stdenv.isLinux [
+2 -2
pkgs/shells/zsh/zimfw/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "zimfw"; 5 - version = "1.11.0"; 5 + version = "1.11.1"; 6 6 src = fetchFromGitHub { 7 7 owner = "zimfw"; 8 8 repo = "zimfw"; 9 9 rev = "v${version}"; 10 10 ## zim only needs this one file to be installed. 11 11 sparseCheckout = [ "zimfw.zsh" ]; 12 - sha256 = "sha256-BmzYAgP5Z77VqcpAB49cQLNuvQX1qcKmAh9BuXsy2pA="; 12 + sha256 = "sha256-ZL/x5FNklRa5JnZ5UUofnIcW4dCInaEvTLBQfMJDWIM="; 13 13 }; 14 14 strictDeps = true; 15 15 dontConfigure = true;
+13 -5
pkgs/tools/admin/mycli/default.nix
··· 30 30 sqlparse 31 31 ]; 32 32 33 - nativeCheckInputs = [ pytest glibcLocales ]; 33 + nativeCheckInputs = [ pytestCheckHook glibcLocales ]; 34 34 35 - checkPhase = '' 35 + preCheck = '' 36 36 export HOME=. 37 37 export LC_ALL="en_US.UTF-8" 38 - 39 - py.test \ 40 - --ignore=mycli/packages/paramiko_stub/__init__.py 41 38 ''; 39 + 40 + disabledTestPaths = [ 41 + "mycli/packages/paramiko_stub/__init__.py" 42 + ]; 43 + 44 + disabledTests = [ 45 + # Note: test_auto_escaped_col_names is currently failing due to a bug upstream. 46 + # TODO: re-enable this test once there is a fix upstream. See 47 + # https://github.com/dbcli/mycli/issues/1103 for details. 48 + "test_auto_escaped_col_names" 49 + ]; 42 50 43 51 postPatch = '' 44 52 substituteInPlace setup.py \
+3 -3
pkgs/tools/filesystems/httm/default.nix
··· 6 6 7 7 rustPlatform.buildRustPackage rec { 8 8 pname = "httm"; 9 - version = "0.20.4"; 9 + version = "0.20.5"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "kimono-koans"; 13 13 repo = pname; 14 14 rev = version; 15 - sha256 = "sha256-PmfyULkB93PvouOWp96F4YXyNFQqRmoy6LpOFGz0EZk="; 15 + sha256 = "sha256-8SizRNjA+lvp8ZD14SoRcymhYmJXlwoeZQjrekIbdL4="; 16 16 }; 17 17 18 - cargoHash = "sha256-L5/qOnyxfj3KfcZDI9Xp2IgE33P8yzQjVg6+4jmGQyM="; 18 + cargoHash = "sha256-tXV1G0qWN0jLOKlnZfHHlOZw+wUItLzQtSg4o2f96u0="; 19 19 20 20 nativeBuildInputs = [ installShellFiles ]; 21 21
+2 -2
pkgs/tools/inputmethods/touchegg/default.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "touchegg"; 21 - version = "2.0.15"; 21 + version = "2.0.16"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "JoseExposito"; 25 25 repo = pname; 26 26 rev = version; 27 - sha256 = "sha256-oz3+hNNjQ/5vXWPMuhA2N2KK8W8S42WeSeDbhV4oJ9M="; 27 + sha256 = "sha256-/0XeFW0cdS1/UaE/z2FROwk2dTyZMqXjiBzt62x8f8o="; 28 28 }; 29 29 30 30 patches = lib.optionals withPantheon [
+2 -2
pkgs/tools/misc/vtm/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "vtm"; 9 - version = "0.9.8q"; 9 + version = "0.9.8r"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "netxs-group"; 13 13 repo = "vtm"; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-oY0zmyAgxMHPcBxFNdByQfeLIquw6eQ2SSfCgTKtO7Q="; 15 + sha256 = "sha256-1nCO8wtARnRCanIEH1XAJBjEnW18Bhm+pcr/EeiRrzY="; 16 16 }; 17 17 18 18 nativeBuildInputs = [ cmake ];
+4 -3
pkgs/tools/networking/ipinfo/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "ipinfo"; 8 - version = "2.10.0"; 8 + version = "2.10.1"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = pname; 12 12 repo = "cli"; 13 - rev = "${pname}-${version}"; 14 - hash = "sha256-oim234254qUWITfgBfB2theMgpVnGHNmrzwE5ULM2M4="; 13 + rev = "refs/tags/${pname}-${version}"; 14 + hash = "sha256-/CW+CmtKc96tVEh5cB6x+/Hb4WnbVi+3AZ0CEao0NE4="; 15 15 }; 16 16 17 17 vendorSha256 = null; ··· 22 22 meta = with lib; { 23 23 description = "Command Line Interface for the IPinfo API"; 24 24 homepage = "https://github.com/ipinfo/cli"; 25 + changelog = "https://github.com/ipinfo/cli/releases/tag/ipinfo-${version}"; 25 26 license = with licenses; [ asl20 ]; 26 27 maintainers = with maintainers; [ fab ]; 27 28 };
+2 -2
pkgs/tools/networking/udp2raw/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "udp2raw"; 10 - version = "20200818.0"; 10 + version = "20230206.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "wangyu-"; 14 14 repo = "udp2raw"; 15 15 rev = version; 16 - hash = "sha256-TkTOfF1RfHJzt80q0mN4Fek3XSFY/8jdeAVtyluZBt8="; 16 + hash = "sha256-mchSaqw6sOJ7+dydCM8juP7QMOVUrPL4MFA79Rvyjdo="; 17 17 }; 18 18 19 19 nativeBuildInputs = [ makeWrapper ];
+2 -2
pkgs/tools/package-management/nix-eval-jobs/default.nix
··· 11 11 }: 12 12 stdenv.mkDerivation rec { 13 13 pname = "nix-eval-jobs"; 14 - version = "2.12.1"; 14 + version = "2.13.0"; 15 15 src = fetchFromGitHub { 16 16 owner = "nix-community"; 17 17 repo = pname; 18 18 rev = "v${version}"; 19 - hash = "sha256-8nFseSTAIGJdB4P/K/cXAehvdrSLcTTBZLQNs/ZC+I8="; 19 + hash = "sha256-O0Ro9vwf2kDhGFs32puQIeW/rSSduC9sD5zV8e/GtvA="; 20 20 }; 21 21 buildInputs = [ 22 22 boost
+3
pkgs/tools/security/gnupg/24.nix
··· 1 1 { fetchurl, fetchpatch, lib, stdenv, pkg-config, libgcrypt, libassuan, libksba 2 2 , libgpg-error, libiconv, npth, gettext, texinfo, buildPackages 3 + , nixosTests 3 4 , guiSupport ? stdenv.isDarwin, enableMinimal ? false 4 5 , adns, bzip2, gnutls, libusb1, openldap 5 6 , pinentry, readline, sqlite, zlib ··· 79 78 ''; 80 79 81 80 enableParallelBuilding = true; 81 + 82 + passthru.tests.connman = nixosTests.gnupg; 82 83 83 84 meta = with lib; { 84 85 homepage = "https://gnupg.org";
+4 -4
pkgs/tools/security/terrascan/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "terrascan"; 8 - version = "1.17.1"; 8 + version = "1.18.0"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "accurics"; 12 12 repo = pname; 13 - rev = "v${version}"; 14 - hash = "sha256-XcMDdnqx64UcEzD44z34sm5TmshPOTb5tivBnGXQLjo="; 13 + rev = "refs/tags/v${version}"; 14 + hash = "sha256-EzdyJzUPoWcLux6RiEZL3DiB65T+pgY70bpD1fX1JN4="; 15 15 }; 16 16 17 - vendorHash = "sha256-HjWUV5gfh2WnUAayZIj6LGFs0rMv2n7v6zJJrzBHBwg="; 17 + vendorHash = "sha256-yTndvnlCmXsQSpImcwuwSXB0WuF2naGJEHfU1iAJApM="; 18 18 19 19 # Tests want to download a vulnerable Terraform project 20 20 doCheck = false;
+2 -2
pkgs/tools/video/wtwitch/default.nix
··· 21 21 22 22 stdenv.mkDerivation rec { 23 23 pname = "wtwitch"; 24 - version = "2.6.0"; 24 + version = "2.6.1"; 25 25 26 26 src = fetchFromGitHub { 27 27 owner = "krathalan"; 28 28 repo = pname; 29 29 rev = version; 30 - hash = "sha256-KkuXZOquihY3IRVp4FM+AdN3kYi0MqmrXFuNmydTpio="; 30 + hash = "sha256-CHIAxUF0kvt8iV5xRbX5zuOCIecH7NoviQOYiOK0CgY="; 31 31 }; 32 32 33 33 # hardcode SCRIPT_NAME because #150841
+18 -5
pkgs/top-level/all-packages.nix
··· 2451 2451 kermit-terminal = callPackage ../applications/terminal-emulators/kermit-terminal { }; 2452 2452 2453 2453 kitty = darwin.apple_sdk_11_0.callPackage ../applications/terminal-emulators/kitty { 2454 + go = go_1_20; 2454 2455 harfbuzz = harfbuzz.override { withCoreText = stdenv.isDarwin; }; 2455 2456 inherit (darwin.apple_sdk_11_0) Libsystem; 2456 2457 inherit (darwin.apple_sdk_11_0.frameworks) ··· 3388 3387 }; 3389 3388 3390 3389 passExtensions = recurseIntoAttrs pass.extensions; 3390 + 3391 + pbpctrl = callPackage ../applications/audio/pbpctrl { }; 3391 3392 3392 3393 pdepend = callPackage ../development/php-packages/pdepend { }; 3393 3394 ··· 24372 24369 24373 24370 freeswitch = callPackage ../servers/sip/freeswitch { 24374 24371 inherit (darwin.apple_sdk.frameworks) SystemConfiguration; 24375 - openssl = openssl_1_1; 24376 24372 }; 24377 24373 24378 24374 fusionInventory = callPackage ../servers/monitoring/fusion-inventory { }; ··· 28240 28238 28241 28239 azpainter = callPackage ../applications/graphics/azpainter { }; 28242 28240 28243 - bambootracker = libsForQt5.callPackage ../applications/audio/bambootracker { }; 28241 + bambootracker = libsForQt5.callPackage ../applications/audio/bambootracker { 28242 + stdenv = if stdenv.hostPlatform.isDarwin then 28243 + darwin.apple_sdk_11_0.stdenv 28244 + else 28245 + stdenv; 28246 + }; 28247 + bambootracker-qt6 = qt6Packages.callPackage ../applications/audio/bambootracker { 28248 + stdenv = if stdenv.hostPlatform.isDarwin then 28249 + darwin.apple_sdk_11_0.stdenv 28250 + else 28251 + stdenv; 28252 + }; 28244 28253 28245 28254 blocky = callPackage ../applications/networking/blocky { }; 28246 28255 ··· 36041 36028 36042 36029 mopac = callPackage ../applications/science/chemistry/mopac { }; 36043 36030 36031 + nwchem = callPackage ../applications/science/chemistry/nwchem { }; 36032 + 36044 36033 octopus = callPackage ../applications/science/chemistry/octopus { }; 36045 36034 36046 36035 openlp = libsForQt5.callPackage ../applications/misc/openlp { }; ··· 37816 37801 37817 37802 dnadd = callPackage ../tools/nix/dnadd { }; 37818 37803 37819 - nix-eval-jobs = callPackage ../tools/package-management/nix-eval-jobs { 37820 - nix = nixVersions.nix_2_12; # fails to build with 2.13 37821 - }; 37804 + nix-eval-jobs = callPackage ../tools/package-management/nix-eval-jobs { }; 37822 37805 37823 37806 nix-doc = callPackage ../tools/package-management/nix-doc { }; 37824 37807
+8 -1
pkgs/top-level/ocaml-packages.nix
··· 357 357 then pkgs.dune_2 358 358 else throw "dune_2 is not available for OCaml ${ocaml.version}"; 359 359 360 - dune_3 = callPackage ../development/tools/ocaml/dune/3.nix { }; 360 + dune_3 = 361 + if lib.versionAtLeast ocaml.version "4.08" 362 + then callPackage ../development/tools/ocaml/dune/3.nix { } 363 + else if lib.versionAtLeast ocaml.version "4.02" 364 + then pkgs.dune_3 365 + else throw "dune_3 is not available for OCaml ${ocaml.version}"; 361 366 362 367 dune-action-plugin = callPackage ../development/ocaml-modules/dune-action-plugin { }; 363 368 ··· 1237 1232 result = callPackage ../development/ocaml-modules/ocaml-result { }; 1238 1233 1239 1234 rock = callPackage ../development/ocaml-modules/rock { }; 1235 + 1236 + rusage = callPackage ../development/ocaml-modules/rusage { }; 1240 1237 1241 1238 samplerate = callPackage ../development/ocaml-modules/samplerate { }; 1242 1239
+35 -25
pkgs/top-level/perl-packages.nix
··· 915 915 }; 916 916 917 917 AppSqitch = buildPerlModule { 918 - version = "1.1.0"; 918 + version = "1.3.1"; 919 919 pname = "App-Sqitch"; 920 920 src = fetchurl { 921 - url = "mirror://cpan/authors/id/D/DW/DWHEELER/App-Sqitch-v1.1.0.tar.gz"; 922 - hash = "sha256-7hRs111jAIN+bKVZuwveJH1CEjyWssXUsoAPONPj0as="; 921 + url = "mirror://cpan/authors/id/D/DW/DWHEELER/App-Sqitch-v1.3.1.tar.gz"; 922 + hash = "sha256-9edo0pjNQEfuKuQjGXgujCzaMSc3vL2/r1gL1H7+i5Q="; 923 923 }; 924 924 buildInputs = [ CaptureTiny TestDeep TestDir TestException TestFile TestFileContents TestMockModule TestMockObject TestNoWarnings TestWarn ]; 925 925 propagatedBuildInputs = [ Clone ConfigGitLike DBI DateTime EncodeLocale HashMerge IOPager IPCRun3 IPCSystemSimple ListMoreUtils PathClass PerlIOutf8_strict PodParser StringFormatter StringShellQuote TemplateTiny Throwable TypeTiny URIdb libintl-perl ]; ··· 17825 17825 }; 17826 17826 }; 17827 17827 17828 + NetIPXS = buildPerlPackage { 17829 + pname = "Net-IP-XS"; 17830 + version = "0.22"; 17831 + src = fetchurl { 17832 + url = "mirror://cpan/authors/id/T/TO/TOMHRR/Net-IP-XS-0.22.tar.gz"; 17833 + hash = "sha256-JZe0aDizgur3S6XJnD9gpqC1poHsNqFBchJL9E9LGSA="; 17834 + }; 17835 + propagatedBuildInputs = [ IOCapture TieSimple ]; 17836 + meta = { 17837 + homepage = "https://github.com/tomhrr/p5-Net-IP-XS"; 17838 + description = "IPv4/IPv6 address library"; 17839 + license = with lib.licenses; [ gpl2Plus ]; 17840 + }; 17841 + }; 17842 + 17828 17843 NetLDAPServer = buildPerlPackage { 17829 17844 pname = "Net-LDAP-Server"; 17830 17845 version = "0.43"; ··· 22922 22907 22923 22908 TemplateToolkit = buildPerlPackage { 22924 22909 pname = "Template-Toolkit"; 22925 - version = "3.009"; 22910 + version = "3.101"; 22926 22911 src = fetchurl { 22927 - url = "mirror://cpan/authors/id/A/AT/ATOOMIC/Template-Toolkit-3.009.tar.gz"; 22928 - hash = "sha256-1q0ju/Y3pZtd/RrABkYN/LGFmC5IUs3ncVD70IXx9bY="; 22912 + url = "mirror://cpan/authors/id/A/AB/ABW/Template-Toolkit-3.101.tar.gz"; 22913 + hash = "sha256-0qMt1sIeSzfGqT34CHyp6IDPrmE6Pl766jB7C9yu21g="; 22929 22914 }; 22930 22915 doCheck = !stdenv.isDarwin; 22931 22916 propagatedBuildInputs = [ AppConfig ]; ··· 27806 27791 27807 27792 ZonemasterCLI = buildPerlPackage { 27808 27793 pname = "Zonemaster-CLI"; 27809 - version = "4.0.1"; 27794 + version = "5.0.1"; 27810 27795 src = fetchurl { 27811 - url = "mirror://cpan/authors/id/Z/ZN/ZNMSTR/Zonemaster-CLI-v4.0.1.tar.gz"; 27812 - hash = "sha256-7dNPe4E35JLmzoR0xFpVBXLcpQVqve/EXAdt+daWXKA="; 27796 + url = "mirror://cpan/authors/id/Z/ZN/ZNMSTR/Zonemaster-CLI-v5.0.1.tar.gz"; 27797 + hash = "sha256-a/PPgavkaw9gCW44rj7+6AjOOSHKglg4H3kr6jXuRE4="; 27813 27798 }; 27814 27799 propagatedBuildInputs = [ 27815 27800 JSONXS ··· 27833 27818 27834 27819 ZonemasterEngine = buildPerlPackage { 27835 27820 pname = "Zonemaster-Engine"; 27836 - version = "4.5.1"; 27821 + version = "4.6.1"; 27837 27822 src = fetchurl { 27838 - url = "mirror://cpan/authors/id/Z/ZN/ZNMSTR/Zonemaster-Engine-v4.5.1.tar.gz"; 27839 - hash = "sha256-RdIExtrXzZAXYIS/JCe6qM5QNoSlaZ6+sjbk0zvAuoY="; 27823 + url = "mirror://cpan/authors/id/Z/ZN/ZNMSTR/Zonemaster-Engine-v4.6.1.tar.gz"; 27824 + hash = "sha256-4AXo3bZTOLnnPjjX5KNb/2O7MRqcAtlqpz5sPwNN9b0="; 27840 27825 }; 27841 27826 buildInputs = [ PodCoverage TestDifferences TestException TestFatal TestNoWarnings TestPod ]; 27842 - propagatedBuildInputs = [ ClassAccessor Clone EmailValid FileShareDir FileSlurp IOSocketINET6 ListMoreUtils ModuleFind Moose MooseXSingleton NetIP Readonly TextCSV ZonemasterLDNS libintl-perl ]; 27843 - 27844 - preCheck = '' 27845 - # disable dnssec test as it fails 27846 - rm -f t/Test-dnssec.t t/manifest.t 27847 - ''; 27827 + propagatedBuildInputs = [ ClassAccessor Clone EmailValid FileShareDir FileSlurp IOSocketINET6 ListMoreUtils ModuleFind Moose MooseXSingleton NetIP NetIPXS Readonly TextCSV ZonemasterLDNS libintl-perl ]; 27848 27828 27849 27829 meta = { 27850 27830 description = "A tool to check the quality of a DNS zone"; ··· 27849 27839 27850 27840 ZonemasterLDNS = buildPerlPackage { 27851 27841 pname = "Zonemaster-LDNS"; 27852 - version = "2.2.2"; 27842 + version = "3.1.0"; 27853 27843 src = fetchurl { 27854 - url = "mirror://cpan/authors/id/Z/ZN/ZNMSTR/Zonemaster-LDNS-2.2.2.tar.gz"; 27855 - hash = "sha256-4KccPjWqdhkJvjI9QQGCPX/B8vRUGw91eUUgxhHk788="; 27844 + url = "mirror://cpan/authors/id/Z/ZN/ZNMSTR/Zonemaster-LDNS-3.1.0.tar.gz"; 27845 + hash = "sha256-Rr4uoQg5g9/ZLVnFQiLAz5MB+Uj39U24YWEa+o2+9HE="; 27856 27846 }; 27857 - NIX_CFLAGS_COMPILE = "-I${pkgs.openssl_1_1.dev}/include -I${pkgs.libidn2}.dev}/include"; 27858 - NIX_CFLAGS_LINK = "-L${lib.getLib pkgs.openssl_1_1}/lib -L${lib.getLib pkgs.libidn2}/lib -lcrypto -lidn2"; 27847 + NIX_CFLAGS_COMPILE = "-I${pkgs.openssl.dev}/include -I${pkgs.libidn2}.dev}/include"; 27848 + NIX_CFLAGS_LINK = "-L${lib.getLib pkgs.openssl}/lib -L${lib.getLib pkgs.libidn2}/lib -lcrypto -lidn2"; 27859 27849 27860 - makeMakerFlags = [ "--prefix-openssl=${pkgs.openssl_1_1.dev}" ]; 27850 + makeMakerFlags = [ "--prefix-openssl=${pkgs.openssl.dev}" ]; 27861 27851 27862 27852 nativeBuildInputs = [ pkgs.pkg-config ]; 27863 - buildInputs = [ DevelChecklib ModuleInstall ModuleInstallXSUtil TestFatal pkgs.ldns pkgs.libidn2 pkgs.openssl_1_1 ]; 27853 + buildInputs = [ DevelChecklib ModuleInstall ModuleInstallXSUtil TestFatal pkgs.ldns pkgs.libidn2 pkgs.openssl ]; 27864 27854 meta = { 27865 27855 description = "Perl wrapper for the ldns DNS library"; 27866 27856 license = with lib.licenses; [ bsd3 ];