Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
lightproxy # LightProxy
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
lightproxy # LightProxy
];
} Package Definition
{
"pname": "lightproxy",
"version": "1.1.41",
"src": {
"url": "https://github.com/alibaba/lightproxy/releases/download/v1.1.41/LightProxy-1.1.41.dmg",
"sha256": "e71f606717712eabb06e1cf0c643302f8d52d339d227367a16ca519883d4bd00"
},
"installPhase": [
"mkdir -p \"$out/Applications/LightProxy.app\" && cp -r \"LightProxy.app\" \"$out/Applications\""
],
"meta": {
"description": "Proxy & Debug tools based on whistle with Chrome Devtools UI",
"homepage": "https://alibaba.github.io/lightproxy/"
}
}