Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot]
2025-05-31 06:05:28 +00:00
committed by GitHub
8 changed files with 73 additions and 29 deletions
+2 -2
View File
@@ -390,11 +390,11 @@ in
system.build.etcMetadataImage =
let
etcJson = pkgs.writeText "etc-json" (builtins.toJSON etc');
etcDump = pkgs.runCommand "etc-dump" { } ''
etcDump = pkgs.runCommandLocal "etc-dump" { } ''
${lib.getExe pkgs.buildPackages.python3} ${./build-composefs-dump.py} ${etcJson} > $out
'';
in
pkgs.runCommand "etc-metadata.erofs"
pkgs.runCommandLocal "etc-metadata.erofs"
{
nativeBuildInputs = with pkgs.buildPackages; [
composefs
@@ -10,11 +10,11 @@
buildMozillaMach rec {
pname = "firefox-beta";
binaryName = pname;
version = "140.0b2";
version = "140.0b3";
applicationName = "Firefox Beta";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "c8010b6cdf90f52d5105971d726139460a0194ca7e84ed57184897f4f258957ff64117ef14a38a6dba4cab3074f3a92aee0eaf221ecf22218f6408636ab9c960";
sha512 = "282b30284e9efa3909e1c1e8b01fd3c8ce5083668a01dea53487aa00d89734889e033051de3ce9aa66d7a84f4d4ac1c6e558fa4e3efe1e51077fc0831e989129";
};
meta = {
+3 -3
View File
@@ -7,17 +7,17 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "codebook";
version = "0.2.13";
version = "0.3.0";
src = fetchFromGitHub {
owner = "blopker";
repo = "codebook";
tag = "v${finalAttrs.version}";
hash = "sha256-8cbXdK0QbUVtqWvKSDRk3ejJrWo2lgykJG3O57e1ik8=";
hash = "sha256-s8DcWAmyp2RPNrq0wZE51YYJb1uzFnwA2r5ADybN9Bs=";
};
buildAndTestSubdir = "crates/codebook-lsp";
cargoHash = "sha256-NsPdNjqVFa3bbDu/VZk++lsh5NW01+eVOGe1BlgHDiQ=";
cargoHash = "sha256-MOgt0fia7FTz3qmbnxg+xwVNA1h6gsry0GmbSgBK+Hk=";
# Integration tests require internet access for dictionaries
doCheck = false;
+3 -3
View File
@@ -15,17 +15,17 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "eza";
version = "0.21.3";
version = "0.21.4";
src = fetchFromGitHub {
owner = "eza-community";
repo = "eza";
tag = "v${finalAttrs.version}";
hash = "sha256-6SGGeZVQe3uuyEt6TJn5cBqnI/BdDGRiPHugKrgQNhs=";
hash = "sha256-lwCZj4EHzgZSAQTnJZizonh4FmKoX3dkYKbIcn1WBHs=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-QCy9lLOSB+64DPTc/SVSCrD2nfJswGcR2P9AdN6CqZw=";
cargoHash = "sha256-8XkkClXyTT2+py57rSTMNpnuesTujNgHTz6K2gmDHYM=";
nativeBuildInputs = [
cmake
+2 -2
View File
@@ -10,13 +10,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "featherpad";
version = "1.6.1";
version = "1.6.2";
src = fetchFromGitHub {
owner = "tsujan";
repo = "FeatherPad";
tag = "V${finalAttrs.version}";
hash = "sha256-uI/XKBBoKsbABQWvTQbqFLStXFeiJI2u0DA+Injxon0=";
hash = "sha256-G47ltOiyNEk/NrFWoXpft/rCJ18t0FTZrc5ReEJL6TU=";
};
nativeBuildInputs = [
+42
View File
@@ -0,0 +1,42 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
gtest,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "kassert";
version = "0.2.2";
src = fetchFromGitHub {
owner = "kamping-site";
repo = "kassert";
tag = "v${finalAttrs.version}";
hash = "sha256-5UndFUhKtHPFPLfYP0EI/r+eoAptcQBheznALfxh27s=";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [
# doc generation require git clone doxygen-awesome-css
(lib.cmakeBool "KASSERT_BUILD_DOCS" false)
(lib.cmakeBool "KASSERT_BUILD_TESTS" finalAttrs.finalPackage.doCheck)
(lib.cmakeBool "KASSERT_USE_BUNDLED_GTEST" false)
];
doCheck = true;
nativeCheckInputs = [ gtest ];
meta = {
description = "Karlsruhe assertion library for C++";
homepage = "https://kamping-site.github.io/kassert/";
downloadPage = "https://github.com/kamping-site/kassert";
changelog = "https://github.com/kamping-site/kasser/releases/tag/v${finalAttrs.version}";
license = with lib.licenses; [ mit ];
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ qbisi ];
};
})
+3 -3
View File
@@ -14,16 +14,16 @@
buildGoModule (finalAttrs: {
pname = "openbao";
version = "2.2.1";
version = "2.2.2";
src = fetchFromGitHub {
owner = "openbao";
repo = "openbao";
tag = "v${finalAttrs.version}";
hash = "sha256-qbLaa7EUQywPRTIgUclTomDDBxzdQnyVAqCGD+iOlpg=";
hash = "sha256-r/CPxrVPn0s0qWqdsymqZLSEY0JMilPiWfxmOUvYvnM=";
};
vendorHash = "sha256-Upvv3dxS6HIFxR6T+2/dqnFsUtemjOGUaiICgPlepJ8=";
vendorHash = "sha256-zT/cLL34G93b62VTowwgs8ZZ41wmJ//lzooxVaN7p9Q=";
proxyVendor = true;
@@ -9,15 +9,16 @@
autoAddDriverRunpath,
# build system
cmake,
jinja2,
ninja,
packaging,
setuptools,
setuptools-scm,
wheel,
# dependencies
which,
ninja,
cmake,
setuptools-scm,
torch,
outlines,
psutil,
@@ -246,10 +247,14 @@ buildPythonPackage rec {
./0004-drop-lsmod.patch
];
# Ignore the python version check because it hard-codes minor versions and
# lags behind `ray`'s python interpreter support
postPatch =
''
# pythonRelaxDeps does not cover build-system
substituteInPlace pyproject.toml \
--replace-fail "torch ==" "torch >="
# Ignore the python version check because it hard-codes minor versions and
# lags behind `ray`'s python interpreter support
substituteInPlace CMakeLists.txt \
--replace-fail \
'set(PYTHON_SUPPORTED_VERSIONS' \
@@ -263,9 +268,6 @@ buildPythonPackage rec {
nativeBuildInputs =
[
cmake
ninja
pythonRelaxDepsHook
which
]
++ lib.optionals rocmSupport [
@@ -280,17 +282,17 @@ buildPythonPackage rec {
];
build-system = [
cmake
jinja2
ninja
packaging
setuptools
wheel
setuptools-scm
torch
];
buildInputs =
[
setuptools-scm
torch
]
++ lib.optionals cpuSupport [
lib.optionals cpuSupport [
oneDNN
]
++ lib.optionals (cpuSupport && stdenv.isLinux) [