3
0
Fork 0
forked from mirrors/nixpkgs

trace-cmd: 3.1.2 -> 3.1.6

This commit is contained in:
Michal Sojka 2022-12-26 18:10:05 +01:00 committed by Alyssa Ross
parent 5fd479d50b
commit 43e8c1c5b6

View file

@ -1,18 +1,19 @@
{ lib, stdenv, fetchgit, pkg-config, asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt, libtraceevent, libtracefs, zstd, sourceHighlight }:
stdenv.mkDerivation rec {
pname = "trace-cmd";
version = "3.1.2";
version = "3.1.6";
src = fetchgit {
url = "git://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/";
rev = "trace-cmd-v${version}";
sha256 = "sha256-wxrMEE7ZgMHM59Rv6Gk3f0zdpULuXLnY0UY797YF1a0=";
sha256 = "sha256-qjfeomeExjsx/6XrUaGm5szbL7XVlekGd4Hsuncv8NY=";
};
# Don't build and install html documentation
postPatch = ''
sed -i -e '/^all:/ s/html//' -e '/^install:/ s/install-html//' \
Documentation{,/trace-cmd,/libtracecmd}/Makefile
patchShebangs check-manpages.sh
'';
nativeBuildInputs = [ asciidoc libxslt pkg-config xmlto docbook_xsl docbook_xml_dtd_45 sourceHighlight ];