Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / mo / mousecape / package.nix
blob3f29a01358276d234537cfc4f5e9faced6ee800d
1 { lib
2 , stdenvNoCC
3 , fetchzip
4 }:
6 stdenvNoCC.mkDerivation (finalAttrs: {
7   pname = "mousecape";
8   version = "1813";
10   src = fetchzip {
11     url = "https://github.com/alexzielenski/Mousecape/releases/download/${finalAttrs.version}/Mousecape_${finalAttrs.version}.zip";
12     hash = "sha256-VjbvrXfsRFpbTJfIHFvyCxRdDcGNv0zzLToWn7lyLM8=";
13   };
15   installPhase = ''
16     runHook preInstall
18     mkdir -p $out/Applications/Mousecape.app
19     cp -R . $out/Applications/Mousecape.app/
21     runHook postInstall
22   '';
24   meta = {
25     description = "Cursor manager for macOS built using private, nonintrusive CoreGraphics APIs";
26     homepage = "https://github.com/alexzielenski/Mousecape";
27     license = with lib; licenses.free;
28     maintainers = with lib; with maintainers; [ donteatoreo ];
29     platforms = with lib; platforms.darwin;
30     sourceProvenance = with lib; with sourceTypes; [ binaryNativeCode ];
31   };