forked from mirrors/nixpkgs
liburcu: new package
liburcu is a userspace RCU (read-copy-update) library that is used by LTTng - Linux Trace Toolkit (next generation).
This commit is contained in:
parent
e242ae058d
commit
4e8dfe71d3
20
pkgs/development/libraries/liburcu/default.nix
Normal file
20
pkgs/development/libraries/liburcu/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.7.7";
|
||||
name = "liburcu-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
|
||||
sha256 = "1yxxnhrsy6sv6bmp7j96jjynnqns01zjgj94mk70jz54zvcagf4a";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Userspace RCU (read-copy-update) library";
|
||||
homepage = http://lttng.org/urcu;
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
};
|
||||
|
||||
}
|
|
@ -4860,6 +4860,8 @@ let
|
|||
|
||||
libunique = callPackage ../development/libraries/libunique/default.nix { };
|
||||
|
||||
liburcu = callPackage ../development/libraries/liburcu { };
|
||||
|
||||
libusb = callPackage ../development/libraries/libusb {
|
||||
stdenv = if stdenv.isDarwin
|
||||
then overrideGCC stdenv gccApple
|
||||
|
|
Loading…
Reference in a new issue