From 4d0dbe13f1ef9219177e9fac0aeb7c80549d485e Mon Sep 17 00:00:00 2001 From: FKouhai Date: Fri, 9 May 2025 20:28:54 +0200 Subject: [PATCH 01/44] tmuxPlugins.harpoon: init at 0.4.0 --- pkgs/misc/tmux-plugins/default.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix index 8cc8f8200cd5..61b208377837 100644 --- a/pkgs/misc/tmux-plugins/default.nix +++ b/pkgs/misc/tmux-plugins/default.nix @@ -356,6 +356,26 @@ in }; }; + harpoon = mkTmuxPlugin { + pluginName = "harpoon"; + rtpFilePath = "harpoon.tmux"; + version = "0.4.0"; + src = fetchFromGitHub { + owner = "chaitanyabsprip"; + repo = "tmux-harpoon"; + rev = "v0.4.0"; + hash = "sha256-+IakWkPoQFhIQ4m/98NVYWe5tFKmtfKBnPXZcfU9iOk="; + }; + meta = { + homepage = "https://github.com/Chaitanyabsprip/tmux-harpoon"; + downloadPage = "https://github.com/Chaitanyabsprip/tmux-harpoon"; + description = "Tool to bookmark session supporting auto create for sessions"; + license = lib.licenses.mit; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ FKouhai ]; + }; + }; + jump = mkTmuxPlugin { pluginName = "jump"; version = "2020-06-26"; From 3f9dd53a32aa29a7fb6f7084bc42e6a6ea4ebd78 Mon Sep 17 00:00:00 2001 From: FKouhai Date: Sat, 10 May 2025 14:06:48 +0200 Subject: [PATCH 02/44] tmuxPlugins.dotbar: init at 0.3.0 --- pkgs/misc/tmux-plugins/default.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix index 8cc8f8200cd5..5688acda5256 100644 --- a/pkgs/misc/tmux-plugins/default.nix +++ b/pkgs/misc/tmux-plugins/default.nix @@ -238,6 +238,26 @@ in }; }; + dotbar = mkTmuxPlugin rec { + pluginName = "dotbar"; + version = "0.3.0"; + src = fetchFromGitHub { + owner = "vaaleyard"; + repo = "tmux-dotbar"; + tag = version; + hash = "sha256-n9k18pJnd5mnp9a7VsMBmEHDwo3j06K6/G6p7/DTyIY="; + }; + meta = { + homepage = "https://github.com/vaaleyard/tmux-dotbar"; + downloadPage = "https://github.com/vaaleyard/tmux-dotbar"; + description = "Simple and minimalist status bar for tmux"; + changelog = "https://github.com/vaaleyard/tmux-dotbar/releases/tag/${version}"; + license = lib.licenses.mit; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ FKouhai ]; + }; + }; + extrakto = mkTmuxPlugin { pluginName = "extrakto"; version = "0-unstable-2024-08-25"; From ed3f4665ebf10cc8532c1c43d377e6f764c145ae Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 1 Jul 2025 11:33:29 +0000 Subject: [PATCH 03/44] minecraft-server: 1.21.6 -> 1.21.7 --- pkgs/games/minecraft-servers/versions.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/games/minecraft-servers/versions.json b/pkgs/games/minecraft-servers/versions.json index a03d4ef79963..0dc95b13ca14 100644 --- a/pkgs/games/minecraft-servers/versions.json +++ b/pkgs/games/minecraft-servers/versions.json @@ -1,8 +1,8 @@ { "1.21": { - "sha1": "6e64dcabba3c01a7271b4fa6bd898483b794c59b", - "url": "https://piston-data.mojang.com/v1/objects/6e64dcabba3c01a7271b4fa6bd898483b794c59b/server.jar", - "version": "1.21.6", + "sha1": "05e4b48fbc01f0385adb74bcff9751d34552486c", + "url": "https://piston-data.mojang.com/v1/objects/05e4b48fbc01f0385adb74bcff9751d34552486c/server.jar", + "version": "1.21.7", "javaVersion": 21 }, "1.20": { From a8050ebed5d7f28bd28defdbfb743c2fe11b219c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 1 Jul 2025 20:52:36 +0000 Subject: [PATCH 04/44] faudio: 25.06 -> 25.07 --- pkgs/by-name/fa/faudio/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/fa/faudio/package.nix b/pkgs/by-name/fa/faudio/package.nix index ce32ccba93ee..1c19f7ca8b9d 100644 --- a/pkgs/by-name/fa/faudio/package.nix +++ b/pkgs/by-name/fa/faudio/package.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "faudio"; - version = "25.06"; + version = "25.07"; src = fetchFromGitHub { owner = "FNA-XNA"; repo = "FAudio"; tag = finalAttrs.version; - hash = "sha256-wIFUOOpI/kUeXjodHwt1KZ30ooSYEGrZ8XSW0zOm3xk="; + hash = "sha256-ZMU3ntvnUHbeWQ5k5ZSnSLBABGm/F/rSAUM4blorpts="; }; nativeBuildInputs = [ cmake ]; From 974e4fcb1955d9c0dd80d0b826f4392093052d74 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 2 Jul 2025 04:01:17 +0000 Subject: [PATCH 05/44] python3Packages.gocardless-pro: 3.1.0 -> 3.2.0 --- pkgs/development/python-modules/gocardless-pro/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gocardless-pro/default.nix b/pkgs/development/python-modules/gocardless-pro/default.nix index 41996ccf90fa..a4c998e8a63c 100644 --- a/pkgs/development/python-modules/gocardless-pro/default.nix +++ b/pkgs/development/python-modules/gocardless-pro/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "gocardless-pro"; - version = "3.1.0"; + version = "3.2.0"; pyproject = true; src = fetchFromGitHub { owner = "gocardless"; repo = "gocardless-pro-python"; tag = "v${version}"; - hash = "sha256-NbUgntDZnre6raLGhC2NIY1DctaYInSk5JvsTRDO/dQ="; + hash = "sha256-nSgOHc4Y8wes2lYWWdhxkGXiXUaRnpaj1/gnmeA7dXA="; }; build-system = [ setuptools ]; From cfc7ee3c304cf77a4fbab284687c85655f2f6d4a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 3 Jul 2025 09:34:57 +0000 Subject: [PATCH 06/44] libcpr: 1.11.2 -> 1.12.0 --- pkgs/by-name/li/libcpr/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libcpr/package.nix b/pkgs/by-name/li/libcpr/package.nix index 7c917f58ea67..d3f10664c66f 100644 --- a/pkgs/by-name/li/libcpr/package.nix +++ b/pkgs/by-name/li/libcpr/package.nix @@ -8,7 +8,7 @@ }: let - version = "1.11.2"; + version = "1.12.0"; in stdenv.mkDerivation { pname = "libcpr"; @@ -23,7 +23,7 @@ stdenv.mkDerivation { owner = "libcpr"; repo = "cpr"; rev = version; - hash = "sha256-nKX9AYVC4e3B+vOzXWZu8S4I5BNpKnqkFJ2e8bVAUE4="; + hash = "sha256-OkOyh2ibt/jX/Dc+TB1uSlWtzEhdSQwHVN96oCOh2yM="; }; nativeBuildInputs = [ cmake ]; From 17cfe1b31685caa6a267faa09f8d308e53755362 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 5 Jul 2025 06:19:28 +0000 Subject: [PATCH 07/44] _389-ds-base: 3.1.2 -> 3.1.3 --- pkgs/by-name/_3/_389-ds-base/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/_3/_389-ds-base/package.nix b/pkgs/by-name/_3/_389-ds-base/package.nix index a31f30360c7c..a71569261dc7 100644 --- a/pkgs/by-name/_3/_389-ds-base/package.nix +++ b/pkgs/by-name/_3/_389-ds-base/package.nix @@ -40,20 +40,20 @@ stdenv.mkDerivation (finalAttrs: { pname = "389-ds-base"; - version = "3.1.2"; + version = "3.1.3"; src = fetchFromGitHub { owner = "389ds"; repo = "389-ds-base"; rev = "389-ds-base-${finalAttrs.version}"; - hash = "sha256-FIx+ZW3K5KevU+wAiwPbDAQ6q7rPFEHFa+5eKqtgzpQ="; + hash = "sha256-hRTK9xBu8v8+SGa/3IB8Alh/aGUiRRn2LmYOvXy0Yd4="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) src; sourceRoot = "${finalAttrs.src.name}/src"; name = "389-ds-base-${finalAttrs.version}"; - hash = "sha256-8A2xnJI22mjupX5FVsvRa5RfWyOE+VLH2aJwBHjDOME="; + hash = "sha256-pNzMQjeBpmzFg6oWCxhLDmKGUKIW6jGmZQWai5Yunjc="; }; nativeBuildInputs = [ From 47138a6da97ae1a8f6f8c001fd6591c5c9908a2d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 10 Jul 2025 05:54:13 +0000 Subject: [PATCH 08/44] python3Packages.bayesian-optimization: 3.0.0 -> 3.0.1 --- .../python-modules/bayesian-optimization/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bayesian-optimization/default.nix b/pkgs/development/python-modules/bayesian-optimization/default.nix index 3be4d88b8cf8..22fc9d78767c 100644 --- a/pkgs/development/python-modules/bayesian-optimization/default.nix +++ b/pkgs/development/python-modules/bayesian-optimization/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "bayesian-optimization"; - version = "3.0.0"; + version = "3.0.1"; pyproject = true; src = fetchFromGitHub { owner = "bayesian-optimization"; repo = "BayesianOptimization"; tag = "v${version}"; - hash = "sha256-ruMxuMTXVpS5oaZk994xIjgUnhpybrvhvy69nvU5feE="; + hash = "sha256-dq5R0/gqjSzQPAmYvtByJ6gT8pOiXcezfYlKpFLnryk="; }; build-system = [ poetry-core ]; From ceb1e6f6d5e1d097ec4ce08395e722542e249c2b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 19 Jul 2025 06:15:19 +0000 Subject: [PATCH 09/44] trealla: 2.78.0 -> 2.78.24 --- pkgs/by-name/tr/trealla/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/tr/trealla/package.nix b/pkgs/by-name/tr/trealla/package.nix index a7cb1b88a7cb..a95012b74f32 100644 --- a/pkgs/by-name/tr/trealla/package.nix +++ b/pkgs/by-name/tr/trealla/package.nix @@ -23,13 +23,13 @@ assert lib.elem lineEditingLibrary [ ]; stdenv.mkDerivation (finalAttrs: { pname = "trealla"; - version = "2.78.0"; + version = "2.78.24"; src = fetchFromGitHub { owner = "trealla-prolog"; repo = "trealla"; rev = "v${finalAttrs.version}"; - hash = "sha256-CJ1/Qbt6osuJZNuKiEaGEsDztVo8hTNOv6XvUQyWbFU="; + hash = "sha256-0OCb/U09b7DNd3bOEszuVH7gA0cRVqoWS7/HRZRFCIs="; }; postPatch = '' From cc14552a6cd073d5d316a301d3bd48f19827d32a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 21 Jul 2025 21:32:18 +0000 Subject: [PATCH 10/44] repomix: 1.1.0 -> 1.2.0 --- pkgs/by-name/re/repomix/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/re/repomix/package.nix b/pkgs/by-name/re/repomix/package.nix index f4aba15634f4..00efda0c3e4e 100644 --- a/pkgs/by-name/re/repomix/package.nix +++ b/pkgs/by-name/re/repomix/package.nix @@ -8,16 +8,16 @@ buildNpmPackage rec { pname = "repomix"; - version = "1.1.0"; + version = "1.2.0"; src = fetchFromGitHub { owner = "yamadashy"; repo = "repomix"; tag = "v${version}"; - hash = "sha256-kqbVQCXLxcDYtKJt34gzhvgXdpF786uk5N2j2W4pcRg="; + hash = "sha256-WLL9EBC7YQ3MH0/J/a18j3GsHBkJdS4+bucIenq0UwU="; }; - npmDepsHash = "sha256-Ewyfhx1VwbUVM045KcDvgTzTCEVEssMVQrNbbnwnz+8="; + npmDepsHash = "sha256-LEd0Wo0dgmCvEYB8yyqtVuyhDsUQAaHxvCl9nNVOVME="; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; From edadf6cc0f3a5eddb512eacd45aea4725b2ee1ff Mon Sep 17 00:00:00 2001 From: ssoss Date: Tue, 22 Jul 2025 11:45:36 -0500 Subject: [PATCH 11/44] services.openssh: use notify-reload for sshd --- nixos/modules/services/networking/ssh/sshd.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix index 12d725e1b7f9..895127bb416a 100644 --- a/nixos/modules/services/networking/ssh/sshd.nix +++ b/nixos/modules/services/networking/ssh/sshd.nix @@ -766,6 +766,7 @@ in restartTriggers = [ config.environment.etc."ssh/sshd_config".source ]; serviceConfig = { + Type = "notify-reload"; Restart = "always"; ExecStart = lib.concatStringsSep " " [ (lib.getExe' cfg.package "sshd") From c31d36d62407f8a9020cc34954055c9a866ddcbd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 24 Jul 2025 09:47:08 +0000 Subject: [PATCH 12/44] python3Packages.roadlib: 1.3.1 -> 1.4.0 --- pkgs/development/python-modules/roadlib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/roadlib/default.nix b/pkgs/development/python-modules/roadlib/default.nix index 443c189bd707..804b71d318ef 100644 --- a/pkgs/development/python-modules/roadlib/default.nix +++ b/pkgs/development/python-modules/roadlib/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "roadlib"; - version = "1.3.1"; + version = "1.4.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-RI6gUqCaOeLesIwHtsASEkTtdRxLCAP6+C5Yj8mBb2o="; + hash = "sha256-xiWX16bnEhy7Ykn0nEXpXLJJ5rsZrr2rYmu6WE5XhaQ="; }; build-system = [ setuptools ]; From b2d4a4f5d60779998a98552dc8e3b03d37952736 Mon Sep 17 00:00:00 2001 From: "Adam C. Stephens" Date: Thu, 24 Jul 2025 12:59:31 +0000 Subject: [PATCH 13/44] consul: 1.21.2 -> 1.21.3 https://github.com/hashicorp/consul/releases/tag/v1.21.3 --- pkgs/by-name/co/consul/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/co/consul/package.nix b/pkgs/by-name/co/consul/package.nix index 0b79797562ac..2fb4a89be3b3 100644 --- a/pkgs/by-name/co/consul/package.nix +++ b/pkgs/by-name/co/consul/package.nix @@ -8,7 +8,7 @@ buildGoModule rec { pname = "consul"; - version = "1.21.2"; + version = "1.21.3"; # Note: Currently only release tags are supported, because they have the Consul UI # vendored. See @@ -22,7 +22,7 @@ buildGoModule rec { owner = "hashicorp"; repo = "consul"; tag = "v${version}"; - hash = "sha256-ejslKLoZFxNKQiV9AH+djRIN1lUC4WvUBkaVOENsHwM="; + hash = "sha256-mWwDAlHbG0L/9xNAmUxAj2S5dDaWZaah/OWPndBRRWE="; }; # This corresponds to paths with package main - normally unneeded but consul @@ -32,7 +32,7 @@ buildGoModule rec { "connect/certgen" ]; - vendorHash = "sha256-Bmuc/nNNztd0wZqpLrFv4FZ/1CZ2lN1Bhob+grJJC8w="; + vendorHash = "sha256-jb/oUcqMHNBlDgqYNDai2Q9ChA98JGXwFHWNxnrMpaU="; doCheck = false; From a3947d986ff778c6aa9f55ee9cbba33ce5019c6b Mon Sep 17 00:00:00 2001 From: Ryan Hendrickson Date: Thu, 24 Jul 2025 13:25:04 -0400 Subject: [PATCH 14/44] tor: add tor.proxyHook tor.proxyHook is a setup hook intended for use with HTTP-based fetchers, enabling them to download from .onion addresses using Tor as a proxy. --- doc/build-helpers/fetchers.chapter.md | 2 + pkgs/build-support/fetchgit/default.nix | 13 ++++++ pkgs/build-support/fetchgit/nix-prefetch-git | 5 +++ pkgs/by-name/to/tor/package.nix | 16 ++++++- pkgs/by-name/to/tor/proxy-hook-tests.nix | 45 ++++++++++++++++++++ pkgs/by-name/to/tor/proxy-hook.sh | 19 +++++++++ 6 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 pkgs/by-name/to/tor/proxy-hook-tests.nix create mode 100644 pkgs/by-name/to/tor/proxy-hook.sh diff --git a/doc/build-helpers/fetchers.chapter.md b/doc/build-helpers/fetchers.chapter.md index 8ff1fdf11a19..5ee1d78501ca 100644 --- a/doc/build-helpers/fetchers.chapter.md +++ b/doc/build-helpers/fetchers.chapter.md @@ -163,6 +163,8 @@ Nixpkgs fetchers can make use of a http(s) proxy. Each fetcher will automaticall The environment variable `NIX_SSL_CERT_FILE` is also inherited in fetchers, and can be used to provide a custom certificate bundle to fetchers. This is usually required for a https proxy to work without certificate validation errors. +To use a temporary Tor instance as a proxy for fetching from `.onion` addresses, add `nativeBuildInputs = [ tor.proxyHook ];` to the fetcher parameters. + []{#fetchurl} ## `fetchurl` {#sec-pkgs-fetchers-fetchurl} diff --git a/pkgs/build-support/fetchgit/default.nix b/pkgs/build-support/fetchgit/default.nix index 374d55b0456c..b9c008742501 100644 --- a/pkgs/build-support/fetchgit/default.nix +++ b/pkgs/build-support/fetchgit/default.nix @@ -158,6 +158,19 @@ lib.makeOverridable ( "GIT_PROXY_COMMAND" "NIX_GIT_SSL_CAINFO" "SOCKS_SERVER" + + # This is a parameter intended to be set by setup hooks or preFetch + # scripts that want per-URL control over HTTP proxies used by Git + # (if per-URL control isn't needed, `http_proxy` etc. will + # suffice). It must be a whitespace-separated (with backslash as an + # escape character) list of pairs like this: + # + # http://domain1/path1 proxy1 https://domain2/path2 proxy2 + # + # where the URLs are as documented in the `git-config` manual page + # under `http..*`, and the proxies are as documented on the + # same page under `http.proxy`. + "FETCHGIT_HTTP_PROXIES" ]; inherit preferLocalBuild meta allowedRequisites; diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git index f8dd93912644..259138641ea9 100755 --- a/pkgs/build-support/fetchgit/nix-prefetch-git +++ b/pkgs/build-support/fetchgit/nix-prefetch-git @@ -126,6 +126,11 @@ init_remote(){ echo "$sparseCheckout" | git sparse-checkout set --stdin ${nonConeMode:+--no-cone} fi ( [ -n "$http_proxy" ] && clean_git config --global http.proxy "$http_proxy" ) || true + local proxy_pairs i + read -a proxy_pairs <<< "${FETCHGIT_HTTP_PROXIES:-}" + for ((i = 1; i < ${#proxy_pairs[@]}; i += 2)); do + clean_git config --global "http.${proxy_pairs[$i - 1]}.proxy" "${proxy_pairs[$i]}" + done } # Return the reference of an hash if it exists on the remote repository. diff --git a/pkgs/by-name/to/tor/package.nix b/pkgs/by-name/to/tor/package.nix index 7c78a5bee9fd..d3290e722fe5 100644 --- a/pkgs/by-name/to/tor/package.nix +++ b/pkgs/by-name/to/tor/package.nix @@ -19,6 +19,7 @@ nixosTests, writeShellScript, versionCheckHook, + makeSetupHook, }: let @@ -112,8 +113,21 @@ stdenv.mkDerivation (finalAttrs: { versionCheckProgramArg = "--version"; passthru = { - tests.tor = nixosTests.tor; + tests = { + inherit (nixosTests) tor; + proxyHook = callPackage ./proxy-hook-tests.nix { + tor = finalAttrs.finalPackage; + }; + }; updateScript = callPackage ./update.nix { }; + proxyHook = makeSetupHook { + name = "tor-proxy-hook"; + substitutions = { + grep = lib.getExe gnugrep; + tee = lib.getExe' coreutils "tee"; + tor = lib.getExe finalAttrs.finalPackage; + }; + } ./proxy-hook.sh; }; meta = { diff --git a/pkgs/by-name/to/tor/proxy-hook-tests.nix b/pkgs/by-name/to/tor/proxy-hook-tests.nix new file mode 100644 index 000000000000..a0544115a85b --- /dev/null +++ b/pkgs/by-name/to/tor/proxy-hook-tests.nix @@ -0,0 +1,45 @@ +{ + testers, + fetchFromGitLab, + fetchgit, + fetchurl, + fetchzip, + linkFarm, + tor, +}: +let + domain = "eweiibe6tdjsdprb4px6rqrzzcsi22m4koia44kc5pcjr7nec2rlxyad.onion"; + rev = "933c5491db00c703d5d8264fdabd5a5b10aff96f"; + hash = "sha256-o6Wpso8GSlQH39GpH3IXZyrVhdP8pEYFxLDq9a7yHX0="; +in +linkFarm "tor-proxy-hook-tests" { + fetchgit = testers.invalidateFetcherByDrvHash fetchgit { + name = "fetchgit-tor-source"; + url = "http://${domain}/tpo/core/tor"; + inherit rev hash; + nativeBuildInputs = [ tor.proxyHook ]; + }; + + fetchzip = testers.invalidateFetcherByDrvHash fetchzip { + name = "fetchzip-tor-source"; + url = "http://${domain}/tpo/core/tor/-/archive/${rev}/tor-${rev}.zip"; + inherit hash; + nativeBuildInputs = [ tor.proxyHook ]; + }; + + fetchurl = testers.invalidateFetcherByDrvHash fetchurl { + name = "fetchurl-tor-source"; + url = "http://${domain}/tpo/core/tor/-/raw/${rev}/Cargo.lock"; + hash = "sha256-oX4WbsscLADgJ5o+czpueyAih7ic0u4lZQs7y1vMA3A="; + nativeBuildInputs = [ tor.proxyHook ]; + }; + + fetchFromGitLab = testers.invalidateFetcherByDrvHash fetchFromGitLab { + name = "gitlab-tor-source"; + protocol = "http"; + owner = "tpo/core"; + repo = "tor"; + inherit domain rev hash; + nativeBuildInputs = [ tor.proxyHook ]; + }; +} diff --git a/pkgs/by-name/to/tor/proxy-hook.sh b/pkgs/by-name/to/tor/proxy-hook.sh new file mode 100644 index 000000000000..ae00a94b181c --- /dev/null +++ b/pkgs/by-name/to/tor/proxy-hook.sh @@ -0,0 +1,19 @@ +_setupTorProxy(){ + local torSocket=$NIX_BUILD_TOP/.tor.sock + local torPort=unix:$torSocket + + exec {tor_fd}< <(@tor@ --DataDirectory "$NIX_BUILD_TOP/.tor" --SocksPort "$torPort") + exitHooks+=("kill '$!'") + + # Wait for Tor to start + read < <(<&$tor_fd- @tee@ /dev/fd/2 | @grep@ -m 1 -F 'Bootstrapped 100% (done): Done') + + export ALL_PROXY="socks5h://localhost$torSocket" + + # A Git repository may have submodules that fetch from clearnet URLs, so + # for better performance, use Tor only for onion addresses. (fetchgit + # doesn't respect ALL_PROXY, so this doesn't conflict.) + export FETCHGIT_HTTP_PROXIES="http://*.onion $ALL_PROXY ${FETCHGIT_HTTP_PROXIES-}" +} + +postHooks+=(_setupTorProxy) From fd184703dbf88a9c1f90fe1da6e3dc825c57341b Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Thu, 24 Jul 2025 20:51:01 +0200 Subject: [PATCH 15/44] gnome.gvfs: disable google support by default This change was proposed upstream for the default build [1], but deferred to gnome 49. However, looking at the pile of CVEs in old libsoup, this is irresponsible. [1] https://gitlab.gnome.org/GNOME/gvfs/-/merge_requests/266 --- pkgs/by-name/gv/gvfs/package.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gv/gvfs/package.nix b/pkgs/by-name/gv/gvfs/package.nix index eafc3a83a2b1..e1d23355789c 100644 --- a/pkgs/by-name/gv/gvfs/package.nix +++ b/pkgs/by-name/gv/gvfs/package.nix @@ -43,8 +43,10 @@ libmsgraph, python3, gsettings-desktop-schemas, + googleSupport ? false, # dependency on vulnerable libsoup versions }: +assert googleSupport -> gnomeSupport; stdenv.mkDerivation (finalAttrs: { pname = "gvfs"; version = "1.57.2"; @@ -106,8 +108,10 @@ stdenv.mkDerivation (finalAttrs: { glib-networking # TLS support gnome-online-accounts libsecret - libgdata libmsgraph + ] + ++ lib.optionals googleSupport [ + libgdata ]; mesonFlags = [ @@ -130,9 +134,11 @@ stdenv.mkDerivation (finalAttrs: { "-Dgcr=false" "-Dgoa=false" "-Dkeyring=false" - "-Dgoogle=false" "-Donedrive=false" ] + ++ lib.optionals (!googleSupport) [ + "-Dgoogle=false" + ] ++ lib.optionals (avahi == null) [ "-Ddnssd=false" ] From fd2e12be0b679dd7c066f16b50a4d3d773b309a1 Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Wed, 23 Jul 2025 19:26:45 +0200 Subject: [PATCH 16/44] libsoup_2_4: mark vulnerable --- .../development/libraries/libsoup/default.nix | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/pkgs/development/libraries/libsoup/default.nix b/pkgs/development/libraries/libsoup/default.nix index ba3cb41169ab..761ec600e246 100644 --- a/pkgs/development/libraries/libsoup/default.nix +++ b/pkgs/development/libraries/libsoup/default.nix @@ -139,5 +139,31 @@ stdenv.mkDerivation rec { "libsoup-2.4" "libsoup-gnome-2.4" ]; + knownVulnerabilities = [ + '' + libsoup 2 is EOL, with many known unfixed CVEs. + The last release happened 2023-10-11, + with few security backports since and no stable release. + + Vulnerabilities likely include (incomplete list): + - CVE-2025-4948: https://gitlab.gnome.org/GNOME/libsoup/-/issues/449 + - CVE-2025-46421: https://gitlab.gnome.org/GNOME/libsoup/-/issues/439 + - CVE-2025-32914: https://gitlab.gnome.org/GNOME/libsoup/-/issues/436 + - CVE-2025-32913: https://gitlab.gnome.org/GNOME/libsoup/-/issues/435 + - CVE-2025-32912: https://gitlab.gnome.org/GNOME/libsoup/-/issues/434 + - CVE-2025-32911: https://gitlab.gnome.org/GNOME/libsoup/-/issues/433 + - CVE-2025-32910: https://gitlab.gnome.org/GNOME/libsoup/-/issues/432 + - CVE-2025-32909: https://gitlab.gnome.org/GNOME/libsoup/-/issues/431 + - CVE-2025-32907: https://gitlab.gnome.org/GNOME/libsoup/-/issues/428 + - CVE-2025-32053: https://gitlab.gnome.org/GNOME/libsoup/-/issues/426 + - CVE-2025-32052: https://gitlab.gnome.org/GNOME/libsoup/-/issues/425 + - CVE-2025-32050: https://gitlab.gnome.org/GNOME/libsoup/-/issues/424 + - CVE-2024-52531: https://gitlab.gnome.org/GNOME/libsoup/-/issues/423 + - CVE-2025-2784: https://gitlab.gnome.org/GNOME/libsoup/-/issues/422 + + These vulnerabilities were fixed in libsoup 3, + with the vulnerable code present in libsoup 2 versions. + '' + ]; }; } From 881c2decb7a4b4a7964330f353f975811507cf1c Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Wed, 23 Jul 2025 21:15:40 +0200 Subject: [PATCH 17/44] release-small: drop webkitgtk_4_0 --- pkgs/top-level/release-small.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/top-level/release-small.nix b/pkgs/top-level/release-small.nix index 2adcf3cc4431..341b63bf21c1 100644 --- a/pkgs/top-level/release-small.nix +++ b/pkgs/top-level/release-small.nix @@ -168,7 +168,6 @@ in util-linux = linux; util-linuxMinimal = linux; w3m = all; - webkitgtk_4_0 = linux; wget = all; which = all; wirelesstools = linux; From c0e4ead3949c3023bdfe5f4dd8ed7c6e7e27dd77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 24 Jul 2025 13:55:39 +0200 Subject: [PATCH 18/44] gnucash: use webkitgtk_4_1 --- pkgs/by-name/gn/gnucash/package.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/gn/gnucash/package.nix b/pkgs/by-name/gn/gnucash/package.nix index 51d18d83fb91..7505c28b726e 100644 --- a/pkgs/by-name/gn/gnucash/package.nix +++ b/pkgs/by-name/gn/gnucash/package.nix @@ -24,10 +24,9 @@ perlPackages, pkg-config, swig, - webkitgtk_4_0, + webkitgtk_4_1, wrapGAppsHook3, python3, - replaceVars, }: stdenv.mkDerivation rec { @@ -69,7 +68,7 @@ stdenv.mkDerivation rec { libxml2 libxslt swig - webkitgtk_4_0 + webkitgtk_4_1 python3 ] ++ (with perlPackages; [ From 818b900947eb600cba7a936ec2e4bdf096421fe7 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 24 Jul 2025 16:43:47 -0500 Subject: [PATCH 19/44] yaziPlugins: update on 2025-07-24 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update summary: 23 plugins updated out of 34 checked Updated plugins: - chmod: 25.5.28-unstable-2025-05-28 → 25.5.31-unstable-2025-06-26 - git: 25.5.28-unstable-2025-05-28 → 25.5.31-unstable-2025-07-05 - glow: 0-unstable-2025-04-15 → 0-unstable-2025-06-13 - jump-to-char: 25.5.28-unstable-2025-05-28 → 25.5.31-unstable-2025-06-18 - lsar: 25.5.28-unstable-2025-05-28 → 25.5.31-unstable-2025-06-18 - mactag: 25.5.28-unstable-2025-05-28 → 25.5.31-unstable-2025-07-02 - mediainfo: 25.5.31-unstable-2025-06-05 → 25.5.31-unstable-2025-07-19 - mime-ext: 25.5.28-unstable-2025-05-28 → 25.5.31-unstable-2025-06-18 - mount: 25.5.28-unstable-2025-06-11 → 25.5.31-unstable-2025-07-02 - ouch: 0-unstable-2025-06-10 → 0-unstable-2025-07-13 - piper: 25.5.28-unstable-2025-05-28 → 25.5.31-unstable-2025-06-21 - projects: 0-unstable-2025-06-03 → 0-unstable-2025-06-19 - relative-motions: 25.5.28-unstable-2025-06-05 → 25.5.28-unstable-2025-07-09 - restore: 25.5.31-unstable-2025-06-05 → 25.5.31-unstable-2025-07-11 - smart-enter: 25.5.28-unstable-2025-05-28 → 25.5.31-unstable-2025-06-18 - smart-filter: 25.5.28-unstable-2025-05-28 → 25.5.31-unstable-2025-07-23 - smart-paste: 25.5.28-unstable-2025-05-28 → 25.5.31-unstable-2025-06-18 - starship: 25.4.8-unstable-2025-06-01 → 25.4.8-unstable-2025-07-08 - toggle-pane: 25.5.28-unstable-2025-05-28 → 25.5.31-unstable-2025-06-18 - vcs-files: 25.5.28-unstable-2025-05-28 → 25.5.31-unstable-2025-06-18 - yatline: 0-unstable-2025-06-11 → 25.5.31-unstable-2025-06-12 Failed to update 3 plugins: - gitui: Error fetching plugin content: 404 Client Error: Not Found for url: https://raw.githubusercontent.com/gclarkjr5/gitui.yazi/main/main.lua - miller: Error fetching plugin content: 404 Client Error: Not Found for url: https://raw.githubusercontent.com/Reledia/miller.yazi/main/main.lua - wl-clipboard: Error fetching plugin content: 404 Client Error: Not Found for url: https://raw.githubusercontent.com/grappas/wl-clipboard.yazi/master/main.lua Signed-off-by: Austin Horstman --- pkgs/by-name/ya/yazi/plugins/chmod/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/git/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/glow/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/jump-to-char/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/lsar/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/mactag/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/mediainfo/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/mime-ext/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/mount/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/ouch/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/piper/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/projects/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/relative-motions/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/restore/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/smart-enter/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/smart-filter/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/smart-paste/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/starship/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/toggle-pane/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/vcs-files/default.nix | 6 +++--- pkgs/by-name/ya/yazi/plugins/yatline/default.nix | 6 +++--- 21 files changed, 63 insertions(+), 63 deletions(-) diff --git a/pkgs/by-name/ya/yazi/plugins/chmod/default.nix b/pkgs/by-name/ya/yazi/plugins/chmod/default.nix index 2bada46600a8..06f1e8e60e57 100644 --- a/pkgs/by-name/ya/yazi/plugins/chmod/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/chmod/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "chmod.yazi"; - version = "25.5.28-unstable-2025-05-28"; + version = "25.5.31-unstable-2025-06-26"; src = fetchFromGitHub { owner = "yazi-rs"; repo = "plugins"; - rev = "d642bfb0822eb0c3c5c891ab0f4b6f897a2083cb"; - hash = "sha256-WF2b9t0VPGNP3QXgr/GMDFcSh5bsXC7KKd2ICL4WDHo="; + rev = "7c174cc0ae1e07876218868e5e0917308201c081"; + hash = "sha256-RE93ZNlG6CRGZz7YByXtO0mifduh6MMGls6J9IYwaFA="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/git/default.nix b/pkgs/by-name/ya/yazi/plugins/git/default.nix index 5c3873d47a8e..362cc189c192 100644 --- a/pkgs/by-name/ya/yazi/plugins/git/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/git/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "git.yazi"; - version = "25.5.28-unstable-2025-05-28"; + version = "25.5.31-unstable-2025-07-05"; src = fetchFromGitHub { owner = "yazi-rs"; repo = "plugins"; - rev = "d642bfb0822eb0c3c5c891ab0f4b6f897a2083cb"; - hash = "sha256-WF2b9t0VPGNP3QXgr/GMDFcSh5bsXC7KKd2ICL4WDHo="; + rev = "cbc4450a6c238114362e3c2fbca355166c2a2202"; + hash = "sha256-otD7zmm/Juh68D2czRhtU7CZFIaMgADxuo8p68cS7fk="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/glow/default.nix b/pkgs/by-name/ya/yazi/plugins/glow/default.nix index 6a5dc9df47af..f6d8709412da 100644 --- a/pkgs/by-name/ya/yazi/plugins/glow/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/glow/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "glow.yazi"; - version = "0-unstable-2025-04-15"; + version = "0-unstable-2025-06-13"; src = fetchFromGitHub { owner = "Reledia"; repo = "glow.yazi"; - rev = "2da96e3ffd9cd9d4dd53e0b2636f83ff69fe9af0"; - hash = "sha256-4krck4U/KWmnl32HWRsblYW/biuqzDPysrEn76buRck="; + rev = "bd3eaa58c065eaf216a8d22d64c62d8e0e9277e9"; + hash = "sha256-mzW/ut/LTEriZiWF8YMRXG9hZ70OOC0irl5xObTNO40="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/jump-to-char/default.nix b/pkgs/by-name/ya/yazi/plugins/jump-to-char/default.nix index dde64726f7be..95fca5f6c711 100644 --- a/pkgs/by-name/ya/yazi/plugins/jump-to-char/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/jump-to-char/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "jump-to-char.yazi"; - version = "25.5.28-unstable-2025-05-28"; + version = "25.5.31-unstable-2025-06-18"; src = fetchFromGitHub { owner = "yazi-rs"; repo = "plugins"; - rev = "d642bfb0822eb0c3c5c891ab0f4b6f897a2083cb"; - hash = "sha256-WF2b9t0VPGNP3QXgr/GMDFcSh5bsXC7KKd2ICL4WDHo="; + rev = "86d28e4fb4f25f36cc501b8cb0badb37a6b14263"; + hash = "sha256-m/gJTDm0cVkIdcQ1ZJliPqBhNKoCW1FciLkuq7D1mxo="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/lsar/default.nix b/pkgs/by-name/ya/yazi/plugins/lsar/default.nix index 22a9dcee84b7..cee1b8c67128 100644 --- a/pkgs/by-name/ya/yazi/plugins/lsar/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/lsar/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "lsar.yazi"; - version = "25.5.28-unstable-2025-05-28"; + version = "25.5.31-unstable-2025-06-18"; src = fetchFromGitHub { owner = "yazi-rs"; repo = "plugins"; - rev = "d642bfb0822eb0c3c5c891ab0f4b6f897a2083cb"; - hash = "sha256-WF2b9t0VPGNP3QXgr/GMDFcSh5bsXC7KKd2ICL4WDHo="; + rev = "86d28e4fb4f25f36cc501b8cb0badb37a6b14263"; + hash = "sha256-m/gJTDm0cVkIdcQ1ZJliPqBhNKoCW1FciLkuq7D1mxo="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/mactag/default.nix b/pkgs/by-name/ya/yazi/plugins/mactag/default.nix index 06f367aeebb4..1a6cce82d2af 100644 --- a/pkgs/by-name/ya/yazi/plugins/mactag/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/mactag/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "mactag.yazi"; - version = "25.5.28-unstable-2025-05-28"; + version = "25.5.31-unstable-2025-07-02"; src = fetchFromGitHub { owner = "yazi-rs"; repo = "plugins"; - rev = "d642bfb0822eb0c3c5c891ab0f4b6f897a2083cb"; - hash = "sha256-WF2b9t0VPGNP3QXgr/GMDFcSh5bsXC7KKd2ICL4WDHo="; + rev = "e5f00e2716fd177b0ca0d313f1a6e64f01c12760"; + hash = "sha256-DLcmzCmITybWrYuBpTyswtoGUimpagkyeVUWmbKjarY="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/mediainfo/default.nix b/pkgs/by-name/ya/yazi/plugins/mediainfo/default.nix index 1297930d0bdb..c18f8748f624 100644 --- a/pkgs/by-name/ya/yazi/plugins/mediainfo/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/mediainfo/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "mediainfo.yazi"; - version = "25.5.31-unstable-2025-06-05"; + version = "25.5.31-unstable-2025-07-19"; src = fetchFromGitHub { owner = "boydaihungst"; repo = "mediainfo.yazi"; - rev = "a7d1aa69a1a107e64540c17f19ac94be1366769f"; - hash = "sha256-HUD8Sv1C4gzZRvSEIYqcmm+A0mBYDuwZHCNH26kipS0="; + rev = "f89605ce7ca33181ee6770e641d80ec4673093e0"; + hash = "sha256-NloChkZWKo9JL636d+G7vgEY/HX24udngYftw/Ydzk4="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/mime-ext/default.nix b/pkgs/by-name/ya/yazi/plugins/mime-ext/default.nix index 0edd890ad659..b0f5e70777e3 100644 --- a/pkgs/by-name/ya/yazi/plugins/mime-ext/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/mime-ext/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "mime-ext.yazi"; - version = "25.5.28-unstable-2025-05-28"; + version = "25.5.31-unstable-2025-06-18"; src = fetchFromGitHub { owner = "yazi-rs"; repo = "plugins"; - rev = "d642bfb0822eb0c3c5c891ab0f4b6f897a2083cb"; - hash = "sha256-WF2b9t0VPGNP3QXgr/GMDFcSh5bsXC7KKd2ICL4WDHo="; + rev = "86d28e4fb4f25f36cc501b8cb0badb37a6b14263"; + hash = "sha256-m/gJTDm0cVkIdcQ1ZJliPqBhNKoCW1FciLkuq7D1mxo="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/mount/default.nix b/pkgs/by-name/ya/yazi/plugins/mount/default.nix index 48eeae61adb3..981696ffc335 100644 --- a/pkgs/by-name/ya/yazi/plugins/mount/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/mount/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "mount.yazi"; - version = "25.5.28-unstable-2025-06-11"; + version = "25.5.31-unstable-2025-07-02"; src = fetchFromGitHub { owner = "yazi-rs"; repo = "plugins"; - rev = "c1d638374c76655896c06e9bc91cdb39857b7f15"; - hash = "sha256-cj2RjeW4/9ZRCd/H4PxrIQWW9kSOxtdi72f+8o13aPI="; + rev = "e5f00e2716fd177b0ca0d313f1a6e64f01c12760"; + hash = "sha256-DLcmzCmITybWrYuBpTyswtoGUimpagkyeVUWmbKjarY="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/ouch/default.nix b/pkgs/by-name/ya/yazi/plugins/ouch/default.nix index 64bad91f0d3c..cdf75687b1bf 100644 --- a/pkgs/by-name/ya/yazi/plugins/ouch/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/ouch/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "ouch.yazi"; - version = "0-unstable-2025-06-10"; + version = "0-unstable-2025-07-13"; src = fetchFromGitHub { owner = "ndtoan96"; repo = "ouch.yazi"; - rev = "1ee69a56da3c4b90ec8716dd9dd6b82e7a944614"; - hash = "sha256-4KZeDkMXlhUV0Zh+VGBtz9kFPGOWCexYVuKUSCN463o="; + rev = "0742fffea5229271164016bf96fb599d861972db"; + hash = "sha256-C0wG8NQ+zjAMfd+J39Uvs3K4U6e3Qpo1yLPm2xcsAaI="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/piper/default.nix b/pkgs/by-name/ya/yazi/plugins/piper/default.nix index 6e84a799159a..fa11169bca2b 100644 --- a/pkgs/by-name/ya/yazi/plugins/piper/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/piper/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "piper.yazi"; - version = "25.5.28-unstable-2025-05-28"; + version = "25.5.31-unstable-2025-06-21"; src = fetchFromGitHub { owner = "yazi-rs"; repo = "plugins"; - rev = "f9b3f8876eaa74d8b76e5b8356aca7e6a81c0fb7"; - hash = "sha256-EoIrbyC7WgRzrEtvso2Sr6HnNW91c5E+RZGqnjEi6Zo="; + rev = "3d1efb706924112daed986a4eef634e408bad65e"; + hash = "sha256-GgEg1A5sxaH7hR1CUOO9WV21kH8B2YUGAtOapcWLP7Y="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/projects/default.nix b/pkgs/by-name/ya/yazi/plugins/projects/default.nix index 3ba2308f3ce9..b2b43072bcf5 100644 --- a/pkgs/by-name/ya/yazi/plugins/projects/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/projects/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "projects.yazi"; - version = "0-unstable-2025-06-03"; + version = "0-unstable-2025-06-19"; src = fetchFromGitHub { owner = "MasouShizuka"; repo = "projects.yazi"; - rev = "7037dd5eee184ccb7725bdc9f7ea6faa188420d5"; - hash = "sha256-Lc0MeiAuPgJTq4ojNw9hwxqPJ74S4ymn4uPTkxGeZGc="; + rev = "a5e33db284ab580de7b549e472bba13a5ba7c7b9"; + hash = "sha256-4VD1OlzGgyeB1jRgPpI4aWnOCHNZQ9vhh40cbU80Les="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/relative-motions/default.nix b/pkgs/by-name/ya/yazi/plugins/relative-motions/default.nix index 641434789824..bc8b2a4a16dd 100644 --- a/pkgs/by-name/ya/yazi/plugins/relative-motions/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/relative-motions/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "relative-motions.yazi"; - version = "25.5.28-unstable-2025-06-05"; + version = "25.5.28-unstable-2025-07-09"; src = fetchFromGitHub { owner = "dedukun"; repo = "relative-motions.yazi"; - rev = "2e3b6172e6226e0db96aea12d09dea2d2e443fea"; - hash = "sha256-v0e06ieBKNmt9DATdL7R4AyVFa9DlNBwpfME3LHozLA="; + rev = "a603d9ea924dfc0610bcf9d3129e7cba605d4501"; + hash = "sha256-9i6x/VxGOA3bB3FPieB7mQ1zGaMK5wnMhYqsq4CvaM4="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/restore/default.nix b/pkgs/by-name/ya/yazi/plugins/restore/default.nix index d24769c725c2..8174d3a505be 100644 --- a/pkgs/by-name/ya/yazi/plugins/restore/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/restore/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "restore.yazi"; - version = "25.5.31-unstable-2025-06-05"; + version = "25.5.31-unstable-2025-07-11"; src = fetchFromGitHub { owner = "boydaihungst"; repo = "restore.yazi"; - rev = "b7c33766e0bc4bbbb99e8e934be90e3beb881d29"; - hash = "sha256-qtthY7eySqXoA3TARubZF0SsYkkLEgkjdtPUxR5ro0I="; + rev = "84f1921806c49b7b20af26cbe57cb4fd286142e2"; + hash = "sha256-pEQZ/2Z4XVYlfzqtCz51bIgE9KzkDF/qyX8vThhlWGI="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/smart-enter/default.nix b/pkgs/by-name/ya/yazi/plugins/smart-enter/default.nix index 1f0c6d105a13..e1dbd7bd79f2 100644 --- a/pkgs/by-name/ya/yazi/plugins/smart-enter/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/smart-enter/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "smart-enter.yazi"; - version = "25.5.28-unstable-2025-05-28"; + version = "25.5.31-unstable-2025-06-18"; src = fetchFromGitHub { owner = "yazi-rs"; repo = "plugins"; - rev = "d642bfb0822eb0c3c5c891ab0f4b6f897a2083cb"; - hash = "sha256-WF2b9t0VPGNP3QXgr/GMDFcSh5bsXC7KKd2ICL4WDHo="; + rev = "86d28e4fb4f25f36cc501b8cb0badb37a6b14263"; + hash = "sha256-m/gJTDm0cVkIdcQ1ZJliPqBhNKoCW1FciLkuq7D1mxo="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/smart-filter/default.nix b/pkgs/by-name/ya/yazi/plugins/smart-filter/default.nix index 83e225e9b84c..5934bf8bbd82 100644 --- a/pkgs/by-name/ya/yazi/plugins/smart-filter/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/smart-filter/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "smart-filter.yazi"; - version = "25.5.28-unstable-2025-05-28"; + version = "25.5.31-unstable-2025-07-23"; src = fetchFromGitHub { owner = "yazi-rs"; repo = "plugins"; - rev = "d642bfb0822eb0c3c5c891ab0f4b6f897a2083cb"; - hash = "sha256-WF2b9t0VPGNP3QXgr/GMDFcSh5bsXC7KKd2ICL4WDHo="; + rev = "de53d90cb2740f84ae595f93d0c4c23f8618a9e4"; + hash = "sha256-ixZKOtLOwLHLeSoEkk07TB3N57DXoVEyImR3qzGUzxQ="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/smart-paste/default.nix b/pkgs/by-name/ya/yazi/plugins/smart-paste/default.nix index 5e57cab81ca7..0463f8ae3f71 100644 --- a/pkgs/by-name/ya/yazi/plugins/smart-paste/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/smart-paste/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "smart-paste.yazi"; - version = "25.5.28-unstable-2025-05-28"; + version = "25.5.31-unstable-2025-06-18"; src = fetchFromGitHub { owner = "yazi-rs"; repo = "plugins"; - rev = "d642bfb0822eb0c3c5c891ab0f4b6f897a2083cb"; - hash = "sha256-WF2b9t0VPGNP3QXgr/GMDFcSh5bsXC7KKd2ICL4WDHo="; + rev = "86d28e4fb4f25f36cc501b8cb0badb37a6b14263"; + hash = "sha256-m/gJTDm0cVkIdcQ1ZJliPqBhNKoCW1FciLkuq7D1mxo="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/starship/default.nix b/pkgs/by-name/ya/yazi/plugins/starship/default.nix index a8515a9fac77..232b9ab4dea2 100644 --- a/pkgs/by-name/ya/yazi/plugins/starship/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/starship/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "starship.yazi"; - version = "25.4.8-unstable-2025-06-01"; + version = "25.4.8-unstable-2025-07-08"; src = fetchFromGitHub { owner = "Rolv-Apneseth"; repo = "starship.yazi"; - rev = "6a0f3f788971b155cbc7cec47f6f11aebbc148c9"; - hash = "sha256-q1G0Y4JAuAv8+zckImzbRvozVn489qiYVGFQbdCxC98="; + rev = "a63550b2f91f0553cc545fd8081a03810bc41bc0"; + hash = "sha256-PYeR6fiWDbUMpJbTFSkM57FzmCbsB4W4IXXe25wLncg="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/toggle-pane/default.nix b/pkgs/by-name/ya/yazi/plugins/toggle-pane/default.nix index 577ba6c3ae87..c11e14011956 100644 --- a/pkgs/by-name/ya/yazi/plugins/toggle-pane/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/toggle-pane/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "toggle-pane.yazi"; - version = "25.5.28-unstable-2025-05-28"; + version = "25.5.31-unstable-2025-06-18"; src = fetchFromGitHub { owner = "yazi-rs"; repo = "plugins"; - rev = "a54b96a3f21495ab3659e45d5354bcc8413be15c"; - hash = "sha256-TtVaWazkk2xnomhJFinElbUsXUKAbDDhLEVq5Ah3nAk="; + rev = "86d28e4fb4f25f36cc501b8cb0badb37a6b14263"; + hash = "sha256-m/gJTDm0cVkIdcQ1ZJliPqBhNKoCW1FciLkuq7D1mxo="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/vcs-files/default.nix b/pkgs/by-name/ya/yazi/plugins/vcs-files/default.nix index 89ad96e497c9..bbc788c4391d 100644 --- a/pkgs/by-name/ya/yazi/plugins/vcs-files/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/vcs-files/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "vcs-files.yazi"; - version = "25.5.28-unstable-2025-05-28"; + version = "25.5.31-unstable-2025-06-18"; src = fetchFromGitHub { owner = "yazi-rs"; repo = "plugins"; - rev = "d642bfb0822eb0c3c5c891ab0f4b6f897a2083cb"; - hash = "sha256-WF2b9t0VPGNP3QXgr/GMDFcSh5bsXC7KKd2ICL4WDHo="; + rev = "86d28e4fb4f25f36cc501b8cb0badb37a6b14263"; + hash = "sha256-m/gJTDm0cVkIdcQ1ZJliPqBhNKoCW1FciLkuq7D1mxo="; }; meta = { diff --git a/pkgs/by-name/ya/yazi/plugins/yatline/default.nix b/pkgs/by-name/ya/yazi/plugins/yatline/default.nix index f2f35c3ce7db..ca487e5bdc0b 100644 --- a/pkgs/by-name/ya/yazi/plugins/yatline/default.nix +++ b/pkgs/by-name/ya/yazi/plugins/yatline/default.nix @@ -5,13 +5,13 @@ }: mkYaziPlugin { pname = "yatline.yazi"; - version = "0-unstable-2025-06-11"; + version = "25.5.31-unstable-2025-06-12"; src = fetchFromGitHub { owner = "imsi32"; repo = "yatline.yazi"; - rev = "73bce63ffb454ea108a96f316e2a8c2e16a35262"; - hash = "sha256-pIaqnxEGKiWvtFZJm0e7GSbbIc2qaTCB+czHLcVuVzY="; + rev = "88bd1c58357d472fe7e8daf9904936771fc49795"; + hash = "sha256-RkQKZQAa5U9eMWk1Q0doueJZiuP4elUJ0dM1XKLSnDo="; }; meta = { From 6df491d41ce74e0a3059d4119e3dfe3b8b4ad8c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 24 Jul 2025 21:36:08 +0200 Subject: [PATCH 20/44] gnucash: fix missing gobject-introspection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ➜ ./result/bin/gnucash Traceback (most recent call last): File "/nix/store/1rm7rm8izpdyy8v53ybcr244hm010m07-gnucash-5.11/share/gnucash/python/init.py", line 6, in from gi import require_version ModuleNotFoundError: No module named 'gi' --- pkgs/by-name/gn/gnucash/package.nix | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/gn/gnucash/package.nix b/pkgs/by-name/gn/gnucash/package.nix index 7505c28b726e..fa3d9ea39c22 100644 --- a/pkgs/by-name/gn/gnucash/package.nix +++ b/pkgs/by-name/gn/gnucash/package.nix @@ -10,6 +10,7 @@ gettext, glib, glibcLocales, + gobject-introspection, gtest, guile, gwenhywfar, @@ -28,7 +29,13 @@ wrapGAppsHook3, python3, }: - +let + py = python3.withPackages ( + ps: with ps; [ + pygobject3.out + ] + ); +in stdenv.mkDerivation rec { pname = "gnucash"; version = "5.11"; @@ -42,6 +49,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake gettext + gobject-introspection makeWrapper wrapGAppsHook3 pkg-config @@ -69,7 +77,7 @@ stdenv.mkDerivation rec { libxslt swig webkitgtk_4_1 - python3 + py ] ++ (with perlPackages; [ JSONParse @@ -150,11 +158,16 @@ stdenv.mkDerivation rec { # Perl wrapping dontWrapGApps = true; - # gnucash is wrapped using the args constructed for wrapGAppsHook3. + # We could not find the python entrypoint and somehow it is used from PATH, + # so force to use the one with all dependencies # gnc-fq-* are cli utils written in Perl hence the extra wrapping postFixup = '' - wrapProgram $out/bin/gnucash "''${gappsWrapperArgs[@]}" - wrapProgram $out/bin/gnucash-cli "''${gappsWrapperArgs[@]}" + wrapProgram $out/bin/gnucash \ + --prefix PATH : ${lib.makeBinPath [ py ]} \ + "''${gappsWrapperArgs[@]}" + wrapProgram $out/bin/gnucash-cli \ + --prefix PATH : ${lib.makeBinPath [ py ]} \ + "''${gappsWrapperArgs[@]}" wrapProgram $out/bin/finance-quote-wrapper \ --prefix PERL5LIB : "${ @@ -164,6 +177,9 @@ stdenv.mkDerivation rec { FinanceQuote ] }" + + chmod +x $out/share/gnucash/python/pycons/*.py + patchShebangs $out/share/gnucash/python/pycons/*.py ''; passthru.updateScript = ./update.sh; From 8fb53ea488d8cf1a2a92c4000398aaeb009476dc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Jul 2025 04:00:27 +0000 Subject: [PATCH 21/44] zwave-js-ui: 10.8.0 -> 10.10.0 --- pkgs/by-name/zw/zwave-js-ui/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/zw/zwave-js-ui/package.nix b/pkgs/by-name/zw/zwave-js-ui/package.nix index 5af7505bb0e1..beb46ca202fb 100644 --- a/pkgs/by-name/zw/zwave-js-ui/package.nix +++ b/pkgs/by-name/zw/zwave-js-ui/package.nix @@ -7,15 +7,15 @@ buildNpmPackage rec { pname = "zwave-js-ui"; - version = "10.8.0"; + version = "10.10.0"; src = fetchFromGitHub { owner = "zwave-js"; repo = "zwave-js-ui"; tag = "v${version}"; - hash = "sha256-/YXt5yvlYdslxtc6dVGJXsgoMMmIXt8lRoYPn6nNjYY="; + hash = "sha256-75B/3hBD2FfLRcbBbj+uB43dd7Wiaipy8prBEcwSB6Y="; }; - npmDepsHash = "sha256-qQJ/TCaRvdaKok1ud4MzrM8dtYjlNpESxiN/sJbPexY="; + npmDepsHash = "sha256-8WEUicgztCi6eK7vri3cOKjDgMx2DIcJTIGp0WTNiDc="; passthru.tests.zwave-js-ui = nixosTests.zwave-js-ui; From e544018f20902c0bb4af28d3614126917ae9ee2a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Jul 2025 12:39:32 +0000 Subject: [PATCH 22/44] wdisplays: 1.1.1 -> 1.1.3 --- pkgs/by-name/wd/wdisplays/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/wd/wdisplays/package.nix b/pkgs/by-name/wd/wdisplays/package.nix index 0f74c294abfa..d24bb42b8a73 100644 --- a/pkgs/by-name/wd/wdisplays/package.nix +++ b/pkgs/by-name/wd/wdisplays/package.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "wdisplays"; - version = "1.1.1"; + version = "1.1.3"; nativeBuildInputs = [ meson @@ -34,7 +34,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "artizirk"; repo = "wdisplays"; rev = finalAttrs.version; - sha256 = "sha256-dtvP930ChiDRT60xq6xBDU6k+zHnkrAkxkKz2FxlzRs="; + sha256 = "sha256-KabaW2BH4zAS0xWkzCM8YaAnP/hkZL7Wq3EARantRis="; }; meta = with lib; { From 474401ea96a1b749772b95ace0ec1c717fbbe8de Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Jul 2025 12:57:57 +0000 Subject: [PATCH 23/44] unrar: 7.1.8 -> 7.1.9 --- pkgs/by-name/un/unrar/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/un/unrar/package.nix b/pkgs/by-name/un/unrar/package.nix index 63c7a013259c..4cd237e284c5 100644 --- a/pkgs/by-name/un/unrar/package.nix +++ b/pkgs/by-name/un/unrar/package.nix @@ -6,12 +6,12 @@ stdenv.mkDerivation (finalAttrs: { pname = "unrar"; - version = "7.1.8"; + version = "7.1.9"; src = fetchzip { url = "https://www.rarlab.com/rar/unrarsrc-${finalAttrs.version}.tar.gz"; stripRoot = false; - hash = "sha256-0A6GAuAOJuP6bcNsfhNe7zALGu3nkqa3Q16FphXwT7A="; + hash = "sha256-CkeE97RcEyCwOX4NKZG2d63ZvxsYFN8Y1swJ9ODb8sk="; }; sourceRoot = finalAttrs.src.name; From 1b73e5b2b8ceec23965c77f342c82caea271a917 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 25 Jul 2025 15:07:16 +0200 Subject: [PATCH 24/44] python3Packages.mktestdocs: 0.2.3 -> 0.2.5 Diff: https://github.com/koaning/mktestdocs/compare/refs/tags/0.2.3...refs/tags/0.2.5 Changelog: https://github.com/koaning/mktestdocs/releases/tag/0.2.5 --- pkgs/development/python-modules/mktestdocs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mktestdocs/default.nix b/pkgs/development/python-modules/mktestdocs/default.nix index 58c81b5074a2..7ad089469ed7 100644 --- a/pkgs/development/python-modules/mktestdocs/default.nix +++ b/pkgs/development/python-modules/mktestdocs/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "mktestdocs"; - version = "0.2.3"; + version = "0.2.5"; pyproject = true; src = fetchFromGitHub { owner = "koaning"; repo = "mktestdocs"; tag = version; - hash = "sha256-egLlgq0lQOk0cPBly01zQ0rkl7D7Rf/bZ4en5oG+wlE="; + hash = "sha256-OiOkU/qfxeLbCT1QywA1rGSwe9Ja8tENTmBo93vo0vc="; }; build-system = [ setuptools ]; From 4f13c095bf911b8c25002a8d2f19a4066a6175dc Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Fri, 25 Jul 2025 08:56:49 +0200 Subject: [PATCH 25/44] python3Packages.mkdocs-build-plantuml: init at 1.11.0 --- .../mkdocs-build-plantuml/default.nix | 45 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 47 insertions(+) create mode 100644 pkgs/development/python-modules/mkdocs-build-plantuml/default.nix diff --git a/pkgs/development/python-modules/mkdocs-build-plantuml/default.nix b/pkgs/development/python-modules/mkdocs-build-plantuml/default.nix new file mode 100644 index 000000000000..be7a03fa53ad --- /dev/null +++ b/pkgs/development/python-modules/mkdocs-build-plantuml/default.nix @@ -0,0 +1,45 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pkgs, # Only for pkgs.plantuml, + setuptools, + httplib2, +}: + +buildPythonPackage rec { + pname = "mkdocs-build-plantuml"; + version = "1.11.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "christo-ph"; + repo = "mkdocs_build_plantuml"; + tag = version; + hash = "sha256-cbyxvWBIV+v81m+xGZZsUypkM1uuj4ADMUrAYlc/XBI="; + }; + + # There's only one substitution, no patch is needed. + postPatch = '' + substituteInPlace mkdocs_build_plantuml_plugin/plantuml.py \ + --replace-fail '/usr/local/bin/plantuml' '${lib.getExe pkgs.plantuml}' + ''; + + build-system = [ setuptools ]; + + dependencies = [ + httplib2 + ]; + + pythonImportsCheck = [ "mkdocs_build_plantuml_plugin" ]; + + # No tests available + doCheck = false; + + meta = { + description = "MkDocs plugin to help generate your plantuml images locally or remotely as files (NOT inline)"; + homepage = "https://github.com/christo-ph/mkdocs_build_plantuml"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ drupol ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d948d62932d5..dae01250180a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9273,6 +9273,8 @@ self: super: with self; { mkdocs-backlinks = callPackage ../development/python-modules/mkdocs-backlinks { }; + mkdocs-build-plantuml = callPackage ../development/python-modules/mkdocs-build-plantuml { }; + mkdocs-drawio-exporter = callPackage ../development/python-modules/mkdocs-drawio-exporter { }; mkdocs-drawio-file = callPackage ../development/python-modules/mkdocs-drawio-file { }; From 2fe60baebcc691fd17bb41fc3c711c51d16a9ffb Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 25 Jul 2025 16:03:11 +0200 Subject: [PATCH 26/44] ty: 0.0.1-alpha.15 -> 0.0.1-alpha.16 Diff: https://github.com/astral-sh/ty/compare/refs/tags/0.0.1-alpha.15...refs/tags/0.0.1-alpha.16 Changelog: https://github.com/astral-sh/ty/blob/0.0.1-alpha.16/CHANGELOG.md --- pkgs/by-name/ty/ty/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ty/ty/package.nix b/pkgs/by-name/ty/ty/package.nix index 9724ac895b7f..65f5684d2a27 100644 --- a/pkgs/by-name/ty/ty/package.nix +++ b/pkgs/by-name/ty/ty/package.nix @@ -14,14 +14,14 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "ty"; - version = "0.0.1-alpha.15"; + version = "0.0.1-alpha.16"; src = fetchFromGitHub { owner = "astral-sh"; repo = "ty"; tag = finalAttrs.version; fetchSubmodules = true; - hash = "sha256-7aOFRrnj4WFTuQWcOgdSU3w9KWwRbpPj3K6g4y0JPo0="; + hash = "sha256-hpDzl1TJRCfr5l76HwK90WAbAgeDR48eRNs9knj87lk="; }; # For Darwin platforms, remove the integration test for file notifications, @@ -35,7 +35,7 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoBuildFlags = [ "--package=ty" ]; - cargoHash = "sha256-vhsXYqU3Y5xGDLE/AVkVIY4eweHbyR/E3RvGoHG+1ZE="; + cargoHash = "sha256-/SoF87aZHypzEsetgmALmNTheEH/CodZEPW2I5+F/a4="; nativeBuildInputs = [ installShellFiles ]; From 7b20b7718979734dab5d603268c0d87a97f15d77 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Jul 2025 15:20:13 +0000 Subject: [PATCH 27/44] bootc: 1.5.0 -> 1.5.1 --- pkgs/by-name/bo/bootc/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/bo/bootc/package.nix b/pkgs/by-name/bo/bootc/package.nix index 72a4384a9dd5..8701153e0b49 100644 --- a/pkgs/by-name/bo/bootc/package.nix +++ b/pkgs/by-name/bo/bootc/package.nix @@ -13,16 +13,16 @@ rustPlatform.buildRustPackage rec { pname = "bootc"; - version = "1.5.0"; + version = "1.5.1"; useFetchCargoVendor = true; - cargoHash = "sha256-3/Ngq6ZHPoE9BMychv+Jg0LhtJrY8GPrFYu7lRvX1+k="; + cargoHash = "sha256-+FxydTK0Dmcj+doHMSoTgiues7Rrwxv/D+BOq4siKCk="; doInstallCheck = true; src = fetchFromGitHub { owner = "bootc-dev"; repo = "bootc"; rev = "v${version}"; - hash = "sha256-1u4pBiySYzudFVf4bayQ7FbXf4EjA4v1+AOX9E+tjyA="; + hash = "sha256-LmhgCiVFbhrePV/A/FaNjD7VytUZqSm9VDU+1z0O98U="; }; nativeBuildInputs = [ pkg-config ]; From e3ab06ae465c19bd442f003245424350d58e7311 Mon Sep 17 00:00:00 2001 From: Lein Matsumaru Date: Fri, 25 Jul 2025 15:18:24 +0000 Subject: [PATCH 28/44] exploitdb: 2025-07-17 -> 2025-07-23 Diff: https://gitlab.com/exploit-database/exploitdb/-/compare/refs/tags/2025-07-17...2025-07-23 --- pkgs/by-name/ex/exploitdb/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ex/exploitdb/package.nix b/pkgs/by-name/ex/exploitdb/package.nix index a1c84c781d93..f43adefaf996 100644 --- a/pkgs/by-name/ex/exploitdb/package.nix +++ b/pkgs/by-name/ex/exploitdb/package.nix @@ -7,13 +7,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "exploitdb"; - version = "2025-07-17"; + version = "2025-07-23"; src = fetchFromGitLab { owner = "exploit-database"; repo = "exploitdb"; tag = finalAttrs.version; - hash = "sha256-RxK983lsfEHKCG9lG7EBVgpS3XJ3NC0LjsgDF8dVcn8="; + hash = "sha256-wnYqtWtqvy5SsgHSDIzxNpnhXMT4WIVwWh2woW4eLhw="; }; nativeBuildInputs = [ makeWrapper ]; From 6e731d3410b913db43023f934116a55e9090eff1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Jul 2025 15:27:16 +0000 Subject: [PATCH 29/44] terramate: 0.14.0 -> 0.14.1 --- pkgs/by-name/te/terramate/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/te/terramate/package.nix b/pkgs/by-name/te/terramate/package.nix index d85508b1c535..4077d6778797 100644 --- a/pkgs/by-name/te/terramate/package.nix +++ b/pkgs/by-name/te/terramate/package.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "terramate"; - version = "0.14.0"; + version = "0.14.1"; src = fetchFromGitHub { owner = "terramate-io"; repo = "terramate"; rev = "v${version}"; - hash = "sha256-op8mwCofnktV+kkvh4mO5tfLrynlxGbQzOxq6JR7HbE="; + hash = "sha256-75tx0LQwAUdox7qIkedPH956DAx0l6f+9M+6VgYDosQ="; }; vendorHash = "sha256-u9eXi7FjMsXm0H0y7Gs/Wu2I8tp4rRLxtjUxrrHJkEU="; From d818d9706cc0d5be0ac34ee02bdac1d0eb05eeb8 Mon Sep 17 00:00:00 2001 From: "Adam C. Stephens" Date: Fri, 25 Jul 2025 13:23:29 +0000 Subject: [PATCH 30/44] forgejo: 12.0.0 -> 12.0.1 https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/12.0.1.md https://codeberg.org/forgejo/forgejo/releases/tag/v12.0.1 --- pkgs/by-name/fo/forgejo/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/fo/forgejo/package.nix b/pkgs/by-name/fo/forgejo/package.nix index bc5b3fae0797..0f52612f16b4 100644 --- a/pkgs/by-name/fo/forgejo/package.nix +++ b/pkgs/by-name/fo/forgejo/package.nix @@ -1,6 +1,6 @@ import ./generic.nix { - version = "12.0.0"; - hash = "sha256-8cokjK9fbxd9lm+5oDoMll9f7ejiVzMNuDgC0Pk1pbM="; + version = "12.0.1"; + hash = "sha256-MBk5QHjnyMXmQDIbMuehjcGN/PUN1ViRtIi1pJGHlW0="; npmDepsHash = "sha256-kq2AV1D0xA4Csm8XUTU5D0iCmyuajcnwlLdPjJ/mj1g="; vendorHash = "sha256-B9menPCDUOYHPCS0B5KpxuE03FdFXmA8XqkiYEAxs5Y="; lts = false; From f200c10c8a1d893def2694d92ca6f3fd7302ced2 Mon Sep 17 00:00:00 2001 From: June Stepp Date: Sun, 20 Jul 2025 15:20:59 -0500 Subject: [PATCH 31/44] nixos/peertube-runner: init module --- nixos/modules/module-list.nix | 1 + .../services/web-apps/peertube-runner.nix | 256 ++++++++++++++++++ nixos/tests/web-apps/peertube.nix | 87 +++++- 3 files changed, 330 insertions(+), 14 deletions(-) create mode 100644 nixos/modules/services/web-apps/peertube-runner.nix diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index e2e04222383f..7ce303c13ec0 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -1644,6 +1644,7 @@ ./services/web-apps/part-db.nix ./services/web-apps/pds.nix ./services/web-apps/peering-manager.nix + ./services/web-apps/peertube-runner.nix ./services/web-apps/peertube.nix ./services/web-apps/pgpkeyserver-lite.nix ./services/web-apps/photoprism.nix diff --git a/nixos/modules/services/web-apps/peertube-runner.nix b/nixos/modules/services/web-apps/peertube-runner.nix new file mode 100644 index 000000000000..749a1d71d704 --- /dev/null +++ b/nixos/modules/services/web-apps/peertube-runner.nix @@ -0,0 +1,256 @@ +{ + lib, + pkgs, + config, + ... +}: + +let + cfg = config.services.peertube-runner; + + settingsFormat = pkgs.formats.toml { }; + configFile = settingsFormat.generate "config.toml" cfg.settings; + + env = { + NODE_ENV = "production"; + XDG_CONFIG_HOME = "/var/lib/peertube-runner"; + XDG_CACHE_HOME = "/var/cache/peertube-runner"; + # peertube-runner makes its IPC socket in $XDG_DATA_HOME. + XDG_DATA_HOME = "/run/peertube-runner"; + }; +in +{ + options.services.peertube-runner = { + enable = lib.mkEnableOption "peertube-runner"; + package = lib.mkPackageOption pkgs [ "peertube" "runner" ] { }; + + user = lib.mkOption { + type = lib.types.str; + default = "prunner"; + example = "peertube-runner"; + description = "User account under which peertube-runner runs."; + }; + group = lib.mkOption { + type = lib.types.str; + default = "prunner"; + example = "peertube-runner"; + description = "Group under which peertube-runner runs."; + }; + + settings = lib.mkOption { + type = settingsFormat.type; + default = { }; + example = lib.literalExpression '' + { + jobs.concurrency = 4; + ffmpeg = { + threads = 0; # Let ffmpeg automatically choose. + nice = 5; + }; + transcription.model = "large-v3"; + } + ''; + description = '' + Configuration for peertube-runner. + + See available configuration options at https://docs.joinpeertube.org/maintain/tools#configuration. + ''; + }; + instancesToRegister = lib.mkOption { + type = + with lib.types; + attrsOf (submodule { + options = { + url = lib.mkOption { + type = lib.types.str; + example = "https://mypeertubeinstance.com"; + description = "URL of the PeerTube instance."; + }; + registrationTokenFile = lib.mkOption { + type = lib.types.path; + example = "/run/secrets/my-peertube-instance-registration-token"; + description = '' + Path to a file containing a registration token for the PeerTube instance. + + See how to generate registration tokens at https://docs.joinpeertube.org/admin/remote-runners#manage-remote-runners. + ''; + }; + runnerName = lib.mkOption { + type = lib.types.str; + example = "Transcription"; + description = "Runner name declared to the PeerTube instance."; + }; + runnerDescription = lib.mkOption { + type = with lib.types; nullOr str; + default = null; + example = "Runner for video transcription"; + description = "Runner description declared to the PeerTube instance."; + }; + }; + }); + default = { }; + example = { + personal = { + url = "https://mypeertubeinstance.com"; + registrationTokenFile = "/run/secrets/my-peertube-instance-registration-token"; + runnerName = "Transcription"; + runnerDescription = "Runner for video transcription"; + }; + }; + description = "PeerTube instances to register this runner with."; + }; + + enabledJobTypes = lib.mkOption { + type = with lib.types; nonEmptyListOf str; + default = [ + "vod-web-video-transcoding" + "vod-hls-transcoding" + "vod-audio-merge-transcoding" + "live-rtmp-hls-transcoding" + "video-studio-transcoding" + "video-transcription" + ]; + example = [ "video-transcription" ]; + description = "Job types that this runner will execute."; + }; + }; + + config = lib.mkIf cfg.enable { + assertions = [ + { + assertion = !(cfg.settings ? registeredInstances); + message = '' + `services.peertube-runner.settings.registeredInstances` cannot be used. + Instead, registered instances can be configured with `services.peertube-runner.instancesToRegister`. + ''; + } + ]; + warnings = lib.optional (cfg.instancesToRegister == { }) '' + `services.peertube-runner.instancesToRegister` is empty. + Instances cannot be manually registered using the command line. + ''; + + services.peertube-runner.settings = { + transcription = lib.mkIf (lib.elem "video-transcription" cfg.enabledJobTypes) { + engine = lib.mkDefault "whisper-ctranslate2"; + enginePath = lib.mkDefault (lib.getExe pkgs.whisper-ctranslate2); + }; + }; + + environment.systemPackages = [ + (pkgs.writeShellScriptBin "peertube-runner" '' + ${lib.concatMapAttrsStringSep "\n" (name: value: ''export ${name}="${toString value}"'') env} + + if [[ "$USER" == ${cfg.user} ]]; then + exec ${lib.getExe' cfg.package "peertube-runner"} "$@" + else + echo "This has to be run with the \`${cfg.user}\` user. Ex: \`sudo -u ${cfg.user} peertube-runner\`" + fi + '') + ]; + + systemd.services.peertube-runner = { + description = "peertube-runner daemon"; + after = [ + "network.target" + (lib.mkIf config.services.peertube.enable "peertube.service") + ]; + wantedBy = [ "multi-user.target" ]; + + environment = env; + path = [ pkgs.ffmpeg-headless ]; + + script = '' + config_dir=$XDG_CONFIG_HOME/peertube-runner-nodejs/default + mkdir -p $config_dir + config_file=$config_dir/config.toml + cp -f --no-preserve=mode,ownership ${configFile} $config_file + + ${lib.optionalString ((lib.length (lib.attrNames cfg.instancesToRegister)) > 0) '' + # Temp config directory for registration commands + temp_dir=$(mktemp --directory) + temp_config_dir=$temp_dir/peertube-runner-nodejs/default + mkdir -p $temp_config_dir + temp_config_file=$temp_config_dir/config.toml + + mkdir -p $STATE_DIRECTORY/runner_tokens + ${lib.concatMapAttrsStringSep "\n" (instanceName: instance: '' + runner_token_file=$STATE_DIRECTORY/runner_tokens/${instanceName} + + # Register any currenctly unregistered instances. + if [ ! -f $runner_token_file ] || [[ $(cat $runner_token_file) != ptrt-* ]]; then + # Server has to be running for registration. + XDG_CONFIG_HOME=$temp_dir ${lib.getExe' cfg.package "peertube-runner"} server & + + XDG_CONFIG_HOME=$temp_dir ${lib.getExe' cfg.package "peertube-runner"} register \ + --url ${lib.escapeShellArg instance.url} \ + --registration-token "$(cat ${instance.registrationTokenFile})" \ + --runner-name ${lib.escapeShellArg instance.runnerName} \ + ${lib.optionalString ( + instance.runnerDescription != null + ) ''--runner-description ${lib.escapeShellArg instance.runnerDescription}''} + + # Kill the server + kill $! + + ${lib.getExe pkgs.yq-go} -e ".registeredInstances[0].runnerToken" \ + $temp_config_file > $runner_token_file + rm $temp_config_file + fi + + echo " + + [[registeredInstances]] + url = \"${instance.url}\" + runnerToken = \"$(cat $runner_token_file)\" + runnerName = \"${instance.runnerName}\" + ${lib.optionalString ( + instance.runnerDescription != null + ) ''runnerDescription = \"${instance.runnerDescription}\"''} + " >> $config_file + '') cfg.instancesToRegister} + ''} + + # Don't allow changes that won't persist. + chmod 440 $config_file + + systemd-notify --ready + exec ${lib.getExe' cfg.package "peertube-runner"} server ${ + lib.concatMapStringsSep " " (jobType: "--enable-job ${jobType}") cfg.enabledJobTypes + } + ''; + serviceConfig = { + Type = "notify"; + NotifyAccess = "all"; # for systemd-notify + Restart = "always"; + RestartSec = 5; + SyslogIdentifier = "prunner"; + User = cfg.user; + Group = cfg.group; + StateDirectory = "peertube-runner"; + StateDirectoryMode = "0700"; + CacheDirectory = "peertube-runner"; + CacheDirectoryMode = "0700"; + RuntimeDirectory = "peertube-runner"; + RuntimeDirectoryMode = "0700"; + + ProtectSystem = "full"; + NoNewPrivileges = true; + ProtectHome = true; + CapabilityBoundingSet = "~CAP_SYS_ADMIN"; + }; + }; + + users.users = lib.mkIf (cfg.user == "prunner") { + ${cfg.user} = { + isSystemUser = true; + group = cfg.group; + }; + }; + users.groups = lib.mkIf (cfg.group == "prunner") { + ${cfg.group} = { }; + }; + }; + + meta.maintainers = lib.teams.ngi.members; +} diff --git a/nixos/tests/web-apps/peertube.nix b/nixos/tests/web-apps/peertube.nix index c3e1320c8d5a..812a3adfd3dd 100644 --- a/nixos/tests/web-apps/peertube.nix +++ b/nixos/tests/web-apps/peertube.nix @@ -1,8 +1,15 @@ import ../make-test-python.nix ( - { pkgs, ... }: + { lib, pkgs, ... }: + let + domain = "peertube.local"; + port = 9000; + url = "http://${domain}:${toString port}"; + password = "zw4SqYVdcsXUfRX8aaFX"; + registrationTokenFile = "/etc/peertube-runner-registration-token"; + in { name = "peertube"; - meta.maintainers = with pkgs.lib.maintainers; [ izorkin ]; + meta.maintainers = with lib.maintainers; [ izorkin ] ++ lib.teams.ngi.members; nodes = { database = { @@ -53,7 +60,7 @@ import ../make-test-python.nix ( environment = { etc = { "peertube/password-init-root".text = '' - PT_INITIAL_ROOT_PASSWORD=zw4SqYVdcsXUfRX8aaFX + PT_INITIAL_ROOT_PASSWORD=${password} ''; "peertube/secrets-peertube".text = '' 063d9c60d519597acef26003d5ecc32729083965d09181ef3949200cbe5f09ee @@ -77,14 +84,14 @@ import ../make-test-python.nix ( ]; }; extraHosts = '' - 192.168.2.11 peertube.local + 192.168.2.11 ${domain} ''; - firewall.allowedTCPPorts = [ 9000 ]; + firewall.allowedTCPPorts = [ port ]; }; services.peertube = { enable = true; - localDomain = "peertube.local"; + localDomain = domain; enableWebHttps = false; serviceEnvironmentFile = "/etc/peertube/password-init-root"; @@ -132,9 +139,28 @@ import ../make-test-python.nix ( ]; }; extraHosts = '' - 192.168.2.11 peertube.local + 192.168.2.11 ${domain} ''; }; + + services.peertube-runner = { + enable = true; + # Don't pull in unneeded dependencies. + enabledJobTypes = [ "video-studio-transcoding" ]; + instancesToRegister = { + testServer1 = { + inherit url registrationTokenFile; + runnerName = "I'm a test!!!"; + }; + testServer2 = { + inherit url registrationTokenFile; + runnerName = "I'm also a test..."; + runnerDescription = "Even more testing?!?!"; + }; + }; + }; + # Will be manually started in test script. + systemd.services.peertube-runner.wantedBy = lib.mkForce [ ]; }; }; @@ -149,16 +175,49 @@ import ../make-test-python.nix ( database.wait_for_open_port(31638) server.wait_for_unit("peertube.service") - server.wait_for_open_port(9000) + server.wait_for_open_port(${toString port}) # Check if PeerTube is running - client.succeed("curl --fail http://peertube.local:9000/api/v1/config/about | jq -r '.instance.name' | grep 'PeerTube\ Test\ Server'") + client.succeed("curl --fail ${url}/api/v1/config/about | jq -r '.instance.name' | grep 'PeerTube Test Server'") - # Check PeerTube CLI version - client.succeed('peertube-cli auth add -u "http://peertube.local:9000" -U "root" --password "zw4SqYVdcsXUfRX8aaFX"') - client.succeed('peertube-cli auth list | grep "http://peertube.local:9000"') - client.succeed('peertube-cli auth del "http://peertube.local:9000"') - client.fail('peertube-cli auth list | grep "http://peertube.local:9000"') + + # PeerTube CLI + + client.succeed('peertube-cli auth add -u "${url}" -U "root" --password "${password}"') + client.succeed('peertube-cli auth list | grep "${url}"') + client.succeed('peertube-cli auth del "${url}"') + client.fail('peertube-cli auth list | grep "${url}"') + + + # peertube-runner + + access_token = client.succeed( + 'peertube-cli get-access-token --url "${url}" --username "root" --password "${password}"' + ).strip() + # Generate registration token. + client.succeed(f"curl --fail -X POST -H 'Authorization: Bearer {access_token}' ${url}/api/v1/runners/registration-tokens/generate") + # Get registration token, and put it where `registrationTokenFile` from the + # peertube-runner module points to. + client.succeed( + f"curl --fail -H 'Authorization: Bearer {access_token}' ${url}/api/v1/runners/registration-tokens" \ + " | jq --raw-output '.data[0].registrationToken'" \ + " > ${registrationTokenFile}" + ) + + client.systemctl("start peertube-runner.service") + client.wait_for_unit("peertube-runner.service") + + runner_command = "sudo -u prunner peertube-runner" + client.succeed(f'{runner_command} list-registered | grep "I\'m a test!!!"') + client.succeed(f'{runner_command} list-registered | grep "I\'m also a test..."') + client.succeed(f'{runner_command} list-registered | grep "Even more testing?!?!"') + + # Service should still work once instances are already registered. + client.systemctl("restart peertube-runner.service") + client.wait_for_unit("peertube-runner.service") + + + # Cleanup client.shutdown() server.shutdown() From 8857732f5a458874cdd95e591774fd5633b0c31b Mon Sep 17 00:00:00 2001 From: Defelo Date: Wed, 23 Jul 2025 17:38:19 +0000 Subject: [PATCH 32/44] anubis: 1.21.0 -> 1.21.3 Changelog: https://github.com/TecharoHQ/anubis/releases/tag/v1.21.3 Diff: https://github.com/TecharoHQ/anubis/compare/v1.21.0...v1.21.3 --- pkgs/by-name/an/anubis/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/an/anubis/package.nix b/pkgs/by-name/an/anubis/package.nix index 43a00eefe288..9ea88f04128d 100644 --- a/pkgs/by-name/an/anubis/package.nix +++ b/pkgs/by-name/an/anubis/package.nix @@ -13,13 +13,13 @@ buildGoModule (finalAttrs: { pname = "anubis"; - version = "1.21.0"; + version = "1.21.3"; src = fetchFromGitHub { owner = "TecharoHQ"; repo = "anubis"; tag = "v${finalAttrs.version}"; - hash = "sha256-FKX8E32unAKK8e/Nlrj24FU1amc7AJw28hzmZDbIcIc="; + hash = "sha256-CMFd9che+D1ot1Iqk0VcJmna0xIqHlRIvNnzYo+q+RU="; }; vendorHash = "sha256-cWkC3Bqut5h3hHh5tPIPeHMnkwoqKMnG1x40uCtUIwI="; @@ -34,7 +34,7 @@ buildGoModule (finalAttrs: { pname = "anubis-xess"; inherit (finalAttrs) version src; - npmDepsHash = "sha256-jvYmAbbMRy8fK2Y0YC0UJGhNRLzk1kjzGvRbqhWFzS4="; + npmDepsHash = "sha256-NJMUXGXcaY8l1WIbvCn+aIknVuagR7X8gRkme9xpYQ0="; buildPhase = '' runHook preBuild From be84e7bfff6c30ac2d79a108f694d2d58d6d0102 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Jul 2025 17:12:23 +0000 Subject: [PATCH 33/44] python3Packages.jianpu-ly: 1.859 -> 1.860 --- pkgs/development/python-modules/jianpu-ly/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jianpu-ly/default.nix b/pkgs/development/python-modules/jianpu-ly/default.nix index 7627db1f28af..5d2ce747b8a6 100644 --- a/pkgs/development/python-modules/jianpu-ly/default.nix +++ b/pkgs/development/python-modules/jianpu-ly/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "jianpu-ly"; - version = "1.859"; + version = "1.860"; pyproject = true; src = fetchPypi { inherit version; pname = "jianpu_ly"; - hash = "sha256-+DMaFEf8LfXMujmq1eKQO2/8L1lqQ2Idc5UuN7saIP4="; + hash = "sha256-lUsQMNYQVuZ0Ob007hrSigGLWuyFehLEdm112V3PLXI="; }; dependencies = [ lilypond ]; From 10235a7a9b22a68ba8fd4c4544c6c3e360001bab Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Jul 2025 17:18:48 +0000 Subject: [PATCH 34/44] qq: 3.2.18-2025-07-10 -> 3.2.18-2025-07-24 --- pkgs/by-name/qq/qq/sources.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/qq/qq/sources.nix b/pkgs/by-name/qq/qq/sources.nix index 63ad3012a9dd..63dfbf6ca5e6 100644 --- a/pkgs/by-name/qq/qq/sources.nix +++ b/pkgs/by-name/qq/qq/sources.nix @@ -1,12 +1,12 @@ # Generated by ./update.sh - do not update manually! -# Last updated: 2025-07-18 +# Last updated: 2025-07-25 { fetchurl }: let any-darwin = { - version = "6.9.75-2025-07-10"; + version = "6.9.77-2025-07-24"; src = fetchurl { - url = "https://dldir1v6.qq.com/qqfile/qq/QQNT/Mac/QQ_6.9.75_250710_01.dmg"; - hash = "sha256-ejplu4I5PRBdwMrgDZ51WS+qN1GKc5qHqMToIvgR6og="; + url = "https://dldir1v6.qq.com/qqfile/qq/QQNT/Mac/QQ_6.9.77_250724_01.dmg"; + hash = "sha256-ZHpFH5PPDaVtbEZsb+1fyoscWuPYedTrIaoqhnsXRlc="; }; }; in @@ -14,17 +14,17 @@ in aarch64-darwin = any-darwin; x86_64-darwin = any-darwin; aarch64-linux = { - version = "3.2.18-2025-07-10"; + version = "3.2.18-2025-07-24"; src = fetchurl { - url = "https://dldir1v6.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.18_250710_arm64_01.deb"; - hash = "sha256-37HEXpLyeIjgXsAonNjS3YaIwk4It2LDy6Yj4lqK94Q="; + url = "https://dldir1v6.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.18_250724_arm64_01.deb"; + hash = "sha256-j+ouSBfryrRXQbyC4ZDyrKPLqJVw67tGjlHdKel5Br4="; }; }; x86_64-linux = { - version = "3.2.18-2025-07-10"; + version = "3.2.18-2025-07-24"; src = fetchurl { - url = "https://dldir1v6.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.18_250710_amd64_01.deb"; - hash = "sha256-P023rIalPAgBXZqJvnCgEHqTumWm+dhaUefzuR/4aoU="; + url = "https://dldir1v6.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.18_250724_amd64_01.deb"; + hash = "sha256-HHFUXAv6oWsipBYECLNFJG8OMQ7fxjruA210w/oFFok="; }; }; } From f4dd02b7d6cf2ce3377290b03509f1421e0209d9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Jul 2025 17:24:41 +0000 Subject: [PATCH 35/44] python3Packages.llama-index-instrumentation: 0.2.0 -> 0.3.0 --- .../python-modules/llama-index-instrumentation/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/llama-index-instrumentation/default.nix b/pkgs/development/python-modules/llama-index-instrumentation/default.nix index d521e38c2726..8f430b775c9e 100644 --- a/pkgs/development/python-modules/llama-index-instrumentation/default.nix +++ b/pkgs/development/python-modules/llama-index-instrumentation/default.nix @@ -9,13 +9,13 @@ buildPythonPackage rec { pname = "llama-index-instrumentation"; - version = "0.2.0"; + version = "0.3.0"; pyproject = true; src = fetchPypi { pname = "llama_index_instrumentation"; inherit version; - hash = "sha256-roMzUiSH4iozcykkqaCN+0VvVJk8XJfYNA2zxiC3bxM="; + hash = "sha256-d3QcHZhh6tCA5vmDUGJZcUiNHgRr7ekc7J4M4vY+o0o="; }; pythonRelaxDeps = [ "pydantic" ]; From 563a96f2f1a36f70fddbaf6d5fc371ec97d2c4a4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Jul 2025 17:39:13 +0000 Subject: [PATCH 36/44] python3Packages.llama-index-workflows: 1.1.0 -> 1.2.0 --- .../python-modules/llama-index-workflows/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/llama-index-workflows/default.nix b/pkgs/development/python-modules/llama-index-workflows/default.nix index 225a1d0bcb34..e6deefa07d40 100644 --- a/pkgs/development/python-modules/llama-index-workflows/default.nix +++ b/pkgs/development/python-modules/llama-index-workflows/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "llama-index-workflows"; - version = "1.1.0"; + version = "1.2.0"; pyproject = true; src = fetchPypi { pname = "llama_index_workflows"; inherit version; - hash = "sha256-/wAdNiEAv8KjNTzF8lKKCttSJF5jIZGoa0vdrN5ytq8="; + hash = "sha256-9rGfAaNAoa+x0v0ihcnc40bjBKOq5RnmEDBZ9a+yYJ8="; }; pythonRelaxDeps = [ "pydantic" ]; From e5e5a4c5d77f88cf4ba676f5e450da6a5688b930 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Jul 2025 17:51:17 +0000 Subject: [PATCH 37/44] overpush: 0.4.3 -> 0.4.5 --- pkgs/by-name/ov/overpush/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ov/overpush/package.nix b/pkgs/by-name/ov/overpush/package.nix index 08b603d3b0af..d48f60c2242d 100644 --- a/pkgs/by-name/ov/overpush/package.nix +++ b/pkgs/by-name/ov/overpush/package.nix @@ -9,16 +9,16 @@ buildGoModule (finalAttrs: { pname = "overpush"; - version = "0.4.3"; + version = "0.4.5"; src = fetchFromGitHub { owner = "mrusme"; repo = "overpush"; tag = "v${finalAttrs.version}"; - hash = "sha256-Bs5Mlpod7bIQxekadU6xBhgC8nchli+BvxEH6NeMOKw="; + hash = "sha256-6tSptrvlaljKMUawGD3Bk1LBwge/Awvvudpr+juuuQQ="; }; - vendorHash = "sha256-wsuztFwEfluUxL2RjMP7Y+JtxQHr5oLwHkAL8UIHyVQ="; + vendorHash = "sha256-KUfGc4vFfw59mwqR840cbL4ubBH1i+sIniHU0CDCKTg="; env.CGO_ENABLED = "0"; From ce7abcc441ad5221c45cf1b8ed7520e0b406ae49 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 25 Jul 2025 19:27:50 +0200 Subject: [PATCH 38/44] python3Packages.coffea: 2025.7.1 -> 2025.7.2 Diff: https://github.com/CoffeaTeam/coffea/compare/refs/tags/v2025.7.1...refs/tags/v2025.7.2 Changelog: https://github.com/CoffeaTeam/coffea/releases/tag/v2025.7.2 --- pkgs/development/python-modules/coffea/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/coffea/default.nix b/pkgs/development/python-modules/coffea/default.nix index 5dfe3823ea07..e775c6d2b30a 100644 --- a/pkgs/development/python-modules/coffea/default.nix +++ b/pkgs/development/python-modules/coffea/default.nix @@ -16,7 +16,6 @@ dask, dask-awkward, dask-histogram, - fsspec-xrootd, hist, lz4, matplotlib, @@ -42,14 +41,14 @@ buildPythonPackage rec { pname = "coffea"; - version = "2025.7.1"; + version = "2025.7.2"; pyproject = true; src = fetchFromGitHub { owner = "CoffeaTeam"; repo = "coffea"; tag = "v${version}"; - hash = "sha256-GtofpITO9QcwFcKyVTz7clquJy2tBTlkf3IR1cXlklM="; + hash = "sha256-MSCJRjw4bbQQAA39fOQAJ9qfRXO/hUrLeXZMRVGd2Zc="; }; build-system = [ @@ -70,7 +69,6 @@ buildPythonPackage rec { dask dask-awkward dask-histogram - fsspec-xrootd hist lz4 matplotlib From 6500a68d00b2efeedc39a8369a6b1059f78b753e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Jul 2025 18:34:53 +0000 Subject: [PATCH 39/44] cargo-lambda: 1.8.5 -> 1.8.6 --- pkgs/by-name/ca/cargo-lambda/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ca/cargo-lambda/package.nix b/pkgs/by-name/ca/cargo-lambda/package.nix index b9f81bbd6287..40f6ce9cdb2e 100644 --- a/pkgs/by-name/ca/cargo-lambda/package.nix +++ b/pkgs/by-name/ca/cargo-lambda/package.nix @@ -14,17 +14,17 @@ rustPlatform.buildRustPackage rec { pname = "cargo-lambda"; - version = "1.8.5"; + version = "1.8.6"; src = fetchFromGitHub { owner = "cargo-lambda"; repo = "cargo-lambda"; tag = "v${version}"; - hash = "sha256-iYfm7/XbLThtEo+zSW8sn7T6XEhzyiVKy6/cisshc+Y="; + hash = "sha256-ocFD2FK1nlEJ8xXhDSxpSKYU8oZk/QwfojveypVt1GU="; }; useFetchCargoVendor = true; - cargoHash = "sha256-mCD3Szbl5BXknTWJhm2xlcIV0aKczsEi8yRDA4erTYc="; + cargoHash = "sha256-yE0pr7RZb015d51QtwVNfqXd8yEETvDdKJ5M7Oqc4Ds="; nativeCheckInputs = [ cacert ]; From e2cb4428655f20512e0b521b2eb6095343452db9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Jul 2025 19:11:24 +0000 Subject: [PATCH 40/44] cargo-tauri: 2.7.0 -> 2.7.1 --- pkgs/by-name/ca/cargo-tauri/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ca/cargo-tauri/package.nix b/pkgs/by-name/ca/cargo-tauri/package.nix index 23998fa836d2..929154a63e5e 100644 --- a/pkgs/by-name/ca/cargo-tauri/package.nix +++ b/pkgs/by-name/ca/cargo-tauri/package.nix @@ -13,17 +13,17 @@ rustPlatform.buildRustPackage rec { pname = "tauri"; - version = "2.7.0"; + version = "2.7.1"; src = fetchFromGitHub { owner = "tauri-apps"; repo = "tauri"; tag = "tauri-cli-v${version}"; - hash = "sha256-nEt4xoVHozqxWnyrXTn7XDgH2HYCzrfqBgt71+goYms="; + hash = "sha256-0J55AvAvvqTVls4474GcgLPBtSC+rh8cXVKluMjAVBE="; }; useFetchCargoVendor = true; - cargoHash = "sha256-av5UF0MgKnTwEX4dHhekvj2tz/BOZyUbs1YqLwx28Cw="; + cargoHash = "sha256-nkY1ydc2VewRwY+B5nR68mz8Ff3FK1KoHE4dLzNtPkY="; nativeBuildInputs = [ pkg-config ]; From ced555605ff415b3d6a77eb52e8c360c686b6142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Mon, 14 Jul 2025 13:25:10 +0200 Subject: [PATCH 41/44] homepage-dashboard: fix enableLocalIcons = true build Fix this build error: Running phase: installPhase cp: cannot create regular file '/nix/store/pyxl74qanpdplcjqs7r4g2ywlnaa56ms-homepage-dashboard-1.3.2/share/homepage/public/icons/assetgrid.png': Permission denied While at it, use "cp -r" instead of globs to prevent potential issues with overlong command lines. --- pkgs/by-name/ho/homepage-dashboard/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ho/homepage-dashboard/package.nix b/pkgs/by-name/ho/homepage-dashboard/package.nix index a77cf4c41fc0..a71667ae778a 100644 --- a/pkgs/by-name/ho/homepage-dashboard/package.nix +++ b/pkgs/by-name/ho/homepage-dashboard/package.nix @@ -21,8 +21,8 @@ let installLocalIcons = '' mkdir -p $out/share/homepage/public/icons - cp ${dashboardIcons}/png/* $out/share/homepage/public/icons - cp ${dashboardIcons}/svg/* $out/share/homepage/public/icons + cp -r --no-preserve=mode ${dashboardIcons}/png/. $out/share/homepage/public/icons + cp -r --no-preserve=mode ${dashboardIcons}/svg/. $out/share/homepage/public/icons cp ${dashboardIcons}/LICENSE $out/share/homepage/public/icons/ ''; in From a1d302abebe6869c06ed14e0543e8029b811787d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Mon, 14 Jul 2025 14:03:28 +0200 Subject: [PATCH 42/44] homepage-dashboard: dashboard-icons: 2025-01-06 -> 2025-07-11 --- pkgs/by-name/ho/homepage-dashboard/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ho/homepage-dashboard/package.nix b/pkgs/by-name/ho/homepage-dashboard/package.nix index a71667ae778a..601da8cb8c88 100644 --- a/pkgs/by-name/ho/homepage-dashboard/package.nix +++ b/pkgs/by-name/ho/homepage-dashboard/package.nix @@ -15,8 +15,8 @@ let dashboardIcons = fetchFromGitHub { owner = "homarr-labs"; repo = "dashboard-icons"; - rev = "51a2ae7b101c520bcfb5b44e5ddc99e658bc1e21"; # Until 2025-01-06 - hash = "sha256-rKXeMAhHV0Ax7mVFyn6hIZXm5RFkbGakjugU0DG0jLM="; + rev = "f222c55843b888a82e9f2fe2697365841cbe6025"; # Until 2025-07-11 + hash = "sha256-VOWQh8ZadsqNInoXcRKYuXfWn5MK0qJpuYEWgM7Pny8="; }; installLocalIcons = '' From a0739140fd5df9a3371bf021729c0a25de79974b Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 24 Jul 2025 15:13:07 +0200 Subject: [PATCH 43/44] python3Packages.backrefs: init at 5.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> --- .../python-modules/backrefs/default.nix | 40 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 42 insertions(+) create mode 100644 pkgs/development/python-modules/backrefs/default.nix diff --git a/pkgs/development/python-modules/backrefs/default.nix b/pkgs/development/python-modules/backrefs/default.nix new file mode 100644 index 000000000000..2446f8379b04 --- /dev/null +++ b/pkgs/development/python-modules/backrefs/default.nix @@ -0,0 +1,40 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + hatchling, + pytestCheckHook, + regex, +}: + +buildPythonPackage rec { + pname = "backrefs"; + version = "5.9"; + pyproject = true; + + src = fetchFromGitHub { + owner = "facelessuser"; + repo = "backrefs"; + tag = version; + hash = "sha256-W75JLoBn990PoO3Ej3nb3BjOGm0c71o8hDDBUFWr8i4="; + }; + + build-system = [ + hatchling + ]; + + pythonImportsCheck = [ "backrefs" ]; + + nativeCheckInputs = [ + pytestCheckHook + regex + ]; + + meta = { + description = "Wrapper around re or regex that adds additional back references"; + homepage = "https://github.com/facelessuser/backrefs"; + changelog = "https://github.com/facelessuser/backrefs/releases/tag/${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ drupol ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 28aa7a7dddb1..bf1c1c7f4806 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1635,6 +1635,8 @@ self: super: with self; { backports-tarfile = callPackage ../development/python-modules/backports-tarfile { }; + backrefs = callPackage ../development/python-modules/backrefs { }; + backtesting = callPackage ../development/python-modules/backtesting { }; bacpypes = callPackage ../development/python-modules/bacpypes { }; From 3871e86f71d201d14de814f6a33541c2029f851b Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 24 Jul 2025 15:17:04 +0200 Subject: [PATCH 44/44] python3Packages.mkdocs-material: 9.6.4 -> 9.6.15 --- .../python-modules/mkdocs-material/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/mkdocs-material/default.nix b/pkgs/development/python-modules/mkdocs-material/default.nix index e9c6dcaef2f0..f7ad8267ef8c 100644 --- a/pkgs/development/python-modules/mkdocs-material/default.nix +++ b/pkgs/development/python-modules/mkdocs-material/default.nix @@ -1,6 +1,7 @@ { lib, babel, + backrefs, buildPythonPackage, cairosvg, colorama, @@ -20,7 +21,6 @@ pillow, pygments, pymdown-extensions, - pythonOlder, regex, requests, trove-classifiers, @@ -28,16 +28,14 @@ buildPythonPackage rec { pname = "mkdocs-material"; - version = "9.6.4"; + version = "9.6.15"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchFromGitHub { owner = "squidfunk"; repo = "mkdocs-material"; tag = version; - hash = "sha256-Di+m06LuS5mXzvmz8Cvby49HguUPbXEJf9PnR8fQ5jw="; + hash = "sha256-EksLvPl/VfGSufdqgWlQTd6kz07/pTIAOz7hMBdy8Ro="; }; nativeBuildInputs = [ @@ -49,6 +47,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ babel + backrefs colorama jinja2 markdown