2024-03-25 22:09:19 +00:00
|
|
|
{ lib
|
|
|
|
, stdenvNoCC
|
2024-03-27 16:28:50 +00:00
|
|
|
, fetchzip
|
2024-03-25 22:09:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
|
|
pname = "mousecape";
|
|
|
|
version = "1813";
|
|
|
|
|
2024-03-27 16:28:50 +00:00
|
|
|
src = fetchzip {
|
2024-03-25 22:09:19 +00:00
|
|
|
url = "https://github.com/alexzielenski/Mousecape/releases/download/${finalAttrs.version}/Mousecape_${finalAttrs.version}.zip";
|
2024-03-27 16:28:50 +00:00
|
|
|
hash = "sha256-VjbvrXfsRFpbTJfIHFvyCxRdDcGNv0zzLToWn7lyLM8=";
|
2024-03-25 22:09:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
2024-03-27 16:28:50 +00:00
|
|
|
mkdir -p $out/Applications/Mousecape.app
|
|
|
|
cp -R . $out/Applications/Mousecape.app/
|
2024-03-25 22:09:19 +00:00
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Cursor manager for macOS built using private, nonintrusive CoreGraphics APIs";
|
|
|
|
homepage = "https://github.com/alexzielenski/Mousecape";
|
2024-08-16 19:07:19 +00:00
|
|
|
license = lib.licenses.free;
|
|
|
|
maintainers = with lib.maintainers; [ donteatoreo ];
|
|
|
|
platforms = lib.platforms.darwin;
|
|
|
|
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
2024-03-25 22:09:19 +00:00
|
|
|
};
|
|
|
|
})
|
|
|
|
|