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