mousecape: init at 1813

This commit is contained in:
DontEatOreo 2024-03-26 00:09:19 +02:00
parent eaa7f097ba
commit 539f801b60
No known key found for this signature in database
GPG Key ID: 0DB5361BEEE530AB
1 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ lib
, stdenvNoCC
, fetchurl
, unzip
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "mousecape";
version = "1813";
src = fetchurl {
url = "https://github.com/alexzielenski/Mousecape/releases/download/${finalAttrs.version}/Mousecape_${finalAttrs.version}.zip";
hash = "sha256-lp7HFGr1J+iQCUWVDplF8rFcTrGf+DX4baYzLsUi/9I=";
};
sourceRoot = ".";
nativeBuildInputs = [ unzip ];
installPhase = ''
runHook preInstall
mkdir -p $out/Applications
mv Mousecape.app $out/Applications
runHook postInstall
'';
meta = {
description = "A cursor manager for macOS built using private, nonintrusive CoreGraphics APIs";
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 ];
};
})