diff --git a/pkgs/tools/X11/xtrace/default.nix b/pkgs/tools/X11/xtrace/default.nix new file mode 100644 index 00000000000..ad99c320dba --- /dev/null +++ b/pkgs/tools/X11/xtrace/default.nix @@ -0,0 +1,18 @@ +{stdenv, fetchurl, libX11}: + +stdenv.mkDerivation { + name = "xtrace-1.0.1"; + src = fetchurl { + url = "https://alioth.debian.org/frs/download.php/3149/xtrace_1.0.1.orig.tar.gz"; + sha256 = "042rifm93mws7xbw86z0m1rmdijprlkijsi2882as1yf6gdbdqbm"; + }; + buildInputs = [libX11]; + + meta = { + homepage = http://xtrace.alioth.debian.org/; + description = "Trace X protocol connections"; + license = "free"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 726b382757a..904373c866f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7829,6 +7829,11 @@ let inherit (xlibs) libXaw xproto libXt libX11 libSM libICE libXext libXft luit; }; + xtrace = import ../tools/X11/xtrace { + inherit stdenv fetchurl; + inherit (xlibs) libX11; + }; + xlaunch = import ../tools/X11/xlaunch { inherit stdenv; inherit (xorg) xorgserver;