diff --git a/nixos/doc/manual/installation/installing-from-other-distro.section.md b/nixos/doc/manual/installation/installing-from-other-distro.section.md index 2b9d3171264a..3ccb16cbe50e 100644 --- a/nixos/doc/manual/installation/installing-from-other-distro.section.md +++ b/nixos/doc/manual/installation/installing-from-other-distro.section.md @@ -47,7 +47,7 @@ The first steps to all these are the same: Where `` corresponds to the latest version available on [channels.nixos.org](https://channels.nixos.org/). - You may want to throw in a `nix-channel --update` for good measure. + You must run `$ nix-channel --update` for the channel change to take effect. 1. Install the NixOS installation tools: diff --git a/nixos/modules/services/mail/stalwart.nix b/nixos/modules/services/mail/stalwart.nix index 4e596ad3e572..d4b3bf801042 100644 --- a/nixos/modules/services/mail/stalwart.nix +++ b/nixos/modules/services/mail/stalwart.nix @@ -57,7 +57,7 @@ in default = { }; description = '' Configuration options for the Stalwart server. - See for available options. + See for available options. By default, the module is configured to store everything locally. ''; diff --git a/pkgs/applications/virtualization/virtualbox/default.nix b/pkgs/applications/virtualization/virtualbox/default.nix index f64bff64a9b7..91c93d19d0cf 100644 --- a/pkgs/applications/virtualization/virtualbox/default.nix +++ b/pkgs/applications/virtualization/virtualbox/default.nix @@ -72,9 +72,9 @@ let buildType = "release"; # Use maintainers/scripts/update.nix to update the version and all related hashes or # change the hashes in extpack.nix and guest-additions/default.nix as well manually. - virtualboxVersion = "7.2.10"; + virtualboxVersion = "7.2.12"; virtualboxSubVersion = ""; - virtualboxSha256 = "203a02e3c33ed02fdd75211a58bc9e77c9a8042ad4fa91ddc2914afbd2d67125"; + virtualboxSha256 = "64a4843677e42010e7799e951883fbbefc56bf2bc162e4970edea04f142f8b25"; kvmPatchVboxVersion = "7.2.6"; kvmPatchVersion = "20260201"; diff --git a/pkgs/applications/virtualization/virtualbox/extpack.nix b/pkgs/applications/virtualization/virtualbox/extpack.nix index 7ec6e79e8924..c8580a091e6a 100644 --- a/pkgs/applications/virtualization/virtualbox/extpack.nix +++ b/pkgs/applications/virtualization/virtualbox/extpack.nix @@ -5,7 +5,7 @@ }: fetchurl rec { pname = "virtualbox-extpack"; - version = "7.2.10"; + version = "7.2.12"; name = "Oracle_VirtualBox_Extension_Pack-${version}.vbox-extpack"; url = "https://download.virtualbox.org/virtualbox/${version}/${name}"; sha256 = @@ -13,7 +13,7 @@ fetchurl rec { # Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`. # Checksums can also be found at https://download.virtualbox.org/virtualbox/${version}/SHA256SUMS let - value = "87f03161e5b6b1ecfa0024f795eefdb68abc46aa9689f67bb69e7db4ef9033dd"; + value = "ac461d67462e06a9e16e8b96623c1b1a8c692c7f78e3566584b47e2d2e533f76"; in assert (builtins.stringLength value) == 64; value; diff --git a/pkgs/applications/virtualization/virtualbox/guest-additions-iso/default.nix b/pkgs/applications/virtualization/virtualbox/guest-additions-iso/default.nix index 1744c85fe349..a1abd7a1b18f 100644 --- a/pkgs/applications/virtualization/virtualbox/guest-additions-iso/default.nix +++ b/pkgs/applications/virtualization/virtualbox/guest-additions-iso/default.nix @@ -5,7 +5,7 @@ }: fetchurl { url = "http://download.virtualbox.org/virtualbox/${virtualboxVersion}/VBoxGuestAdditions_${virtualboxVersion}.iso"; - sha256 = "306b1dea6022647bde19424816b995714fa5815ff7bdf00f6a015bf8af0839e7"; + sha256 = "ae55a8a3b3934785a3a622f63483806e3228112eba57f86ca932958199b8f61b"; meta = { description = "Guest additions ISO for VirtualBox"; longDescription = '' diff --git a/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix b/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix index fbdba6e91b7a..fa4725a69a20 100644 --- a/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix +++ b/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix @@ -18,9 +18,9 @@ libx11, }: let - virtualboxVersion = "7.2.10"; + virtualboxVersion = "7.2.12"; virtualboxSubVersion = ""; - virtualboxSha256 = "203a02e3c33ed02fdd75211a58bc9e77c9a8042ad4fa91ddc2914afbd2d67125"; + virtualboxSha256 = "64a4843677e42010e7799e951883fbbefc56bf2bc162e4970edea04f142f8b25"; platform = if stdenv.hostPlatform.isAarch64 then diff --git a/pkgs/by-name/br/brave/package.nix b/pkgs/by-name/br/brave/package.nix index a5721a172127..17e075e0206f 100644 --- a/pkgs/by-name/br/brave/package.nix +++ b/pkgs/by-name/br/brave/package.nix @@ -3,20 +3,20 @@ let pname = "brave"; - version = "1.92.140"; + version = "1.92.141"; allArchives = { aarch64-linux = { url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_arm64.deb"; - hash = "sha256-erH7ydVvVykPKYyrIRsn/FCh/ZCU0G+WrubOtfAxFYA="; + hash = "sha256-FVzXaVpyfX+GIVofy3NfpE8rOH+9LjQpdEoEWQV0DqI="; }; x86_64-linux = { url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb"; - hash = "sha256-IB2jRvtO30OAqyEZRgeuyNU9eLgIXJj7rLOooZcDuKY="; + hash = "sha256-A87vCTtcyuNMPLaLYDjgyIm85zwAXNc3Z4ImtC9Kjek="; }; aarch64-darwin = { url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-v${version}-darwin-arm64.zip"; - hash = "sha256-g7R8Sz3apcIMrQX6xqWiz0MMDru4hQQj5Uauq59BE/o="; + hash = "sha256-b4BmNt+c0CSrtS2n+30gdWrSsFOQSZnFAy2vWbGJz6g="; }; }; diff --git a/pkgs/by-name/di/diffoscope/package.nix b/pkgs/by-name/di/diffoscope/package.nix index ae45896fed38..6a55cf5a1eab 100644 --- a/pkgs/by-name/di/diffoscope/package.nix +++ b/pkgs/by-name/di/diffoscope/package.nix @@ -107,12 +107,12 @@ in # Note: when upgrading this package, please run the list-missing-tools.sh script as described below! python.pkgs.buildPythonApplication rec { pname = "diffoscope"; - version = "324"; + version = "325"; pyproject = true; src = fetchurl { url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2"; - hash = "sha256-+OsGilo9bgNWbg/Jl6/CGAdLXlA8fzfh4HrIN1VMxOE="; + hash = "sha256-z8mdVWYo/UHfNIQy/XSDYSMAytIwXk/R3FRm4IsikIc="; }; outputs = [ @@ -141,7 +141,7 @@ python.pkgs.buildPythonApplication rec { build-system = with python.pkgs; [ setuptools ]; # Most of the non-Python dependencies here are optional command-line tools for various file-format parsers. - # To help figuring out what's missing from the list, run: ./pkgs/tools/misc/diffoscope/list-missing-tools.sh + # To help figuring out what's missing from the list, run: ./pkgs/by-name/di/diffoscope/list-missing-tools.sh # # Still missing these tools: # Android-specific tools: diff --git a/pkgs/by-name/fr/freecad/package.nix b/pkgs/by-name/fr/freecad/package.nix index e187dddf8deb..9c8a86bad1c4 100644 --- a/pkgs/by-name/fr/freecad/package.nix +++ b/pkgs/by-name/fr/freecad/package.nix @@ -138,12 +138,6 @@ freecad-utils.makeCustomizable ( "--prefix PYTHONPATH : ${python3Packages.makePythonPath pythonDeps}" ]; - postInstall = '' - substituteInPlace $out/share/thumbnailers/FreeCAD.thumbnailer \ - --replace-fail "TryExec=freecad-thumbnailer" "TryExec=$out/bin/freecad-thumbnailer" \ - --replace-fail "Exec=freecad-thumbnailer" "Exec=$out/bin/freecad-thumbnailer" - ''; - postFixup = '' mv $out/share/doc $out ln -s $out/doc $out/share/doc diff --git a/pkgs/by-name/go/go-httpbin/package.nix b/pkgs/by-name/go/go-httpbin/package.nix index 9cf6540a13ce..9eec63378bac 100644 --- a/pkgs/by-name/go/go-httpbin/package.nix +++ b/pkgs/by-name/go/go-httpbin/package.nix @@ -9,13 +9,13 @@ buildGoModule (finalAttrs: { pname = "go-httpbin"; - version = "2.23.1"; + version = "2.24.0"; src = fetchFromGitHub { owner = "mccutchen"; repo = "go-httpbin"; tag = "v${finalAttrs.version}"; - hash = "sha256-IB+uqCt5kb08z2O8ex/npMjXIpUX8BQoME57Dd1b/9w="; + hash = "sha256-2cqPDWaPfIwPLYiZTb4daLbEgfaUeo9zlX8LfOfnfB8="; }; vendorHash = null; diff --git a/pkgs/by-name/ki/kiesel/deps.nix b/pkgs/by-name/ki/kiesel/deps.nix index bfae34f35bff..5fc41876a0f0 100644 --- a/pkgs/by-name/ki/kiesel/deps.nix +++ b/pkgs/by-name/ki/kiesel/deps.nix @@ -15,6 +15,14 @@ linkFarm "zig-packages" [ hash = "sha256-XeDNFR3jbP/rY9zBqaiOaDTwKn7tuxHMiBK3qwAky4w="; }; } + { + name = "N-V-__8AALjnOQBiCk4NffYgEewZ5v9qlLlDyXO22FIyzNdf"; + path = fetchgit { + url = "https://github.com/boa-dev/temporal"; + tag = "v0.2.4"; + hash = "sha256-0JhYANVsVvNC0OZe1E6WzGc+pH9j7Z9SGCmhk8TQanU="; + }; + } { name = "N-V-__8AAMFkNQCMS3QG2Q2vrQ1urnQq0PqKINS-iRDs1Xqc"; path = fetchzip { @@ -30,14 +38,6 @@ linkFarm "zig-packages" [ hash = "sha256-O9p1++FZmiCNGk55hvYe3iS/kdSXzR+1htWCq2tBgdw="; }; } - { - name = "N-V-__8AAPLKOQDfJ5TYhiiy_6a_dZqUmo9K4e8Xhjfup3fd"; - path = fetchgit { - url = "https://github.com/boa-dev/temporal"; - tag = "v0.2.3"; - hash = "sha256-wD4pTVgQZrGONgSTDm9Eq3fo3Ez7aIC0/n4Rqgksad4="; - }; - } { name = "args-0.0.0-CiLiqmvgAADyJmrzcQTP9IOYNvTzR_KGrg3ZNNsH2Qv0"; path = fetchgit { @@ -47,19 +47,19 @@ linkFarm "zig-packages" [ }; } { - name = "bdwgc-8.3.0-8obE-IejLwCX53s54D3b3nIqlsMLiZ0ZtAF8nMvffTtR"; + name = "bdwgc-8.3.0-8obE-Ky9LwD3G-0Hn12vdf3OhUGaCJxSUSlVxn-ScMJC"; path = fetchgit { url = "https://github.com/bdwgc/bdwgc"; - rev = "ea69934ed214cfb4e38d2a0176cc392af8055a83"; - hash = "sha256-wippr/ilU5cf+2D6T+kXUDZC0r353wCYyad7Y0hQvdM="; + rev = "af6f40bf3ce6ea916d487e10eee9dd4691ed4a07"; + hash = "sha256-x3nzPFXmsFdtZy8IGAF6F0boDRf0o3g14IZm1PRSp5U="; }; } { - name = "bdwgc_zig-0.1.0-ffcEgVh8AAAhDLt3oykzvhRx_WDGdHCoqmswDTnmei6b"; + name = "bdwgc_zig-0.1.0-ffcEgYd6AAA_rlVpPv9GN2Olt2DCBle_4Ageca2NDNUy"; path = fetchgit { url = "https://github.com/bdwgc/bdwgc-zig"; - rev = "1cfcd9ea8947e172f20b028fbc52e778632fa407"; - hash = "sha256-bTjPgn44QAgWAjiLqP3S5CK9os7L1cex+TXgzKU2dHY="; + rev = "81e92063debddd226f3a660cee43665a04c926f3"; + hash = "sha256-RZz4b9BcrLhxjkRTYI7RVbIIXXKyS1ZSIIo3hkzYjO0="; }; } { @@ -71,11 +71,11 @@ linkFarm "zig-packages" [ }; } { - name = "icu4zig-0.1.0-IT7GrJalAgC00wqxu8c6JBs8A580wS-QrXBE7FJ1ZVaz"; + name = "icu4zig-0.1.0-IT7GrO3IAgCsmavpCdZXvoJFn4MCxFYJ7vVkQyH5BfrW"; path = fetchgit { url = "https://codeberg.org/linus/icu4zig"; - rev = "13caca132022c0acd9a0c04356ebf7d758340b8a"; - hash = "sha256-fz1YnPDDEIJVxlmxUfYq3ydksu739cT6aNK5W9N1RbA="; + rev = "2e207c2db48a938453d6fe518fa30b76691a407a"; + hash = "sha256-SsVKpMiv5YMTo/dsvRV8r6U2WOX3OFvolu/s2zVWu/k="; }; } { diff --git a/pkgs/by-name/ki/kiesel/package.nix b/pkgs/by-name/ki/kiesel/package.nix index abc45b1930f9..a946ec6f71bf 100644 --- a/pkgs/by-name/ki/kiesel/package.nix +++ b/pkgs/by-name/ki/kiesel/package.nix @@ -14,18 +14,18 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "kiesel"; - version = "0.2.0"; + version = "0.3.0"; src = fetchFromCodeberg { owner = "kiesel-js"; repo = "kiesel"; tag = finalAttrs.version; - hash = "sha256-bddGd3LPmVV8wwoVHYJJKoHS6ssYyU1hQBTGJBQJPgc="; + hash = "sha256-X5KpobHnqU8LR+odxeoPyVQbWLO8Yq1Tys7gNQu8/tI="; }; cargoDeps = rustPlatform.fetchCargoVendor { src = "${finalAttrs.src}/pkg/zement"; - hash = "sha256-SOp8UW0iKniXwzEGGtzX5rFAdVQKDHoEvCupquusvmo="; + hash = "sha256-YjbrKfkmhBxRxqg8mllK7eEsZwkFYMWL+z7u1PtjEYw="; }; cargoRoot = "pkg/zement"; deps = callPackage ./deps.nix { }; diff --git a/pkgs/by-name/ma/mautrix-slack/package.nix b/pkgs/by-name/ma/mautrix-slack/package.nix index 41c8d2a464d4..4a678bc4e146 100644 --- a/pkgs/by-name/ma/mautrix-slack/package.nix +++ b/pkgs/by-name/ma/mautrix-slack/package.nix @@ -14,17 +14,17 @@ }: buildGoModule rec { pname = "mautrix-slack"; - version = "26.06"; - tag = "v0.2606.0"; + version = "26.07"; + tag = "v0.2607.0"; src = fetchFromGitHub { owner = "mautrix"; repo = "slack"; inherit tag; - hash = "sha256-Ug4Na9qt140hVKkDQHqUCu4uijJzjJka52noZob/mkc="; + hash = "sha256-ccUw9yspgZp4EUkv5WDBt4mAE1bez7iuPQ1CofjxjDw="; }; - vendorHash = "sha256-a/3JHm3kR5edozVB17fCTwbm2awBhUvJn0wUSvLq/GY="; + vendorHash = "sha256-Q0KQ+azkJq5+qJiY4cgTObpJZa7uWOBZ3BNZnJOQ4TE="; buildInputs = lib.optional (!withGoolm) olm; tags = lib.optional withGoolm "goolm"; diff --git a/pkgs/by-name/ma/mawk/package.nix b/pkgs/by-name/ma/mawk/package.nix index 7de0684d118c..249c58deaba8 100644 --- a/pkgs/by-name/ma/mawk/package.nix +++ b/pkgs/by-name/ma/mawk/package.nix @@ -21,10 +21,15 @@ stdenv.mkDerivation (finalAttrs: { depsBuildBuild = [ buildPackages.stdenv.cc ]; + hardeningDisable = [ + "strictflexarrays1" + ]; + passthru = { tests.version = testers.testVersion { package = finalAttrs.finalPackage; command = "mawk -W version"; + version = lib.replaceString "-" " " finalAttrs.version; }; updateScript = directoryListingUpdater { inherit (finalAttrs) pname version; diff --git a/pkgs/by-name/nf/nfs-ganesha/package.nix b/pkgs/by-name/nf/nfs-ganesha/package.nix index 89a6bbd432c4..d71cff7a9742 100644 --- a/pkgs/by-name/nf/nfs-ganesha/package.nix +++ b/pkgs/by-name/nf/nfs-ganesha/package.nix @@ -22,11 +22,12 @@ useDbus ? true, dbus, rdma-core, + openssl, }: stdenv.mkDerivation (finalAttrs: { pname = "nfs-ganesha"; - version = "9.16"; + version = "11.1"; outputs = [ "out" @@ -38,7 +39,8 @@ stdenv.mkDerivation (finalAttrs: { owner = "nfs-ganesha"; repo = "nfs-ganesha"; tag = "V${finalAttrs.version}"; - hash = "sha256-y5rsQjhmfhqZXQ7jXsItbNe/3Gq4lswIXUq7nnyQIcs="; + hash = "sha256-1l1l8wkGp0N0bYXzhF6IqGm8oGVh6523Jfpq8VucHQs="; + fetchSubmodules = true; }; patches = lib.optional useDbus ./allow-bypassing-dbus-pkg-config-test.patch; @@ -56,6 +58,8 @@ stdenv.mkDerivation (finalAttrs: { "-DUSE_MAN_PAGE=ON" "-DUSE_MONITORING=ON" "-DUSE_NFS_RDMA=ON" + "-DUSE_TLS=ON" + "-DUSE_QOS=ON" ] ++ lib.optionals useCeph [ "-DUSE_RADOS_RECOV=ON" @@ -93,6 +97,7 @@ stdenv.mkDerivation (finalAttrs: { nfs-utils prometheus-cpp-lite rdma-core + openssl ] ++ lib.optional useCeph ceph; diff --git a/pkgs/by-name/nt/ntirpc/package.nix b/pkgs/by-name/nt/ntirpc/package.nix index f7654a9052d8..3eb811cdc7db 100644 --- a/pkgs/by-name/nt/ntirpc/package.nix +++ b/pkgs/by-name/nt/ntirpc/package.nix @@ -9,17 +9,18 @@ libnsl, prometheus-cpp-lite, rdma-core, + openssl, }: stdenv.mkDerivation (finalAttrs: { pname = "ntirpc"; - version = "9.16"; + version = "10.0"; src = fetchFromGitHub { owner = "nfs-ganesha"; repo = "ntirpc"; rev = "v${finalAttrs.version}"; - hash = "sha256-ZpjP1ugT9gN3TW7roBfJJBA6Y6FCkaOl31WRoRqPvTU="; + hash = "sha256-ZG1YuTBmfkyXn1w9aMZHFbWIAtIeqGiLOxFPPwqCgR4="; }; outputs = [ @@ -43,11 +44,13 @@ stdenv.mkDerivation (finalAttrs: { libnsl prometheus-cpp-lite rdma-core + openssl ]; cmakeFlags = [ "-DUSE_MONITORING=ON" "-DUSE_RPC_RDMA=ON" + "-DUSE_TLS=ON" ]; postInstall = '' diff --git a/pkgs/by-name/pd/pdf-mcp/package.nix b/pkgs/by-name/pd/pdf-mcp/package.nix new file mode 100644 index 000000000000..676db4120888 --- /dev/null +++ b/pkgs/by-name/pd/pdf-mcp/package.nix @@ -0,0 +1,91 @@ +{ + lib, + fetchFromGitHub, + python3Packages, + tesseract, +}: + +python3Packages.buildPythonApplication rec { + pname = "pdf-mcp"; + version = "1.21.0"; + pyproject = true; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "jztan"; + repo = "pdf-mcp"; + tag = "v${version}"; + hash = "sha256-/CuVdfkJkc95JkZZZMA5euvdysdPObRcww+zImhCY5M="; + }; + + build-system = [ python3Packages.hatchling ]; + + pythonRelaxDeps = [ + "click" + "joserfc" + "mcp" + "pydantic-settings" + ]; + + dependencies = with python3Packages; [ + click + fastmcp + httpx + joserfc + numpy + pydantic + pydantic-settings + pymupdf + ]; + + makeWrapperArgs = [ + "--prefix" + "PATH" + ":" + (lib.makeBinPath [ tesseract ]) + "--set-default" + "TESSDATA_PREFIX" + "${tesseract}/share/tessdata" + ]; + + pythonImportsCheck = [ "pdf_mcp" ]; + + nativeCheckInputs = [ + tesseract + ] + ++ (with python3Packages; [ + pytestCheckHook + pytest-asyncio + pillow + ]); + + preCheck = '' + export HOME=$(mktemp -d) + ''; + + # needs LLM API + disabledTestPaths = [ + "tests/test_eval_coherence.py" + "tests/test_release.py" + "tests/test_demo_sample_pdf.py" + ]; + + # needs networking + disabledTests = [ "test_rejects_text_html_content_type" ]; + + pytestFlags = [ + "-m" + "not slow" + "--ignore-glob=*/test_benchmark_*.py" + ]; + + meta = { + description = "MCP server that lets AI agents work through large PDFs without overflowing their context"; + homepage = "https://github.com/jztan/pdf-mcp"; + changelog = "https://github.com/jztan/pdf-mcp/releases/tag/v${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ derdennisop ]; + mainProgram = "pdf-mcp"; + platforms = lib.platforms.unix; + }; +} diff --git a/pkgs/by-name/ra/rapidraw/package.nix b/pkgs/by-name/ra/rapidraw/package.nix index a7b21472bb5c..77c76dc42a38 100644 --- a/pkgs/by-name/ra/rapidraw/package.nix +++ b/pkgs/by-name/ra/rapidraw/package.nix @@ -38,24 +38,25 @@ npmHooks, cargo-tauri, writableTmpDirAsHomeHook, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "rapidraw"; - version = "1.5.8"; + version = "1.5.9"; src = fetchFromGitHub { owner = "CyberTimon"; repo = "RapidRAW"; tag = "v${finalAttrs.version}"; - hash = "sha256-LbAEQwZeFeiKV6lVt8vh+mZpqlJ02RSHs0rZEMeMRc4="; + hash = "sha256-lQJtzuzjqi2iA31MsYYSztklzdtZtIoSKUobfci9jXA="; }; - cargoHash = "sha256-vx4+5aMxML5Cp1s7HKHSOYS4d4HaAGO2l6jMZuFPUsQ="; + cargoHash = "sha256-Ipw6ZpbOAfrBRoVHhTZmpKDpbolniXYgxHZRjnjYfZI="; npmDeps = fetchNpmDeps { inherit (finalAttrs) src; - hash = "sha256-JtkzeCt21KIEshvoCHWo1QoxUgvVJN1loJrUHgvV4qE="; + hash = "sha256-DXz+An1LzPiHM8rY+7KdrsieimAjwPYJBiGSa624SE0="; }; nativeBuildInputs = [ @@ -152,6 +153,8 @@ rustPlatform.buildRustPackage (finalAttrs: { --set ORT_STRATEGY "system" ''; + passthru.updateScript = nix-update-script { }; + meta = { description = "Blazingly-fast, non-destructive, and GPU-accelerated RAW image editor built with performance in mind"; homepage = "https://github.com/CyberTimon/RapidRAW"; diff --git a/pkgs/by-name/se/searxng/package.nix b/pkgs/by-name/se/searxng/package.nix index 1ffdb81ee103..9facd69d9bcb 100644 --- a/pkgs/by-name/se/searxng/package.nix +++ b/pkgs/by-name/se/searxng/package.nix @@ -13,14 +13,14 @@ in python.pkgs.toPythonModule ( python.pkgs.buildPythonApplication rec { pname = "searxng"; - version = "0-unstable-2026-07-08"; + version = "0-unstable-2026-07-17"; pyproject = true; src = fetchFromGitHub { owner = "searxng"; repo = "searxng"; - rev = "1412926f5c80ffabc90719450578eb98fda9e161"; - hash = "sha256-w3nXXI2qVFqIsnaYgzsyjDdvQ0nQmQdVMClw2fG2Zmg="; + rev = "81c9c23862903d709121f467492f31ea34f6c648"; + hash = "sha256-4li48GYHqNab6W+I7SNeHFxrV7JJpPo5rWT0QY3MliQ="; }; nativeBuildInputs = with python.pkgs; [ pythonRelaxDepsHook ]; diff --git a/pkgs/by-name/so/sonoscli/package.nix b/pkgs/by-name/so/sonoscli/package.nix index fadec4fb05f1..1da58b216401 100644 --- a/pkgs/by-name/so/sonoscli/package.nix +++ b/pkgs/by-name/so/sonoscli/package.nix @@ -8,13 +8,13 @@ buildGoModule (finalAttrs: { pname = "sonoscli"; - version = "0.3.3"; + version = "0.3.4"; src = fetchFromGitHub { owner = "steipete"; repo = "sonoscli"; tag = "v${finalAttrs.version}"; - hash = "sha256-9zIksYz1si9YlDUhHvGVLqv7NEIiT0+UdinEk7j/J08="; + hash = "sha256-rUdBfLTtfrtwcmDdJ9rtPfjiJDx1Wf3KS6JVtW4/Tt0="; }; vendorHash = "sha256-9jK3jKbFp+5WSQfMbNzwIB55bC5KScZOaFHItffTF00="; diff --git a/pkgs/development/python-modules/azure-containerregistry/default.nix b/pkgs/development/python-modules/azure-containerregistry/default.nix index fedffb65f7cb..d1abb9313247 100644 --- a/pkgs/development/python-modules/azure-containerregistry/default.nix +++ b/pkgs/development/python-modules/azure-containerregistry/default.nix @@ -4,7 +4,6 @@ fetchPypi, azure-core, msrest, - msrestazure, isodate, setuptools, }: @@ -25,7 +24,6 @@ buildPythonPackage (finalAttrs: { dependencies = [ azure-core msrest - msrestazure isodate ]; diff --git a/pkgs/development/python-modules/langchain-aws/default.nix b/pkgs/development/python-modules/langchain-aws/default.nix index a3ca3be192d9..27a5be2beaf0 100644 --- a/pkgs/development/python-modules/langchain-aws/default.nix +++ b/pkgs/development/python-modules/langchain-aws/default.nix @@ -8,11 +8,13 @@ # dependencies boto3, - langchain, langchain-core, numpy, pydantic, + # tests + langchain, + # optional-dependencies anthropic, langchain-anthropic, @@ -51,7 +53,6 @@ buildPythonPackage (finalAttrs: { dependencies = [ boto3 - langchain langchain-core numpy pydantic @@ -70,6 +71,7 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ anthropic + langchain langchain-tests pytest-asyncio pytest-cov-stub diff --git a/pkgs/development/python-modules/langchain-classic/default.nix b/pkgs/development/python-modules/langchain-classic/default.nix index fab7fe6d5d14..efef505de075 100644 --- a/pkgs/development/python-modules/langchain-classic/default.nix +++ b/pkgs/development/python-modules/langchain-classic/default.nix @@ -99,6 +99,8 @@ buildPythonPackage (finalAttrs: { disabledTests = [ # Network access (web.example.com) "test_socket_disabled" + # Fails due to JSON formatting differences + "test_configurable" ]; # Bulk updater selects wrong tag diff --git a/pkgs/development/python-modules/langchain-community/default.nix b/pkgs/development/python-modules/langchain-community/default.nix index c6b904a7259a..67f3e1488e35 100644 --- a/pkgs/development/python-modules/langchain-community/default.nix +++ b/pkgs/development/python-modules/langchain-community/default.nix @@ -5,11 +5,10 @@ pythonAtLeast, # build-system - pdm-backend, + hatchling, # dependencies aiohttp, - dataclasses-json, httpx-sse, langchain-classic, langchain-core, @@ -23,11 +22,9 @@ # tests blockbuster, - duckdb, - duckdb-engine, - httpx, langchain-tests, lark, + mypy-extensions, pandas, pytest-asyncio, pytest-mock, @@ -43,19 +40,19 @@ buildPythonPackage rec { pname = "langchain-community"; - version = "0.4.1"; + version = "0.4.2"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain-community"; tag = "libs/community/v${version}"; - hash = "sha256-N92YDmej2shQQlktr0veFOKyGFWemFj0hdJIYu1rYSc="; + hash = "sha256-I9xULsg+tlXM3Brh6Xa5xvFENx8zn4FRZ1/evNEh8UY="; }; sourceRoot = "${src.name}/libs/community"; - build-system = [ pdm-backend ]; + build-system = [ hatchling ]; # Only needed for mixed python 3.12/3.13 builds pythonRelaxDeps = [ @@ -64,7 +61,6 @@ buildPythonPackage rec { dependencies = [ aiohttp - dataclasses-json httpx-sse langchain-classic langchain-core @@ -81,11 +77,9 @@ buildPythonPackage rec { nativeCheckInputs = [ blockbuster - duckdb - duckdb-engine - httpx langchain-tests lark + mypy-extensions pandas pytest-asyncio pytest-mock diff --git a/pkgs/development/python-modules/langchain-core/default.nix b/pkgs/development/python-modules/langchain-core/default.nix index 4d65b64a3881..0585fb37a81e 100644 --- a/pkgs/development/python-modules/langchain-core/default.nix +++ b/pkgs/development/python-modules/langchain-core/default.nix @@ -37,7 +37,7 @@ buildPythonPackage (finalAttrs: { pname = "langchain-core"; - version = "1.4.8"; + version = "1.4.9"; pyproject = true; __structuredAttrs = true; @@ -45,7 +45,7 @@ buildPythonPackage (finalAttrs: { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-core==${finalAttrs.version}"; - hash = "sha256-fJKr1NlpCujGoVxxqjaEXGOVZO5NH9+71dWHyMuQ2jw="; + hash = "sha256-yOsft14mHlIaDQj2bhBAUISZCVXsyEtyNC9B7+5F0Oo="; }; sourceRoot = "${finalAttrs.src.name}/libs/core"; diff --git a/pkgs/development/python-modules/langchain-fireworks/default.nix b/pkgs/development/python-modules/langchain-fireworks/default.nix index 0ef8a04a5377..f597d65d9109 100644 --- a/pkgs/development/python-modules/langchain-fireworks/default.nix +++ b/pkgs/development/python-modules/langchain-fireworks/default.nix @@ -11,7 +11,7 @@ fireworks-ai, langchain-core, openai, - pydantic, + requests, # tests langchain-tests, @@ -24,7 +24,7 @@ buildPythonPackage (finalAttrs: { pname = "langchain-fireworks"; - version = "1.4.3"; + version = "1.4.4"; pyproject = true; __structuredAttrs = true; strictDeps = true; @@ -33,7 +33,7 @@ buildPythonPackage (finalAttrs: { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-fireworks==${finalAttrs.version}"; - hash = "sha256-Z8KwSMq4kVCUVD9Cs8PU6ZRcC9ZG52dbeQrpYInt9L0="; + hash = "sha256-O63UohmChFeeQZH7G1iYDwNdvJapVEnHlkGHdGxIDjE="; }; sourceRoot = "${finalAttrs.src.name}/libs/partners/fireworks"; @@ -45,7 +45,7 @@ buildPythonPackage (finalAttrs: { fireworks-ai langchain-core openai - pydantic + requests ]; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/langchain-openai/default.nix b/pkgs/development/python-modules/langchain-openai/default.nix index 9b3f0556bd2f..0422e76bb433 100644 --- a/pkgs/development/python-modules/langchain-openai/default.nix +++ b/pkgs/development/python-modules/langchain-openai/default.nix @@ -33,7 +33,7 @@ buildPythonPackage (finalAttrs: { pname = "langchain-openai"; - version = "1.3.2"; + version = "1.3.5"; pyproject = true; __structuredAttrs = true; @@ -41,13 +41,16 @@ buildPythonPackage (finalAttrs: { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-openai==${finalAttrs.version}"; - hash = "sha256-VmGbfciQlKBYgyUhFLUVzZaYSpEcK2pRokvsWrFpxaM="; + hash = "sha256-kfzfMldzWdhR785rfNPwI2T0u9ep66diQWYJeTpsdCM="; }; sourceRoot = "${finalAttrs.src.name}/libs/partners/openai"; build-system = [ hatchling ]; + # The python3Packages.openai update has to go through staging, so be open to newer versions + pythonRelaxDeps = [ "openai" ]; + dependencies = [ langchain-core openai diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index 4ddce4e5a348..2fa86e71f0c0 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -46,7 +46,7 @@ buildPythonPackage (finalAttrs: { pname = "langchain"; - version = "1.3.11"; + version = "1.3.13"; pyproject = true; __structuredAttrs = true; @@ -54,7 +54,7 @@ buildPythonPackage (finalAttrs: { owner = "langchain-ai"; repo = "langchain"; tag = "langchain==${finalAttrs.version}"; - hash = "sha256-ARLnl+HNsaFW7glyT3CEsNWvp9quvVkCpQvMLxgS2eI="; + hash = "sha256-KOid+tspI5cIcMl9SyACTClamY/Bs7xOi9n/zikbHiw="; }; sourceRoot = "${finalAttrs.src.name}/libs/langchain_v1"; diff --git a/pkgs/development/python-modules/langgraph-cli/default.nix b/pkgs/development/python-modules/langgraph-cli/default.nix index ba04442c5ab8..1402c899abd2 100644 --- a/pkgs/development/python-modules/langgraph-cli/default.nix +++ b/pkgs/development/python-modules/langgraph-cli/default.nix @@ -27,7 +27,7 @@ buildPythonPackage (finalAttrs: { pname = "langgraph-cli"; - version = "0.4.30"; + version = "0.4.31"; pyproject = true; __structuredAttrs = true; @@ -35,7 +35,7 @@ buildPythonPackage (finalAttrs: { owner = "langchain-ai"; repo = "langgraph"; tag = "cli==${finalAttrs.version}"; - hash = "sha256-wemTtMT8UbpEsGzf0fMnXdhJv0oTrG/TqEu6HhFN6nc="; + hash = "sha256-9q+/IKQcNT04WVSGU+ByoLxAPiUSbxPBhqI5uxpobHk="; }; sourceRoot = "${finalAttrs.src.name}/libs/cli"; diff --git a/pkgs/development/python-modules/modbus-connection/default.nix b/pkgs/development/python-modules/modbus-connection/default.nix index 78574562ad56..112ff7ad48b8 100644 --- a/pkgs/development/python-modules/modbus-connection/default.nix +++ b/pkgs/development/python-modules/modbus-connection/default.nix @@ -12,7 +12,7 @@ buildPythonPackage (finalAttrs: { pname = "modbus-connection"; - version = "3.7.0"; + version = "3.8.1"; pyproject = true; __structuredAttrs = true; @@ -20,7 +20,7 @@ buildPythonPackage (finalAttrs: { owner = "home-assistant-libs"; repo = "modbus-connection"; tag = finalAttrs.version; - hash = "sha256-Tys1o0hbAONGbb24mQcOz8mM8+numl5RO8zHZKmxLv4="; + hash = "sha256-2XuOrouOnK6MyhX8Pf7RSma49/V8/5ZlHRqYZl0JY90="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/protonup-ng/default.nix b/pkgs/development/python-modules/protonup-ng/default.nix index 845a69540800..553959f380ff 100644 --- a/pkgs/development/python-modules/protonup-ng/default.nix +++ b/pkgs/development/python-modules/protonup-ng/default.nix @@ -4,15 +4,16 @@ fetchPypi, requests, configparser, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "protonup-ng"; version = "0.2.1"; - format = "setuptools"; + pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-rys9Noa3+w4phttfcI1OGEDfHMy8s80bm8kM8TzssQA="; }; @@ -21,7 +22,8 @@ buildPythonPackage rec { --replace "argparse" "" ''; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + dependencies = [ requests configparser ]; @@ -38,4 +40,4 @@ buildPythonPackage rec { ]; mainProgram = "protonup"; }; -} +})