lttng-ust: 2.10.5 -> 2.13.0; clarify license

Also enable parallel building; tested at -j48.
This commit is contained in:
Alyssa Ross 2021-08-30 09:07:44 +00:00
parent 7e495c1b55
commit ab2501bd17

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, liburcu, python3 }:
{ lib, stdenv, fetchurl, pkg-config, liburcu, numactl, python3 }:
# NOTE:
# ./configure ...
@ -13,14 +13,15 @@
stdenv.mkDerivation rec {
pname = "lttng-ust";
version = "2.10.5";
version = "2.13.0";
src = fetchurl {
url = "https://lttng.org/files/lttng-ust/${pname}-${version}.tar.bz2";
sha256 = "0ddwk0nl28bkv2xb78gz16a2bvlpfbjmzwfbgwf5p1cq46dyvy86";
sha256 = "0l0p6y2zrd9hgd015dhafjmpcj7waz762n6wf5ws1xlwcwrwkr2l";
};
buildInputs = [ python3 ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ numactl python3 ];
preConfigure = ''
patchShebangs .
@ -28,10 +29,12 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ liburcu ];
enableParallelBuilding = true;
meta = with lib; {
description = "LTTng Userspace Tracer libraries";
homepage = "https://lttng.org/";
license = licenses.lgpl21Plus;
license = with licenses; [ lgpl21Only gpl2Only mit ];
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};