2015-04-23 04:30:01 +01:00
|
|
|
{ stdenv, fetchgit, asciidoc, docbook_xsl, libxslt }:
|
2015-04-18 20:39:02 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "trace-cmd-${version}";
|
2015-08-31 09:14:44 +01:00
|
|
|
version = "2.6";
|
2015-04-18 20:39:02 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git";
|
|
|
|
rev = "refs/tags/trace-cmd-v${version}";
|
2015-08-31 09:14:44 +01:00
|
|
|
sha256 = "42286440a45d1b24552a1d3cdb656dc648ad346fc426b5798bacdbffd3c4b226";
|
2015-04-18 20:39:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ asciidoc libxslt ];
|
|
|
|
|
|
|
|
configurePhase = "true";
|
2015-04-23 04:30:01 +01:00
|
|
|
buildPhase = "make prefix=$out MANPAGE_DOCBOOK_XSL=${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl all doc";
|
2015-04-18 20:39:02 +01:00
|
|
|
installPhase = "make prefix=$out install install_doc";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "user-space tools for the Linux kernel ftrace subsystem";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|