depot/third_party/nixpkgs/pkgs/development/tools/misc/lttng-tools/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

25 lines
736 B
Nix

{ lib, stdenv, fetchurl, pkg-config, popt, libuuid, liburcu, lttng-ust, kmod, libxml2 }:
stdenv.mkDerivation rec {
pname = "lttng-tools";
version = "2.13.4";
src = fetchurl {
url = "https://lttng.org/files/lttng-tools/${pname}-${version}.tar.bz2";
sha256 = "sha256-Vl8xAkEKU9SE9Mj/UXl48dxZ9n+dFvhy9DV/PKEiAPY=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ popt libuuid liburcu lttng-ust libxml2 kmod ];
enableParallelBuilding = true;
meta = with lib; {
description = "Tracing tools (kernel + user space) for Linux";
homepage = "https://lttng.org/";
license = with licenses; [ lgpl21Only gpl2Only ];
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}