Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
51 lines
1.1 KiB
Nix
51 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
perl,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.15.3";
|
|
pname = "liburcu";
|
|
|
|
src = fetchurl {
|
|
url = "https://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
|
|
hash = "sha256-Jmh+yE4+EUdZRUyISgir6ved7AmwQYld30xF7BUKy20=";
|
|
};
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
"doc"
|
|
];
|
|
|
|
nativeCheckInputs = [ perl ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
preCheck = "patchShebangs tests/unit";
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Userspace RCU (read-copy-update) library";
|
|
homepage = "https://lttng.org/urcu";
|
|
changelog = "https://github.com/urcu/userspace-rcu/raw/v${version}/ChangeLog";
|
|
license = lib.licenses.lgpl21Plus;
|
|
# https://git.liburcu.org/?p=userspace-rcu.git;a=blob;f=include/urcu/arch.h
|
|
platforms = lib.intersectLists lib.platforms.unix (
|
|
lib.platforms.x86
|
|
++ lib.platforms.power
|
|
++ lib.platforms.s390
|
|
++ lib.platforms.arm
|
|
++ lib.platforms.aarch64
|
|
++ lib.platforms.mips
|
|
++ lib.platforms.m68k
|
|
++ lib.platforms.riscv
|
|
++ lib.platforms.loongarch64
|
|
);
|
|
maintainers = [ lib.maintainers.bjornfor ];
|
|
};
|
|
|
|
}
|