about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/X11/xtruss/default.nix
blob: 790312335ab21e4f3278e16404969e7d008d7eda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, stdenv, fetchurl, cmake, halibut }:

stdenv.mkDerivation rec {
  pname = "xtruss";
  version = "20211025.c25bf48";

  src = fetchurl {
    url = "https://www.chiark.greenend.org.uk/~sgtatham/xtruss/${pname}-${version}.tar.gz";
    sha256 = "sha256-ikuKHtXEn2UVLE62l7qD9qc9ZUk6jiAqj5ru36vgdHk=";
  };

  nativeBuildInputs = [ cmake halibut ];

  meta = with lib; {
    description = "easy-to-use X protocol tracing program";
    homepage = "https://www.chiark.greenend.org.uk/~sgtatham/xtruss";
    license = licenses.mit;
    maintainers = with maintainers; [ dtzWill ];
    mainProgram = "xtruss";
  };
}