Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
360safe # 360 Total Security
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
360safe # 360 Total Security
];
}
Package Definition
{
"pname": "360safe",
"version": "1.2.6",
"src": {
"url": "https://free.360totalsecurity.com/totalsecurity/mac/360ts_mac_1.2.6.dmg",
"sha256": "bf161080b20bc1550e30d705075088f1f77b35aa88192c32cce25e532e09b6f4"
},
"installPhase": [
"mkdir -p \"$out/Applications/360Safe.app\" && cp -r \"360Safe.app\" \"$out/Applications\""
],
"meta": {
"description": "Protection and antivirus security",
"homepage": "https://www.360totalsecurity.com/features/360-total-security-mac/"
}
}