Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
dust3d # Dust3D
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
dust3d # Dust3D
];
}
Package Definition
{
"pname": "dust3d",
"version": "1.0.0-rc.9",
"src": {
"url": "https://github.com/huxingyi/dust3d/releases/download/1.0.0-rc.9/dust3d-1.0.0-rc.9.dmg",
"sha256": "9d2a251f26bcdcbe671677d48743f0c617be63c78f5c9291bd5b45e0dbb49a7f"
},
"installPhase": [
"mkdir -p \"$out/Applications/dust3d-1.0.0-rc.9.app\" && cp -r \"dust3d-1.0.0-rc.9.app\" \"$out/Applications\""
],
"meta": {
"description": "Open-source 3D modelling software",
"homepage": "https://dust3d.org/"
}
}