2010-11-25 10:38:28 +01:00
|
|
|
{ stdenv, fetchurl, libX11, xauth, makeWrapper }:
|
2009-12-17 12:58:05 +01:00
|
|
|
|
2010-11-25 10:38:28 +01:00
|
|
|
let version = "1.0.2"; in
|
2009-12-17 12:58:05 +01:00
|
|
|
stdenv.mkDerivation {
|
2010-11-25 10:38:28 +01:00
|
|
|
name = "xtrace-${version}";
|
2009-12-17 12:58:05 +01:00
|
|
|
src = fetchurl {
|
2010-11-25 10:38:28 +01:00
|
|
|
url = "https://alioth.debian.org/frs/download.php/3201/xtrace_${version}.orig.tar.gz";
|
|
|
|
sha256 = "0czywk2iwj9vifml0qjlbz8n9jnqjsm4zz22haii82bf4l5w3y04";
|
2009-12-17 12:58:05 +01:00
|
|
|
};
|
2010-11-25 10:38:28 +01:00
|
|
|
|
|
|
|
buildInputs = [ libX11 makeWrapper ];
|
|
|
|
|
|
|
|
postInstall =
|
|
|
|
'' wrapProgram "$out/bin/xtrace" \
|
|
|
|
--prefix PATH ':' "${xauth}/bin"
|
|
|
|
'';
|
2009-12-17 12:58:05 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://xtrace.alioth.debian.org/;
|
2010-11-25 10:38:28 +01:00
|
|
|
description = "xtrace, a tool to trace X11 protocol connections";
|
|
|
|
license = "GPLv2";
|
2009-12-17 12:58:05 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|