nixpkgs/pkgs/by-name/mo/mousecape/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
904 B
Nix
Raw Normal View History

2024-03-25 22:09:19 +00:00
{ lib
, stdenvNoCC
, fetchzip
2024-03-25 22:09:19 +00:00
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "mousecape";
version = "1813";
src = fetchzip {
2024-03-25 22:09:19 +00:00
url = "https://github.com/alexzielenski/Mousecape/releases/download/${finalAttrs.version}/Mousecape_${finalAttrs.version}.zip";
hash = "sha256-VjbvrXfsRFpbTJfIHFvyCxRdDcGNv0zzLToWn7lyLM8=";
2024-03-25 22:09:19 +00:00
};
installPhase = ''
runHook preInstall
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";
2024-03-25 22:09:19 +00:00
homepage = "https://github.com/alexzielenski/Mousecape";
license = with lib; licenses.free;
maintainers = with lib; with maintainers; [ donteatoreo ];
2024-03-25 22:09:19 +00:00
platforms = with lib; platforms.darwin;
sourceProvenance = with lib; with sourceTypes; [ binaryNativeCode ];
};
})