2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, autoreconfHook, fetchFromGitLab, libX11, xauth, makeWrapper }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xtrace";
|
|
|
|
version = "1.4.0";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "salsa.debian.org";
|
|
|
|
owner = "debian";
|
|
|
|
repo = pname;
|
|
|
|
rev = "xtrace-${version}";
|
|
|
|
sha256 = "1yff6x847nksciail9jly41mv70sl8sadh0m5d847ypbjmxcwjpq";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook makeWrapper ];
|
|
|
|
buildInputs = [ libX11 ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$out/bin/xtrace" \
|
|
|
|
--prefix PATH ':' "${xauth}/bin"
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://salsa.debian.org/debian/xtrace";
|
|
|
|
description = "Tool to trace X11 protocol connections";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.gpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ viric ];
|
|
|
|
platforms = with platforms; linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "xtrace";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|