1 { stdenv, lib, xorg, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4 pname = "x-create-mouse-void";
7 src = fetchFromGitHub {
9 repo = "XCreateMouseVoid";
11 sha256 = "151pv4gmzz9g6nd1xw94hmawlb5z8rgs1jb3x1zpvn3znd7f355c";
14 buildInputs = [ xorg.libX11 ];
19 cp -a XCreateMouseVoid $out/bin/x-create-mouse-void
24 homepage = "https://github.com/cas--/XCreateMouseVoid";
25 description = "Creates an undecorated black window and prevents the mouse from entering that window";
26 platforms = platforms.unix;
27 license = licenses.unfreeRedistributable;
28 maintainers = with maintainers; [ eigengrau ];
29 mainProgram = "x-create-mouse-void";