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
874 B
Nix
Raw Permalink 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";
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
};
})