nixpkgs/pkgs/development/libraries/liburcu/default.nix
Vladimír Čunát f0bf46d863
liburcu: 0.8.6 -> 0.9.3, doCheck = true
... with hope it will start to work on Darwin.
/cc maintainer @bjornfor.
2017-01-26 22:32:13 +01:00

25 lines
640 B
Nix

{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
version = "0.9.3";
name = "liburcu-${version}";
src = fetchurl {
url = "http://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
sha256 = "01j0xp3f0w147yfyzybkjvb7i67i7prsvnkssgvgwry9lvk35khv";
};
nativeBuildInputs = stdenv.lib.optional doCheck perl;
preCheck = "patchShebangs tests/unit";
doCheck = true;
meta = with stdenv.lib; {
description = "Userspace RCU (read-copy-update) library";
homepage = http://lttng.org/urcu;
license = licenses.lgpl21Plus;
platforms = platforms.unix;
maintainers = [ maintainers.bjornfor ];
};
}