Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
hugin # Hugin
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
hugin # Hugin
];
} Package Definition
{
"pname": "hugin",
"version": "2019.2.0",
"src": {
"url": "https://downloads.sourceforge.net/hugin/Hugin-2019.2.0.dmg",
"sha256": "00caa732134c3b4dedd04f3605a4a1660e6baa49f54b6bb45eb25387dbe1e419"
},
"installPhase": [
"mkdir -p \"$out/Applications/Hugin\" && cp -r \"Hugin\" \"$out/Applications\""
],
"meta": {
"description": "Panorama photo stitcher",
"homepage": "https://hugin.sourceforge.io/"
}
}