Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
stdenv,
|
|
undmg,
|
|
}:
|
|
|
|
let
|
|
snapshot = "20250820092243";
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = "apparency";
|
|
version = "2.3";
|
|
|
|
src = fetchurl {
|
|
# Use externally archived download URL because
|
|
# upstream does not provide stable URLs for versioned releases
|
|
url = "https://web.archive.org/web/${snapshot}/https://www.mothersruin.com/software/downloads/Apparency.dmg";
|
|
hash = "sha256-QaP7Ll5ZK0QVHPFzDPmV8rd0XmY3Ie0VPBDXJEDMECU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ undmg ];
|
|
|
|
sourceRoot = "Apparency.app";
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/Applications/Apparency.app $out/bin
|
|
cp -R . $out/Applications/Apparency.app
|
|
ln -s ../Applications/Apparency.app/Contents/MacOS/appy $out/bin
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "Toolkit for analysing macOS applications";
|
|
homepage = "https://www.mothersruin.com/software/Apparency/";
|
|
license = lib.licenses.unfreeRedistributable;
|
|
maintainers = with lib.maintainers; [ andre4ik3 ];
|
|
mainProgram = "appy";
|
|
platforms = lib.platforms.darwin;
|
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
|
};
|
|
}
|