Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
quarkclouddrive # Quark Cloud Drive
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
quarkclouddrive # Quark Cloud Drive
];
} Package Definition
{
"pname": "quarkclouddrive",
"version": "7.2.0.792,3172746",
"src": {
"url": "https://umcdn.quark.cn/download/37213/quarkclouddrivemac/pckk@product_guanwang/QuarkCloudDriveMac_V7.2.0.792_mac_pf30003_(zh-cn)_abiarm64_(Build3172746).dmg",
"sha256": "529f2836c2dfbf95add095667e5a56187237aa3142f8c238fa12bd97471237c5"
},
"installPhase": [
"mkdir -p \"$out/Applications/QuarkCloudDrive.app\" && cp -r \"QuarkCloudDrive.app\" \"$out/Applications\""
],
"meta": {
"description": "Cloud storage and file management platform",
"homepage": "https://pan.quark.cn/"
}
}