Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot] 2025-07-13 00:20:06 +00:00 committed by GitHub
commit 8457b9345d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
22 changed files with 78 additions and 61 deletions

View File

@ -16722,12 +16722,6 @@
githubId = 16974598; githubId = 16974598;
name = "Mike Playle"; name = "Mike Playle";
}; };
mkazulak = {
email = "kazulakm@gmail.com";
github = "mulderr";
githubId = 5698461;
name = "Maciej Kazulak";
};
mkez = { mkez = {
email = "matias+nix@zwinger.fi"; email = "matias+nix@zwinger.fi";
github = "mk3z"; github = "mk3z";

View File

@ -114,6 +114,8 @@
- `services.gitea` supports sending notifications with sendmail again. To do this, activate the parameter `services.gitea.mailerUseSendmail` and configure SMTP server. - `services.gitea` supports sending notifications with sendmail again. To do this, activate the parameter `services.gitea.mailerUseSendmail` and configure SMTP server.
- `libvirt` now supports using `nftables` backend.
- `services.ntpd-rs` now performs configuration validation. - `services.ntpd-rs` now performs configuration validation.
- `services.monero` now includes the `environmentFile` option for adding secrets to the Monero daemon config. - `services.monero` now includes the `environmentFile` option for adding secrets to the Monero daemon config.

View File

@ -8,6 +8,7 @@
let let
inherit (lib) inherit (lib)
hasPrefix hasPrefix
literalExpression
mkEnableOption mkEnableOption
mkIf mkIf
mkMerge mkMerge
@ -23,6 +24,8 @@ let
in in
{ {
meta.maintainers = pkgs.postfix-tlspol.meta.maintainers;
options.services.postfix-tlspol = { options.services.postfix-tlspol = {
enable = mkEnableOption "postfix-tlspol"; enable = mkEnableOption "postfix-tlspol";
@ -92,7 +95,13 @@ in
dns = { dns = {
address = mkOption { address = mkOption {
type = types.str; type = types.str;
default = "127.0.0.1:53"; default = if config.networking.resolvconf.useLocalResolver then "127.0.0.1:53" else null;
defaultText = literalExpression ''
if config.networking.resolvconf.useLocalResolver then
"127.0.0.1:53"
else
null
'';
description = '' description = ''
IP and port to your DNS resolver IP and port to your DNS resolver

View File

@ -9,7 +9,7 @@
}: }:
buildPythonApplication rec { buildPythonApplication rec {
version = "1.4.1"; version = "1.5.0";
pname = "podman-compose"; pname = "podman-compose";
pyproject = true; pyproject = true;
@ -17,7 +17,7 @@ buildPythonApplication rec {
repo = "podman-compose"; repo = "podman-compose";
owner = "containers"; owner = "containers";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-uTwupM1Kk/Dx95MjXhg9KLw9XiefL5j2K3hlKYHq5FM="; hash = "sha256-AEnq0wsDHaCxefaEX4lB+pCAIKzN0oyaBNm7t7tK/yI=";
}; };
build-system = [ build-system = [

View File

@ -41,13 +41,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "cockpit"; pname = "cockpit";
version = "341.1"; version = "342";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cockpit-project"; owner = "cockpit-project";
repo = "cockpit"; repo = "cockpit";
tag = finalAttrs.version; tag = finalAttrs.version;
hash = "sha256-sJ4GBsBH7FTViVYiJNR8UNv5Fdo33qGJAnZo2zRLc18="; hash = "sha256-NkddZeWvMSP8pcN+eFWDm6iux3REjPP2jBwHF5CTzmU=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View File

@ -64,20 +64,12 @@ stdenv.mkDerivation rec {
(buildPackages.wrapGAppsHook3.override { makeWrapper = buildPackages.makeShellWrapper; }) (buildPackages.wrapGAppsHook3.override { makeWrapper = buildPackages.makeShellWrapper; })
]; ];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux ( buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
with xorg; nss
[ alsa-lib
libXScrnSaver gtk3
libXdamage libgbm
libXtst ];
libxshmfence
nss
gtk2
alsa-lib
gtk3
libgbm
]
);
runtimeDependencies = lib.optional stdenv.hostPlatform.isLinux (lib.getLib udev); runtimeDependencies = lib.optional stdenv.hostPlatform.isLinux (lib.getLib udev);

View File

@ -10,17 +10,17 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "hexpatch"; pname = "hexpatch";
version = "1.12.1"; version = "1.12.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Etto48"; owner = "Etto48";
repo = "HexPatch"; repo = "HexPatch";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-Fkje+wyYJIeCJGUHRMQubCm/OlQAeRPKXFtCnUSzPiQ="; hash = "sha256-vuxVaREquHaLG/9J8v64NSudHU4IYSjKDDKLkXURiC4=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-TTIZEzufOE7m0PtiKKBQjY0fNVabC3oG2b06AyhPxq0="; cargoHash = "sha256-xq3UmXBR/53rfIrFccF0bXYRfg2NZ0tGunv309g5eM8=";
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake

View File

@ -22,6 +22,7 @@
libxslt, libxslt,
makeWrapper, makeWrapper,
meson, meson,
nftables,
ninja, ninja,
openssh, openssh,
perl, perl,
@ -91,6 +92,7 @@ let
iptables iptables
kmod kmod
lvm2 lvm2
nftables
numactl numactl
numad numad
openssh openssh

View File

@ -6,12 +6,12 @@
}: }:
let let
version = "2.1.1"; version = "2.1.2";
pname = "lunatask"; pname = "lunatask";
src = fetchurl { src = fetchurl {
url = "https://github.com/lunatask/lunatask/releases/download/v${version}/Lunatask-${version}.AppImage"; url = "https://github.com/lunatask/lunatask/releases/download/v${version}/Lunatask-${version}.AppImage";
hash = "sha256-2ks5sqE0NuVa3fyJzKJ/466Ztq9M/RhDxHZCL8tSwo4="; hash = "sha256-MjzqoLPtTspLowDO3MV0joGoYuxjybuExC1h03AayB0=";
}; };
appimageContents = appimageTools.extract { appimageContents = appimageTools.extract {

View File

@ -32,13 +32,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mosquitto"; pname = "mosquitto";
version = "2.0.21"; version = "2.0.22";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "eclipse"; owner = "eclipse";
repo = "mosquitto"; repo = "mosquitto";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-E47NqiaMk67pNgf151DMhQ4DMyLvfzrECEQtk3jASPU="; hash = "sha256-PCiNxRG2AqVlS2t/u7Cqn8NbTrrYGO1OXl8zvPQRrJM=";
}; };
postPatch = '' postPatch = ''

View File

@ -47,7 +47,6 @@ stdenv.mkDerivation {
meta = with lib; { meta = with lib; {
description = "Oracle ODPI-C library"; description = "Oracle ODPI-C library";
homepage = "https://oracle.github.io/odpi/"; homepage = "https://oracle.github.io/odpi/";
maintainers = with maintainers; [ mkazulak ];
license = licenses.asl20; license = licenses.asl20;
platforms = [ platforms = [
"x86_64-linux" "x86_64-linux"

View File

@ -7,14 +7,14 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "oelint-adv"; pname = "oelint-adv";
version = "7.2.6"; version = "8.1.2";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "priv-kweihmann"; owner = "priv-kweihmann";
repo = "oelint-adv"; repo = "oelint-adv";
tag = version; tag = version;
hash = "sha256-QNTC8jO6RjHNaHVNSqAoM1xAhYc35G5A7D0yfwmd6+U="; hash = "sha256-ucQGXb2dqXQhf2m8TcUPQznfwBrtK7zc6DSajF/GQxU=";
}; };
postPatch = '' postPatch = ''

View File

@ -7,13 +7,13 @@
buildGoModule rec { buildGoModule rec {
pname = "postfix-tlspol"; pname = "postfix-tlspol";
version = "1.8.11"; version = "1.8.12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Zuplu"; owner = "Zuplu";
repo = "postfix-tlspol"; repo = "postfix-tlspol";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-hQSJ0bp3ghfi5chislf2zuCrvPhhoA0jjChRdGYHcFY="; hash = "sha256-OBGBjbLnyDKz/UK5th1k/gfxHjBGxyWQKgiXuuJNf8Q=";
}; };
vendorHash = null; vendorHash = null;
@ -28,10 +28,14 @@ buildGoModule rec {
}; };
meta = { meta = {
changelog = "https://github.com/Zuplu/postfix-tlspol/releases/tag/${src.tag}";
description = "Lightweight MTA-STS + DANE/TLSA resolver and TLS policy server for Postfix, prioritizing DANE."; description = "Lightweight MTA-STS + DANE/TLSA resolver and TLS policy server for Postfix, prioritizing DANE.";
homepage = "https://github.com/Zuplu/postfix-tlspol"; homepage = "https://github.com/Zuplu/postfix-tlspol";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ valodim ]; maintainers = with lib.maintainers; [
hexa
valodim
];
mainProgram = "postfix-tlspol"; mainProgram = "postfix-tlspol";
}; };
} }

View File

@ -11,17 +11,17 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "release-plz"; pname = "release-plz";
version = "0.3.137"; version = "0.3.138";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "MarcoIeni"; owner = "MarcoIeni";
repo = "release-plz"; repo = "release-plz";
rev = "release-plz-v${version}"; rev = "release-plz-v${version}";
hash = "sha256-7sCwnUhCLfA/MACseZUT6IWR5+JjxKUyBfLSGwno/qQ="; hash = "sha256-qGbLT46NFMXLJncC4ZSkjo2oDISDTsAWVvevwHTaASU=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-IoFJPRW4SXAWxfBKNBrgtxBAYfbRwxuN9Aig3P9QkOk="; cargoHash = "sha256-lMtZQNC3hix65Y1s5LqNdpY8u0TnJvnrhTm64lql4R8=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles

View File

@ -41,7 +41,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "slurm"; pname = "slurm";
version = "25.05.0.1"; version = "25.05.1.1";
# N.B. We use github release tags instead of https://www.schedmd.com/downloads.php # N.B. We use github release tags instead of https://www.schedmd.com/downloads.php
# because the latter does not keep older releases. # because the latter does not keep older releases.
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
repo = "slurm"; repo = "slurm";
# The release tags use - instead of . # The release tags use - instead of .
rev = "${pname}-${builtins.replaceStrings [ "." ] [ "-" ] version}"; rev = "${pname}-${builtins.replaceStrings [ "." ] [ "-" ] version}";
hash = "sha256-C1euW/twT3AhwtNUmUDtmFjMUi5B4I7r488YcT+N/zM="; hash = "sha256-Lu/ebXI8U4XggYhQ+yyKmGXpgqtCeYMWB3o0+Ujzj0s=";
}; };
outputs = [ outputs = [

View File

@ -7,13 +7,13 @@
buildNimPackage (finalAttrs: { buildNimPackage (finalAttrs: {
pname = "ttop"; pname = "ttop";
version = "1.5.3"; version = "1.5.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "inv2004"; owner = "inv2004";
repo = "ttop"; repo = "ttop";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-KfPlO0RmahavA3dsxNDozuNOXIRAwDTtT+zFaF6hYd0="; hash = "sha256-e3c7ovFxQN/pJ18Qg8+DdLqfhgmrHSTNM5zDZ2Jaapw=";
}; };
lockFile = ./lock.json; lockFile = ./lock.json;

View File

@ -1,5 +1,6 @@
{ {
lib, lib,
stdenv,
python3, python3,
python3Packages, python3Packages,
fetchFromGitHub, fetchFromGitHub,
@ -41,6 +42,9 @@ python3Packages.buildPythonApplication {
${python3.interpreter} -m nose2 -s tests ${python3.interpreter} -m nose2 -s tests
runHook postCheck runHook postCheck
''; '';
# Tests fail in build sandbox on aarch64-linux, but the program still works at
# runtime. See https://github.com/microsoft/onnxruntime/issues/10038.
doCheck = with stdenv.buildPlatform; !(isAarch && isLinux);
passthru.updateScript = nix-update-script { }; passthru.updateScript = nix-update-script { };
@ -51,10 +55,5 @@ python3Packages.buildPythonApplication {
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ happysalada ]; maintainers = with lib.maintainers; [ happysalada ];
mainProgram = "whisper-ctranslate2"; mainProgram = "whisper-ctranslate2";
badPlatforms = [
# terminate called after throwing an instance of 'onnxruntime::OnnxRuntimeException'
# what(): /build/source/include/onnxruntime/core/common/logging/logging.h:320 static const onnxruntime::logging::Logger& onnxruntime::logging::LoggingManager::DefaultLogger() Attempt to use DefaultLogger but none has been registered.
"aarch64-linux"
];
}; };
} }

View File

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "fastcore"; pname = "fastcore";
version = "1.8.4"; version = "1.8.5";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "fastai"; owner = "fastai";
repo = "fastcore"; repo = "fastcore";
tag = version; tag = version;
hash = "sha256-PZamAF6LaBgSlLNkaKRFHnibmcnplCShQXa2DwvObjc="; hash = "sha256-Osjpt/oxw5LAVUvhPg2cICSeKaLrOdppNT0jqHz9HyA=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View File

@ -3,13 +3,18 @@
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
flit-core, flit-core,
mdformat, mdformat-beautysh,
mdformat-footnote,
mdformat-frontmatter,
mdformat-gfm, mdformat-gfm,
mdformat-simple-breaks,
mdformat-tables,
mdformat,
mdit-py-plugins, mdit-py-plugins,
more-itertools, more-itertools,
pythonOlder,
pytest-snapshot, pytest-snapshot,
pytestCheckHook, pytestCheckHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -35,6 +40,20 @@ buildPythonPackage rec {
more-itertools more-itertools
]; ];
optional-dependencies = {
recommended = [
mdformat-beautysh
# mdformat-config
mdformat-footnote
mdformat-frontmatter
# mdformat-ruff
mdformat-simple-breaks
mdformat-tables
# mdformat-web
# mdformat-wikilink
];
};
nativeCheckInputs = [ nativeCheckInputs = [
pytest-snapshot pytest-snapshot
pytestCheckHook pytestCheckHook

View File

@ -2,12 +2,10 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
importlib-metadata,
markdown-it-py, markdown-it-py,
pytestCheckHook, pytestCheckHook,
pythonOlder, pythonOlder,
setuptools, setuptools,
tomli,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -15,7 +13,7 @@ buildPythonPackage rec {
version = "0.7.22"; version = "0.7.22";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "executablebooks"; owner = "executablebooks";
@ -26,10 +24,7 @@ buildPythonPackage rec {
build-system = [ setuptools ]; build-system = [ setuptools ];
dependencies = dependencies = [ markdown-it-py ];
[ markdown-it-py ]
++ lib.optionals (pythonOlder "3.11") [ tomli ]
++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ];

View File

@ -103,6 +103,7 @@ lib.makeExtensible (self: {
xcode_16_1 = requireXcode "16.1" "sha256-yYg6NRRnYM/5X3hhVMfcXcdoiOV36fIongJNQ5nviD8="; xcode_16_1 = requireXcode "16.1" "sha256-yYg6NRRnYM/5X3hhVMfcXcdoiOV36fIongJNQ5nviD8=";
xcode_16_2 = requireXcode "16.2" "sha256-wQjNuFZu/cN82mEEQbC1MaQt39jLLDsntsbnDidJFEs="; xcode_16_2 = requireXcode "16.2" "sha256-wQjNuFZu/cN82mEEQbC1MaQt39jLLDsntsbnDidJFEs=";
xcode_16_3 = requireXcode "16.3" "sha256-hkIlRYUc1SD2lBwhRtqBGJapUIa+tdOyPKG19Su5OUU="; xcode_16_3 = requireXcode "16.3" "sha256-hkIlRYUc1SD2lBwhRtqBGJapUIa+tdOyPKG19Su5OUU=";
xcode_16_4 = requireXcode "16.4" "sha256-voCEZlKrp9NYGmXAsf1FHxO69EgWZHDIWtQZ2qEzElA=";
xcode = xcode =
self."xcode_${ self."xcode_${
lib.replaceStrings [ "." ] [ "_" ] ( lib.replaceStrings [ "." ] [ "_" ] (

View File

@ -170,6 +170,7 @@ makeScopeWithSplicing' {
xcode_16_1 xcode_16_1
xcode_16_2 xcode_16_2
xcode_16_3 xcode_16_3
xcode_16_4
xcode xcode
requireXcode requireXcode
; ;