nixpkgs/pkgs/development/libraries/liburcu/default.nix

26 lines
603 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
2020-05-10 23:34:17 +01:00
version = "0.12.1";
pname = "liburcu";
src = fetchurl {
url = "https://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
2020-05-10 23:34:17 +01:00
sha256 = "03nd1gy2c3fdb6xwdrd5lr1jcjxbzffqh3z91mzbjhjn6k8fmymv";
};
2018-08-08 19:54:41 +01:00
checkInputs = [ perl ];
preCheck = "patchShebangs tests/unit";
doCheck = true;
meta = with lib; {
description = "Userspace RCU (read-copy-update) library";
homepage = "https://lttng.org/urcu";
license = licenses.lgpl21Plus;
platforms = platforms.unix;
maintainers = [ maintainers.bjornfor ];
};
}