2014-06-14 23:56:10 +01:00
|
|
|
{ stdenv, autoreconfHook, fetchgit, libX11, xauth, makeWrapper }:
|
2009-12-17 11:58:05 +00:00
|
|
|
|
2014-06-14 23:56:10 +01:00
|
|
|
let version = "1.3.1"; in
|
2009-12-17 11:58:05 +00:00
|
|
|
stdenv.mkDerivation {
|
2010-11-25 09:38:28 +00:00
|
|
|
name = "xtrace-${version}";
|
2014-06-14 23:56:10 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.debian.org/xtrace/xtrace.git";
|
|
|
|
rev = "refs/tags/xtrace-1.3.1";
|
|
|
|
sha256 = "0csjw88ynzzcmx1jlb65c74r2sp9dzxn00airsxxfsipb74049d0";
|
2009-12-17 11:58:05 +00:00
|
|
|
};
|
2010-11-25 09:38:28 +00:00
|
|
|
|
2014-06-14 23:56:10 +01:00
|
|
|
buildInputs = [ libX11 makeWrapper autoreconfHook ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
2010-11-25 09:38:28 +00:00
|
|
|
|
|
|
|
postInstall =
|
|
|
|
'' wrapProgram "$out/bin/xtrace" \
|
|
|
|
--prefix PATH ':' "${xauth}/bin"
|
|
|
|
'';
|
2009-12-17 11:58:05 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://xtrace.alioth.debian.org/;
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Tool to trace X11 protocol connections";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2009-12-17 11:58:05 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|