nixpkgs-suyu/pkgs/development/libraries/liburcu/default.nix
Vladimír Čunát 142696de88
liburcu: platforms: linux -> unix
There's probably no reason to restrict it to Linux.
I can't test directly, but Hombrew does have the package.
My intention is to build knot-resolver for Darwin as well.
2017-01-26 09:26:51 +01:00

20 lines
517 B
Nix

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