nixpkgs/pkgs/tools/misc/hhpc/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
631 B
Nix

{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 stdenv.lib; {
description = "Hides the mouse pointer in X11";
maintainers = with maintainers; [ nico202 ];
platforms = platforms.unix;
license = stdenv.lib.licenses.bsd3;
};
}