Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot]
2025-07-28 06:07:21 +00:00
committed by GitHub
21 changed files with 148 additions and 51 deletions
+6 -1
View File
@@ -9684,7 +9684,6 @@
name = "guserav";
};
guyonvarch = {
email = "joris@guyonvarch.me";
github = "guyonvarch";
githubId = 6768842;
name = "Joris Guyonvarch";
@@ -25787,6 +25786,12 @@
githubId = 90456;
name = "Rebecca (Bex) Kelly";
};
toyboot4e = {
email = "toyboot4e@gmail.com";
github = "toyboot4e";
githubId = 47905926;
name = "toyboot4e";
};
tpw_rules = {
name = "Thomas Watson";
email = "twatson52@icloud.com";
@@ -116,10 +116,15 @@ def write_loader_conf(profile: str | None, generation: int, specialisation: str
def get_bootspec(profile: str | None, generation: int) -> BootSpec:
system_directory = system_dir(profile, generation, None)
boot_json_path = os.path.realpath("%s/%s" % (system_directory, "boot.json"))
boot_json_path = os.path.join(system_directory, "boot.json")
if os.path.isfile(boot_json_path):
boot_json_f = open(boot_json_path, 'r')
bootspec_json = json.load(boot_json_f)
with open(boot_json_path, 'r') as boot_json_f:
# check if json is well-formed, else throw error with filepath
try:
bootspec_json = json.load(boot_json_f)
except ValueError as e:
print(f"error: Malformed Json: {e}, in {boot_json_path}", file=sys.stderr)
sys.exit(1)
else:
boot_json_str = run(
[
+4 -4
View File
@@ -43,17 +43,17 @@ in
stdenv.mkDerivation (finalAttrs: {
pname = binName;
version = "0.22.4";
version = "0.23.2";
src = fetchFromGitHub {
owner = "toeverything";
repo = "AFFiNE";
tag = "v${finalAttrs.version}";
hash = "sha256-IvVNnh8EDRSnIGeomLkO+I9fpbzrxC8jOStCh//RF8A=";
hash = "sha256-4WPnS+ZaiNgtib70ii/XfWkn2tNg2OsSAglD+mpnDvg=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
hash = "sha256-kAhT2yXFbUuV34ukdUmLQbO00LSaYk7gpsp0nmO138o=";
hash = "sha256-OdzjT6ktxvQNIk0Um9iru7Wm5LcBE3f5vrO4rsksf5U=";
};
yarnOfflineCache = stdenvNoCC.mkDerivation {
name = "yarn-offline-cache";
@@ -98,7 +98,7 @@ stdenv.mkDerivation (finalAttrs: {
'';
dontInstall = true;
outputHashMode = "recursive";
outputHash = "sha256-6Co65RkzLnk4U9ibiN0cO0bWRvbUHECzd+GQ8pwIxBE=";
outputHash = "sha256-tpn+TlSrGIABmSM9B3iQc39nZmGEf5MliKyaKOsM7yM=";
};
buildInputs = lib.optionals hostPlatform.isDarwin [
+2 -2
View File
@@ -19,13 +19,13 @@
buildNpmPackage rec {
pname = "bruno";
version = "2.8.0";
version = "2.8.1";
src = fetchFromGitHub {
owner = "usebruno";
repo = "bruno";
tag = "v${version}";
hash = "sha256-1Xg3AaEmg4mAcK2EytQdWqkLoYWPQMZzLWDjceXcnSA=";
hash = "sha256-+Ce9jjOZH0kFj4EfRgAabUDA9iRmHq7umVD9pOqGBbw=";
postFetch = ''
${lib.getExe npm-lockfile-fix} $out/package-lock.json
+6 -4
View File
@@ -113,6 +113,8 @@ stdenv.mkDerivation (finalAttrs: {
# fails with incorrect result
# Upstream issue https://github.com/duckdb/duckdb/issues/14294
"test/sql/copy/file_size_bytes.test"
# https://github.com/duckdb/duckdb/issues/17757#issuecomment-3032080432
"test/issues/general/test_17757.test"
]
++ lib.optionals stdenv.hostPlatform.isAarch64 [
"test/sql/aggregate/aggregates/test_kurtosis.test"
@@ -134,16 +136,16 @@ stdenv.mkDerivation (finalAttrs: {
passthru.updateScript = ./update.sh;
meta = with lib; {
meta = {
changelog = "https://github.com/duckdb/duckdb/releases/tag/v${finalAttrs.version}";
description = "Embeddable SQL OLAP Database Management System";
homepage = "https://duckdb.org/";
license = licenses.mit;
license = lib.licenses.mit;
mainProgram = "duckdb";
maintainers = with maintainers; [
maintainers = with lib.maintainers; [
costrouc
cpcloud
];
platforms = platforms.all;
platforms = lib.platforms.all;
};
})
+3 -3
View File
@@ -8,16 +8,16 @@
buildGoModule rec {
pname = "files-cli";
version = "2.15.51";
version = "2.15.61";
src = fetchFromGitHub {
repo = "files-cli";
owner = "files-com";
rev = "v${version}";
hash = "sha256-BvBbC/okSti4rL886+P6Kh8vAwI1TN688oyrgTch9e8=";
hash = "sha256-QYfZ9xRz9KtoXMkUlmLjYGTMNzBM7MZr/v8yjT/urLw=";
};
vendorHash = "sha256-dCujq1drJ8wgzo7hV4kJ8k5EXzXu3k6Oc6TuOLRsqrY=";
vendorHash = "sha256-Uw+69gRSSnFSFSgaw97vzzdQuX5W4qnKSDHPZM3ipmA=";
ldflags = [
"-s"
@@ -7,13 +7,13 @@
buildGoModule (finalAttrs: {
pname = "github-mcp-server";
version = "0.8.0";
version = "0.9.0";
src = fetchFromGitHub {
owner = "github";
repo = "github-mcp-server";
tag = "v${finalAttrs.version}";
hash = "sha256-4OdDTis4vRPqzAVYm8TuFHlW1+1FdQbIdjNNeTVuuMw=";
hash = "sha256-Eqo3ZUfELSXzRQOcz0JGMhve6drznZv17XmpP0e5HtI=";
};
vendorHash = "sha256-DeojCgMBwVclvoiEs462FoxIf3700XUjXvPbvRZE3CI=";
+6 -1
View File
@@ -25,7 +25,12 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_15 ];
passthru.updateScript = nix-update-script { };
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"^(v\\d+\\.\\d+\\.\\d+)$"
];
};
meta = with lib; {
description = "Powerful, source control friendly REST API testing toolkit";
+2 -2
View File
@@ -19,8 +19,8 @@
#
# Ensure you also check ../mattermostLatest/package.nix.
regex = "^v(10\\.5\\.[0-9]+)$";
version = "10.5.8";
srcHash = "sha256-yzC+QyGs8bynEOyZejMElh/gRKakUhw21eiqiah0K5s=";
version = "10.5.9";
srcHash = "sha256-Jnm6M9d5vkYGX357QiOvCRDPGFpvRrsWqk8+SV0PtBs=";
vendorHash = "sha256-uryErnXPVd/gmiAk0F2DVaqz368H6j97nBn0eNW7DFk=";
npmDepsHash = "sha256-tIeuDUZbqgqooDm5TRfViiTT5OIyN0BPwvJdI+wf7p0=";
lockfileOverlay = ''
+1
View File
@@ -89,6 +89,7 @@ mattermost.overrideAttrs (
"TestS3TestConnection"
"TestS3FileBackendTestSuite"
"TestS3FileBackendTestSuiteWithEncryption"
"TestWriteFileVideoMimeTypes"
# Mail tests (needs a SMTP server)
"TestSendMailUsingConfig"
+3 -3
View File
@@ -9,16 +9,16 @@
buildGoModule rec {
pname = "miniflux";
version = "2.2.10";
version = "2.2.11";
src = fetchFromGitHub {
owner = "miniflux";
repo = "v2";
tag = version;
hash = "sha256-hCRtopJ+PN9bjnImPXKuQRq2Sk62By2+T6z17yISfds=";
hash = "sha256-0gheLIwokJWanCOU1gWFyY6KBLqX+02plSp+iLHxd/Y=";
};
vendorHash = "sha256-jKtlIDPOElp37NlOIbT6IXn2s59NqNTRNK0LbTlxWsM=";
vendorHash = "sha256-hBvMAPmoGbxz3bV1NCA5nuNC7yv8v8h19pWCispLV3c=";
nativeBuildInputs = [ installShellFiles ];
+2 -2
View File
@@ -7,13 +7,13 @@
buildGoModule rec {
pname = "nebula";
version = "1.9.5";
version = "1.9.6";
src = fetchFromGitHub {
owner = "slackhq";
repo = "nebula";
tag = "v${version}";
hash = "sha256-IJMmVKdgYCXCaRndlcoozFBr+RsUhzC1Eqo427K1k+o=";
hash = "sha256-klVbLseqIaibcXL83BVjRgY1ziZlxf+w4bRkkPlUnlU=";
};
vendorHash = "sha256-oXhq+s5gDKPVClZpOzYi7BaYwcDqbCLBEO5BNGy9LJA=";
@@ -0,0 +1,4 @@
{
python3Packages,
}:
python3Packages.toPythonApplication python3Packages.online-judge-verify-helper
+3 -3
View File
@@ -8,16 +8,16 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "rustical";
version = "0.6.0";
version = "0.8.1";
src = fetchFromGitHub {
owner = "lennart-k";
repo = "rustical";
tag = "v${finalAttrs.version}";
hash = "sha256-0QpzJt5Jz1s4Ax9p4AyCwkrqi0HGf65VPbYy17WdYh8=";
hash = "sha256-TkgkgPQEj0SA9MjfWtOUu6rHKYCIs5jVieYL1N+XLk8=";
};
cargoHash = "sha256-Iylek8vY4lvKRQ/4LTalg0WMgopnvNKO7splZDrSjHE=";
cargoHash = "sha256-X+8G2H3wszKJmn7p8n0b6z3xZ/ylGzwc99oUnIGKpTA=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
+4 -4
View File
@@ -10,14 +10,14 @@ let
platform =
if stdenvNoCC.hostPlatform.isDarwin then "universal-macos" else stdenvNoCC.hostPlatform.system;
hash = builtins.getAttr platform {
"universal-macos" = "sha256-DLFAjkAkRemVOo9ZbKimKBpvVy/n/qzD+/dgWN3AfDg=";
"x86_64-linux" = "sha256-d+Y5OEHvS1wLDVkddX3r7y8iSLNCCXkzrn/T0lyMxNM=";
"aarch64-linux" = "sha256-sLvmm1liXOczLqUIlypu/nClPnQSmf4WkkxNem5vdkw=";
"universal-macos" = "sha256-BNcfAJMFE+4xUxRwQ6J3mmOsAHWGXZ+X6XygjirIA8o=";
"x86_64-linux" = "sha256-pQNNSWQSbG06sdpoloNXFFOwRNHT/6gIlETiQnLGcko=";
"aarch64-linux" = "sha256-BZlRtoBnsNePmmtu56te7rMG5mVjDugsog8+rWYHeZg=";
};
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "tigerbeetle";
version = "0.16.50";
version = "0.16.51";
src = fetchzip {
url = "https://github.com/tigerbeetle/tigerbeetle/releases/download/${finalAttrs.version}/tigerbeetle-${platform}.zip";
+10 -13
View File
@@ -16,22 +16,19 @@
libqb,
libseccomp,
polkit,
protobuf_29,
protobuf,
audit,
libsodium,
}:
let
protobuf = protobuf_29;
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
version = "1.1.4";
pname = "usbguard";
src = fetchFromGitHub {
owner = "USBGuard";
repo = "usbguard";
rev = "usbguard-${version}";
tag = "usbguard-${finalAttrs.version}";
hash = "sha256-PDuYszdG6BK4fkAHWWBct1d7tnwwe+5XOw+xmSPoPCY=";
fetchSubmodules = true;
};
@@ -77,17 +74,17 @@ stdenv.mkDerivation rec {
passthru.tests = nixosTests.usbguard;
meta = with lib; {
description = "USBGuard software framework helps to protect your computer against BadUSB";
meta = {
description = "Protect your computer against rogue USB devices (a.k.a. BadUSB)";
longDescription = ''
USBGuard is a software framework for implementing USB device authorization
policies (what kind of USB devices are authorized) as well as method of
use policies (how a USB device may interact with the system). Simply put,
it is a USB device whitelisting tool.
it is a USB device allowlisting tool.
'';
homepage = "https://usbguard.github.io/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.tnias ];
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.tnias ];
};
}
})
+5
View File
@@ -7,6 +7,7 @@
libmicrohttpd,
openssl,
hwloc,
kmod,
donateLevel ? 0,
}:
@@ -29,6 +30,10 @@ stdenv.mkDerivation rec {
substituteAllInPlace src/donate.h
substituteInPlace cmake/OpenSSL.cmake \
--replace "set(OPENSSL_USE_STATIC_LIBS TRUE)" "set(OPENSSL_USE_STATIC_LIBS FALSE)"
''
+ lib.optionalString stdenv.hostPlatform.isLinux ''
substituteInPlace src/hw/msr/Msr_linux.cpp \
--replace "/sbin/modprobe" "${kmod}/bin/modprobe"
'';
nativeBuildInputs = [
+2 -2
View File
@@ -30,11 +30,11 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "zeek";
version = "7.2.1";
version = "7.2.2";
src = fetchurl {
url = "https://download.zeek.org/zeek-${finalAttrs.version}.tar.gz";
hash = "sha256-nbq25TGq/HubTfAysxuVHU34xp3AkJp8yBHB20FlUC0=";
hash = "sha256-Kx3ySPlBmaFoThxGDWTPHF5J10ccK1YvlCrF++mAWJM=";
};
strictDeps = true;
@@ -22,14 +22,14 @@
buildPythonPackage rec {
pname = "langchain-deepseek";
version = "0.1.3";
version = "0.1.4";
pyproject = true;
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langchain";
tag = "langchain-deepseek==${version}";
hash = "sha256-nkL8QO1H29sA6g61Hgt7QrRAfwD3t+0m5JEHyPx8B7Y=";
hash = "sha256-lIlThVpyZF5osiCyYMO8kQUNtG5eUjXGZLdgRraj4Yc=";
};
sourceRoot = "${src.name}/libs/partners/deepseek";
@@ -0,0 +1,69 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
colorlog,
importlab,
online-judge-tools,
pyyaml,
setuptools,
toml,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "online-judge-verify-helper";
version = "5.6.0";
pyproject = true;
disabled = pythonOlder "3.12";
src = fetchFromGitHub {
owner = "online-judge-tools";
repo = "verification-helper";
tag = "v${version}";
hash = "sha256-sBR9/rf8vpDRbRD8HO2VNmxVckXPmPjUih7ogLRFaW8=";
};
build-system = [ setuptools ];
dependencies = [
colorlog
importlab
online-judge-tools
pyyaml
setuptools
toml
];
nativeCheckInputs = [
pytestCheckHook
];
# No additional dependencies or network access
disabledTestPaths = [
"tests/test_docs.py"
"tests/test_python.py"
"tests/test_rust.py"
"tests/test_stats.py"
"tests/test_verify.py"
];
pythonImportsCheck = [
"onlinejudge"
"onlinejudge_bundle"
"onlinejudge_verify"
"onlinejudge_verify_resources"
];
meta = {
description = "Testing framework for snippet libraries used in competitive programming";
mainProgram = "oj-verify";
homepage = "https://github.com/online-judge-tools/verification-helper";
changelog = "https://github.com/online-judge-tools/verification-helper/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ toyboot4e ];
};
}
+4
View File
@@ -10681,6 +10681,10 @@ self: super: with self; {
online-judge-tools = callPackage ../development/python-modules/online-judge-tools { };
online-judge-verify-helper =
callPackage ../development/python-modules/online-judge-verify-helper
{ };
onlykey-solo-python = callPackage ../development/python-modules/onlykey-solo-python { };
onnx = callPackage ../development/python-modules/onnx { };