Merge pull request #242285 from emilytrau/appcleaner
This commit is contained in:
commit
198f108a4b
2 changed files with 37 additions and 0 deletions
35
pkgs/applications/misc/appcleaner/default.nix
Normal file
35
pkgs/applications/misc/appcleaner/default.nix
Normal 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;
|
||||
};
|
||||
})
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue