2017-01-26 21:30:52 +00:00
|
|
|
{ stdenv, fetchurl, perl }:
|
2013-07-04 20:19:25 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-01-17 12:48:49 +00:00
|
|
|
version = "0.10.2";
|
2013-07-04 20:19:25 +01:00
|
|
|
name = "liburcu-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-25 06:04:25 +01:00
|
|
|
url = "https://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
|
2019-01-17 12:48:49 +00:00
|
|
|
sha256 = "1k31faqz9plx5dwxq8g1fnczxda1is4s1x4ph0gjrq3gmy6qixmk";
|
2013-07-04 20:19:25 +01:00
|
|
|
};
|
|
|
|
|
2018-08-08 19:54:41 +01:00
|
|
|
checkInputs = [ perl ];
|
2017-01-26 21:30:52 +00:00
|
|
|
|
|
|
|
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";
|
2018-03-25 06:04:25 +01:00
|
|
|
homepage = https://lttng.org/urcu;
|
2013-07-04 20:19:25 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|