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";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "1g26hr6rl7bbb9cwqk606nbbapslq3wnsy8j28azrgi8hgfqhjfi";
|
2009-12-17 11:58:05 +00:00
|
|
|
};
|
2010-11-25 09:38:28 +00:00
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ libX11 makeWrapper ];
|
2014-06-14 23:56:10 +01:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|