trace-cmd,libtracefs: update (#399980)

This commit is contained in:
Weijia Wang
2025-07-21 03:36:56 +02:00
committed by GitHub
2 changed files with 5 additions and 14 deletions
+2 -11
View File
@@ -16,26 +16,17 @@
ninja,
cunit,
gitUpdater,
fetchpatch,
}:
stdenv.mkDerivation rec {
pname = "libtracefs";
version = "1.8.1";
version = "1.8.2";
src = fetchzip {
url = "https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-libtracefs-${version}.tar.gz";
hash = "sha256-2UiEgY4mQRLpWah+2rVfPiiUYBSSzRAy5gOv4YELQFQ=";
hash = "sha256-rpZUa34HMnDMSsGGwtOriEEHDfnW8emRSHZxzRkY3c4=";
};
patches = [
(fetchpatch {
name = "add-missing-documentation-to-meson-build.patch";
url = "https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/patch/?id=4cbebed79b1fe933367e298ea7ddef694b9f98d0";
hash = "sha256-tSaR0wpxrm50IyMgMoUCcHBB9r8lQQZZYGru6Znre50=";
})
];
postPatch = ''
chmod +x samples/extract-example.sh
patchShebangs --build check-manpages.sh samples/extract-example.sh Documentation/install-docs.sh.in
+3 -3
View File
@@ -16,11 +16,11 @@
}:
stdenv.mkDerivation rec {
pname = "trace-cmd";
version = "3.3.1";
version = "3.3.2";
src = fetchzip {
url = "https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/trace-cmd-v${version}.tar.gz";
hash = "sha256-kEji3qDqQsSK0tL8Fx2ycSd2lTXBXOHHTvsb6XDNSa8=";
hash = "sha256-35BEzuevGiRQFqvWOQK1m20juhSd5101a8bBsNtM8Eo=";
};
# Don't build and install html documentation
@@ -83,7 +83,7 @@ stdenv.mkDerivation rec {
"libdir=${placeholder "lib"}/lib"
"pkgconfig_dir=${placeholder "dev"}/lib/pkgconfig"
"includedir=${placeholder "dev"}/include"
"BASH_COMPLETE_DIR=${placeholder "out"}/share/bash-completion/completions"
"completion_dir=${placeholder "out"}/share/bash-completion/completions"
];
passthru.updateScript = gitUpdater {