mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
Merge pull request #312321 from DCsunset/highlight-pointer-init
highlight-pointer: init at 1.1.3
This commit is contained in:
commit
2d714285a5
45
pkgs/by-name/hi/highlight-pointer/package.nix
Normal file
45
pkgs/by-name/hi/highlight-pointer/package.nix
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
libX11,
|
||||||
|
xorg,
|
||||||
|
libXext,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "highlight-pointer";
|
||||||
|
version = "1.1.3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "swillner";
|
||||||
|
repo = "highlight-pointer";
|
||||||
|
rev = "refs/tags/v${finalAttrs.version}";
|
||||||
|
hash = "sha256-mz9gXAtrtSV0Lapx8xBOPljuF+HRgDaF2DKCDrHXQa8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libX11
|
||||||
|
libXext
|
||||||
|
xorg.libXi
|
||||||
|
xorg.libXfixes
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -m 555 -D highlight-pointer $out/bin/highlight-pointer
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Highlight mouse pointer/cursor using a dot";
|
||||||
|
homepage = "https://github.com/swillner/highlight-pointer";
|
||||||
|
changelog = "https://github.com/swillner/highlight-pointer/releases/tag/v${finalAttrs.version}";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ DCsunset ];
|
||||||
|
mainProgram = "highlight-pointer";
|
||||||
|
};
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user