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.1.2",
"src": {
"url": "https://github.com/Ruben2776/PicView/releases/download/4.1.2/PicView-4.1.2-macOS-arm64.dmg",
"sha256": "d0109cddcdd132858c04b43716310ff0a87588add4303f49290f9260f39714b5"
},
"installPhase": [
"mkdir -p \"$out/Applications/PicView.app\" && cp -r \"PicView.app\" \"$out/Applications\""
],
"meta": {
"description": "Picture viewer",
"homepage": "https://picview.org/"
}
}