mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
b568a7c673
Semi-automatic update. These checks were performed: - built on NixOS - found 0.10.1 with grep in /nix/store/hfqs5amwgnhsmp0jbyw5fbg5vvx7n60w-liburcu-0.10.1 - found 0.10.1 in filename of file in /nix/store/hfqs5amwgnhsmp0jbyw5fbg5vvx7n60w-liburcu-0.10.1
26 lines
641 B
Nix
26 lines
641 B
Nix
{ stdenv, fetchurl, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.10.1";
|
|
name = "liburcu-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
|
|
sha256 = "01pbg67qy5hcssy2yi0ckqapzfclgdq93li2rmzw4pa3wh5j42cw";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
|
|
}
|