lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
b536c721 2ca7eb5d

+638 -183
+2
nixos/doc/manual/release-notes/rl-2311.section.md
··· 18 18 19 19 - [wayfire](https://wayfire.org), A modular and extensible wayland compositor. Available as [programs.wayfire](#opt-programs.wayfire.enable). 20 20 21 + - [mautrix-whatsapp](https://docs.mau.fi/bridges/go/whatsapp/index.html) A Matrix-WhatsApp puppeting bridge 22 + 21 23 - [GoToSocial](https://gotosocial.org/), an ActivityPub social network server, written in Golang. Available as [services.gotosocial](#opt-services.gotosocial.enable). 22 24 23 25 - [Typesense](https://github.com/typesense/typesense), a fast, typo-tolerant search engine for building delightful search experiences. Available as [services.typesense](#opt-services.typesense.enable).
+1
nixos/modules/module-list.nix
··· 600 600 ./services/matrix/dendrite.nix 601 601 ./services/matrix/mautrix-facebook.nix 602 602 ./services/matrix/mautrix-telegram.nix 603 + ./services/matrix/mautrix-whatsapp.nix 603 604 ./services/matrix/mjolnir.nix 604 605 ./services/matrix/mx-puppet-discord.nix 605 606 ./services/matrix/pantalaimon.nix
+198
nixos/modules/services/matrix/mautrix-whatsapp.nix
··· 1 + { 2 + lib, 3 + config, 4 + pkgs, 5 + ... 6 + }: let 7 + cfg = config.services.mautrix-whatsapp; 8 + dataDir = "/var/lib/mautrix-whatsapp"; 9 + registrationFile = "${dataDir}/whatsapp-registration.yaml"; 10 + settingsFile = "${dataDir}/config.json"; 11 + settingsFileUnsubstituted = settingsFormat.generate "mautrix-whatsapp-config-unsubstituted.json" cfg.settings; 12 + settingsFormat = pkgs.formats.json {}; 13 + appservicePort = 29318; 14 + in { 15 + imports = []; 16 + options.services.mautrix-whatsapp = { 17 + enable = lib.mkEnableOption "mautrix-whatsapp, a puppeting/relaybot bridge between Matrix and WhatsApp."; 18 + 19 + settings = lib.mkOption { 20 + type = settingsFormat.type; 21 + default = { 22 + appservice = { 23 + address = "http://localhost:${toString appservicePort}"; 24 + hostname = "[::]"; 25 + port = appservicePort; 26 + database = { 27 + type = "sqlite3"; 28 + uri = "${dataDir}/mautrix-whatsapp.db"; 29 + }; 30 + id = "whatsapp"; 31 + bot = { 32 + username = "whatsappbot"; 33 + displayname = "WhatsApp Bridge Bot"; 34 + }; 35 + as_token = ""; 36 + hs_token = ""; 37 + }; 38 + bridge = { 39 + username_template = "whatsapp_{{.}}"; 40 + displayname_template = "{{if .BusinessName}}{{.BusinessName}}{{else if .PushName}}{{.PushName}}{{else}}{{.JID}}{{end}} (WA)"; 41 + double_puppet_server_map = {}; 42 + login_shared_secret_map = {}; 43 + command_prefix = "!wa"; 44 + permissions."*" = "relay"; 45 + relay.enabled = true; 46 + }; 47 + logging = { 48 + min_level = "info"; 49 + writers = [ 50 + { 51 + type = "stdout"; 52 + format = "pretty-colored"; 53 + } 54 + { 55 + type = "file"; 56 + format = "json"; 57 + } 58 + ]; 59 + }; 60 + }; 61 + description = lib.mdDoc '' 62 + {file}`config.yaml` configuration as a Nix attribute set. 63 + Configuration options should match those described in 64 + [example-config.yaml](https://github.com/mautrix/whatsapp/blob/master/example-config.yaml). 65 + Secret tokens should be specified using {option}`environmentFile` 66 + instead of this world-readable attribute set. 67 + ''; 68 + example = { 69 + appservice = { 70 + database = { 71 + type = "postgres"; 72 + uri = "postgresql:///mautrix_whatsapp?host=/run/postgresql"; 73 + }; 74 + id = "whatsapp"; 75 + ephemeral_events = false; 76 + }; 77 + bridge = { 78 + history_sync = { 79 + request_full_sync = true; 80 + }; 81 + private_chat_portal_meta = true; 82 + mute_bridging = true; 83 + encryption = { 84 + allow = true; 85 + default = true; 86 + require = true; 87 + }; 88 + provisioning = { 89 + shared_secret = "disable"; 90 + }; 91 + permissions = { 92 + "example.com" = "user"; 93 + }; 94 + }; 95 + }; 96 + }; 97 + environmentFile = lib.mkOption { 98 + type = lib.types.nullOr lib.types.path; 99 + default = null; 100 + description = lib.mdDoc '' 101 + File containing environment variables to be passed to the mautrix-whatsapp service, 102 + in which secret tokens can be specified securely by optionally defining a value for 103 + `MAUTRIX_WHATSAPP_BRIDGE_LOGIN_SHARED_SECRET`. 104 + ''; 105 + }; 106 + 107 + serviceDependencies = lib.mkOption { 108 + type = with lib.types; listOf str; 109 + default = lib.optional config.services.matrix-synapse.enable "matrix-synapse.service"; 110 + defaultText = lib.literalExpression '' 111 + optional config.services.matrix-synapse.enable "matrix-synapse.service" 112 + ''; 113 + description = lib.mdDoc '' 114 + List of Systemd services to require and wait for when starting the application service. 115 + ''; 116 + }; 117 + }; 118 + 119 + config = lib.mkIf cfg.enable { 120 + services.mautrix-whatsapp.settings = { 121 + homeserver.domain = lib.mkDefault config.services.matrix-synapse.settings.server_name; 122 + }; 123 + 124 + systemd.services.mautrix-whatsapp = { 125 + description = "Mautrix-WhatsApp Service - A WhatsApp bridge for Matrix"; 126 + 127 + wantedBy = ["multi-user.target"]; 128 + wants = ["network-online.target"] ++ cfg.serviceDependencies; 129 + after = ["network-online.target"] ++ cfg.serviceDependencies; 130 + 131 + preStart = '' 132 + # substitute the settings file by environment variables 133 + # in this case read from EnvironmentFile 134 + test -f '${settingsFile}' && rm -f '${settingsFile}' 135 + old_umask=$(umask) 136 + umask 0177 137 + ${pkgs.envsubst}/bin/envsubst \ 138 + -o '${settingsFile}' \ 139 + -i '${settingsFileUnsubstituted}' 140 + umask $old_umask 141 + 142 + # generate the appservice's registration file if absent 143 + if [ ! -f '${registrationFile}' ]; then 144 + ${pkgs.mautrix-whatsapp}/bin/mautrix-whatsapp \ 145 + --generate-registration \ 146 + --config='${settingsFile}' \ 147 + --registration='${registrationFile}' 148 + fi 149 + chmod 640 ${registrationFile} 150 + 151 + umask 0177 152 + ${pkgs.yq}/bin/yq -s '.[0].appservice.as_token = .[1].as_token 153 + | .[0].appservice.hs_token = .[1].hs_token 154 + | .[0]' '${settingsFile}' '${registrationFile}' \ 155 + > '${settingsFile}.tmp' 156 + mv '${settingsFile}.tmp' '${settingsFile}' 157 + umask $old_umask 158 + ''; 159 + 160 + serviceConfig = { 161 + DynamicUser = true; 162 + EnvironmentFile = cfg.environmentFile; 163 + StateDirectory = baseNameOf dataDir; 164 + WorkingDirectory = "${dataDir}"; 165 + ExecStart = '' 166 + ${pkgs.mautrix-whatsapp}/bin/mautrix-whatsapp \ 167 + --config='${settingsFile}' \ 168 + --registration='${registrationFile}' 169 + ''; 170 + LockPersonality = true; 171 + MemoryDenyWriteExecute = true; 172 + NoNewPrivileges = true; 173 + PrivateDevices = true; 174 + PrivateTmp = true; 175 + PrivateUsers = true; 176 + ProtectClock = true; 177 + ProtectControlGroups = true; 178 + ProtectHome = true; 179 + ProtectHostname = true; 180 + ProtectKernelLogs = true; 181 + ProtectKernelModules = true; 182 + ProtectKernelTunables = true; 183 + ProtectSystem = "strict"; 184 + Restart = "on-failure"; 185 + RestartSec = "30s"; 186 + RestrictRealtime = true; 187 + RestrictSUIDSGID = true; 188 + SystemCallArchitectures = "native"; 189 + SystemCallErrorNumber = "EPERM"; 190 + SystemCallFilter = ["@system-service"]; 191 + Type = "simple"; 192 + UMask = 0027; 193 + }; 194 + restartTriggers = [settingsFileUnsubstituted]; 195 + }; 196 + }; 197 + meta.maintainers = with lib.maintainers; [frederictobiasc]; 198 + }
+52 -43
nixos/modules/services/web-apps/nextcloud.nix
··· 142 142 default = config.services.nextcloud.home; 143 143 defaultText = literalExpression "config.services.nextcloud.home"; 144 144 description = lib.mdDoc '' 145 - Data storage path of nextcloud. Will be [](#opt-services.nextcloud.home) by default. 146 - This folder will be populated with a config.php and data folder which contains the state of the instance (excl the database)."; 145 + Nextcloud's data storage path. Will be [](#opt-services.nextcloud.home) by default. 146 + This folder will be populated with a config.php file and a data folder which contains the state of the instance (excluding the database)."; 147 147 ''; 148 148 example = "/mnt/nextcloud-file"; 149 149 }; ··· 176 176 type = types.bool; 177 177 default = true; 178 178 description = lib.mdDoc '' 179 - Automatically enable the apps in [](#opt-services.nextcloud.extraApps) every time nextcloud starts. 180 - If set to false, apps need to be enabled in the Nextcloud user interface or with nextcloud-occ app:enable. 179 + Automatically enable the apps in [](#opt-services.nextcloud.extraApps) every time Nextcloud starts. 180 + If set to false, apps need to be enabled in the Nextcloud web user interface or with `nextcloud-occ app:enable`. 181 181 ''; 182 182 }; 183 183 appstoreEnable = mkOption { ··· 185 185 default = null; 186 186 example = true; 187 187 description = lib.mdDoc '' 188 - Allow the installation of apps and app updates from the store. 188 + Allow the installation and updating of apps from the Nextcloud appstore. 189 189 Enabled by default unless there are packages in [](#opt-services.nextcloud.extraApps). 190 - Set to true to force enable the store even if [](#opt-services.nextcloud.extraApps) is used. 191 - Set to false to disable the installation of apps from the global appstore. App management is always enabled regardless of this setting. 190 + Set this to true to force enable the store even if [](#opt-services.nextcloud.extraApps) is used. 191 + Set this to false to disable the installation of apps from the global appstore. App management is always enabled regardless of this setting. 192 192 ''; 193 193 }; 194 194 logLevel = mkOption { 195 195 type = types.ints.between 0 4; 196 196 default = 2; 197 - description = lib.mdDoc "Log level value between 0 (DEBUG) and 4 (FATAL)."; 197 + description = lib.mdDoc '' 198 + Log level value between 0 (DEBUG) and 4 (FATAL). 199 + 200 + - 0 (debug): Log all activity. 201 + 202 + - 1 (info): Log activity such as user logins and file activities, plus warnings, errors, and fatal errors. 203 + 204 + - 2 (warn): Log successful operations, as well as warnings of potential problems, errors and fatal errors. 205 + 206 + - 3 (error): Log failed operations and fatal errors. 207 + 208 + - 4 (fatal): Log only fatal errors that cause the server to stop. 209 + ''; 198 210 }; 199 211 logType = mkOption { 200 212 type = types.enum [ "errorlog" "file" "syslog" "systemd" ]; ··· 208 220 https = mkOption { 209 221 type = types.bool; 210 222 default = false; 211 - description = lib.mdDoc "Use https for generated links."; 223 + description = lib.mdDoc "Use HTTPS for generated links."; 212 224 }; 213 225 package = mkOption { 214 226 type = types.package; ··· 228 240 default = "512M"; 229 241 type = types.str; 230 242 description = lib.mdDoc '' 231 - Defines the upload limit for files. This changes the relevant options 243 + The upload limit for files. This changes the relevant options 232 244 in php.ini and nginx if enabled. 233 245 ''; 234 246 }; ··· 257 269 default = all: []; 258 270 defaultText = literalExpression "all: []"; 259 271 description = lib.mdDoc '' 260 - Additional PHP extensions to use for nextcloud. 261 - By default, only extensions necessary for a vanilla nextcloud installation are enabled, 272 + Additional PHP extensions to use for Nextcloud. 273 + By default, only extensions necessary for a vanilla Nextcloud installation are enabled, 262 274 but you may choose from the list of available extensions and add further ones. 263 - This is sometimes necessary to be able to install a certain nextcloud app that has additional requirements. 275 + This is sometimes necessary to be able to install a certain Nextcloud app that has additional requirements. 264 276 ''; 265 277 example = literalExpression '' 266 278 all: [ all.pdlib all.bz2 ] ··· 318 330 type = types.nullOr types.lines; 319 331 default = null; 320 332 description = lib.mdDoc '' 321 - Options for nextcloud's PHP pool. See the documentation on `php-fpm.conf` for details on configuration directives. 333 + Options for Nextcloud's PHP pool. See the documentation on `php-fpm.conf` for details on configuration directives. 322 334 ''; 323 335 }; 324 336 ··· 336 348 type = types.bool; 337 349 default = false; 338 350 description = lib.mdDoc '' 339 - Create the database and database user locally. 351 + Whether to create the database and database user locally. 340 352 ''; 341 353 }; 342 354 ··· 374 386 else "localhost"; 375 387 defaultText = "localhost"; 376 388 description = lib.mdDoc '' 377 - Database host or socket path. Defaults to the correct unix socket 378 - instead if `services.nextcloud.database.createLocally` is true and 379 - `services.nextcloud.config.dbtype` is either `pgsql` or `mysql`. 389 + Database host or socket path. 390 + If [](#opt-services.nextcloud.database.createLocally) is true and 391 + [](#opt-services.nextcloud.config.dbtype) is either `pgsql` or `mysql`, 392 + defaults to the correct Unix socket instead. 380 393 ''; 381 394 }; 382 395 dbport = mkOption { ··· 387 400 dbtableprefix = mkOption { 388 401 type = types.nullOr types.str; 389 402 default = null; 390 - description = lib.mdDoc "Table prefix in Nextcloud database."; 403 + description = lib.mdDoc "Table prefix in Nextcloud's database."; 391 404 }; 392 405 adminuser = mkOption { 393 406 type = types.str; 394 407 default = "root"; 395 - description = lib.mdDoc "Admin username."; 408 + description = lib.mdDoc "Username for the admin account."; 396 409 }; 397 410 adminpassFile = mkOption { 398 411 type = types.str; 399 412 description = lib.mdDoc '' 400 413 The full path to a file that contains the admin's password. Must be 401 414 readable by user `nextcloud`. The password is set only in the initial 402 - setup of nextcloud by the systemd `nextcloud-setup.service`. 415 + setup of Nextcloud by the systemd service `nextcloud-setup.service`. 403 416 ''; 404 417 }; 405 418 ··· 407 420 type = types.listOf types.str; 408 421 default = []; 409 422 description = lib.mdDoc '' 410 - Trusted domains, from which the nextcloud installation will be 423 + Trusted domains from which the Nextcloud installation will be 411 424 accessible. You don't need to add 412 425 `services.nextcloud.hostname` here. 413 426 ''; ··· 417 430 type = types.listOf types.str; 418 431 default = []; 419 432 description = lib.mdDoc '' 420 - Trusted proxies, to provide if the nextcloud installation is being 421 - proxied to secure against e.g. spoofing. 433 + Trusted proxies to provide if the Nextcloud installation is being 434 + proxied to secure against, e.g. spoofing. 422 435 ''; 423 436 }; 424 437 ··· 428 441 example = "https"; 429 442 430 443 description = lib.mdDoc '' 431 - Force Nextcloud to always use HTTPS i.e. for link generation. Nextcloud 432 - uses the currently used protocol by default, but when behind a reverse-proxy, 433 - it may use `http` for everything although Nextcloud 434 - may be served via HTTPS. 444 + Force Nextcloud to always use HTTP or HTTPS i.e. for link generation. 445 + Nextcloud uses the currently used protocol by default, but when 446 + behind a reverse-proxy, it may use `http` for everything although 447 + Nextcloud may be served via HTTPS. 435 448 ''; 436 449 }; 437 450 ··· 440 453 type = types.nullOr types.str; 441 454 example = "DE"; 442 455 description = lib.mdDoc '' 443 - ::: {.warning} 444 - This option exists since Nextcloud 21! If older versions are used, 445 - this will throw an eval-error! 446 - ::: 456 + An [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) 457 + country code which replaces automatic phone-number detection 458 + without a country code. 447 459 448 - [ISO 3611-1](https://www.iso.org/iso-3166-country-codes.html) 449 - country codes for automatic phone-number detection without a country code. 450 - 451 - With e.g. `DE` set, the `+49` can be omitted for 452 - phone-numbers. 460 + As an example, with `DE` set as the default phone region, 461 + the `+49` prefix can be omitted for phone numbers. 453 462 ''; 454 463 }; 455 464 ··· 574 583 default = config.services.nextcloud.notify_push.enable; 575 584 defaultText = literalExpression "config.services.nextcloud.notify_push.enable"; 576 585 description = lib.mdDoc '' 577 - Whether to configure nextcloud to use the recommended redis settings for small instances. 586 + Whether to configure Nextcloud to use the recommended Redis settings for small instances. 578 587 579 588 ::: {.note} 580 - The `notify_push` app requires redis to be configured. If this option is turned off, this must be configured manually. 589 + The `notify_push` app requires Redis to be configured. If this option is turned off, this must be configured manually. 581 590 ::: 582 591 ''; 583 592 }; ··· 614 623 type = types.bool; 615 624 default = false; 616 625 description = lib.mdDoc '' 617 - Run regular auto update of all apps installed from the nextcloud app store. 626 + Run a regular auto-update of all apps installed from the Nextcloud app store. 618 627 ''; 619 628 }; 620 629 startAt = mkOption { ··· 661 670 type = jsonFormat.type; 662 671 default = {}; 663 672 description = lib.mdDoc '' 664 - Extra options which should be appended to nextcloud's config.php file. 673 + Extra options which should be appended to Nextcloud's config.php file. 665 674 ''; 666 675 example = literalExpression '' { 667 676 redis = { ··· 678 687 type = types.nullOr types.str; 679 688 default = null; 680 689 description = lib.mdDoc '' 681 - Secret options which will be appended to nextcloud's config.php file (written as JSON, in the same 690 + Secret options which will be appended to Nextcloud's config.php file (written as JSON, in the same 682 691 form as the [](#opt-services.nextcloud.extraOptions) option), for example 683 692 `{"redis":{"password":"secret"}}`. 684 693 ''; ··· 712 721 A legacy Nextcloud install (from before NixOS ${nixos}) may be installed. 713 722 714 723 After nextcloud${toString major} is installed successfully, you can safely upgrade 715 - to ${toString (major + 1)}. The latest version available is nextcloud${toString latest}. 724 + to ${toString (major + 1)}. The latest version available is Nextcloud${toString latest}. 716 725 717 726 Please note that Nextcloud doesn't support upgrades across multiple major versions 718 727 (i.e. an upgrade from 16 is possible to 17, but not 16 to 18).
+2 -2
pkgs/applications/audio/kid3/default.nix
··· 27 27 28 28 stdenv.mkDerivation rec { 29 29 pname = "kid3"; 30 - version = "3.9.3"; 30 + version = "3.9.4"; 31 31 32 32 src = fetchurl { 33 33 url = "https://download.kde.org/stable/${pname}/${version}/${pname}-${version}.tar.xz"; 34 - sha256 = "sha256-D2hrdej2Q69AYjDn2Ey4vBSOmzBY3UzZMUdJSRjurdA="; 34 + sha256 = "sha256-xBCWDpYiXeChxIiMPqHG3CyiRau2kUdDJtzcPtvWpSA="; 35 35 }; 36 36 37 37 nativeBuildInputs = [
+5 -9
pkgs/applications/misc/haunt/default.nix
··· 49 49 # Test suite is non-determinisitic in later versions 50 50 doCheck = false; 51 51 52 - postInstall = 53 - let 54 - guileVersion = lib.versions.majorMinor guile.version; 55 - in 56 - '' 57 - wrapProgram $out/bin/haunt \ 58 - --prefix GUILE_LOAD_PATH : "$out/share/guile/site/${guileVersion}:$GUILE_LOAD_PATH" \ 59 - --prefix GUILE_LOAD_COMPILED_PATH : "$out/lib/guile/${guileVersion}/site-ccache:$GUILE_LOAD_COMPILED_PATH" 60 - ''; 52 + postInstall = '' 53 + wrapProgram $out/bin/haunt \ 54 + --prefix GUILE_LOAD_PATH : "$out/${guile.siteDir}:$GUILE_LOAD_PATH" \ 55 + --prefix GUILE_LOAD_COMPILED_PATH : "$out/${guile.siteCcacheDir}:$GUILE_LOAD_COMPILED_PATH" 56 + ''; 61 57 62 58 doInstallCheck = true; 63 59 installCheckPhase = ''
+3 -3
pkgs/development/guile-modules/guile-gnutls/default.nix
··· 27 27 ]; 28 28 29 29 configureFlags = [ 30 - "--with-guile-site-dir=${builtins.placeholder "out"}/share/guile/site" 31 - "--with-guile-site-ccache-dir=${builtins.placeholder "out"}/share/guile/site" 32 - "--with-guile-extension-dir=${builtins.placeholder "out"}/share/guile/extensions" 30 + "--with-guile-site-dir=${builtins.placeholder "out"}/${guile.siteDir}" 31 + "--with-guile-site-ccache-dir=${builtins.placeholder "out"}/${guile.siteCcacheDir}" 32 + "--with-guile-extension-dir=${builtins.placeholder "out"}/lib/guile/${guile.effectiveVersion}/extensions" 33 33 ]; 34 34 35 35 meta = with lib; {
+6 -10
pkgs/development/guile-modules/guile-ncurses/default.nix
··· 29 29 "--with-gnu-filesystem-hierarchy" 30 30 ]; 31 31 32 - postFixup = 33 - let 34 - guileVersion = lib.versions.majorMinor guile.version; 35 - in 36 - '' 37 - for f in $out/share/guile/site/ncurses/**.scm; do \ 38 - substituteInPlace $f \ 39 - --replace "libguile-ncurses" "$out/lib/guile/${guileVersion}/libguile-ncurses"; \ 40 - done 41 - ''; 32 + postFixup = '' 33 + for f in $out/${guile.siteDir}/ncurses/**.scm; do \ 34 + substituteInPlace $f \ 35 + --replace "libguile-ncurses" "$out/lib/guile/${guile.effectiveVersion}/libguile-ncurses"; \ 36 + done 37 + ''; 42 38 43 39 # XXX: 1 of 65 tests failed. 44 40 doCheck = false;
+2 -2
pkgs/development/guile-modules/guile-reader/default.nix
··· 27 27 libffi 28 28 ]; 29 29 30 - GUILE_SITE="${guile-lib}/share/guile/site"; 30 + env.GUILE_SITE = "${guile-lib}/${guile.siteDir}"; 31 31 32 - configureFlags = [ "--with-guilemoduledir=$(out)/share/guile/site" ]; 32 + configureFlags = [ "--with-guilemoduledir=$(out)/${guile.siteDir}" ]; 33 33 34 34 meta = with lib; { 35 35 homepage = "https://www.nongnu.org/guile-reader/";
+2 -2
pkgs/development/guile-modules/guile-ssh/default.nix
··· 20 20 sha256 = "sha256-P29U88QrCjoyl/wdTPZbiMoykd/v6ul6CW/IJn9UAyw="; 21 21 }; 22 22 23 - configureFlags = [ "--with-guilesitedir=\${out}/share/guile/site" ]; 23 + configureFlags = [ "--with-guilesitedir=\${out}/${guile.siteDir}" ]; 24 24 25 25 postFixup = '' 26 - for f in $out/share/guile/site/ssh/**.scm; do \ 26 + for f in $out/${guile.siteDir}/ssh/**.scm; do \ 27 27 substituteInPlace $f \ 28 28 --replace "libguile-ssh" "$out/lib/libguile-ssh"; \ 29 29 done
+2 -2
pkgs/development/guile-modules/guile-xcb/default.nix
··· 28 28 ]; 29 29 30 30 configureFlags = [ 31 - "--with-guile-site-dir=$out/share/guile/site" 32 - "--with-guile-site-ccache-dir=$out/share/guile/site" 31 + "--with-guile-site-dir=$(out)/${guile.siteDir}" 32 + "--with-guile-site-ccache-dir=$(out)/${guile.siteCcacheDir}" 33 33 ]; 34 34 35 35 makeFlags = [
+6
pkgs/development/interpreters/guile/1.8.nix
··· 86 86 87 87 setupHook = ./setup-hook-1.8.sh; 88 88 89 + passthru = { 90 + effectiveVersion = lib.versions.majorMinor version; 91 + siteCcacheDir = "lib/guile/site-ccache"; 92 + siteDir = "share/guile/site"; 93 + }; 94 + 89 95 meta = with lib; { 90 96 homepage = "https://www.gnu.org/software/guile/"; 91 97 description = "Embeddable Scheme implementation";
+6
pkgs/development/interpreters/guile/2.0.nix
··· 133 133 134 134 setupHook = ./setup-hook-2.0.sh; 135 135 136 + passthru = rec { 137 + effectiveVersion = lib.versions.majorMinor version; 138 + siteCcacheDir = "lib/guile/${effectiveVersion}/site-ccache"; 139 + siteDir = "share/guile/site/${effectiveVersion}"; 140 + }; 141 + 136 142 meta = with lib; { 137 143 homepage = "https://www.gnu.org/software/guile/"; 138 144 description = "Embeddable Scheme implementation";
+6
pkgs/development/interpreters/guile/2.2.nix
··· 124 124 125 125 setupHook = ./setup-hook-2.2.sh; 126 126 127 + passthru = rec { 128 + effectiveVersion = lib.versions.majorMinor version; 129 + siteCcacheDir = "lib/guile/${effectiveVersion}/site-ccache"; 130 + siteDir = "share/guile/site/${effectiveVersion}"; 131 + }; 132 + 127 133 meta = with lib; { 128 134 homepage = "https://www.gnu.org/software/guile/"; 129 135 description = "Embeddable Scheme implementation";
+5 -1
pkgs/development/interpreters/guile/3.0.nix
··· 127 127 128 128 setupHook = ./setup-hook-3.0.sh; 129 129 130 - passthru = { 130 + passthru = rec { 131 + effectiveVersion = lib.versions.majorMinor version; 132 + siteCcacheDir = "lib/guile/${effectiveVersion}/site-ccache"; 133 + siteDir = "share/guile/site/${effectiveVersion}"; 134 + 131 135 updateScript = writeScript "update-guile-3" '' 132 136 #!/usr/bin/env nix-shell 133 137 #!nix-shell -i bash -p curl pcre common-updater-scripts
+4 -4
pkgs/development/libraries/libfive/default.nix
··· 9 9 , zlib 10 10 , libpng 11 11 , boost 12 - , guile_3_0 12 + , guile 13 13 , stdenv 14 14 }: 15 15 ··· 25 25 }; 26 26 27 27 nativeBuildInputs = [ wrapQtAppsHook cmake ninja pkg-config ]; 28 - buildInputs = [ eigen zlib libpng boost guile_3_0 ]; 28 + buildInputs = [ eigen zlib libpng boost guile ]; 29 29 30 30 preConfigure = '' 31 31 substituteInPlace studio/src/guile/interpreter.cpp \ 32 32 --replace "qputenv(\"GUILE_LOAD_COMPILED_PATH\", \"libfive/bind/guile\");" \ 33 - "qputenv(\"GUILE_LOAD_COMPILED_PATH\", \"libfive/bind/guile:$out/lib/guile/3.0/ccache\");" 33 + "qputenv(\"GUILE_LOAD_COMPILED_PATH\", \"libfive/bind/guile:$out/${guile.siteCcacheDir}\");" 34 34 35 35 substituteInPlace libfive/bind/guile/CMakeLists.txt \ 36 36 --replace "LIBFIVE_FRAMEWORK_DIR=$<TARGET_FILE_DIR:libfive>" \ ··· 42 42 ''; 43 43 44 44 cmakeFlags = [ 45 - "-DGUILE_CCACHE_DIR=${placeholder "out"}/lib/guile/3.0/ccache" 45 + "-DGUILE_CCACHE_DIR=${placeholder "out"}/${guile.siteCcacheDir}" 46 46 ]; 47 47 48 48 postInstall = if stdenv.isDarwin then ''
+2 -5
pkgs/development/libraries/libmatheval/default.nix
··· 1 1 { lib, stdenv, fetchurl, pkg-config, guile, flex, fetchpatch }: 2 2 3 - let 4 - guileVersion = lib.versions.majorMinor guile.version; 5 - in 6 3 stdenv.mkDerivation rec { 7 4 version = "1.1.11"; 8 5 pname = "libmatheval"; ··· 32 29 }) 33 30 ]; 34 31 35 - env.NIX_CFLAGS_COMPILE = "-I${lib.getDev guile}/include/guile/${guileVersion}"; 36 - env.NIX_LDFLAGS = "-L${guile}/lib -lguile-${guileVersion}"; 32 + env.NIX_CFLAGS_COMPILE = "-I${lib.getDev guile}/include/guile/${guile.effectiveVersion}"; 33 + env.NIX_LDFLAGS = "-L${guile}/lib -lguile-${guile.effectiveVersion}"; 37 34 38 35 meta = { 39 36 description = "A library to parse and evaluate symbolic expressions input as text";
+17 -7
pkgs/development/python-modules/bitlist/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , fetchpatch 4 5 , setuptools 5 - , nose 6 + , wheel 6 7 , parts 7 8 , pytestCheckHook 8 9 , pythonOlder ··· 20 21 hash = "sha256-eViakuhgSe9E8ltxzeg8m6/ze7QQvoKBtYZoBZzHxlA="; 21 22 }; 22 23 24 + patches = [ 25 + # https://github.com/lapets/bitlist/pull/1 26 + (fetchpatch { 27 + name = "unpin-setuptools-dependency.patch"; 28 + url = "https://github.com/lapets/bitlist/commit/d1f977a9e835852df358b2d93b642a6820619c10.patch"; 29 + hash = "sha256-BBa6gdhuYsWahtp+Qdp/RigmVHK+uWyK46M1CdD8O2g="; 30 + }) 31 + ]; 32 + 33 + postPatch = '' 34 + substituteInPlace pyproject.toml \ 35 + --replace '--cov=bitlist --cov-report term-missing' "" 36 + ''; 37 + 23 38 nativeBuildInputs = [ 24 39 setuptools 40 + wheel 25 41 ]; 26 42 27 43 propagatedBuildInputs = [ ··· 30 46 31 47 nativeCheckInputs = [ 32 48 pytestCheckHook 33 - nose 34 49 ]; 35 50 36 51 pythonImportsCheck = [ 37 52 "bitlist" 38 53 ]; 39 - 40 - postPatch = '' 41 - substituteInPlace pyproject.toml \ 42 - --replace "--doctest-modules --ignore=docs --cov=bitlist --cov-report term-missing" "" 43 - ''; 44 54 45 55 meta = with lib; { 46 56 description = "Python library for working with little-endian list representation of bit strings";
+6 -3
pkgs/development/python-modules/cattrs/default.nix
··· 1 1 { lib 2 2 , attrs 3 3 , buildPythonPackage 4 + , cbor2 4 5 , fetchFromGitHub 5 6 , exceptiongroup 6 7 , hypothesis ··· 20 21 21 22 buildPythonPackage rec { 22 23 pname = "cattrs"; 23 - version = "22.2.0"; 24 + version = "23.1.2"; 24 25 format = "pyproject"; 25 26 26 27 disabled = pythonOlder "3.7"; ··· 29 30 owner = "python-attrs"; 30 31 repo = pname; 31 32 rev = "v${version}"; 32 - hash = "sha256-Qnrq/mIA/t0mur6IAen4vTmMIhILWS6v5nuf+Via2hA="; 33 + hash = "sha256-YO4Clbo5fmXbysxwwM2qCHJwO5KwDC05VctRVFruJcw="; 33 34 }; 34 35 35 36 nativeBuildInputs = [ ··· 40 41 attrs 41 42 ] ++ lib.optionals (pythonOlder "3.11") [ 42 43 exceptiongroup 43 - ] ++ lib.optionals (pythonOlder "3.7") [ 44 44 typing-extensions 45 45 ]; 46 46 47 47 nativeCheckInputs = [ 48 + cbor2 48 49 hypothesis 49 50 immutables 50 51 motor ··· 54 55 pytestCheckHook 55 56 pyyaml 56 57 tomlkit 58 + typing-extensions 57 59 ujson 58 60 ]; 59 61 ··· 94 96 meta = with lib; { 95 97 description = "Python custom class converters for attrs"; 96 98 homepage = "https://github.com/python-attrs/cattrs"; 99 + changelog = "https://github.com/python-attrs/cattrs/blob/${src.rev}/HISTORY.md"; 97 100 license = with licenses; [ mit ]; 98 101 maintainers = with maintainers; [ fab ]; 99 102 };
+3 -3
pkgs/development/python-modules/hydra-check/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "hydra-check"; 13 - version = "1.3.4"; 13 + version = "1.3.5"; 14 14 format = "pyproject"; 15 15 16 16 disabled = pythonOlder "3.10"; ··· 18 18 src = fetchFromGitHub { 19 19 owner = "nix-community"; 20 20 repo = pname; 21 - rev = "v${version}"; 22 - hash = "sha256-voSbpOPJUPjwzdMLVt2TC/FIi6LKk01PLd/GczOAUR8="; 21 + rev = "refs/tags/v${version}"; 22 + hash = "sha256-fRSC+dfZZSBBeN6YidXRKc1kPUbBKz5OiFSHGOSikgI="; 23 23 }; 24 24 25 25 nativeBuildInputs = [ poetry-core ];
+2
pkgs/development/python-modules/quantulum3/default.nix
··· 12 12 , joblib 13 13 , wikipedia 14 14 , stemming 15 + , setuptools 15 16 }: 16 17 let 17 18 pname = "quantulum3"; ··· 40 41 joblib 41 42 wikipedia 42 43 stemming 44 + setuptools 43 45 ]; 44 46 45 47 pythonImportsCheck = [ "quantulum3" ];
+2 -2
pkgs/development/tools/analysis/checkov/default.nix
··· 22 22 23 23 buildPythonApplication rec { 24 24 pname = "checkov"; 25 - version = "2.3.318"; 25 + version = "2.3.356"; 26 26 format = "setuptools"; 27 27 28 28 src = fetchFromGitHub { 29 29 owner = "bridgecrewio"; 30 30 repo = pname; 31 31 rev = "refs/tags/${version}"; 32 - hash = "sha256-E1PSwbEmTTHsYbRlLUJ2HLqiJJuQO/aN73xWHTaQdBY="; 32 + hash = "sha256-Bz+A0QUUZ3Pvcw9XnRqm1fD/AjToJLSK+L/B81Kay20="; 33 33 }; 34 34 35 35 patches = [
+3 -3
pkgs/development/tools/continuous-integration/gitea-actions-runner/default.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "gitea-actions-runner"; 10 - version = "0.2.3"; 10 + version = "0.2.5"; 11 11 12 12 src = fetchFromGitea { 13 13 domain = "gitea.com"; 14 14 owner = "gitea"; 15 15 repo = "act_runner"; 16 16 rev = "v${version}"; 17 - hash = "sha256-RNH/12XV07nWhGnmR4FKJSSK/KnLA76+pKFHTPG8AAk="; 17 + hash = "sha256-HWJrgZJfI5fOeZvQkmpd6wciJWh1JOmZMlyGHSbgHpc="; 18 18 }; 19 19 20 - vendorHash = "sha256-VS1CIxV0e01h5L1UA4p8R1Z28yLOEZTMxS+gbEaJwKs="; 20 + vendorHash = "sha256-Z61kTbKHSUpt2F6jVUUK4KwMJ0ILT1FI4/62AkNQuZI="; 21 21 22 22 ldflags = [ 23 23 "-s"
+5 -9
pkgs/development/tools/guile/guile-hall/default.nix
··· 20 20 21 21 doCheck = true; 22 22 23 - postInstall = 24 - let 25 - guileVersion = lib.versions.majorMinor guile.version; 26 - in 27 - '' 28 - wrapProgram $out/bin/hall \ 29 - --prefix GUILE_LOAD_PATH : "$out/share/guile/site/${guileVersion}:$GUILE_LOAD_PATH" \ 30 - --prefix GUILE_LOAD_COMPILED_PATH : "$out/lib/guile/${guileVersion}/site-ccache:$GUILE_LOAD_COMPILED_PATH" 31 - ''; 23 + postInstall = '' 24 + wrapProgram $out/bin/hall \ 25 + --prefix GUILE_LOAD_PATH : "$out/${guile.siteDir}:$GUILE_LOAD_PATH" \ 26 + --prefix GUILE_LOAD_COMPILED_PATH : "$out/${guile.siteCcacheDir}:$GUILE_LOAD_COMPILED_PATH" 27 + ''; 32 28 33 29 doInstallCheck = true; 34 30 installCheckPhase = ''
+99
pkgs/development/tools/java/jextract/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , emptyDirectory 5 + , writeText 6 + , makeWrapper 7 + , gradle 8 + , jdk20 9 + , llvmPackages 10 + }: 11 + 12 + let 13 + gradleInit = writeText "init.gradle" '' 14 + logger.lifecycle 'Replacing Maven repositories with empty directory...' 15 + gradle.projectsLoaded { 16 + rootProject.allprojects { 17 + buildscript { 18 + repositories { 19 + clear() 20 + maven { url '${emptyDirectory}' } 21 + } 22 + } 23 + repositories { 24 + clear() 25 + maven { url '${emptyDirectory}' } 26 + } 27 + } 28 + } 29 + settingsEvaluated { settings -> 30 + settings.pluginManagement { 31 + repositories { 32 + maven { url '${emptyDirectory}' } 33 + } 34 + } 35 + } 36 + ''; 37 + in 38 + 39 + stdenv.mkDerivation { 40 + pname = "jextract"; 41 + version = "unstable-2023-04-14"; 42 + 43 + src = fetchFromGitHub { 44 + owner = "openjdk"; 45 + repo = "jextract"; 46 + rev = "cf3afe9ca71592c8ebb32f219707285dd1d5b28a"; 47 + hash = "sha256-8qRD1Xg39vxtFAdguD8XvkQ8u7YzFU55MhyyJozVffo="; 48 + }; 49 + 50 + nativeBuildInputs = [ 51 + gradle 52 + makeWrapper 53 + ]; 54 + 55 + env = { 56 + ORG_GRADLE_PROJECT_llvm_home = llvmPackages.libclang.lib; 57 + ORG_GRADLE_PROJECT_jdk20_home = jdk20; 58 + }; 59 + 60 + buildPhase = '' 61 + runHook preBuild 62 + 63 + export GRADLE_USER_HOME=$(mktemp -d) 64 + gradle --console plain --init-script "${gradleInit}" assemble 65 + 66 + runHook postBuild 67 + ''; 68 + 69 + doCheck = true; 70 + 71 + checkPhase = '' 72 + runHook preCheck 73 + gradle --console plain --init-script "${gradleInit}" verify 74 + runHook postCheck 75 + ''; 76 + 77 + installPhase = '' 78 + runHook preInstall 79 + 80 + install -D --mode=0444 --target-directory="$out/share/java" \ 81 + ./build/libs/org.openjdk.jextract-unspecified.jar 82 + 83 + runHook postInstall 84 + ''; 85 + 86 + postFixup = '' 87 + makeWrapper "${jdk20}/bin/java" "$out/bin/jextract" \ 88 + --add-flags "--enable-preview" \ 89 + --add-flags "--class-path $out/share/java/org.openjdk.jextract-unspecified.jar" \ 90 + --add-flags "org.openjdk.jextract.JextractTool" 91 + ''; 92 + 93 + meta = with lib; { 94 + description = "A tool which mechanically generates Java bindings from a native library headers"; 95 + homepage = "https://github.com/openjdk/jextract"; 96 + license = licenses.gpl2Only; 97 + maintainers = with maintainers; [ sharzy ]; 98 + }; 99 + }
+2 -2
pkgs/development/tools/pscale/default.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "pscale"; 11 - version = "0.150.0"; 11 + version = "0.151.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "planetscale"; 15 15 repo = "cli"; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-tDpiInZab7RZ54Ho9uXnNEturINMhv0YqK5A9pmnEgs="; 17 + sha256 = "sha256-w5FNZ7oFA+2weZtEsLX6eOwNyqVreDHg+2FApTsV5L0="; 18 18 }; 19 19 20 20 vendorHash = "sha256-I/cZa5IDmnYw/MU5h7jarYqbTY+5NrDDj5pz9WTcvGo=";
+3 -3
pkgs/servers/geospatial/tile38/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "tile38"; 5 - version = "1.31.0"; 5 + version = "1.32.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "tidwall"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-aGt5iBVT5MTbnuoZ4zd5r6sIwmNKPo1J7UjDAefKfPo="; 11 + sha256 = "sha256-NSoi7CsxL+6DoKZZal+xhjlSz+9N9CFyzlMrTYHbiW8="; 12 12 }; 13 13 14 - vendorHash = "sha256-9KK1IRwERcJtVnK4y5l3Nr87I3hg7E8nJuJjRiCMCZk="; 14 + vendorHash = "sha256-Vy5ct5JP2t3085TM4CCWVEAQR4mAqVbGM5JE2KctSlU="; 15 15 16 16 subPackages = [ "cmd/tile38-cli" "cmd/tile38-server" ]; 17 17
+1 -1
pkgs/servers/mlflow-server/default.nix
··· 11 11 py.mysqlclient 12 12 ]; 13 13 14 - postPatch = '' 14 + postPatch = (old.postPatch or "") + '' 15 15 substituteInPlace mlflow/utils/process.py --replace \ 16 16 "child = subprocess.Popen(cmd, env=cmd_env, cwd=cwd, universal_newlines=True," \ 17 17 "cmd[0]='$out/bin/gunicornMlflow'; child = subprocess.Popen(cmd, env=cmd_env, cwd=cwd, universal_newlines=True,"
+1
pkgs/tools/backup/bupstash/default.nix
··· 29 29 license = licenses.mit; 30 30 platforms = platforms.unix; 31 31 maintainers = with maintainers; [ andrewchambers ]; 32 + mainProgram = "bupstash"; 32 33 }; 33 34 }
+1
pkgs/tools/misc/fd/default.nix
··· 45 45 changelog = "https://github.com/sharkdp/fd/blob/v${version}/CHANGELOG.md"; 46 46 license = with licenses; [ asl20 /* or */ mit ]; 47 47 maintainers = with maintainers; [ dywedir figsoda globin ma27 zowoq ]; 48 + mainProgram = "fd"; 48 49 }; 49 50 }
+2 -2
pkgs/tools/misc/pspg/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "pspg"; 5 - version = "5.7.8"; 5 + version = "5.8.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "okbob"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-gJsRVDKcLrXa20u2vrUaChTX2tj169x4SmJqa7dceu4="; 11 + sha256 = "sha256-VkWGVKLN8arc6BOivmjSk8MtMbp2WYqZE9lM8oTQe+U="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkg-config installShellFiles ];
+9 -8
pkgs/tools/networking/autossh/default.nix
··· 1 - {lib, stdenv, fetchurl, openssh}: 1 + { lib, stdenv, fetchurl, openssh }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "autossh"; ··· 17 17 nativeBuildInputs = [ openssh ]; 18 18 19 19 installPhase = '' 20 - install -D -m755 autossh $out/bin/autossh || return 1 21 - install -D -m644 CHANGES $out/share/doc/autossh/CHANGES || return 1 22 - install -D -m644 README $out/share/doc/autossh/README || return 1 23 - install -D -m644 autossh.host $out/share/autossh/examples/autossh.host || return 1 24 - install -D -m644 rscreen $out/share/autossh/examples/rscreen || return 1 25 - install -D -m644 autossh.1 $out/man/man1/autossh.1 || return 1 26 - ''; 20 + install -D -m755 autossh $out/bin/autossh || return 1 21 + install -D -m644 CHANGES $out/share/doc/autossh/CHANGES || return 1 22 + install -D -m644 README $out/share/doc/autossh/README || return 1 23 + install -D -m644 autossh.host $out/share/autossh/examples/autossh.host || return 1 24 + install -D -m644 rscreen $out/share/autossh/examples/rscreen || return 1 25 + install -D -m644 autossh.1 $out/man/man1/autossh.1 || return 1 26 + ''; 27 27 28 28 meta = with lib; { 29 29 homepage = "https://www.harding.motd.ca/autossh/"; ··· 31 31 license = licenses.bsd1; 32 32 platforms = platforms.unix; 33 33 maintainers = with maintainers; [ pSub ]; 34 + mainProgram = "autossh"; 34 35 }; 35 36 }
+2 -2
pkgs/tools/networking/junkie/default.nix
··· 28 28 buildInputs = [ libpcap guile_2_2 openssl ]; 29 29 nativeBuildInputs = [ autoreconfHook pkg-config ]; 30 30 configureFlags = [ 31 - "GUILELIBDIR=\${out}/share/guile/site" 32 - "GUILECACHEDIR=\${out}/lib/guile/ccache" 31 + "GUILELIBDIR=\${out}/${guile_2_2.siteDir}" 32 + "GUILECACHEDIR=\${out}/${guile_2_2.siteCcacheDir}" 33 33 ]; 34 34 35 35 meta = {
+14 -15
pkgs/tools/networking/opensnitch/daemon.nix
··· 17 17 18 18 buildGoModule rec { 19 19 pname = "opensnitch"; 20 - version = "1.5.2"; 20 + version = "1.6.1"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "evilsocket"; 24 24 repo = "opensnitch"; 25 25 rev = "v${version}"; 26 - sha256 = "sha256-MF7K3WasG1xLdw1kWz6xVYrdfuZW5GUq6dlS0pPOkHI="; 26 + sha256 = "sha256-yEo5nga0WTbgZm8W2qbJcTOO4cCzFWrjRmTBCFH7GLg="; 27 27 }; 28 28 29 - patches = [ 30 - # https://github.com/evilsocket/opensnitch/pull/384 don't require 31 - # a configuration file in /etc 32 - (fetchpatch { 33 - name = "dont-require-config-in-etc.patch"; 34 - url = "https://github.com/evilsocket/opensnitch/commit/8a3f63f36aa92658217bbbf46d39e6d20b2c0791.patch"; 35 - sha256 = "sha256-WkwjKTQZppR0nqvRO4xiQoKZ307NvuUwoRx+boIpuTg="; 36 - }) 37 - ]; 38 - 39 29 modRoot = "daemon"; 40 30 41 - buildInputs = [ libnetfilter_queue libnfnetlink ]; 31 + buildInputs = [ 32 + libnetfilter_queue 33 + libnfnetlink 34 + ]; 42 35 43 - nativeBuildInputs = [ pkg-config protobuf go-protobuf makeWrapper protoc-gen-go-grpc ]; 36 + nativeBuildInputs = [ 37 + pkg-config 38 + protobuf 39 + go-protobuf 40 + makeWrapper 41 + protoc-gen-go-grpc 42 + ]; 44 43 45 - vendorSha256 = "sha256-jWP0oF+jZRFMi5Y2y0SARMoP8wTKVZ8UWra9JNzdSOw="; 44 + vendorSha256 = "sha256-bUzGWpQxeXzvkzQ7G53ljQJq6wwqiXqbi6bgeFlNvvM="; 46 45 47 46 preBuild = '' 48 47 # Fix inconsistent vendoring build error
+21 -4
pkgs/tools/networking/opensnitch/go.mod
··· 3 3 go 1.14 4 4 5 5 require ( 6 - github.com/evilsocket/ftrace v1.2.0 7 6 github.com/fsnotify/fsnotify v1.4.7 7 + github.com/golang/protobuf v1.5.0 8 8 github.com/google/gopacket v1.1.14 9 - github.com/google/nftables v0.0.0-20210514154851-a285acebcad3 9 + github.com/google/nftables v0.1.0 10 + github.com/google/uuid v1.3.0 10 11 github.com/iovisor/gobpf v0.2.0 12 + github.com/varlink/go v0.4.0 11 13 github.com/vishvananda/netlink v0.0.0-20210811191823-e1a867c6b452 12 - golang.org/x/net v0.0.0-20191028085509-fe3aa8a45271 13 - golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1 14 + github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae 15 + golang.org/x/net v0.0.0-20211209124913-491a49abca63 16 + golang.org/x/sys v0.0.0-20211205182925-97ca703d548d 14 17 google.golang.org/grpc v1.32.0 15 18 google.golang.org/protobuf v1.26.0 16 19 ) 20 + 21 + require ( 22 + github.com/BurntSushi/toml v0.4.1 // indirect 23 + github.com/google/go-cmp v0.5.6 // indirect 24 + github.com/josharian/native v0.0.0-20200817173448-b6b71def0850 // indirect 25 + github.com/mdlayher/netlink v1.4.2 // indirect 26 + github.com/mdlayher/socket v0.0.0-20211102153432-57e3fa563ecb // indirect 27 + golang.org/x/mod v0.5.1 // indirect 28 + golang.org/x/text v0.3.7 // indirect 29 + golang.org/x/tools v0.1.8 // indirect 30 + golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect 31 + google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 // indirect 32 + honnef.co/go/tools v0.2.2 // indirect 33 + )
+122 -16
pkgs/tools/networking/opensnitch/go.sum
··· 1 1 cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= 2 2 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= 3 + github.com/BurntSushi/toml v0.4.1 h1:GaI7EiDXDRfa8VshkTj7Fym7ha+y8/XxIgD2okUIjLw= 4 + github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= 3 5 github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= 6 + github.com/cilium/ebpf v0.5.0/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= 7 + github.com/cilium/ebpf v0.7.0/go.mod h1:/oI2+1shJiTGAMgl6/RgJr36Eo1jzrRcAWbcXO2usCA= 4 8 github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= 5 9 github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= 10 + github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 6 11 github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= 7 12 github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= 8 13 github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= 9 - github.com/evilsocket/ftrace v1.2.0 h1:SHa+EQzNOtWO/BsOyL+6UNTSoVvnMYCKHZalWRtWvUw= 10 - github.com/evilsocket/ftrace v1.2.0/go.mod h1:CJ9cMkpTofsHSNDovrcFezQ5NteqGDerh7psoSM38Dc= 14 + github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= 11 15 github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= 12 16 github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= 13 17 github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= ··· 20 24 github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= 21 25 github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 22 26 github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 23 - github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= 27 + github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 28 + github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 24 29 github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 30 + github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ= 31 + github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 25 32 github.com/google/gopacket v1.1.14 h1:1+TEhSu8Mh154ZBVjyd1Nt2Bb7cnyOeE3GQyb1WGLqI= 26 33 github.com/google/gopacket v1.1.14/go.mod h1:UCLx9mCmAwsVbn6qQl1WIEt2SO7Nd2fD0th1TBAsqBw= 27 - github.com/google/nftables v0.0.0-20210514154851-a285acebcad3 h1:jv+t8JqcvaSeB0r4u3356q7RE5tagFbVC0Bi1x13YFc= 28 - github.com/google/nftables v0.0.0-20210514154851-a285acebcad3/go.mod h1:cfspEyr/Ap+JDIITA+N9a0ernqG0qZ4W1aqMRgDZa1g= 34 + github.com/google/nftables v0.1.0 h1:T6lS4qudrMufcNIZ8wSRrL+iuwhsKxpN+zFLxhUWOqk= 35 + github.com/google/nftables v0.1.0/go.mod h1:b97ulCCFipUC+kSin+zygkvUVpx0vyIAwxXFdY3PlNc= 36 + github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= 37 + github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= 29 38 github.com/iovisor/gobpf v0.2.0 h1:34xkQxft+35GagXBk3n23eqhm0v7q0ejeVirb8sqEOQ= 30 39 github.com/iovisor/gobpf v0.2.0/go.mod h1:WSY9Jj5RhdgC3ci1QaacvbFdQ8cbrEjrpiZbLHLt2s4= 31 - github.com/jsimonetti/rtnetlink v0.0.0-20190606172950-9527aa82566a h1:84IpUNXj4mCR9CuCEvSiCArMbzr/TMbuPIadKDwypkI= 40 + github.com/josharian/native v0.0.0-20200817173448-b6b71def0850 h1:uhL5Gw7BINiiPAo24A2sxkcDI0Jt/sqp1v5xQCniEFA= 41 + github.com/josharian/native v0.0.0-20200817173448-b6b71def0850/go.mod h1:7X/raswPFr05uY3HiLlYeyQntB6OO7E/d2Cu7qoaN2w= 32 42 github.com/jsimonetti/rtnetlink v0.0.0-20190606172950-9527aa82566a/go.mod h1:Oz+70psSo5OFh8DBl0Zv2ACw7Esh6pPUphlvZG9x7uw= 33 - github.com/koneu/natend v0.0.0-20150829182554-ec0926ea948d h1:MFX8DxRnKMY/2M3H61iSsVbo/n3h0MWGmWNN1UViOU0= 34 - github.com/koneu/natend v0.0.0-20150829182554-ec0926ea948d/go.mod h1:QHb4k4cr1fQikUahfcRVPcEXiUgFsdIstGqlurL0XL4= 43 + github.com/jsimonetti/rtnetlink v0.0.0-20200117123717-f846d4f6c1f4/go.mod h1:WGuG/smIU4J/54PblvSbh+xvCZmpJnFgr3ds6Z55XMQ= 44 + github.com/jsimonetti/rtnetlink v0.0.0-20201009170750-9c6f07d100c1/go.mod h1:hqoO/u39cqLeBLebZ8fWdE96O7FxrAsRYhnVOdgHxok= 45 + github.com/jsimonetti/rtnetlink v0.0.0-20201216134343-bde56ed16391/go.mod h1:cR77jAZG3Y3bsb8hF6fHJbFoyFukLFOkQ98S0pQz3xw= 46 + github.com/jsimonetti/rtnetlink v0.0.0-20201220180245-69540ac93943/go.mod h1:z4c53zj6Eex712ROyh8WI0ihysb5j2ROyV42iNogmAs= 47 + github.com/jsimonetti/rtnetlink v0.0.0-20210122163228-8d122574c736/go.mod h1:ZXpIyOK59ZnN7J0BV99cZUPmsqDRZ3eq5X+st7u/oSA= 48 + github.com/jsimonetti/rtnetlink v0.0.0-20210212075122-66c871082f2b/go.mod h1:8w9Rh8m+aHZIG69YPGGem1i5VzoyRC8nw2kA8B+ik5U= 49 + github.com/jsimonetti/rtnetlink v0.0.0-20210525051524-4cc836578190/go.mod h1:NmKSdU4VGSiv1bMsdqNALI4RSvvjtz65tTMCnD05qLo= 50 + github.com/jsimonetti/rtnetlink v0.0.0-20211022192332-93da33804786 h1:N527AHMa793TP5z5GNAn/VLPzlc0ewzWdeP/25gDfgQ= 51 + github.com/jsimonetti/rtnetlink v0.0.0-20211022192332-93da33804786/go.mod h1:v4hqbTdfQngbVSZJVWUhGE/lbTFf9jb+ygmNUDQMuOs= 52 + github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= 53 + github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= 54 + github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= 55 + github.com/mdlayher/ethtool v0.0.0-20210210192532-2b88debcdd43/go.mod h1:+t7E0lkKfbBsebllff1xdTmyJt8lH37niI6kwFk9OTo= 56 + github.com/mdlayher/ethtool v0.0.0-20211028163843-288d040e9d60 h1:tHdB+hQRHU10CfcK0furo6rSNgZ38JT8uPh70c/pFD8= 57 + github.com/mdlayher/ethtool v0.0.0-20211028163843-288d040e9d60/go.mod h1:aYbhishWc4Ai3I2U4Gaa2n3kHWSwzme6EsG/46HRQbE= 58 + github.com/mdlayher/genetlink v1.0.0 h1:OoHN1OdyEIkScEmRgxLEe2M9U8ClMytqA5niynLtfj0= 59 + github.com/mdlayher/genetlink v1.0.0/go.mod h1:0rJ0h4itni50A86M2kHcgS85ttZazNt7a8H2a2cw0Gc= 35 60 github.com/mdlayher/netlink v0.0.0-20190409211403-11939a169225/go.mod h1:eQB3mZE4aiYnlUsyGGCOpPETfdQq4Jhsgf1fk3cwQaA= 36 - github.com/mdlayher/netlink v0.0.0-20191009155606-de872b0d824b h1:W3er9pI7mt2gOqOWzwvx20iJ8Akiqz1mUMTxU6wdvl8= 37 - github.com/mdlayher/netlink v0.0.0-20191009155606-de872b0d824b/go.mod h1:KxeJAFOFLG6AjpyDkQ/iIhxygIUKD+vcwqcnu43w/+M= 61 + github.com/mdlayher/netlink v1.0.0/go.mod h1:KxeJAFOFLG6AjpyDkQ/iIhxygIUKD+vcwqcnu43w/+M= 62 + github.com/mdlayher/netlink v1.1.0/go.mod h1:H4WCitaheIsdF9yOYu8CFmCgQthAPIWZmcKp9uZHgmY= 63 + github.com/mdlayher/netlink v1.1.1/go.mod h1:WTYpFb/WTvlRJAyKhZL5/uy69TDDpHHu2VZmb2XgV7o= 64 + github.com/mdlayher/netlink v1.2.0/go.mod h1:kwVW1io0AZy9A1E2YYgaD4Cj+C+GPkU6klXCMzIJ9p8= 65 + github.com/mdlayher/netlink v1.2.1/go.mod h1:bacnNlfhqHqqLo4WsYeXSqfyXkInQ9JneWI68v1KwSU= 66 + github.com/mdlayher/netlink v1.2.2-0.20210123213345-5cc92139ae3e/go.mod h1:bacnNlfhqHqqLo4WsYeXSqfyXkInQ9JneWI68v1KwSU= 67 + github.com/mdlayher/netlink v1.3.0/go.mod h1:xK/BssKuwcRXHrtN04UBkwQ6dY9VviGGuriDdoPSWys= 68 + github.com/mdlayher/netlink v1.4.0/go.mod h1:dRJi5IABcZpBD2A3D0Mv/AiX8I9uDEu5oGkAVrekmf8= 69 + github.com/mdlayher/netlink v1.4.1/go.mod h1:e4/KuJ+s8UhfUpO9z00/fDZZmhSrs+oxyqAS9cNgn6Q= 70 + github.com/mdlayher/netlink v1.4.2 h1:3sbnJWe/LETovA7yRZIX3f9McVOWV3OySH6iIBxiFfI= 71 + github.com/mdlayher/netlink v1.4.2/go.mod h1:13VaingaArGUTUxFLf/iEovKxXji32JAtF858jZYEug= 72 + github.com/mdlayher/socket v0.0.0-20210307095302-262dc9984e00/go.mod h1:GAFlyu4/XV68LkQKYzKhIo/WW7j3Zi0YRAz/BOoanUc= 73 + github.com/mdlayher/socket v0.0.0-20211007213009-516dcbdf0267/go.mod h1:nFZ1EtZYK8Gi/k6QNu7z7CgO20i/4ExeQswwWuPmG/g= 74 + github.com/mdlayher/socket v0.0.0-20211102153432-57e3fa563ecb h1:2dC7L10LmTqlyMVzFJ00qM25lqESg9Z4u3GuEXN5iHY= 75 + github.com/mdlayher/socket v0.0.0-20211102153432-57e3fa563ecb/go.mod h1:nFZ1EtZYK8Gi/k6QNu7z7CgO20i/4ExeQswwWuPmG/g= 38 76 github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 77 + github.com/varlink/go v0.4.0 h1:+/BQoUO9eJK/+MTSHwFcJch7TMsb6N6Dqp6g0qaXXRo= 78 + github.com/varlink/go v0.4.0/go.mod h1:DKg9Y2ctoNkesREGAEak58l+jOC6JU2aqZvUYs5DynU= 39 79 github.com/vishvananda/netlink v0.0.0-20210811191823-e1a867c6b452 h1:xe1bLd/sNkKVWdZuAb2+4JeMQMYyQ7Av38iRrE1lhm8= 40 80 github.com/vishvananda/netlink v0.0.0-20210811191823-e1a867c6b452/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= 41 81 github.com/vishvananda/netns v0.0.0-20180720170159-13995c7128cc/go.mod h1:ZjcWmFBXmLKZu9Nxj3WKYEafiSqer2rnvPr0en9UNpI= 42 82 github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae h1:4hwBBUfQCFe3Cym0ZtKyq7L16eZUtYKs+BaHDN6mAns= 43 83 github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= 84 + github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 85 + github.com/yuin/goldmark v1.4.0/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= 86 + github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= 44 87 golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= 88 + golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 89 + golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= 45 90 golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= 46 91 golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= 47 92 golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= 48 93 golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 94 + golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= 95 + golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= 96 + golang.org/x/mod v0.5.1 h1:OJxoQ/rynoF0dcCdI7cLPktw/hR2cueqYfjm43oqK38= 97 + golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= 49 98 golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 50 99 golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 51 100 golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 52 101 golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 102 + golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 103 + golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 53 104 golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 54 - golang.org/x/net v0.0.0-20191028085509-fe3aa8a45271 h1:N66aaryRB3Ax92gH0v3hp1QYZ3zWWCCUR/j8Ifh45Ss= 55 - golang.org/x/net v0.0.0-20191028085509-fe3aa8a45271/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 105 + golang.org/x/net v0.0.0-20191007182048-72f939374954/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 106 + golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 107 + golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= 108 + golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= 109 + golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= 110 + golang.org/x/net v0.0.0-20201216054612-986b41b23924/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= 111 + golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= 112 + golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= 113 + golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= 114 + golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 115 + golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 116 + golang.org/x/net v0.0.0-20210928044308-7d9f5e0b762b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 117 + golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 118 + golang.org/x/net v0.0.0-20211020060615-d418f374d309/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 119 + golang.org/x/net v0.0.0-20211201190559-0a0e4e1bb54c/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 120 + golang.org/x/net v0.0.0-20211209124913-491a49abca63 h1:iocB37TsdFuN6IBRZ+ry36wrkoV51/tl5vOWqkcPGvY= 121 + golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 56 122 golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= 57 123 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 58 124 golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 59 125 golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 126 + golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 127 + golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 60 128 golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 61 129 golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 62 130 golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 63 131 golang.org/x/sys v0.0.0-20190411185658-b44545bcd369/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 132 + golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 64 133 golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 65 - golang.org/x/sys v0.0.0-20191029155521-f43be2a4598c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 134 + golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 135 + golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 66 136 golang.org/x/sys v0.0.0-20200217220822-9197077df867/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 67 - golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1 h1:sIky/MyNRSHTrdxfsiUSS4WIAMvInbeXljJz+jDjeYE= 68 137 golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 69 - golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= 138 + golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 139 + golang.org/x/sys v0.0.0-20201009025420-dfb3f7c4e634/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 140 + golang.org/x/sys v0.0.0-20201118182958-a01c418693c7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 141 + golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 142 + golang.org/x/sys v0.0.0-20201218084310-7d0127a74742/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 143 + golang.org/x/sys v0.0.0-20210110051926-789bb1bd4061/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 144 + golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 145 + golang.org/x/sys v0.0.0-20210123111255-9b0068b26619/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 146 + golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 147 + golang.org/x/sys v0.0.0-20210216163648-f7da38b97c65/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 148 + golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 149 + golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 150 + golang.org/x/sys v0.0.0-20210525143221-35b2ab0089ea/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 151 + golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 152 + golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 153 + golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 154 + golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 155 + golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 156 + golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 157 + golang.org/x/sys v0.0.0-20211205182925-97ca703d548d h1:FjkYO/PPp4Wi0EAUOVLxePm7qVW4r4ctbWpURyuOD0E= 158 + golang.org/x/sys v0.0.0-20211205182925-97ca703d548d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 159 + golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= 70 160 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 161 + golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 162 + golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 163 + golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= 164 + golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= 165 + golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 71 166 golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 72 167 golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= 73 168 golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 74 169 golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 75 - golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= 170 + golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 171 + golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= 172 + golang.org/x/tools v0.1.7/go.mod h1:LGqMHiF4EqQNHR1JncWGqT5BVaXmza+X+BDGol+dOxo= 173 + golang.org/x/tools v0.1.8 h1:P1HhGGuLW4aAclzjtmJdf0mJOjVUZUzOTqkAkWL+l6w= 174 + golang.org/x/tools v0.1.8/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= 175 + golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 176 + golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 76 177 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 178 + golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= 179 + golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 77 180 google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= 78 181 google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= 79 182 google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= ··· 89 192 google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= 90 193 honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 91 194 honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 195 + honnef.co/go/tools v0.2.1/go.mod h1:lPVVZ2BS5TfnjLyizF7o7hv7j9/L+8cZY2hLyjP9cGY= 196 + honnef.co/go/tools v0.2.2 h1:MNh1AVMyVX23VUHE2O27jm6lNj3vjO5DexS4A1xvnzk= 197 + honnef.co/go/tools v0.2.2/go.mod h1:lPVVZ2BS5TfnjLyizF7o7hv7j9/L+8cZY2hLyjP9cGY=
+3 -3
pkgs/tools/networking/opensnitch/ui.nix
··· 6 6 7 7 python3Packages.buildPythonApplication rec { 8 8 pname = "opensnitch-ui"; 9 - version = "1.5.2"; 9 + version = "1.6.1"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "evilsocket"; 13 13 repo = "opensnitch"; 14 14 rev = "refs/tags/v${version}"; 15 - sha256 = "sha256-MF7K3WasG1xLdw1kWz6xVYrdfuZW5GUq6dlS0pPOkHI="; 15 + sha256 = "sha256-yEo5nga0WTbgZm8W2qbJcTOO4cCzFWrjRmTBCFH7GLg="; 16 16 }; 17 17 18 18 postPatch = '' 19 - substituteInPlace ui/opensnitch/utils.py \ 19 + substituteInPlace ui/opensnitch/utils/__init__.py \ 20 20 --replace /usr/lib/python3/dist-packages/data ${python3Packages.pyasn}/${python3Packages.python.sitePackages}/pyasn/data 21 21 ''; 22 22
+3 -3
pkgs/tools/networking/restish/default.nix
··· 10 10 11 11 buildGoModule rec { 12 12 pname = "restish"; 13 - version = "0.17.0"; 13 + version = "0.18.0"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "danielgtaylor"; 17 17 repo = "restish"; 18 18 rev = "refs/tags/v${version}"; 19 - hash = "sha256-sXktiYCymoqZgEWQJHYn9KAUxtZYNCSyDyPC8D/X+Mw="; 19 + hash = "sha256-DvI1pe4ONuIhSecJOhv6GKRzOYHo+jePqT8oYVvcKnM="; 20 20 }; 21 21 22 - vendorHash = "sha256-quDHEoHVAEAnw+M0xiAd07s/EOhVUgH0T1z8TaBcbj0="; 22 + vendorHash = "sha256-sUBqeLhpWUu1NfAmFQCKFHm8DQaB8LYRrFexvuF8vC8="; 23 23 24 24 buildInputs = lib.optionals stdenv.isDarwin [ 25 25 darwin.apple_sdk.frameworks.Cocoa
+2 -2
pkgs/tools/security/lynis/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "lynis"; 5 - version = "3.0.8"; 5 + version = "3.0.9"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "CISOfy"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-fPQX/Iz+dc3nF3xMPt0bek4JC2XSHe4aC4O0tZwLf6Y="; 11 + sha256 = "sha256-Qf5YVvsw4o2ZS3KjrHPJt8+iPr7G97egdDRN+peL8eU="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ installShellFiles makeWrapper ];
+1
pkgs/tools/security/ssh-to-age/default.nix
··· 26 26 homepage = "https://github.com/Mic92/ssh-to-age"; 27 27 license = licenses.mit; 28 28 maintainers = with maintainers; [ mic92 ]; 29 + mainProgram = "ssh-to-age"; 29 30 }; 30 31 }
+3 -3
pkgs/tools/text/mdbook-katex/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "mdbook-katex"; 5 - version = "0.5.5"; 5 + version = "0.5.6"; 6 6 7 7 src = fetchCrate { 8 8 inherit pname version; 9 - hash = "sha256-ZiMMO3v//re6rCwDojJqaXChKL4wTK1fKVdQ8plHv9Q="; 9 + hash = "sha256-aG7mXMDogGfAHwz+itJthl7sJ4o+Oz5RnrTHNstrh28="; 10 10 }; 11 11 12 - cargoHash = "sha256-FEyUWR5WcKZsGTFAnvysYReH1wOrKYoKQ0wlrPaW4ok="; 12 + cargoHash = "sha256-LE9NalzCTYvcj7WwQKVc7HkbyUj9zQIA2RfK8uxNfOk="; 13 13 14 14 buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; 15 15
+5 -9
pkgs/tools/typesetting/skribilo/default.nix
··· 46 46 ++ optional enablePloticus ploticus 47 47 ++ optional enableTex tex; 48 48 49 - postInstall = 50 - let 51 - guileVersion = lib.versions.majorMinor guile.version; 52 - in 53 - '' 54 - wrapProgram $out/bin/skribilo \ 55 - --prefix GUILE_LOAD_PATH : "$out/share/guile/site/${guileVersion}:$GUILE_LOAD_PATH" \ 56 - --prefix GUILE_LOAD_COMPILED_PATH : "$out/lib/guile/${guileVersion}/site-ccache:$GUILE_LOAD_COMPILED_PATH" 57 - ''; 49 + postInstall = '' 50 + wrapProgram $out/bin/skribilo \ 51 + --prefix GUILE_LOAD_PATH : "$out/${guile.siteDir}:$GUILE_LOAD_PATH" \ 52 + --prefix GUILE_LOAD_COMPILED_PATH : "$out/${guile.siteCcacheDir}:$GUILE_LOAD_COMPILED_PATH" 53 + ''; 58 54 59 55 meta = { 60 56 homepage = "https://www.nongnu.org/skribilo/";
+2
pkgs/top-level/all-packages.nix
··· 25553 25553 25554 25554 fastjar = callPackage ../development/tools/java/fastjar { }; 25555 25555 25556 + jextract = callPackage ../development/tools/java/jextract { }; 25557 + 25556 25558 httpunit = callPackage ../development/libraries/java/httpunit { }; 25557 25559 25558 25560 javaCup = callPackage ../development/libraries/java/cup {