depot/third_party/nixpkgs/pkgs/development/tools/misc/lttng-tools/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

25 lines
737 B
Nix

{ lib, stdenv, fetchurl, pkg-config, popt, libuuid, liburcu, lttng-ust, kmod, libxml2 }:
stdenv.mkDerivation rec {
pname = "lttng-tools";
version = "2.13.11";
src = fetchurl {
url = "https://lttng.org/files/lttng-tools/${pname}-${version}.tar.bz2";
sha256 = "sha256-rFuu75+mkJNrHKAezRdC2nYsLAhRH/G06SOTjZTQ+Xk=";
};
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 ];
};
}