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