Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
inkscape # Inkscape
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
inkscape # Inkscape
];
} Package Definition
{
"pname": "inkscape",
"version": "1.4.333103",
"src": {
"url": "https://media.inkscape.org/dl/resources/file/Inkscape-1.4.333103_arm64.dmg",
"sha256": "4fdf98784a4023faa3adcd65414891bcd4ca359feb2bf2e178d01dddf656f78a"
},
"installPhase": [
"mkdir -p \"$out/Applications/Inkscape.app\" && cp -r \"Inkscape.app\" \"$out/Applications\"",
"mkdir -p \"$out/bin\" && ln -s \"$out/inkscape.wrapper.sh\" \"$out/bin/inkscape\""
],
"meta": {
"description": "Vector graphics editor",
"homepage": "https://inkscape.org/"
}
}