Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
ed3d23ee 1f219a2d

+321 -100
+15
maintainers/maintainer-list.nix
··· 7076 githubId = 1817528; 7077 name = "Igor Polyakov"; 7078 }; 7079 irenes = { 7080 name = "Irene Knapp"; 7081 email = "ireneista@gmail.com"; ··· 17998 keys = [{ 17999 fingerprint = "9F19 3AE8 AA25 647F FC31 46B5 416F 303B 43C2 0AC3"; 18000 }]; 18001 }; 18002 yvesf = { 18003 email = "yvesf+nix@xapek.org";
··· 7076 githubId = 1817528; 7077 name = "Igor Polyakov"; 7078 }; 7079 + iquerejeta = { 7080 + github = "iquerejeta"; 7081 + githubId = 31273774; 7082 + name = "Inigo Querejeta-Azurmendi"; 7083 + }; 7084 irenes = { 7085 name = "Irene Knapp"; 7086 email = "ireneista@gmail.com"; ··· 18003 keys = [{ 18004 fingerprint = "9F19 3AE8 AA25 647F FC31 46B5 416F 303B 43C2 0AC3"; 18005 }]; 18006 + }; 18007 + yvan-sraka = { 18008 + email = "yvan@sraka.xyz"; 18009 + github = "yvan-sraka"; 18010 + githubId = 705213; 18011 + keys = [{ 18012 + fingerprint = "FE9A 953C 97E4 54FE 6598 BFDD A4FB 3EAA 6F45 2379"; 18013 + }]; 18014 + matrix = "@/yvan:matrix.org"; 18015 + name = "Yvan Sraka"; 18016 }; 18017 yvesf = { 18018 email = "yvesf+nix@xapek.org";
+2
nixos/doc/manual/release-notes/rl-2311.section.md
··· 72 - If [`system.stateVersion`](#opt-system.stateVersion) is >=23.05, `pkgs.nextcloud26` will be installed by default. 73 - Please note that an upgrade from v25 (or older) to v27 directly is not possible. Please upgrade to `nextcloud26` (or earlier) first. Nextcloud prohibits skipping major versions while upgrading. You can upgrade by declaring [`services.nextcloud.package = pkgs.nextcloud26;`](options.html#opt-services.nextcloud.package). 74 75 - A new option was added to the virtualisation module that enables specifying explicitly named network interfaces in QEMU VMs. The existing `virtualisation.vlans` is still supported for cases where the name of the network interface is irrelevant. 76 77 - DocBook option documentation is no longer supported, all module documentation now uses markdown.
··· 72 - If [`system.stateVersion`](#opt-system.stateVersion) is >=23.05, `pkgs.nextcloud26` will be installed by default. 73 - Please note that an upgrade from v25 (or older) to v27 directly is not possible. Please upgrade to `nextcloud26` (or earlier) first. Nextcloud prohibits skipping major versions while upgrading. You can upgrade by declaring [`services.nextcloud.package = pkgs.nextcloud26;`](options.html#opt-services.nextcloud.package). 74 75 + - New options were added to `services.searx` for better SearXNG support, including options for the built-in rate limiter and bot protection and automatically configuring a local redis server. 76 + 77 - A new option was added to the virtualisation module that enables specifying explicitly named network interfaces in QEMU VMs. The existing `virtualisation.vlans` is still supported for cases where the name of the network interface is irrelevant. 78 79 - DocBook option documentation is no longer supported, all module documentation now uses markdown.
+58 -1
nixos/modules/services/networking/searx.nix
··· 10 settingsFile = pkgs.writeText "settings.yml" 11 (builtins.toJSON cfg.settings); 12 13 generateConfig = '' 14 cd ${runDir} 15 ··· 65 ''; 66 }; 67 68 settings = mkOption { 69 type = types.attrsOf settingType; 70 default = { }; ··· 111 ''; 112 }; 113 114 package = mkOption { 115 type = types.package; 116 default = pkgs.searx; ··· 158 ###### implementation 159 160 config = mkIf cfg.enable { 161 environment.systemPackages = [ cfg.package ]; 162 163 users.users.searx = ··· 206 services.searx.settings = { 207 # merge NixOS settings with defaults settings.yml 208 use_default_settings = mkDefault true; 209 }; 210 211 services.uwsgi = mkIf (cfg.runInUwsgi) { ··· 231 } // cfg.uwsgiConfig; 232 }; 233 234 }; 235 236 - meta.maintainers = with maintainers; [ rnhmjoj ]; 237 }
··· 10 settingsFile = pkgs.writeText "settings.yml" 11 (builtins.toJSON cfg.settings); 12 13 + limiterSettingsFile = (pkgs.formats.toml { }).generate "limiter.toml" cfg.limiterSettings; 14 + 15 generateConfig = '' 16 cd ${runDir} 17 ··· 67 ''; 68 }; 69 70 + redisCreateLocally = mkOption { 71 + type = types.bool; 72 + default = false; 73 + description = lib.mdDoc '' 74 + Configure a local Redis server for SearXNG. This is required if you 75 + want to enable the rate limiter and bot protection of SearXNG. 76 + ''; 77 + }; 78 + 79 settings = mkOption { 80 type = types.attrsOf settingType; 81 default = { }; ··· 122 ''; 123 }; 124 125 + limiterSettings = mkOption { 126 + type = types.attrsOf settingType; 127 + default = { }; 128 + example = literalExpression '' 129 + { 130 + real_ip = { 131 + x_for = 1; 132 + ipv4_prefix = 32; 133 + ipv6_prefix = 56; 134 + } 135 + botdetection.ip_lists.block_ip = [ 136 + # "93.184.216.34" # example.org 137 + ]; 138 + } 139 + ''; 140 + description = lib.mdDoc '' 141 + Limiter settings for SearXNG. 142 + 143 + ::: {.note} 144 + For available settings, see the SearXNG 145 + [schema file](https://github.com/searxng/searxng/blob/master/searx/botdetection/limiter.toml). 146 + ::: 147 + ''; 148 + }; 149 + 150 package = mkOption { 151 type = types.package; 152 default = pkgs.searx; ··· 194 ###### implementation 195 196 config = mkIf cfg.enable { 197 + assertions = [ 198 + { 199 + assertion = (cfg.limiterSettings != { }) -> cfg.package.pname == "searxng"; 200 + message = "services.searx.limiterSettings requires services.searx.package to be searxng."; 201 + } 202 + { 203 + assertion = cfg.redisCreateLocally -> cfg.package.pname == "searxng"; 204 + message = "services.searx.redisCreateLocally requires services.searx.package to be searxng."; 205 + } 206 + ]; 207 + 208 environment.systemPackages = [ cfg.package ]; 209 210 users.users.searx = ··· 253 services.searx.settings = { 254 # merge NixOS settings with defaults settings.yml 255 use_default_settings = mkDefault true; 256 + redis.url = lib.mkIf cfg.redisCreateLocally "unix://${config.services.redis.servers.searx.unixSocket}"; 257 }; 258 259 services.uwsgi = mkIf (cfg.runInUwsgi) { ··· 279 } // cfg.uwsgiConfig; 280 }; 281 282 + services.redis.servers.searx = lib.mkIf cfg.redisCreateLocally { 283 + enable = true; 284 + user = "searx"; 285 + port = 0; 286 + }; 287 + 288 + environment.etc."searxng/limiter.toml" = lib.mkIf (cfg.limiterSettings != { }) { 289 + source = limiterSettingsFile; 290 + }; 291 }; 292 293 + meta.maintainers = with maintainers; [ rnhmjoj _999eagle ]; 294 }
+6 -4
nixos/modules/services/networking/ssh/sshd.nix
··· 279 settings = mkOption { 280 description = lib.mdDoc "Configuration for `sshd_config(5)`."; 281 default = { }; 282 - example = literalExpression ''{ 283 - UseDns = true; 284 - PasswordAuthentication = false; 285 - }''; 286 type = types.submodule ({name, ...}: { 287 freeformType = settingsFormat.type; 288 options = {
··· 279 settings = mkOption { 280 description = lib.mdDoc "Configuration for `sshd_config(5)`."; 281 default = { }; 282 + example = literalExpression '' 283 + { 284 + UseDns = true; 285 + PasswordAuthentication = false; 286 + } 287 + ''; 288 type = types.submodule ({name, ...}: { 289 freeformType = settingsFormat.type; 290 options = {
+10 -8
nixos/modules/services/networking/thelounge.nix
··· 48 extraConfig = mkOption { 49 default = { }; 50 type = types.attrs; 51 - example = literalExpression ''{ 52 - reverseProxy = true; 53 - defaults = { 54 - name = "Your Network"; 55 - host = "localhost"; 56 - port = 6697; 57 - }; 58 - }''; 59 description = lib.mdDoc '' 60 The Lounge's {file}`config.js` contents as attribute set (will be 61 converted to JSON to generate the configuration file).
··· 48 extraConfig = mkOption { 49 default = { }; 50 type = types.attrs; 51 + example = literalExpression '' 52 + { 53 + reverseProxy = true; 54 + defaults = { 55 + name = "Your Network"; 56 + host = "localhost"; 57 + port = 6697; 58 + }; 59 + } 60 + ''; 61 description = lib.mdDoc '' 62 The Lounge's {file}`config.js` contents as attribute set (will be 63 converted to JSON to generate the configuration file).
+6 -5
nixos/modules/services/web-servers/ttyd.nix
··· 78 clientOptions = mkOption { 79 type = types.attrsOf types.str; 80 default = {}; 81 - example = literalExpression ''{ 82 - fontSize = "16"; 83 - fontFamily = "Fira Code"; 84 - 85 - }''; 86 description = lib.mdDoc '' 87 Attribute set of client options for xtermjs. 88 <https://xtermjs.org/docs/api/terminal/interfaces/iterminaloptions/>
··· 78 clientOptions = mkOption { 79 type = types.attrsOf types.str; 80 default = {}; 81 + example = literalExpression '' 82 + { 83 + fontSize = "16"; 84 + fontFamily = "Fira Code"; 85 + } 86 + ''; 87 description = lib.mdDoc '' 88 Attribute set of client options for xtermjs. 89 <https://xtermjs.org/docs/api/terminal/interfaces/iterminaloptions/>
+1 -12
nixos/modules/system/boot/networkd.nix
··· 1897 1898 bridgeVLANOptions = { 1899 options = { 1900 - bridgeMDBConfig = mkOption { 1901 default = {}; 1902 example = { VLAN = 20; }; 1903 type = types.addCheck (types.attrsOf unitOption) check.network.sectionBridgeVLAN; ··· 2384 description = lib.mdDoc '' 2385 Each attribute in this set specifies an option in the 2386 `[QuickFairQueueingClass]` section of the unit. See 2387 - {manpage}`systemd.network(5)` for details. 2388 - ''; 2389 - }; 2390 - 2391 - bridgeVLANConfig = mkOption { 2392 - default = {}; 2393 - example = { VLAN = "10-20"; }; 2394 - type = types.addCheck (types.attrsOf unitOption) check.network.sectionBridgeVLAN; 2395 - description = lib.mdDoc '' 2396 - Each attribute in this set specifies an option in the 2397 - `[BridgeVLAN]` section of the unit. See 2398 {manpage}`systemd.network(5)` for details. 2399 ''; 2400 };
··· 1897 1898 bridgeVLANOptions = { 1899 options = { 1900 + bridgeVLANConfig = mkOption { 1901 default = {}; 1902 example = { VLAN = 20; }; 1903 type = types.addCheck (types.attrsOf unitOption) check.network.sectionBridgeVLAN; ··· 2384 description = lib.mdDoc '' 2385 Each attribute in this set specifies an option in the 2386 `[QuickFairQueueingClass]` section of the unit. See 2387 {manpage}`systemd.network(5)` for details. 2388 ''; 2389 };
+6 -4
nixos/modules/virtualisation/proxmox-image.nix
··· 98 qemuExtraConf = mkOption { 99 type = with types; attrsOf (oneOf [ str int ]); 100 default = {}; 101 - example = literalExpression ''{ 102 - cpu = "host"; 103 - onboot = 1; 104 - }''; 105 description = lib.mdDoc '' 106 Additional options appended to qemu-server.conf 107 '';
··· 98 qemuExtraConf = mkOption { 99 type = with types; attrsOf (oneOf [ str int ]); 100 default = {}; 101 + example = literalExpression '' 102 + { 103 + cpu = "host"; 104 + onboot = 1; 105 + } 106 + ''; 107 description = lib.mdDoc '' 108 Additional options appended to qemu-server.conf 109 '';
+53 -2
nixos/tests/systemd-networkd-dhcpserver.nix
··· 1 # This test predominantly tests systemd-networkd DHCP server, by 2 # setting up a DHCP server and client, and ensuring they are mutually 3 # reachable via the DHCP allocated address. 4 import ./make-test-python.nix ({pkgs, ...}: { 5 name = "systemd-networkd-dhcpserver"; 6 meta = with pkgs.lib.maintainers; { ··· 16 firewall.enable = false; 17 }; 18 systemd.network = { 19 networks = { 20 # systemd-networkd will load the first network unit file 21 # that matches, ordered lexiographically by filename. ··· 24 # however, hence why this network is named such. 25 "01-eth1" = { 26 name = "eth1"; 27 networkConfig = { 28 DHCPServer = true; 29 Address = "10.0.0.1/24"; 30 }; 31 dhcpServerConfig = { 32 PoolOffset = 100; ··· 52 start_all() 53 router.wait_for_unit("systemd-networkd-wait-online.service") 54 client.wait_for_unit("systemd-networkd-wait-online.service") 55 - client.wait_until_succeeds("ping -c 5 10.0.0.1") 56 - router.wait_until_succeeds("ping -c 5 10.0.0.100") 57 ''; 58 })
··· 1 # This test predominantly tests systemd-networkd DHCP server, by 2 # setting up a DHCP server and client, and ensuring they are mutually 3 # reachable via the DHCP allocated address. 4 + # Two DHCP servers are set up on bridge VLANs, testing to make sure that 5 + # bridge VLAN settings are correctly applied. 6 + # 7 + # br0 ----untagged---v 8 + # +---PVID 1+VLAN 2---[bridge]---PVID 2---eth1 9 + # vlan2 ---VLAN 2----^ 10 import ./make-test-python.nix ({pkgs, ...}: { 11 name = "systemd-networkd-dhcpserver"; 12 meta = with pkgs.lib.maintainers; { ··· 22 firewall.enable = false; 23 }; 24 systemd.network = { 25 + netdevs = { 26 + br0 = { 27 + enable = true; 28 + netdevConfig = { 29 + Name = "br0"; 30 + Kind = "bridge"; 31 + }; 32 + extraConfig = '' 33 + [Bridge] 34 + VLANFiltering=yes 35 + DefaultPVID=none 36 + ''; 37 + }; 38 + vlan2 = { 39 + enable = true; 40 + netdevConfig = { 41 + Name = "vlan2"; 42 + Kind = "vlan"; 43 + }; 44 + vlanConfig.Id = 2; 45 + }; 46 + }; 47 networks = { 48 # systemd-networkd will load the first network unit file 49 # that matches, ordered lexiographically by filename. ··· 52 # however, hence why this network is named such. 53 "01-eth1" = { 54 name = "eth1"; 55 + networkConfig.Bridge = "br0"; 56 + bridgeVLANs = [ 57 + { bridgeVLANConfig = { PVID = 2; EgressUntagged = 2; }; } 58 + ]; 59 + }; 60 + "02-br0" = { 61 + name = "br0"; 62 networkConfig = { 63 DHCPServer = true; 64 Address = "10.0.0.1/24"; 65 + VLAN = ["vlan2"]; 66 + }; 67 + dhcpServerConfig = { 68 + PoolOffset = 100; 69 + PoolSize = 1; 70 + }; 71 + bridgeVLANs = [ 72 + { bridgeVLANConfig = { PVID = 1; EgressUntagged = 1; }; } 73 + { bridgeVLANConfig = { VLAN = 2; }; } 74 + ]; 75 + }; 76 + "02-vlan2" = { 77 + name = "vlan2"; 78 + networkConfig = { 79 + DHCPServer = true; 80 + Address = "10.0.2.1/24"; 81 }; 82 dhcpServerConfig = { 83 PoolOffset = 100; ··· 103 start_all() 104 router.wait_for_unit("systemd-networkd-wait-online.service") 105 client.wait_for_unit("systemd-networkd-wait-online.service") 106 + client.wait_until_succeeds("ping -c 5 10.0.2.1") 107 + router.wait_until_succeeds("ping -c 5 10.0.2.100") 108 ''; 109 })
+6
pkgs/applications/editors/vim/plugins/overrides.nix
··· 128 }: 129 130 self: super: { 131 132 autosave-nvim = super.autosave-nvim.overrideAttrs(old: { 133 dependencies = with super; [ plenary-nvim ];
··· 128 }: 129 130 self: super: { 131 + alpha-nvim = super.alpha-nvim.overrideAttrs(oa: { 132 + dependencies = [ 133 + self.nvim-web-devicons # required by the startify theme 134 + ]; 135 + nvimRequireCheck = "alpha"; 136 + }); 137 138 autosave-nvim = super.autosave-nvim.overrideAttrs(old: { 139 dependencies = with super; [ plenary-nvim ];
+44
pkgs/applications/misc/pdfposter/default.nix
···
··· 1 + { lib, python3, fetchPypi }: 2 + let 3 + localPython = python3.override { 4 + self = localPython; 5 + packageOverrides = self: super: { 6 + # Can be removed once this is merged 7 + # https://gitlab.com/pdftools/pdfposter/-/merge_requests/7 8 + pypdf2 = super.pypdf2.overridePythonAttrs (oldAttrs: rec { 9 + version = "2.11.1"; 10 + format = "setuptools"; 11 + src = fetchPypi { 12 + pname = "PyPDF2"; 13 + inherit version; 14 + hash = "sha256-PHut1RLCFxHrF4nC6tv5YnkonA+URS7lSoZHO/vv1zI="; 15 + }; 16 + }); 17 + }; 18 + }; 19 + in 20 + with localPython.pkgs; buildPythonApplication rec { 21 + pname = "pdfposter"; 22 + version = "0.8.1"; 23 + format = "setuptools"; 24 + 25 + propagatedBuildInputs = [ pypdf2 ]; 26 + 27 + src = fetchPypi { 28 + pname = "pdftools.pdfposter"; 29 + inherit version; 30 + hash = "sha256-yWFtHgVKAWs4dRlSk8t8cB2KBJeBOa0Frh3BLR9txS0="; 31 + }; 32 + 33 + pythonImportsCheck = [ 34 + "pdftools.pdfposter" 35 + "pdftools.pdfposter.cmd" 36 + ]; 37 + 38 + meta = with lib; { 39 + description = "Split large pages of a PDF into smaller ones for poster printing"; 40 + homepage = "https://pdfposter.readthedocs.io"; 41 + license = licenses.gpl3Plus; 42 + maintainers = with maintainers; [ wamserma ]; 43 + }; 44 + }
+2 -2
pkgs/applications/networking/cluster/kluctl/default.nix
··· 2 3 buildGoModule rec { 4 pname = "kluctl"; 5 - version = "2.20.6"; 6 7 src = fetchFromGitHub { 8 owner = "kluctl"; 9 repo = "kluctl"; 10 rev = "v${version}"; 11 - hash = "sha256-B8+HKqIuJaH+6ViBxWfiAAmXieQKcwAW565SwUpIJKI="; 12 }; 13 14 vendorHash = "sha256-x5Zy8H7DzxU+uBCUL6edv8x2LwiIjXl5UrRUMDtUEk8=";
··· 2 3 buildGoModule rec { 4 pname = "kluctl"; 5 + version = "2.20.7"; 6 7 src = fetchFromGitHub { 8 owner = "kluctl"; 9 repo = "kluctl"; 10 rev = "v${version}"; 11 + hash = "sha256-NcvPo+6f2EYhitzOl2VPz8MtFIsYBuOA7EJnD4TJdmI="; 12 }; 13 14 vendorHash = "sha256-x5Zy8H7DzxU+uBCUL6edv8x2LwiIjXl5UrRUMDtUEk8=";
+2 -2
pkgs/applications/networking/irc/weechat/default.nix
··· 36 in 37 assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins; 38 stdenv.mkDerivation rec { 39 - version = "4.0.0"; 40 pname = "weechat"; 41 42 hardeningEnable = [ "pie" ]; 43 44 src = fetchurl { 45 url = "https://weechat.org/files/src/weechat-${version}.tar.xz"; 46 - hash = "sha256-W9de4V8zkqCtF07nxUUY2uzjh4R3ZwwH8Q1uv5iCQPk="; 47 }; 48 49 outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins;
··· 36 in 37 assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins; 38 stdenv.mkDerivation rec { 39 + version = "4.0.1"; 40 pname = "weechat"; 41 42 hardeningEnable = [ "pie" ]; 43 44 src = fetchurl { 45 url = "https://weechat.org/files/src/weechat-${version}.tar.xz"; 46 + hash = "sha256-G5UzEjr0J5IrPX+r7elY3IU5LVCIHZfQt5htj1FFVuk="; 47 }; 48 49 outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins;
+3 -3
pkgs/development/compilers/cairo/default.nix
··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "cairo"; 9 - version = "1.1.0"; 10 11 src = fetchFromGitHub { 12 owner = "starkware-libs"; 13 repo = "cairo"; 14 rev = "v${version}"; 15 - hash = "sha256-8dzDe4Kw9OASD0i3bMooqEclStxS/Ta/tOVCcFhvwSI="; 16 }; 17 18 - cargoHash = "sha256-IY3RE+EeNRhUSZX+bqojhPl6y8qm+i9C0zQmNApmat8="; 19 20 nativeCheckInputs = [ 21 rustfmt
··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "cairo"; 9 + version = "1.1.1"; 10 11 src = fetchFromGitHub { 12 owner = "starkware-libs"; 13 repo = "cairo"; 14 rev = "v${version}"; 15 + hash = "sha256-hlFPYYZsifH6ZTEDC+f1dLbHEn/wg4T7RoiYoibskjs="; 16 }; 17 18 + cargoHash = "sha256-WLNt8IZkdCcHFQwnTZlcEmYlyhOoIEk1/s+obXhj+Qo="; 19 20 nativeCheckInputs = [ 21 rustfmt
+2 -2
pkgs/development/libraries/ayatana-ido/default.nix
··· 5 6 stdenv.mkDerivation rec { 7 pname = "ayatana-ido"; 8 - version = "0.9.2"; 9 10 src = fetchFromGitHub { 11 owner = "AyatanaIndicators"; 12 repo = pname; 13 rev = version; 14 - sha256 = "sha256-0LswdcV4VSg5o5uJ6vfw713eDnMbodZPQ9d2djxHc6k="; 15 }; 16 17 nativeBuildInputs = [ pkg-config cmake ];
··· 5 6 stdenv.mkDerivation rec { 7 pname = "ayatana-ido"; 8 + version = "0.10.0"; 9 10 src = fetchFromGitHub { 11 owner = "AyatanaIndicators"; 12 repo = pname; 13 rev = version; 14 + sha256 = "sha256-jpNsH8c5ObnO+/AqsribvyFZhm7mmCFGNx9p4QHZKQE="; 15 }; 16 17 nativeBuildInputs = [ pkg-config cmake ];
+39
pkgs/development/libraries/blst/default.nix
···
··· 1 + { stdenv, lib, fetchFromGitHub, autoreconfHook }: 2 + 3 + stdenv.mkDerivation ( finalAttrs: { 4 + pname = "blst"; 5 + version = "0.3.10"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "supranational"; 9 + repo = "blst"; 10 + rev = "v${finalAttrs.version}"; 11 + hash = "sha256-xero1aTe2v4IhWIJaEDUsVDOfE77dOV5zKeHWntHogY="; 12 + }; 13 + 14 + buildPhase = '' 15 + runHook preBuild 16 + 17 + ./build.sh 18 + 19 + runHook postBuild 20 + ''; 21 + installPhase = '' 22 + runHook preInstall 23 + 24 + mkdir -p $out/lib 25 + cp ./libblst.a $out/lib/ 26 + 27 + runHook postInstall 28 + ''; 29 + 30 + doCheck = true; 31 + 32 + meta = with lib; { 33 + description = "Multilingual BLS12-381 signature library"; 34 + homepage = "https://github.com/supranational/blst"; 35 + license = licenses.isc; 36 + maintainers = with maintainers; [ iquerejeta yvan-sraka ]; 37 + platforms = platforms.all; 38 + }; 39 + })
+4 -2
pkgs/development/misc/newlib/default.nix
··· 73 cd $out${finalAttrs.passthru.libdir} 74 75 for f in librdimon.a libc.a libg.a; do 76 - cp "$f" "''${f%%\.a}_nano.a" 77 done 78 ) 79 - ''; 80 81 passthru = { 82 incdir = "/${stdenv.targetPlatform.config}/include";
··· 73 cd $out${finalAttrs.passthru.libdir} 74 75 for f in librdimon.a libc.a libg.a; do 76 + # Some libraries are only available for specific architectures. 77 + # For example, librdimon.a is only available on ARM. 78 + [ -f "$f" ] && cp "$f" "''${f%%\.a}_nano.a" 79 done 80 ) 81 + '' + ''[ "$(find $out -type f | wc -l)" -gt 0 ] || (echo '$out is empty' 1>&2 && exit 1)''; 82 83 passthru = { 84 incdir = "/${stdenv.targetPlatform.config}/include";
+3 -2
pkgs/development/python-modules/awkward/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "awkward"; 17 - version = "2.2.3"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 - hash = "sha256-yx/z8lTqVWnMTp7TlH+rtAHb3cskm1iViZedhfs0EUI="; 25 }; 26 27 nativeBuildInputs = [ ··· 55 meta = with lib; { 56 description = "Manipulate JSON-like data with NumPy-like idioms"; 57 homepage = "https://github.com/scikit-hep/awkward"; 58 license = licenses.bsd3; 59 maintainers = with maintainers; [ veprbl ]; 60 };
··· 14 15 buildPythonPackage rec { 16 pname = "awkward"; 17 + version = "2.2.4"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 + hash = "sha256-v06mYdoP/WfIfz6x6+MJvS4YOsTsyWqhCyAykZ1d5v4="; 25 }; 26 27 nativeBuildInputs = [ ··· 55 meta = with lib; { 56 description = "Manipulate JSON-like data with NumPy-like idioms"; 57 homepage = "https://github.com/scikit-hep/awkward"; 58 + changelog = "https://github.com/scikit-hep/awkward/releases/tag/v${version}"; 59 license = licenses.bsd3; 60 maintainers = with maintainers; [ veprbl ]; 61 };
+2 -2
pkgs/development/python-modules/hcloud/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "hcloud"; 14 - version = "1.22.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 - hash = "sha256-9F7bgkVL1hE9YeL8JxOAHNJ2iw6ey7UBOQU95DPDIis="; 22 }; 23 24 propagatedBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "hcloud"; 14 + version = "1.23.1"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 + hash = "sha256-rIaGcAMZZRd4BeLYmHAtfCCY6b5a+HDu5GO87/wNLkU="; 22 }; 23 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/jenkins-job-builder/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "jenkins-job-builder"; 12 - version = "4.3.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 - hash = "sha256-pvka8TLMEclzJ2Iw4iLSiR1ioV3frzQStLu21+kSSHI="; 17 }; 18 19 postPatch = ''
··· 9 10 buildPythonPackage rec { 11 pname = "jenkins-job-builder"; 12 + version = "5.0.2"; 13 14 src = fetchPypi { 15 inherit pname version; 16 + hash = "sha256-XHsV3Mf2I7gwhgJKDPv3Ce+u9dcllLvMGeeeRg/q3NE="; 17 }; 18 19 postPatch = ''
+2 -2
pkgs/development/python-modules/mediapy/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "mediapy"; 13 - version = "1.1.6"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - hash = "sha256-n0S3YEAJZNi+pRIaIT+U3JoiXQJtaoGZASg6aV5YVjQ="; 20 }; 21 22 propagatedBuildInputs = [ ipython matplotlib numpy pillow ];
··· 10 11 buildPythonPackage rec { 12 pname = "mediapy"; 13 + version = "1.1.8"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 + hash = "sha256-mVhBM+NQEkLYByp/kCPFJCAY26La5CWjcPl6PgclA9A="; 20 }; 21 22 propagatedBuildInputs = [ ipython matplotlib numpy pillow ];
+2 -2
pkgs/development/python-modules/mypy-boto3-s3/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "mypy-boto3-s3"; 11 - version = "1.26.155"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - hash = "sha256-Kjmau6jEW3uz82I7r4aFhiXXsOWpAu3+fZ+hj8vrL3s="; 19 }; 20 21 propagatedBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "mypy-boto3-s3"; 11 + version = "1.26.163"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + hash = "sha256-R9NjnNCXqhQtyspDtDH6en7vtW4Vluv/Yl9XHxa9diM="; 19 }; 20 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/neo4j/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "neo4j"; 11 - version = "5.9.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; ··· 17 owner = "neo4j"; 18 repo = "neo4j-python-driver"; 19 rev = "refs/tags/${version}"; 20 - hash = "sha256-HyoIr2ZIOAzFlMrkIDV71JJAFwrxCqExMFXF3U2p9Po="; 21 }; 22 23 propagatedBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "neo4j"; 11 + version = "5.10.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; ··· 17 owner = "neo4j"; 18 repo = "neo4j-python-driver"; 19 rev = "refs/tags/${version}"; 20 + hash = "sha256-UD7y/OVoYyEL+68CW+kc8m8poATqRRSwoP6XQyUbGC0="; 21 }; 22 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/netapp-ontap/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "netapp-ontap"; 15 - version = "9.12.1.0"; 16 format = "setuptools"; 17 18 src = fetchPypi { 19 pname = "netapp_ontap"; 20 inherit version; 21 - sha256 = "sha256-eqFj2xYl4X1TB4Rxajpor5zgJdoISJk89KpARAHI/W0="; 22 }; 23 24 propagatedBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "netapp-ontap"; 15 + version = "9.13.1.0"; 16 format = "setuptools"; 17 18 src = fetchPypi { 19 pname = "netapp_ontap"; 20 inherit version; 21 + sha256 = "sha256-jPKfPJXtzARRlSuwkfJeZueQouwaaa0D6rZ+BcpILq0="; 22 }; 23 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/odp-amsterdam/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "odp-amsterdam"; 14 - version = "5.1.0"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.9"; ··· 20 owner = "klaasnicolaas"; 21 repo = "python-odp-amsterdam"; 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-ECRm9I/wHb82F8UBqPQWd60wLybIloCJiTxXDb3GnGs="; 24 }; 25 26 postPatch = ''
··· 11 12 buildPythonPackage rec { 13 pname = "odp-amsterdam"; 14 + version = "5.1.1"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.9"; ··· 20 owner = "klaasnicolaas"; 21 repo = "python-odp-amsterdam"; 22 rev = "refs/tags/v${version}"; 23 + hash = "sha256-DaL2CTrhWqBwl3kktF1wndxzrreA24C3zXmp4ghf/4s="; 24 }; 25 26 postPatch = ''
+2 -2
pkgs/development/python-modules/pamela/default.nix
··· 6 7 buildPythonPackage rec { 8 pname = "pamela"; 9 - version = "1.0.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "65c9389bef7d1bb0b168813b6be21964df32016923aac7515bdf05366acbab6c"; 14 }; 15 16 postUnpack = ''
··· 6 7 buildPythonPackage rec { 8 pname = "pamela"; 9 + version = "1.1.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 + sha256 = "sha256-1LE5/mAOGS4Xaio2gFkgemv/oOeHmHmxP0/LoBY0gb4="; 14 }; 15 16 postUnpack = ''
-26
pkgs/development/python-modules/pdfposter/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, pypdf2 }: 2 - 3 - buildPythonPackage rec { 4 - pname = "pdftools.pdfposter"; 5 - version = "0.8.1"; 6 - format = "setuptools"; 7 - 8 - propagatedBuildInputs = [ pypdf2 ]; 9 - 10 - src = fetchPypi { 11 - inherit pname version; 12 - hash = "sha256-yWFtHgVKAWs4dRlSk8t8cB2KBJeBOa0Frh3BLR9txS0="; 13 - }; 14 - 15 - pythonImportsCheck = [ 16 - "pdftools.pdfposter" 17 - "pdftools.pdfposter.cmd" 18 - ]; 19 - 20 - meta = with lib; { 21 - description = "Split large pages of a PDF into smaller ones for poster printing"; 22 - homepage = "https://pdfposter.readthedocs.io"; 23 - license = licenses.gpl3Plus; 24 - maintainers = with maintainers; [ wamserma ]; 25 - }; 26 - }
···
+2 -2
pkgs/development/python-modules/pontos/default.nix
··· 18 19 buildPythonPackage rec { 20 pname = "pontos"; 21 - version = "23.6.1"; 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.9"; ··· 27 owner = "greenbone"; 28 repo = pname; 29 rev = "refs/tags/v${version}"; 30 - hash = "sha256-HBDijU5R1furmlP1ykmjbbBWXh/LSVE2zuuJ80D9Yng="; 31 }; 32 33 nativeBuildInputs = [
··· 18 19 buildPythonPackage rec { 20 pname = "pontos"; 21 + version = "23.6.2"; 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.9"; ··· 27 owner = "greenbone"; 28 repo = pname; 29 rev = "refs/tags/v${version}"; 30 + hash = "sha256-kLBkTOV4vllAGtnFWo44KxC0UPrYqWEOpC5oai+dIC8="; 31 }; 32 33 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pytorch-lightning/default.nix
··· 20 21 buildPythonPackage rec { 22 pname = "pytorch-lightning"; 23 - version = "2.0.2"; 24 format = "pyproject"; 25 26 src = fetchFromGitHub { 27 owner = "Lightning-AI"; 28 repo = "pytorch-lightning"; 29 rev = "refs/tags/${version}"; 30 - hash = "sha256-MSztKWjg/7J+4+sv4sqFlucaYuQlGoehtcUTiqNUlPA="; 31 }; 32 33 preConfigure = ''
··· 20 21 buildPythonPackage rec { 22 pname = "pytorch-lightning"; 23 + version = "2.0.4"; 24 format = "pyproject"; 25 26 src = fetchFromGitHub { 27 owner = "Lightning-AI"; 28 repo = "pytorch-lightning"; 29 rev = "refs/tags/${version}"; 30 + hash = "sha256-gF0Tx/G06SwwrtIM7RPz/P+Qhmc3zgFQPsAT7qf8RtI="; 31 }; 32 33 preConfigure = ''
+4
pkgs/servers/web-apps/searx/default.nix
··· 14 sha256 = "sha256-+Wsg1k/h41luk5aVfSn11/lGv8hZYVvpHLbbYHfsExw="; 15 }; 16 17 postPatch = '' 18 sed -i 's/==.*$//' requirements.txt 19 '';
··· 14 sha256 = "sha256-+Wsg1k/h41luk5aVfSn11/lGv8hZYVvpHLbbYHfsExw="; 15 }; 16 17 + patches = [ 18 + ./fix-flask-babel-3.0.patch 19 + ]; 20 + 21 postPatch = '' 22 sed -i 's/==.*$//' requirements.txt 23 '';
+27
pkgs/servers/web-apps/searx/fix-flask-babel-3.0.patch
···
··· 1 + commit 38b3a4f70e3226a091c53300659752c595b120f9 2 + Author: rnhmjoj <rnhmjoj@inventati.org> 3 + Date: Fri Jun 30 21:48:35 2023 +0200 4 + 5 + Fix for flask-babel 3.0 6 + 7 + diff --git a/searx/webapp.py b/searx/webapp.py 8 + index 2027e72d..f3174a45 100755 9 + --- a/searx/webapp.py 10 + +++ b/searx/webapp.py 11 + @@ -167,7 +167,7 @@ _flask_babel_get_translations = flask_babel.get_translations 12 + def _get_translations(): 13 + if has_request_context() and request.form.get('use-translation') == 'oc': 14 + babel_ext = flask_babel.current_app.extensions['babel'] 15 + - return Translations.load(next(babel_ext.translation_directories), 'oc') 16 + + return Translations.load(babel_ext.translation_directories[0], 'oc') 17 + 18 + return _flask_babel_get_translations() 19 + 20 + @@ -188,7 +188,6 @@ def _get_browser_or_settings_language(request, lang_list): 21 + return settings['search']['default_lang'] or 'en' 22 + 23 + 24 + -@babel.localeselector 25 + def get_locale(): 26 + if 'locale' in request.form\ 27 + and request.form['locale'] in settings['locales']:
+3 -3
pkgs/tools/admin/chamber/default.nix
··· 2 3 buildGoModule rec { 4 pname = "chamber"; 5 - version = "2.13.0"; 6 7 src = fetchFromGitHub { 8 owner = "segmentio"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-1alRyAwT+vlzj7L6KG62R7PRKbMkevowUdD6he4ZQ/I="; 12 }; 13 14 CGO_ENABLED = 0; 15 16 - vendorHash = "sha256-pyC2iMGx1seSBR3f316oNM0YiN3y1489uybpgHyN8NM="; 17 18 ldflags = [ "-s" "-w" "-X main.Version=v${version}" ]; 19
··· 2 3 buildGoModule rec { 4 pname = "chamber"; 5 + version = "2.13.1"; 6 7 src = fetchFromGitHub { 8 owner = "segmentio"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-F4JVAW6aKbEofTshF6vny5hnTFnfUKuRyc9zaUxSjG4="; 12 }; 13 14 CGO_ENABLED = 0; 15 16 + vendorHash = "sha256-xFZmTsX5OrLu1AkKDHaa5N277J5dLGf5F9ATWirtnXY="; 17 18 ldflags = [ "-s" "-w" "-X main.Version=v${version}" ]; 19
+4
pkgs/top-level/all-packages.nix
··· 348 inherit (darwin.apple_sdk.frameworks) CoreServices; 349 }; 350 351 bodyclose = callPackage ../development/tools/bodyclose { }; 352 353 bootstrap-studio = callPackage ../development/web/bootstrap-studio { }; ··· 11386 pdf2odt = callPackage ../tools/typesetting/pdf2odt { }; 11387 11388 pdfcrack = callPackage ../tools/security/pdfcrack { }; 11389 11390 pdfsandwich = callPackage ../tools/typesetting/pdfsandwich { }; 11391
··· 348 inherit (darwin.apple_sdk.frameworks) CoreServices; 349 }; 350 351 + blst = callPackage ../development/libraries/blst { }; 352 + 353 bodyclose = callPackage ../development/tools/bodyclose { }; 354 355 bootstrap-studio = callPackage ../development/web/bootstrap-studio { }; ··· 11388 pdf2odt = callPackage ../tools/typesetting/pdf2odt { }; 11389 11390 pdfcrack = callPackage ../tools/security/pdfcrack { }; 11391 + 11392 + pdfposter = callPackage ../applications/misc/pdfposter { }; 11393 11394 pdfsandwich = callPackage ../tools/typesetting/pdfsandwich { }; 11395
+1
pkgs/top-level/python-aliases.nix
··· 194 pam = python-pam; # added 2020-09-07. 195 PasteDeploy = pastedeploy; # added 2021-10-07 196 pathpy = path; # added 2022-04-12 197 pdfminer = pdfminer-six; # added 2022-05-25 198 pep257 = pydocstyle; # added 2022-04-12 199 poetry = throw "poetry was promoted to a top-level attribute, use poetry-core to build Python packages"; # added 2023-01-09
··· 194 pam = python-pam; # added 2020-09-07. 195 PasteDeploy = pastedeploy; # added 2021-10-07 196 pathpy = path; # added 2022-04-12 197 + pdfposter = throw "pdfposter was promoted to a top-level attribute"; # Added 2023-06-29 198 pdfminer = pdfminer-six; # added 2022-05-25 199 pep257 = pydocstyle; # added 2022-04-12 200 poetry = throw "poetry was promoted to a top-level attribute, use poetry-core to build Python packages"; # added 2023-01-09
-2
pkgs/top-level/python-packages.nix
··· 7524 7525 pdfminer-six = callPackage ../development/python-modules/pdfminer-six { }; 7526 7527 - pdfposter = callPackage ../development/python-modules/pdfposter { }; 7528 - 7529 pdfrw = callPackage ../development/python-modules/pdfrw { }; 7530 7531 pdftotext = callPackage ../development/python-modules/pdftotext { };
··· 7524 7525 pdfminer-six = callPackage ../development/python-modules/pdfminer-six { }; 7526 7527 pdfrw = callPackage ../development/python-modules/pdfrw { }; 7528 7529 pdftotext = callPackage ../development/python-modules/pdftotext { };