depot/third_party/nixpkgs/pkgs/tools/misc/hhpc/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

28 lines
622 B
Nix

{lib, stdenv, fetchFromGitHub, xorg, pkgconfig}:
stdenv.mkDerivation rec {
pname = "hhpc";
version = "0.3.1";
src = fetchFromGitHub {
owner = "aktau";
repo = "hhpc";
rev = "v${version}";
sha256 = "1djsw1r38mh6zx0rbyn2cfa931hyddib4fl3i27c4z7xinl709ss";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ xorg.libX11 ];
installPhase = ''
mkdir -p $out/bin
cp hhpc $out/bin/
'';
meta = with lib; {
description = "Hides the mouse pointer in X11";
maintainers = with maintainers; [ nico202 ];
platforms = platforms.unix;
license = lib.licenses.bsd3;
};
}