3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/liburcu/default.nix
2018-02-01 08:04:09 +01:00

26 lines
640 B
Nix

{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
version = "0.9.5";
name = "liburcu-${version}";
src = fetchurl {
url = "http://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
sha256 = "19iq7985rhvbrj99hlmbyq2wjrkhssvigh5454mhaprn3c7jaj6r";
};
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 ];
};
}