Merge pull request #242285 from emilytrau/appcleaner

This commit is contained in:
Artturi 2023-09-27 08:18:29 +03:00 committed by GitHub
commit 198f108a4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View file

@ -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;
};
})

View file

@ -30604,6 +30604,8 @@ with pkgs;
apngasm = callPackage ../applications/graphics/apngasm { };
apngasm_2 = callPackage ../applications/graphics/apngasm/2.nix { };
appcleaner = callPackage ../applications/misc/appcleaner { };
appeditor = callPackage ../applications/misc/appeditor { };
appgate-sdp = callPackage ../applications/networking/appgate-sdp { };