Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
picview # PicView
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
picview # PicView
];
} Package Definition
{
"pname": "picview",
"version": "4.0.0",
"src": {
"url": "https://github.com/Ruben2776/PicView/releases/download/4.0.0/PicView-4.0.0-macOS-arm64.dmg",
"sha256": "f84df1c30b2387fc303a6e0925c39a135888a63d7b1855d1ebee8394adc20287"
},
"installPhase": [
"mkdir -p \"$out/Applications/PicView.app\" && cp -r \"PicView.app\" \"$out/Applications\""
],
"meta": {
"description": "Picture viewer",
"homepage": "https://picview.org/"
}
}