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