2017-01-26 21:30:52 +00:00
|
|
|
{ stdenv, fetchurl, perl }:
|
2013-07-04 20:19:25 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-01-31 20:16:05 +00:00
|
|
|
version = "0.9.5";
|
2013-07-04 20:19:25 +01:00
|
|
|
name = "liburcu-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
|
2018-01-31 20:16:05 +00:00
|
|
|
sha256 = "19iq7985rhvbrj99hlmbyq2wjrkhssvigh5454mhaprn3c7jaj6r";
|
2013-07-04 20:19:25 +01:00
|
|
|
};
|
|
|
|
|
2017-01-26 21:30:52 +00:00
|
|
|
nativeBuildInputs = stdenv.lib.optional doCheck perl;
|
|
|
|
|
|
|
|
preCheck = "patchShebangs tests/unit";
|
|
|
|
doCheck = true;
|
|
|
|
|
2013-07-04 20:19:25 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Userspace RCU (read-copy-update) library";
|
|
|
|
homepage = http://lttng.org/urcu;
|
|
|
|
license = licenses.lgpl21Plus;
|
2017-01-26 08:25:23 +00:00
|
|
|
platforms = platforms.unix;
|
2013-07-04 20:19:25 +01:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|