Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
bricksmith # Bricksmith
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
bricksmith # Bricksmith
];
} Package Definition
{
"pname": "bricksmith",
"version": "3.1.0",
"src": {
"url": "https://downloads.sourceforge.net/bricksmith/bricksmith/Bricksmith%203.1/BricksmithComplete3.1.zip",
"sha256": "7ea1991b68ae9a75e3107f4df0f01a9980e17f889536fd7cae0ba8c6f56b7d67"
},
"installPhase": [
"mkdir -p \"$out/Applications/Bricksmith/Bricksmith.app\" && cp -r \"Bricksmith/Bricksmith.app\" \"$out/Applications\""
],
"meta": {
"description": "Virtual Lego modelling",
"homepage": "https://bricksmith.sourceforge.io/"
}
}