2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 14:13:35 +00:00
nixpkgs/pkgs/tools/misc/hhpc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
624 B
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{lib, stdenv, fetchFromGitHub, xorg, pkg-config}:
2016-12-22 17:24:22 +00:00
stdenv.mkDerivation rec {
pname = "hhpc";
2016-12-22 17:24:22 +00:00
version = "0.3.1";
src = fetchFromGitHub {
owner = "aktau";
repo = "hhpc";
rev = "v${version}";
sha256 = "1djsw1r38mh6zx0rbyn2cfa931hyddib4fl3i27c4z7xinl709ss";
};
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ pkg-config ];
2016-12-22 17:24:22 +00:00
buildInputs = [ xorg.libX11 ];
installPhase = ''
mkdir -p $out/bin
cp hhpc $out/bin/
'';
meta = with lib; {
2016-12-22 17:24:22 +00:00
description = "Hides the mouse pointer in X11";
maintainers = with maintainers; [ nico202 ];
platforms = platforms.unix;
2021-01-15 09:19:50 +00:00
license = lib.licenses.bsd3;
2016-12-22 17:24:22 +00:00
};
}