Merge master into staging-next

authored by github-actions[bot] and committed by GitHub fccce1e6 e0f3de2d

+229 -132
+11 -1
maintainers/maintainer-list.nix
··· 8975 name = "Millian Poquet"; 8976 }; 8977 mpscholten = { 8978 - email = "marc@mpscholten.de"; 8979 github = "mpscholten"; 8980 githubId = 2072185; 8981 name = "Marc Scholten"; ··· 15144 githubId = 3806110; 15145 keys = [{ 15146 fingerprint = "4384 B8E1 299F C028 1641 7B8F EC30 EFBE FA7E 84A4"; 15147 }]; 15148 }; 15149 }
··· 8975 name = "Millian Poquet"; 8976 }; 8977 mpscholten = { 8978 + email = "marc@digitallyinduced.com"; 8979 github = "mpscholten"; 8980 githubId = 2072185; 8981 name = "Marc Scholten"; ··· 15144 githubId = 3806110; 15145 keys = [{ 15146 fingerprint = "4384 B8E1 299F C028 1641 7B8F EC30 EFBE FA7E 84A4"; 15147 + }]; 15148 + }; 15149 + cafkafk = { 15150 + email = "cafkafk@cafkafk.com"; 15151 + matrix = "@cafkafk:matrix.cafkafk.com"; 15152 + name = "Christina Sørensen"; 15153 + github = "cafkafk"; 15154 + githubId = 89321978; 15155 + keys = [{ 15156 + fingerprint = "7B9E E848 D074 AE03 7A0C 651A 8ED4 DEF7 375A 30C8"; 15157 }]; 15158 }; 15159 }
+15
nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
··· 213 </listitem> 214 <listitem> 215 <para> 216 <link xlink:href="https://www.getoutline.com/">Outline</link>, 217 a wiki and knowledge base similar to Notion. Available as 218 <link linkend="opt-services.outline.enable">services.outline</link>. ··· 387 <para> 388 <literal>pkgs.cosign</literal> does not provide the 389 <literal>cosigned</literal> binary anymore. 390 </para> 391 </listitem> 392 <listitem>
··· 213 </listitem> 214 <listitem> 215 <para> 216 + <link xlink:href="https://languagetool.org/">languagetool</link>, 217 + a multilingual grammar, style, and spell checker. Available as 218 + <link xlink:href="options.html#opt-services.languagetool.enable">services.languagetool</link>. 219 + </para> 220 + </listitem> 221 + <listitem> 222 + <para> 223 <link xlink:href="https://www.getoutline.com/">Outline</link>, 224 a wiki and knowledge base similar to Notion. Available as 225 <link linkend="opt-services.outline.enable">services.outline</link>. ··· 394 <para> 395 <literal>pkgs.cosign</literal> does not provide the 396 <literal>cosigned</literal> binary anymore. 397 + </para> 398 + </listitem> 399 + <listitem> 400 + <para> 401 + Emacs now uses the Lucid toolkit by default instead of GTK 402 + because of stability and compatibility issues. Users who still 403 + wish to remain using GTK can do so by using 404 + <literal>emacs-gtk</literal>. 405 </para> 406 </listitem> 407 <listitem>
+6
nixos/doc/manual/release-notes/rl-2211.section.md
··· 78 - [kanata](https://github.com/jtroo/kanata), a tool to improve keyboard comfort and usability with advanced customization. 79 Available as [services.kanata](options.html#opt-services.kanata.enable). 80 81 - [Outline](https://www.getoutline.com/), a wiki and knowledge base similar to Notion. Available as [services.outline](#opt-services.outline.enable). 82 83 - [netbird](https://netbird.io), a zero configuration VPN. ··· 135 version for the entire lifecycle of the 22.11 release. 136 137 - `pkgs.cosign` does not provide the `cosigned` binary anymore. 138 139 - riak package removed along with `services.riak` module, due to lack of maintainer to update the package. 140
··· 78 - [kanata](https://github.com/jtroo/kanata), a tool to improve keyboard comfort and usability with advanced customization. 79 Available as [services.kanata](options.html#opt-services.kanata.enable). 80 81 + - [languagetool](https://languagetool.org/), a multilingual grammar, style, and spell checker. 82 + Available as [services.languagetool](options.html#opt-services.languagetool.enable). 83 + 84 - [Outline](https://www.getoutline.com/), a wiki and knowledge base similar to Notion. Available as [services.outline](#opt-services.outline.enable). 85 86 - [netbird](https://netbird.io), a zero configuration VPN. ··· 138 version for the entire lifecycle of the 22.11 release. 139 140 - `pkgs.cosign` does not provide the `cosigned` binary anymore. 141 + 142 + - Emacs now uses the Lucid toolkit by default instead of GTK because of stability and compatibility issues. 143 + Users who still wish to remain using GTK can do so by using `emacs-gtk`. 144 145 - riak package removed along with `services.riak` module, due to lack of maintainer to update the package. 146
+4 -2
nixos/lib/test-driver/test_driver/machine.py
··· 426 self.monitor.send(message) 427 return self.wait_for_monitor_prompt() 428 429 - def wait_for_unit(self, unit: str, user: Optional[str] = None) -> None: 430 """Wait for a systemd unit to get into "active" state. 431 Throws exceptions on "failed" and "inactive" states as well as 432 after timing out. ··· 456 unit, f" with user {user}" if user is not None else "" 457 ) 458 ): 459 - retry(check_active) 460 461 def get_unit_info(self, unit: str, user: Optional[str] = None) -> Dict[str, str]: 462 status, lines = self.systemctl('--no-pager show "{}"'.format(unit), user)
··· 426 self.monitor.send(message) 427 return self.wait_for_monitor_prompt() 428 429 + def wait_for_unit( 430 + self, unit: str, user: Optional[str] = None, timeout: int = 900 431 + ) -> None: 432 """Wait for a systemd unit to get into "active" state. 433 Throws exceptions on "failed" and "inactive" states as well as 434 after timing out. ··· 458 unit, f" with user {user}" if user is not None else "" 459 ) 460 ): 461 + retry(check_active, timeout) 462 463 def get_unit_info(self, unit: str, user: Optional[str] = None) -> Dict[str, str]: 464 status, lines = self.systemctl('--no-pager show "{}"'.format(unit), user)
+1
nixos/modules/module-list.nix
··· 589 ./services/misc/jackett.nix 590 ./services/misc/jellyfin.nix 591 ./services/misc/klipper.nix 592 ./services/misc/logkeys.nix 593 ./services/misc/leaps.nix 594 ./services/misc/lidarr.nix
··· 589 ./services/misc/jackett.nix 590 ./services/misc/jellyfin.nix 591 ./services/misc/klipper.nix 592 + ./services/misc/languagetool.nix 593 ./services/misc/logkeys.nix 594 ./services/misc/leaps.nix 595 ./services/misc/lidarr.nix
+78
nixos/modules/services/misc/languagetool.nix
···
··· 1 + { config, lib, options, pkgs, ... }: 2 + 3 + with lib; 4 + 5 + let 6 + cfg = config.services.languagetool; 7 + settingsFormat = pkgs.formats.javaProperties {}; 8 + in { 9 + options.services.languagetool = { 10 + enable = mkEnableOption (mdDoc "the LanguageTool server"); 11 + 12 + port = mkOption { 13 + type = types.port; 14 + default = 8081; 15 + example = 8081; 16 + description = mdDoc '' 17 + Port on which LanguageTool listens. 18 + ''; 19 + }; 20 + 21 + public = mkEnableOption (mdDoc "access from anywhere (rather than just localhost)"); 22 + 23 + allowOrigin = mkOption { 24 + type = types.nullOr types.str; 25 + default = null; 26 + example = "https://my-website.org"; 27 + description = mdDoc '' 28 + Set the Access-Control-Allow-Origin header in the HTTP response, 29 + used for direct (non-proxy) JavaScript-based access from browsers. 30 + `null` to allow access from all sites. 31 + ''; 32 + }; 33 + 34 + settings = lib.mkOption { 35 + type = types.submodule { 36 + freeformType = settingsFormat.type; 37 + 38 + options.cacheSize = mkOption { 39 + type = types.ints.unsigned; 40 + default = 1000; 41 + apply = toString; 42 + description = mdDoc "Number of sentences cached."; 43 + }; 44 + }; 45 + default = {}; 46 + description = mdDoc '' 47 + Configuration file options for LanguageTool, see 48 + 'languagetool-http-server --help' 49 + for supported settings. 50 + ''; 51 + }; 52 + }; 53 + 54 + config = mkIf cfg.enable { 55 + 56 + systemd.services.languagetool = { 57 + description = "LanguageTool HTTP server"; 58 + wantedBy = [ "multi-user.target" ]; 59 + after = [ "network.target" ]; 60 + serviceConfig = { 61 + DynamicUser = true; 62 + User = "languagetool"; 63 + Group = "languagetool"; 64 + CapabilityBoundingSet = [ "" ]; 65 + RestrictNamespaces = [ "" ]; 66 + SystemCallFilter = [ "@system-service" "~ @privileged" ]; 67 + ProtectHome = "yes"; 68 + ExecStart = '' 69 + ${pkgs.languagetool}/bin/languagetool-http-server \ 70 + --port ${toString cfg.port} \ 71 + ${optionalString cfg.public "--public"} \ 72 + ${optionalString (cfg.allowOrigin != null) "--allow-origin ${cfg.allowOrigin}"} \ 73 + "--configuration" ${settingsFormat.generate "languagetool.conf" cfg.settings} 74 + ''; 75 + }; 76 + }; 77 + }; 78 + }
+1
nixos/modules/services/networking/teamspeak3.nix
··· 152 WorkingDirectory = cfg.dataDir; 153 User = user; 154 Group = group; 155 }; 156 }; 157 };
··· 152 WorkingDirectory = cfg.dataDir; 153 User = user; 154 Group = group; 155 + Restart = "on-failure"; 156 }; 157 }; 158 };
+1
nixos/tests/all-tests.nix
··· 276 krb5 = discoverTests (import ./krb5 {}); 277 ksm = handleTest ./ksm.nix {}; 278 kubernetes = handleTestOn ["x86_64-linux"] ./kubernetes {}; 279 latestKernel.login = handleTest ./login.nix { latestKernel = true; }; 280 leaps = handleTest ./leaps.nix {}; 281 lemmy = handleTest ./lemmy.nix {};
··· 276 krb5 = discoverTests (import ./krb5 {}); 277 ksm = handleTest ./ksm.nix {}; 278 kubernetes = handleTestOn ["x86_64-linux"] ./kubernetes {}; 279 + languagetool = handleTest ./languagetool.nix {}; 280 latestKernel.login = handleTest ./login.nix { latestKernel = true; }; 281 leaps = handleTest ./leaps.nix {}; 282 lemmy = handleTest ./lemmy.nix {};
+1 -1
nixos/tests/cagebreak.nix
··· 33 34 hardware.opengl.enable = true; 35 programs.xwayland.enable = true; 36 - services.udisks2.enable = true; 37 environment.systemPackages = [ pkgs.cagebreak pkgs.wayland-utils ]; 38 39 # Need to switch to a different GPU driver than the default one (-vga std) so that Cagebreak can launch:
··· 33 34 hardware.opengl.enable = true; 35 programs.xwayland.enable = true; 36 + security.polkit.enable = true; 37 environment.systemPackages = [ pkgs.cagebreak pkgs.wayland-utils ]; 38 39 # Need to switch to a different GPU driver than the default one (-vga std) so that Cagebreak can launch:
+19
nixos/tests/languagetool.nix
···
··· 1 + import ./make-test-python.nix ({ pkgs, lib, ... }: 2 + let port = 8082; 3 + in { 4 + name = "languagetool"; 5 + meta = with lib.maintainers; { maintainers = [ fbeffa ]; }; 6 + 7 + nodes.machine = { ... }: 8 + { 9 + services.languagetool.enable = true; 10 + services.languagetool.port = port; 11 + }; 12 + 13 + testScript = '' 14 + machine.start() 15 + machine.wait_for_unit("languagetool.service") 16 + machine.wait_for_open_port(${toString port}) 17 + machine.wait_until_succeeds('curl -d "language=en-US" -d "text=a simple test" http://localhost:${toString port}/v2/check') 18 + ''; 19 + })
+1 -1
nixos/tests/moodle.nix
··· 16 17 testScript = '' 18 start_all() 19 - machine.wait_for_unit("phpfpm-moodle.service") 20 machine.wait_until_succeeds("curl http://localhost/ | grep 'You are not logged in'") 21 ''; 22 })
··· 16 17 testScript = '' 18 start_all() 19 + machine.wait_for_unit("phpfpm-moodle.service", timeout=1800) 20 machine.wait_until_succeeds("curl http://localhost/ | grep 'You are not logged in'") 21 ''; 22 })
+1 -1
pkgs/applications/editors/emacs/generic.nix
··· 18 , withX ? !stdenv.isDarwin 19 , withNS ? stdenv.isDarwin 20 , withGTK2 ? false, gtk2-x11 ? null 21 - , withGTK3 ? true, gtk3-x11 ? null, gsettings-desktop-schemas ? null 22 , withXwidgets ? false, webkitgtk ? null, wrapGAppsHook ? null, glib-networking ? null 23 , withMotif ? false, motif ? null 24 , withSQLite3 ? false
··· 18 , withX ? !stdenv.isDarwin 19 , withNS ? stdenv.isDarwin 20 , withGTK2 ? false, gtk2-x11 ? null 21 + , withGTK3 ? false, gtk3-x11 ? null, gsettings-desktop-schemas ? null 22 , withXwidgets ? false, webkitgtk ? null, wrapGAppsHook ? null, glib-networking ? null 23 , withMotif ? false, motif ? null 24 , withSQLite3 ? false
+12
pkgs/applications/editors/vim/plugins/generated.nix
··· 4437 meta.homepage = "https://github.com/tomasr/molokai/"; 4438 }; 4439 4440 mru = buildVimPluginFrom2Nix { 4441 pname = "mru"; 4442 version = "2022-08-20";
··· 4437 meta.homepage = "https://github.com/tomasr/molokai/"; 4438 }; 4439 4440 + moonscript-vim = buildVimPluginFrom2Nix { 4441 + pname = "moonscript-vim"; 4442 + version = "2016-11-22"; 4443 + src = fetchFromGitHub { 4444 + owner = "leafo"; 4445 + repo = "moonscript-vim"; 4446 + rev = "715c96c7c3b02adc507f84bf5754985460afc426"; 4447 + sha256 = "1m4yz2xnazqagmkcli2xvwidsgssy9p650ykgdybk7wwlrq2vvqi"; 4448 + }; 4449 + meta.homepage = "https://github.com/leafo/moonscript-vim/"; 4450 + }; 4451 + 4452 mru = buildVimPluginFrom2Nix { 4453 pname = "mru"; 4454 version = "2022-08-20";
+1
pkgs/applications/editors/vim/plugins/vim-plugin-names
··· 372 https://github.com/SidOfc/mkdx/,, 373 https://github.com/tomasr/molokai/,, 374 https://github.com/shaunsingh/moonlight.nvim/,,pure-lua 375 https://github.com/yegappan/mru/,, 376 https://github.com/ncm2/ncm2/,, 377 https://github.com/ncm2/ncm2-bufword/,,
··· 372 https://github.com/SidOfc/mkdx/,, 373 https://github.com/tomasr/molokai/,, 374 https://github.com/shaunsingh/moonlight.nvim/,,pure-lua 375 + https://github.com/leafo/moonscript-vim/,HEAD, 376 https://github.com/yegappan/mru/,, 377 https://github.com/ncm2/ncm2/,, 378 https://github.com/ncm2/ncm2-bufword/,,
+6 -6
pkgs/applications/editors/vscode/vscode.nix
··· 15 archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; 16 17 sha256 = { 18 - x86_64-linux = "08p4l47zr4dm7mw65wwdsf6q1wkzkzg3l2y5zrs3ng3nafql96zs"; 19 - x86_64-darwin = "1pf8xpg2sb0iwfaixvzhmglqrrky2625b66fjwlc5zkj0dlff106"; 20 - aarch64-linux = "1c35s7zykcrqf3va1cv7hqf1dp3cl70kdvqv3vgflqldc1wcza9h"; 21 - aarch64-darwin = "1jpsf54x7yy53d6766gpw90ngdi6kicpqm1qbzbmmsasndl7rklp"; 22 - armv7l-linux = "10vj751bjdkzsdcrdpq6xb430pdhdbz8ysk835ir64i3mv6ygi7k"; 23 }.${system} or throwSystem; 24 in 25 callPackage ./generic.nix rec { 26 # Please backport all compatible updates to the stable release. 27 # This is important for the extension ecosystem. 28 - version = "1.70.2"; 29 pname = "vscode"; 30 31 executableName = "code" + lib.optionalString isInsiders "-insiders";
··· 15 archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; 16 17 sha256 = { 18 + x86_64-linux = "0cnrbjqcnkv7ybj9j7l0lcnfnxq18mddhdkj9797928q643bmj6z"; 19 + x86_64-darwin = "1d9gb3i2k0c9cn38igg1nm91bfqdi4xg29zlprqsqh98ijwqy25y"; 20 + aarch64-linux = "1jm8ll8f4m99ly53rv7000ng9a0l8jn4xpc6kfhmqdnf0jqfncsh"; 21 + aarch64-darwin = "1awmaxkr5nl513c50g6k4r2j3w8p2by1j9i3kw7vkmwn91bk24i4"; 22 + armv7l-linux = "1d2hl9jy1kfkzn4j7qkp3k8j1qc3r9rpqhvkfrr2axcqrahcrfsd"; 23 }.${system} or throwSystem; 24 in 25 callPackage ./generic.nix rec { 26 # Please backport all compatible updates to the stable release. 27 # This is important for the extension ecosystem. 28 + version = "1.71.0"; 29 pname = "vscode"; 30 31 executableName = "code" + lib.optionalString isInsiders "-insiders";
+2 -2
pkgs/applications/graphics/hydrus/default.nix
··· 10 11 python3Packages.buildPythonPackage rec { 12 pname = "hydrus"; 13 - version = "496"; 14 format = "other"; 15 16 src = fetchFromGitHub { 17 owner = "hydrusnetwork"; 18 repo = "hydrus"; 19 rev = "refs/tags/v${version}"; 20 - sha256 = "sha256-Ng3ogPxyzn4cKVE/0iz56VWGyABkM2ZF7ktajaJ9Mn8="; 21 }; 22 23 nativeBuildInputs = [
··· 10 11 python3Packages.buildPythonPackage rec { 12 pname = "hydrus"; 13 + version = "497"; 14 format = "other"; 15 16 src = fetchFromGitHub { 17 owner = "hydrusnetwork"; 18 repo = "hydrus"; 19 rev = "refs/tags/v${version}"; 20 + sha256 = "sha256-dQ6a3jys6V1ihT6q8FUaX7jOA1ZDZdX5EUy03ILk7vM="; 21 }; 22 23 nativeBuildInputs = [
+5 -5
pkgs/applications/networking/browsers/chromium/upstream-info.json
··· 45 } 46 }, 47 "ungoogled-chromium": { 48 - "version": "105.0.5195.54", 49 - "sha256": "0hj40scp54hp5xw036vb9v0h951hik4dq8skr52hffw24jqa9d5k", 50 - "sha256bin64": null, 51 "deps": { 52 "gn": { 53 "version": "2022-07-11", ··· 56 "sha256": "0j85kgf8c1psys6kfsq5mph8n80hcbzhr7d2blqiiysmjj0wc6ng" 57 }, 58 "ungoogled-patches": { 59 - "rev": "105.0.5195.54-1", 60 - "sha256": "021y7cm1fdwkakhqrvz3jw5hx30740qn827wcvih0jdc3msfgd97" 61 } 62 } 63 }
··· 45 } 46 }, 47 "ungoogled-chromium": { 48 + "version": "105.0.5195.102", 49 + "sha256": "0qlj6s182d4nv0g76r0pcr1rvvh74pngcv79ml3cbqsir4khbfhw", 50 + "sha256bin64": "0n6rghaszyd9s6l702wypm8k13770kl6njnc2pwzahbxq5v921wa", 51 "deps": { 52 "gn": { 53 "version": "2022-07-11", ··· 56 "sha256": "0j85kgf8c1psys6kfsq5mph8n80hcbzhr7d2blqiiysmjj0wc6ng" 57 }, 58 "ungoogled-patches": { 59 + "rev": "105.0.5195.102-1", 60 + "sha256": "17n06lqzbz19a3fdqbv5wj7s6v3rc0bfshdz8syw0k2gkw3x6ivc" 61 } 62 } 63 }
+2 -2
pkgs/applications/networking/cluster/kops/default.nix
··· 62 }; 63 64 kops_1_24 = mkKops rec { 65 - version = "1.24.1"; 66 - sha256 = "sha256-rePNCk76/j6ssvi+gSvxn4GqoW/QovTFCJ0rj2Dd+0A="; 67 rev = "v${version}"; 68 }; 69
··· 62 }; 63 64 kops_1_24 = mkKops rec { 65 + version = "1.24.2"; 66 + sha256 = "sha256-QEoaSkJ3fzUr2Fr3M2EOd/3iwq1ZX2YHEez2i0kjRmY="; 67 rev = "v${version}"; 68 }; 69
+2 -2
pkgs/applications/networking/instant-messengers/discord/default.nix
··· 3 versions = if stdenv.isLinux then { 4 stable = "0.0.19"; 5 ptb = "0.0.29"; 6 - canary = "0.0.137"; 7 } else { 8 stable = "0.0.264"; 9 ptb = "0.0.59"; ··· 22 }; 23 canary = fetchurl { 24 url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; 25 - sha256 = "sha256-dreKO2yBDP547VYuJziBhC2sLdpbM2fcK5bxeds0zUQ="; 26 }; 27 }; 28 aarch64-darwin = {
··· 3 versions = if stdenv.isLinux then { 4 stable = "0.0.19"; 5 ptb = "0.0.29"; 6 + canary = "0.0.138"; 7 } else { 8 stable = "0.0.264"; 9 ptb = "0.0.59"; ··· 22 }; 23 canary = fetchurl { 24 url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; 25 + sha256 = "sha256-NojoHrrgdvLiMgWYPClXzWjWXuvHz7urhyHzMnZwvBY="; 26 }; 27 }; 28 aarch64-darwin = {
+2 -2
pkgs/applications/radio/chirp/default.nix
··· 4 }: 5 python2.pkgs.buildPythonApplication rec { 6 pname = "chirp-daily"; 7 - version = "20211016"; 8 9 src = fetchurl { 10 url = "https://trac.chirp.danplanet.com/chirp_daily/daily-${version}/${pname}-${version}.tar.gz"; 11 - sha256 = "13xzqnhvnw6yipv4izkq0s9ykyl9pc5ifpr1ii8xfp28ch706qyw"; 12 }; 13 14 propagatedBuildInputs = with python2.pkgs; [
··· 4 }: 5 python2.pkgs.buildPythonApplication rec { 6 pname = "chirp-daily"; 7 + version = "20220823"; 8 9 src = fetchurl { 10 url = "https://trac.chirp.danplanet.com/chirp_daily/daily-${version}/${pname}-${version}.tar.gz"; 11 + sha256 = "sha256-V+8HQAYU2XjOYeku0XEHqkY4m0XjiUBxM61QcupnlVM="; 12 }; 13 14 propagatedBuildInputs = with python2.pkgs; [
+4 -3
pkgs/applications/science/robotics/mavproxy/default.nix
··· 1 { stdenv, lib, buildPythonApplication, fetchPypi, matplotlib, numpy, pymavlink, pyserial 2 - , setuptools, wxPython_4_0, billiard, gnureadline }: 3 4 buildPythonApplication rec { 5 pname = "MAVProxy"; 6 - version = "1.8.52"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "sha256-H30QZbUj6SXuwhhQUvHoPDM1D4ynm/vt1Mi4rkCB1oo="; 11 }; 12 13 postPatch = '' ··· 22 pyserial 23 setuptools 24 wxPython_4_0 25 ] ++ lib.optionals stdenv.isDarwin [ billiard gnureadline ]; 26 27 # No tests
··· 1 { stdenv, lib, buildPythonApplication, fetchPypi, matplotlib, numpy, pymavlink, pyserial 2 + , setuptools, wxPython_4_0, billiard, gnureadline, opencv4 }: 3 4 buildPythonApplication rec { 5 pname = "MAVProxy"; 6 + version = "1.8.55"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "sha256-RS3/U52n1Gs3cJtlZeE5z5q1EmC8NrPFt0mHhvIWVTA="; 11 }; 12 13 postPatch = '' ··· 22 pyserial 23 setuptools 24 wxPython_4_0 25 + opencv4 26 ] ++ lib.optionals stdenv.isDarwin [ billiard gnureadline ]; 27 28 # No tests
+11 -25
pkgs/applications/video/video-trimmer/default.nix
··· 1 { stdenv 2 , lib 3 , fetchFromGitLab 4 , rustPlatform 5 , gnome 6 , pkg-config 7 , meson 8 , wrapGAppsHook4 9 - , appstream-glib 10 , desktop-file-utils 11 , blueprint-compiler 12 , ninja 13 - , python3 14 - , gtk3-x11 15 - , glib 16 , gobject-introspection 17 , gtk4 18 , libadwaita ··· 37 }; 38 39 patches = [ 40 - # The metainfo.xml file has a URL to a screenshot of the application, 41 - # unaccessible in the build's sandbox. We don't need the screenshot, so 42 - # it's best to remove it. 43 - ./remove-screenshot-metainfo.diff 44 ]; 45 46 - postPatch = '' 47 - patchShebangs \ 48 - build-aux/meson/postinstall.py \ 49 - build-aux/cargo.sh \ 50 - build-aux/dist-vendor.sh 51 - ''; 52 - 53 nativeBuildInputs = [ 54 pkg-config 55 meson 56 wrapGAppsHook4 57 - appstream-glib 58 desktop-file-utils 59 blueprint-compiler 60 ninja 61 - # For post-install.py 62 - python3 63 - gtk3-x11 # For gtk-update-icon-cache 64 - glib # For glib-compile-schemas 65 ] ++ (with rustPlatform; [ 66 cargoSetupHook 67 rust.cargo ··· 69 ]); 70 71 buildInputs = [ 72 - gobject-introspection 73 gtk4 74 libadwaita 75 gst_all_1.gstreamer ··· 78 ]; 79 80 doCheck = true; 81 - 82 - passthru.updateScript = gnome.updateScript { 83 - packageName = pname; 84 - }; 85 86 meta = with lib; { 87 homepage = "https://gitlab.gnome.org/YaLTeR/video-trimmer";
··· 1 { stdenv 2 , lib 3 , fetchFromGitLab 4 + , fetchpatch 5 , rustPlatform 6 , gnome 7 , pkg-config 8 , meson 9 , wrapGAppsHook4 10 , desktop-file-utils 11 , blueprint-compiler 12 , ninja 13 , gobject-introspection 14 , gtk4 15 , libadwaita ··· 34 }; 35 36 patches = [ 37 + # https://gitlab.gnome.org/YaLTeR/video-trimmer/-/merge_requests/12 38 + (fetchpatch { 39 + url = "https://gitlab.gnome.org/YaLTeR/video-trimmer/-/commit/2faf4bb13d44463ea940c39ece9187f76627dbe9.diff"; 40 + sha256 = "sha256-BPjwfFCDIqnS1rAlIinQ982VKdAYLyzDAPLCmPDvdp4="; 41 + }) 42 ]; 43 44 nativeBuildInputs = [ 45 pkg-config 46 meson 47 wrapGAppsHook4 48 + gobject-introspection 49 desktop-file-utils 50 blueprint-compiler 51 ninja 52 + # Present here in addition to buildInputs, because meson runs 53 + # `gtk4-update-icon-cache` during installPhase, thanks to: 54 + # https://gitlab.gnome.org/YaLTeR/video-trimmer/-/merge_requests/12 55 + gtk4 56 ] ++ (with rustPlatform; [ 57 cargoSetupHook 58 rust.cargo ··· 60 ]); 61 62 buildInputs = [ 63 gtk4 64 libadwaita 65 gst_all_1.gstreamer ··· 68 ]; 69 70 doCheck = true; 71 72 meta = with lib; { 73 homepage = "https://gitlab.gnome.org/YaLTeR/video-trimmer";
-17
pkgs/applications/video/video-trimmer/remove-screenshot-metainfo.diff
··· 1 - diff --git i/data/org.gnome.gitlab.YaLTeR.VideoTrimmer.metainfo.xml.in.in w/data/org.gnome.gitlab.YaLTeR.VideoTrimmer.metainfo.xml.in.in 2 - index 9bd25b6..c627369 100644 3 - --- i/data/org.gnome.gitlab.YaLTeR.VideoTrimmer.metainfo.xml.in.in 4 - +++ w/data/org.gnome.gitlab.YaLTeR.VideoTrimmer.metainfo.xml.in.in 5 - @@ -19,12 +19,6 @@ 6 - Video Trimmer cuts out a fragment of a video given the start and end timestamps. The video is never re-encoded, so the process is very fast and does not reduce the video quality. 7 - </p> 8 - </description> 9 - - <screenshots> 10 - - <screenshot type="default"> 11 - - <image>https://gitlab.gnome.org/YaLTeR/video-trimmer/uploads/e840fa093439348448007197d07c8033/image.png</image> 12 - - <caption>Main Window</caption> 13 - - </screenshot> 14 - - </screenshots> 15 - <releases> 16 - <release version="0.7.1" date="2022-03-23"> 17 - <description>
···
+2 -2
pkgs/data/misc/osinfo-db/default.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "osinfo-db"; 11 - version = "20220727"; 12 13 src = fetchurl { 14 url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz"; 15 - sha256 = "sha256-IpHlI07Ymagww28rQFb/XnYjX0uge1k0IfSGUpBjTV4="; 16 }; 17 18 nativeBuildInputs = [
··· 8 9 stdenv.mkDerivation rec { 10 pname = "osinfo-db"; 11 + version = "20220830"; 12 13 src = fetchurl { 14 url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz"; 15 + sha256 = "sha256-gRFkPZDeq4ONt/IT8VS+8uBXNQqcg0JF7gHdZEM7qvs="; 16 }; 17 18 nativeBuildInputs = [
+3 -3
pkgs/development/libraries/science/math/suitesparse/default.nix
··· 12 13 stdenv.mkDerivation rec { 14 pname = "suitesparse"; 15 - version = "5.11.0"; 16 17 outputs = [ "out" "dev" "doc" ]; 18 ··· 20 owner = "DrTimothyAldenDavis"; 21 repo = "SuiteSparse"; 22 rev = "v${version}"; 23 - sha256 = "sha256-AM16ngJ/CoSV6BOb80Pi9EqWoRILryOO4Rk+S5DffLU="; 24 }; 25 26 nativeBuildInputs = [ ··· 53 "CUBLAS_LIB=${cudatoolkit}/lib/libcublas.so" 54 ] ++ lib.optionals stdenv.isDarwin [ 55 # Unless these are set, the build will attempt to use `Accelerate` on darwin, see: 56 - # https://github.com/DrTimothyAldenDavis/SuiteSparse/blob/v5.11.0/SuiteSparse_config/SuiteSparse_config.mk#L368 57 "BLAS=-lblas" 58 "LAPACK=-llapack" 59 ]
··· 12 13 stdenv.mkDerivation rec { 14 pname = "suitesparse"; 15 + version = "5.13.0"; 16 17 outputs = [ "out" "dev" "doc" ]; 18 ··· 20 owner = "DrTimothyAldenDavis"; 21 repo = "SuiteSparse"; 22 rev = "v${version}"; 23 + sha256 = "sha256-Anen1YtXsSPhk8DpA4JtADIz9m8oXFl9umlkb4iImf8="; 24 }; 25 26 nativeBuildInputs = [ ··· 53 "CUBLAS_LIB=${cudatoolkit}/lib/libcublas.so" 54 ] ++ lib.optionals stdenv.isDarwin [ 55 # Unless these are set, the build will attempt to use `Accelerate` on darwin, see: 56 + # https://github.com/DrTimothyAldenDavis/SuiteSparse/blob/v5.13.0/SuiteSparse_config/SuiteSparse_config.mk#L368 57 "BLAS=-lblas" 58 "LAPACK=-llapack" 59 ]
+2 -2
pkgs/development/python-modules/awscrt/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "awscrt"; 15 - version = "0.14.3"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - hash = "sha256-nLlldO4otyWKn91L6vCiBh9csplFrN8tiK1tfeik6Y4="; 23 }; 24 25 buildInputs = lib.optionals stdenv.isDarwin [
··· 12 13 buildPythonPackage rec { 14 pname = "awscrt"; 15 + version = "0.14.5"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + hash = "sha256-5dmPTN86DtEtGTgvX1T8QfvPdqZNdyBQP3lt4e4tH3o="; 23 }; 24 25 buildInputs = lib.optionals stdenv.isDarwin [
+4 -4
pkgs/os-specific/linux/apfs/default.nix
··· 6 7 stdenv.mkDerivation { 8 pname = "apfs"; 9 - version = "unstable-2022-07-24-${kernel.version}"; 10 11 src = fetchFromGitHub { 12 owner = "linux-apfs"; 13 repo = "linux-apfs-rw"; 14 - rev = "925d86b7be3ccf21b17734cfececf40e43c4598e"; 15 - sha256 = "sha256-N5lGJu4c03cVDk3WTcegzZHBDmguPEX8dCedJS2TMSI="; 16 }; 17 18 hardeningDisable = [ "pic" ]; ··· 29 homepage = "https://github.com/linux-apfs/linux-apfs-rw"; 30 license = licenses.gpl2Only; 31 platforms = platforms.linux; 32 - broken = kernel.kernelOlder "4.9" || kernel.kernelAtLeast "5.19"; 33 maintainers = with maintainers; [ Luflosi ]; 34 }; 35 }
··· 6 7 stdenv.mkDerivation { 8 pname = "apfs"; 9 + version = "unstable-2022-08-15-${kernel.version}"; 10 11 src = fetchFromGitHub { 12 owner = "linux-apfs"; 13 repo = "linux-apfs-rw"; 14 + rev = "e4bf2d51d3fe8485ad2b28a89c157ada32ee3d77"; 15 + sha256 = "sha256-zvl1H9AIExgt6t2A2w7zDwXmRsmLY8y3P6EfbBuFdh8="; 16 }; 17 18 hardeningDisable = [ "pic" ]; ··· 29 homepage = "https://github.com/linux-apfs/linux-apfs-rw"; 30 license = licenses.gpl2Only; 31 platforms = platforms.linux; 32 + broken = kernel.kernelOlder "4.9"; 33 maintainers = with maintainers; [ Luflosi ]; 34 }; 35 }
+2 -2
pkgs/servers/frr/default.nix
··· 32 33 stdenv.mkDerivation rec { 34 pname = "frr"; 35 - version = "8.3"; 36 37 src = fetchFromGitHub { 38 owner = "FRRouting"; 39 repo = pname; 40 rev = "${pname}-${version}"; 41 - hash = "sha256-PW6ULiSGNznKS6zw4aa27QSSgbew7TTLCqwNm9bH2LY="; 42 }; 43 44 nativeBuildInputs = [
··· 32 33 stdenv.mkDerivation rec { 34 pname = "frr"; 35 + version = "8.3.1"; 36 37 src = fetchFromGitHub { 38 owner = "FRRouting"; 39 repo = pname; 40 rev = "${pname}-${version}"; 41 + hash = "sha256-+M4xTdjCp5TJh0U8ZfUmw84Y7O0TZ9mmUXhh2J/QOE0="; 42 }; 43 44 nativeBuildInputs = [
+7 -4
pkgs/tools/X11/wpgtk/default.nix
··· 3 4 python3Packages.buildPythonApplication rec { 5 pname = "wpgtk"; 6 - version = "6.5.0"; 7 8 src = fetchFromGitHub { 9 owner = "deviantfero"; 10 repo = "wpgtk"; 11 rev = version; 12 - sha256 = "0gv607jrdfbmadjyy3pbrj5ksh1dmaw5hz7l8my2z7sh0ifds0n2"; 13 }; 14 15 buildInputs = [ 16 wrapGAppsHook 17 gtk3 18 - gobject-introspection 19 gnome.adwaita-icon-theme 20 libxslt 21 ]; ··· 46 homepage = "https://github.com/deviantfero/wpgtk"; 47 license = licenses.gpl2Only; 48 platforms = platforms.linux; 49 - maintainers = [ maintainers.melkor333 ]; 50 }; 51 }
··· 3 4 python3Packages.buildPythonApplication rec { 5 pname = "wpgtk"; 6 + version = "6.5.5"; 7 8 src = fetchFromGitHub { 9 owner = "deviantfero"; 10 repo = "wpgtk"; 11 rev = version; 12 + sha256 = "sha256-g3flxQNiNta+uL4t21Lhpij8b5yB78SJLGaFpTcm9fE="; 13 }; 14 15 + nativeBuildInputs = [ 16 + gobject-introspection 17 + ]; 18 + 19 buildInputs = [ 20 wrapGAppsHook 21 gtk3 22 gnome.adwaita-icon-theme 23 libxslt 24 ]; ··· 49 homepage = "https://github.com/deviantfero/wpgtk"; 50 license = licenses.gpl2Only; 51 platforms = platforms.linux; 52 + maintainers = [ maintainers.melkor333 maintainers.cafkafk ]; 53 }; 54 }
+2 -2
pkgs/tools/misc/dynamic-colors/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "dynamic-colors"; 5 - version = "0.2.2.2"; 6 7 src = fetchFromGitHub { 8 owner = "peterhoeg"; 9 repo = "dynamic-colors"; 10 rev = "v${version}"; 11 - sha256 = "0i63570z9aqbxa8ixh4ayb3akgjdnlqyl2sbf9d7x8f1pxhk5kd5"; 12 }; 13 14 PREFIX = placeholder "out";
··· 2 3 stdenv.mkDerivation rec { 4 pname = "dynamic-colors"; 5 + version = "0.2.5"; 6 7 src = fetchFromGitHub { 8 owner = "peterhoeg"; 9 repo = "dynamic-colors"; 10 rev = "v${version}"; 11 + sha256 = "sha256-jSdwq9WwYZP8MK6z7zJa0q93xfanr6iuvAt8YQkQxxE="; 12 }; 13 14 PREFIX = placeholder "out";
-29
pkgs/tools/misc/gammy/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, qmake, libXxf86vm, wrapQtAppsHook }: 2 - 3 - let 4 - pname = "gammy"; 5 - version = "0.9.64"; 6 - in 7 - 8 - stdenv.mkDerivation { 9 - inherit pname version; 10 - 11 - src = fetchFromGitHub { 12 - owner = "Fushko"; 13 - repo = pname; 14 - rev = "v${version}"; 15 - sha256 = "sha256-NPvkT7jSbDjcZDHpMIOik9fNsz7OJXQ3g9OFxkpA3pk="; 16 - }; 17 - 18 - nativeBuildInputs = [ qmake wrapQtAppsHook ]; 19 - 20 - buildInputs = [ libXxf86vm ]; 21 - 22 - meta = with lib; { 23 - description = "GUI tool for manual- of auto-adjusting of brightness/temperature"; 24 - homepage = "https://github.com/Fushko/gammy"; 25 - license = licenses.gpl3; 26 - maintainers = with maintainers; [ atemu ]; 27 - platforms = platforms.linux; 28 - }; 29 - }
···
+3 -3
pkgs/tools/security/arti/default.nix
··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "arti"; 13 - version = "0.6.0"; 14 15 src = fetchFromGitLab { 16 domain = "gitlab.torproject.org"; ··· 18 owner = "core"; 19 repo = "arti"; 20 rev = "arti-v${version}"; 21 - sha256 = "sha256-3zlpmOGCjox8dVItVxyQloPgC0+dYw57pFFBySAXC5g="; 22 }; 23 24 - cargoSha256 = "sha256-LvhSgJQyPyTSD1koXBXYaC6I5njZavgQK4WaW5/b9g4="; 25 26 nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ]; 27
··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "arti"; 13 + version = "1.0.0"; 14 15 src = fetchFromGitLab { 16 domain = "gitlab.torproject.org"; ··· 18 owner = "core"; 19 repo = "arti"; 20 rev = "arti-v${version}"; 21 + sha256 = "sha256-BHYzthKjD1JFYcZDCjI5/w82q2rsgGhrEorPF5RExhQ="; 22 }; 23 24 + cargoSha256 = "sha256-BBQfefi1ZT9qIUx7xK/fH4WNgxvowl/Yvu7LgLXd4bM="; 25 26 nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ]; 27
+3 -3
pkgs/tools/security/gopass/default.nix
··· 13 14 buildGoModule rec { 15 pname = "gopass"; 16 - version = "1.14.4"; 17 18 nativeBuildInputs = [ installShellFiles makeWrapper ]; 19 ··· 21 owner = "gopasspw"; 22 repo = pname; 23 rev = "v${version}"; 24 - sha256 = "sha256-UQvwkprHGez5qRpk6KodtgX99013rcezbgpaCateI4k="; 25 }; 26 27 - vendorSha256 = "sha256-169KBsJhytzfOgIOHb54gEsLAmhVv+O64hP/DU6cT6A="; 28 29 subPackages = [ "." ]; 30
··· 13 14 buildGoModule rec { 15 pname = "gopass"; 16 + version = "1.14.5"; 17 18 nativeBuildInputs = [ installShellFiles makeWrapper ]; 19 ··· 21 owner = "gopasspw"; 22 repo = pname; 23 rev = "v${version}"; 24 + sha256 = "sha256-MFnenWoInS2vWySa0IxKAFLYF9VHmPaL0eGM27b1wpI="; 25 }; 26 27 + vendorSha256 = "sha256-clJAt/SZCLlLnYf2tmR9nmsbZ0SzMj7x+1Ft9dfEdJ4="; 28 29 subPackages = [ "." ]; 30
+3 -1
pkgs/tools/text/languagetool/default.nix
··· 1 - { lib, stdenv, fetchzip, jre, makeWrapper }: 2 3 stdenv.mkDerivation rec { 4 pname = "LanguageTool"; ··· 27 28 runHook postInstall 29 ''; 30 31 meta = with lib; { 32 homepage = "https://languagetool.org";
··· 1 + { lib, stdenv, fetchzip, jre, makeWrapper, nixosTests }: 2 3 stdenv.mkDerivation rec { 4 pname = "LanguageTool"; ··· 27 28 runHook postInstall 29 ''; 30 + 31 + passthru.tests.languagetool = nixosTests.languagetool; 32 33 meta = with lib; { 34 homepage = "https://languagetool.org";
+1
pkgs/top-level/aliases.nix
··· 463 464 g4py = python3Packages.geant4; # Added 2020-06-06 465 gaia = throw "gaia has been removed because it seems abandoned upstream and uses no longer supported dependencies"; # Added 2020-06-06 466 gawp = throw "gawp has been dropped due to the lack of maintanence from upstream since 2017"; # Added 2022-06-02 467 gdal_1_11 = throw "gdal_1_11 was removed. Use gdal instead"; # Added 2021-04-03 468 gdb-multitarget = throw "'gdb-multitarget' has been renamed to/replaced by 'gdb'"; # Converted to throw 2022-02-22
··· 463 464 g4py = python3Packages.geant4; # Added 2020-06-06 465 gaia = throw "gaia has been removed because it seems abandoned upstream and uses no longer supported dependencies"; # Added 2020-06-06 466 + gammy = throw "'gammy' is deprecated upstream and has been replaced by 'gummy'"; # Added 2022-09-03 467 gawp = throw "gawp has been dropped due to the lack of maintanence from upstream since 2017"; # Added 2022-06-02 468 gdal_1_11 = throw "gdal_1_11 was removed. Use gdal instead"; # Added 2021-04-03 469 gdb-multitarget = throw "'gdb-multitarget' has been renamed to/replaced by 'gdb'"; # Converted to throw 2022-02-22
+11 -7
pkgs/top-level/all-packages.nix
··· 2493 2494 gamecube-tools = callPackage ../development/tools/gamecube-tools { }; 2495 2496 - gammy = qt5.callPackage ../tools/misc/gammy { stdenv = gcc10StdenvCompat; }; 2497 - 2498 gams = callPackage ../tools/misc/gams (config.gams or {}); 2499 2500 gem = callPackage ../applications/audio/pd-plugins/gem { }; ··· 27179 em = callPackage ../applications/editors/em { }; 27180 27181 emacs = emacs28; 27182 emacs-nox = emacs28-nox; 27183 27184 emacs28 = callPackage ../applications/editors/emacs/28.nix { ··· 27191 gpm = null; 27192 inherit (darwin.apple_sdk.frameworks) AppKit GSS ImageIO; 27193 inherit (darwin) sigtool; 27194 }; 27195 27196 emacs28-nox = lowPrio (emacs28.override { ··· 27704 firefox-unwrapped = firefoxPackages.firefox; 27705 firefox-esr-102-unwrapped = firefoxPackages.firefox-esr-102; 27706 firefox-esr-91-unwrapped = firefoxPackages.firefox-esr-91; 27707 firefox = wrapFirefox firefox-unwrapped { }; 27708 firefox-wayland = wrapFirefox firefox-unwrapped { forceWayland = true; }; 27709 firefox-esr-102 = wrapFirefox firefox-esr-102-unwrapped { }; 27710 - firefox-esr-91 = wrapFirefox firefox-esr-91-unwrapped { }; 27711 - 27712 - firefox-esr = firefox-esr-91; 27713 - firefox-esr-unwrapped = firefoxPackages.firefox-esr-91; 27714 - firefox-esr-wayland = wrapFirefox firefox-esr-91-unwrapped { forceWayland = true; }; 27715 27716 firefox-bin-unwrapped = callPackage ../applications/networking/browsers/firefox-bin { 27717 inherit (gnome) adwaita-icon-theme;
··· 2493 2494 gamecube-tools = callPackage ../development/tools/gamecube-tools { }; 2495 2496 gams = callPackage ../tools/misc/gams (config.gams or {}); 2497 2498 gem = callPackage ../applications/audio/pd-plugins/gem { }; ··· 27177 em = callPackage ../applications/editors/em { }; 27178 27179 emacs = emacs28; 27180 + emacs-gtk = emacs28-gtk; 27181 emacs-nox = emacs28-nox; 27182 27183 emacs28 = callPackage ../applications/editors/emacs/28.nix { ··· 27190 gpm = null; 27191 inherit (darwin.apple_sdk.frameworks) AppKit GSS ImageIO; 27192 inherit (darwin) sigtool; 27193 + }; 27194 + 27195 + emacs28-gtk = emacs28.override { 27196 + withGTK3 = true; 27197 }; 27198 27199 emacs28-nox = lowPrio (emacs28.override { ··· 27707 firefox-unwrapped = firefoxPackages.firefox; 27708 firefox-esr-102-unwrapped = firefoxPackages.firefox-esr-102; 27709 firefox-esr-91-unwrapped = firefoxPackages.firefox-esr-91; 27710 + firefox-esr-unwrapped = firefoxPackages.firefox-esr-102; 27711 + 27712 firefox = wrapFirefox firefox-unwrapped { }; 27713 firefox-wayland = wrapFirefox firefox-unwrapped { forceWayland = true; }; 27714 + 27715 + firefox-esr = firefox-esr-102; 27716 + firefox-esr-91 = wrapFirefox firefox-esr-91-unwrapped { }; 27717 firefox-esr-102 = wrapFirefox firefox-esr-102-unwrapped { }; 27718 + firefox-esr-wayland = wrapFirefox firefox-esr-102-unwrapped { forceWayland = true; }; 27719 27720 firefox-bin-unwrapped = callPackage ../applications/networking/browsers/firefox-bin { 27721 inherit (gnome) adwaita-icon-theme;