nixpkgs/pkgs/tools/X11/xtruss/default.nix
2023-11-24 21:01:03 +01:00

22 lines
613 B
Nix

{ 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";
};
}