1{ lib, stdenv, fetchurl, perl }:
2
3stdenv.mkDerivation rec {
4 version = "0.13.2";
5 pname = "liburcu";
6
7 src = fetchurl {
8 url = "https://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
9 sha256 = "sha256-EhP9nxsLdNp94rt0M1t2CY25c4/sXTzcB8DFJPNPwDI=";
10 };
11
12 checkInputs = [ perl ];
13
14 preCheck = "patchShebangs tests/unit";
15 doCheck = true;
16
17 meta = with lib; {
18 description = "Userspace RCU (read-copy-update) library";
19 homepage = "https://lttng.org/urcu";
20 license = licenses.lgpl21Plus;
21 platforms = platforms.unix;
22 maintainers = [ maintainers.bjornfor ];
23 };
24
25}