mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
ba1834b908
- Previously package resided in darwin/mousecape due to confusion, this breaks the pkgs category hierarchy as mentioned by https://github.com/NixOS/nixpkgs/pull/299032#issuecomment-2021684755 - Also switched to using fetchzip - Fixed maintainer name
34 lines
906 B
Nix
34 lines
906 B
Nix
{ 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 = {
|
|
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 ];
|
|
};
|
|
})
|
|
|