2017-01-26 22:30:52 +01:00
|
|
|
{ stdenv, fetchurl, perl }:
|
2013-07-04 21:19:25 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-01-26 22:30:52 +01:00
|
|
|
version = "0.9.3";
|
2013-07-04 21:19:25 +02:00
|
|
|
name = "liburcu-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
|
2017-01-26 22:30:52 +01:00
|
|
|
sha256 = "01j0xp3f0w147yfyzybkjvb7i67i7prsvnkssgvgwry9lvk35khv";
|
2013-07-04 21:19:25 +02:00
|
|
|
};
|
|
|
|
|
2017-01-26 22:30:52 +01:00
|
|
|
nativeBuildInputs = stdenv.lib.optional doCheck perl;
|
|
|
|
|
|
|
|
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";
|
|
|
|
homepage = http://lttng.org/urcu;
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|