rdma-core: 62.0 -> 63.0, populate passthru.updateScript (#534437)

This commit is contained in:
Markus Kowalewski
2026-06-24 07:54:54 +00:00
committed by GitHub
+19 -2
View File
@@ -2,6 +2,8 @@
lib,
stdenv,
fetchFromGitHub,
fetchurl,
gitUpdater,
cmake,
pkg-config,
docutils,
@@ -15,13 +17,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rdma-core";
version = "62.0";
version = "63.0";
src = fetchFromGitHub {
owner = "linux-rdma";
repo = "rdma-core";
rev = "v${finalAttrs.version}";
hash = "sha256-1n33KH8HTyZ0jHtDanopxwABiLjAvt+V7lgaeabJs8s=";
hash = "sha256-YW6BJS6acj9S8wFXUhC1vrJSm9YowGGuwWEBzQRVyPM=";
};
strictDeps = true;
@@ -47,9 +49,20 @@ stdenv.mkDerivation (finalAttrs: {
udev
];
patches = [
(fetchurl {
# remove when rdma-core 64.0 is released
# https://github.com/linux-rdma/rdma-core/pull/1737
name = "cmake-allow-overriding-sysusers.d-install-directory";
url = "https://github.com/linux-rdma/rdma-core/commit/8b186b5d932701e94bbced83d2f3899ee53f041a.patch?full_index=1";
hash = "sha256-Rjknu7mmJL2Sx+Ypq9SRXU4LUiHERs9j5/qMIZaiRTI=";
})
];
cmakeFlags = [
"-DCMAKE_INSTALL_RUNDIR=/run"
"-DCMAKE_INSTALL_SHAREDSTATEDIR=/var/lib"
"-DSYSUSERS_DIR=${placeholder "out"}/lib/sysusers.d"
];
postPatch = ''
@@ -73,6 +86,10 @@ stdenv.mkDerivation (finalAttrs: {
doInstallCheck = true;
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = {
description = "RDMA Core Userspace Libraries and Daemons";
homepage = "https://github.com/linux-rdma/rdma-core";