Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
uncrustifyx # UncrustifyX
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
uncrustifyx # UncrustifyX
];
} Package Definition
{
"pname": "uncrustifyx",
"version": "0.4.3",
"src": {
"url": "https://github.com/ryanmaxwell/UncrustifyX/releases/download/0.4.3/UncrustifyX-0.4.3.zip",
"sha256": "017c0781ce05db59c1a3fe52a140166df55aa2d87286a7cf5ba5e3eb6b06c7df"
},
"installPhase": [
"mkdir -p \"$out/Applications/UncrustifyX.app\" && cp -r \"UncrustifyX.app\" \"$out/Applications\""
],
"meta": {
"description": "Uncrustify utility and documentation browser",
"homepage": "https://github.com/ryanmaxwell/UncrustifyX"
}
}