@@ -0,0 +1,28 @@
1+{stdenv, fetchFromGitHub, xorg, pkgconfig}:
2+
3+stdenv.mkDerivation rec {
4+ name = "hhpc-${version}";
5+ version = "0.3.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "aktau";
9+ repo = "hhpc";
10+ rev = "v${version}";
11+ sha256 = "1djsw1r38mh6zx0rbyn2cfa931hyddib4fl3i27c4z7xinl709ss";
12+ };
13+
14+ nativeBuildInputs = [ pkgconfig ];
15+ buildInputs = [ xorg.libX11 ];
16+
17+ installPhase = ''
18+ mkdir -p $out/bin
19+ cp hhpc $out/bin/
20+ '';
21+
22+ meta = with stdenv.lib; {
23+ description = "Hides the mouse pointer in X11";
24+ maintainers = with maintainers; [ nico202 ];
25+ platforms = platforms.unix;
26+ license = stdenv.lib.licenses.bsd3;
27+ };
28+}