mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
Merge pull request #299032 from DontEatOreo/darwin-mousecape
mousecape: init at 1813
This commit is contained in:
commit
71df962dfd
38
pkgs/os-specific/darwin/mousecape/default.nix
Normal file
38
pkgs/os-specific/darwin/mousecape/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user