diff options
author | Emily Trau <emily@downunderctf.com> | 2023-07-08 23:51:03 +1000 |
---|---|---|
committer | Emily Trau <emily@downunderctf.com> | 2023-07-08 23:51:03 +1000 |
commit | 296682e70cc2dff231cde3b9cfde8e32634a9cfa (patch) | |
tree | 3eefa28ec1f1b634925bdc271287f1b4ca18801c /pkgs/applications/misc/appcleaner | |
parent | a0930d1a13200ad760f156a7bfbfcb79a83ab32a (diff) |
appcleaner: init at 3.6.8
Diffstat (limited to 'pkgs/applications/misc/appcleaner')
-rw-r--r-- | pkgs/applications/misc/appcleaner/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/misc/appcleaner/default.nix b/pkgs/applications/misc/appcleaner/default.nix new file mode 100644 index 0000000000000..eff32c76f988a --- /dev/null +++ b/pkgs/applications/misc/appcleaner/default.nix @@ -0,0 +1,35 @@ +{ lib +, stdenvNoCC +, fetchurl +, unzip +}: +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "appcleaner"; + version = "3.6.8"; + + src = fetchurl { + url = "https://freemacsoft.net/downloads/AppCleaner_${finalAttrs.version}.zip"; + hash = "sha256-4BL3KUQkc8IOfM4zSwAYJSHktmcupoGzSTGxgP6z1r4="; + }; + dontUnpack = true; + + nativeBuildInputs = [ unzip ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/Applications + unzip -d $out/Applications $src + + runHook postInstall + ''; + + meta = with lib; { + description = "Uninstall unwanted apps"; + homepage = "https://freemacsoft.net/appcleaner"; + license = licenses.unfree; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + maintainers = with maintainers; [ emilytrau Enzime ]; + platforms = platforms.darwin; + }; +}) |