2024-04-21 15:54:59 +00:00
|
|
|
{ lib
|
|
|
|
, stdenvNoCC
|
|
|
|
, fetchzip
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
|
|
pname = "mousecape";
|
|
|
|
version = "1813";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/alexzielenski/Mousecape/releases/download/${finalAttrs.version}/Mousecape_${finalAttrs.version}.zip";
|
|
|
|
hash = "sha256-VjbvrXfsRFpbTJfIHFvyCxRdDcGNv0zzLToWn7lyLM8=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/Applications/Mousecape.app
|
|
|
|
cp -R . $out/Applications/Mousecape.app/
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Cursor manager for macOS built using private, nonintrusive CoreGraphics APIs";
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://github.com/alexzielenski/Mousecape";
|
|
|
|
license = with lib; licenses.free;
|
|
|
|
maintainers = with lib; with maintainers; [ donteatoreo ];
|
|
|
|
platforms = with lib; platforms.darwin;
|
|
|
|
sourceProvenance = with lib; with sourceTypes; [ binaryNativeCode ];
|
|
|
|
};
|
|
|
|
})
|
|
|
|
|