2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl }:
|
2013-07-04 19:19:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-03-10 02:26:08 +00:00
|
|
|
version = "0.12.2";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "liburcu";
|
2013-07-04 19:19:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-25 05:04:25 +00:00
|
|
|
url = "https://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
|
2021-03-10 02:26:08 +00:00
|
|
|
sha256 = "sha256-Tu/BHk9sIS/H2E2HHhzBOdoGaaRv8/2lV6b91NdMpns=";
|
2013-07-04 19:19:25 +00:00
|
|
|
};
|
|
|
|
|
2018-08-08 18:54:41 +00:00
|
|
|
checkInputs = [ perl ];
|
2017-01-26 21:30:52 +00:00
|
|
|
|
|
|
|
preCheck = "patchShebangs tests/unit";
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2013-07-04 19:19:25 +00:00
|
|
|
description = "Userspace RCU (read-copy-update) library";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://lttng.org/urcu";
|
2013-07-04 19:19:25 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2017-01-26 08:25:23 +00:00
|
|
|
platforms = platforms.unix;
|
2013-07-04 19:19:25 +00:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|