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