2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-09-14 18:05:37 +00:00
|
|
|
version = "0.13.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "liburcu";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
|
2022-09-14 18:05:37 +00:00
|
|
|
sha256 = "sha256-EhP9nxsLdNp94rt0M1t2CY25c4/sXTzcB8DFJPNPwDI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ perl ];
|
|
|
|
|
|
|
|
preCheck = "patchShebangs tests/unit";
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Userspace RCU (read-copy-update) library";
|
|
|
|
homepage = "https://lttng.org/urcu";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|