1 { lib, stdenv, fetchFromGitHub, libX11, libXdamage, libXrender, libXcomposite, libXext, installShellFiles, git }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-/Dw4bOTCnpCbeI0YJ5DJ9Q2AGBognylUk7xYGn0KIA8=";
14 nativeBuildInputs = [ installShellFiles git ];
15 buildInputs = [ libX11 libXdamage libXrender libXcomposite libXext ];
16 preInstall = "mkdir -p $out/share/man/man1";
17 installFlags = [ "PREFIX=${placeholder "out"}" ];
20 description = "Simple XLib program to highlight the cursor position";
21 homepage = "https://github.com/arp242/find-cursor";
22 license = licenses.mit;
23 platforms = platforms.linux;
24 maintainers = [ maintainers.yanganto ];
25 mainProgram = "find-cursor";