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