nixpkgs/pkgs/development/tools/misc/lttng-tools/default.nix
Alyssa Ross 0f5094de5d lttng-tools: 2.11.0 -> 2.13.0; clarify license
Also enable parallel building; tested at -j48.
2021-08-30 10:11:22 +00:00

26 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.0";
src = fetchurl {
url = "https://lttng.org/files/lttng-tools/${pname}-${version}.tar.bz2";
sha256 = "1ri93h45q5z6l3qmg4dakm9aj0ghfmf38i63q51yjh58lzwr9j4d";
};
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 ];
};
}