diff options
author | Nicolò Balzarotti <anothersms@gmail.com> | 2016-12-22 18:24:22 +0100 |
---|---|---|
committer | Nicolò Balzarotti <anothersms@gmail.com> | 2016-12-26 12:37:08 +0100 |
commit | 54be55f47c1cb56c4352208511fea80fef1b5db2 (patch) | |
tree | 01eb9a39af3ce2e04f731176f75c17e7a007b050 /pkgs/tools/misc/hhpc | |
parent | ebe19f5db0d9df4d86cd2012b44dd4249062d891 (diff) |
hhpc: init at 0.3.1
Diffstat (limited to 'pkgs/tools/misc/hhpc')
-rw-r--r-- | pkgs/tools/misc/hhpc/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/hhpc/default.nix b/pkgs/tools/misc/hhpc/default.nix new file mode 100644 index 0000000000000..b4ee1f2f5c0da --- /dev/null +++ b/pkgs/tools/misc/hhpc/default.nix @@ -0,0 +1,28 @@ +{stdenv, fetchFromGitHub, xorg, pkgconfig}: + +stdenv.mkDerivation rec { + name = "hhpc-${version}"; + 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 stdenv.lib; { + description = "Hides the mouse pointer in X11"; + maintainers = with maintainers; [ nico202 ]; + platforms = platforms.unix; + license = stdenv.lib.licenses.bsd3; + }; +} |