2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, autoreconfHook, fetchFromGitLab, libX11, xauth, makeWrapper }:
|
2009-12-17 11:58:05 +00:00
|
|
|
|
2019-06-20 22:40:01 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xtrace";
|
|
|
|
version = "1.4.0";
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
src = fetchFromGitLab {
|
2019-06-20 22:40:01 +01:00
|
|
|
domain = "salsa.debian.org";
|
|
|
|
owner = "debian";
|
|
|
|
repo = pname;
|
|
|
|
rev = "xtrace-${version}";
|
|
|
|
sha256 = "1yff6x847nksciail9jly41mv70sl8sadh0m5d847ypbjmxcwjpq";
|
2009-12-17 11:58:05 +00:00
|
|
|
};
|
2010-11-25 09:38:28 +00:00
|
|
|
|
2019-06-20 22:40:01 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook makeWrapper ];
|
|
|
|
buildInputs = [ libX11 ];
|
2014-06-14 23:56:10 +01:00
|
|
|
|
2019-06-20 22:40:01 +01:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$out/bin/xtrace" \
|
|
|
|
--prefix PATH ':' "${xauth}/bin"
|
2014-06-14 23:56:10 +01:00
|
|
|
'';
|
2010-11-25 09:38:28 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-06-20 22:40:01 +01:00
|
|
|
homepage = "https://salsa.debian.org/debian/xtrace";
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Tool to trace X11 protocol connections";
|
2019-06-20 22:40:01 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ viric ];
|
|
|
|
platforms = with platforms; linux;
|
2009-12-17 11:58:05 +00:00
|
|
|
};
|
|
|
|
}
|