Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
pictureview # Picture View
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
pictureview # Picture View
];
} Package Definition
{
"pname": "pictureview",
"version": "2.3.4",
"src": {
"url": "https://wl879.github.io/apps/picview/PictureView_2.3.4.dmg",
"sha256": "3975d6e10f8e04e4339eadeafd0af511611fd9ba852d4c3e724dbbb3d811abce"
},
"installPhase": [
"mkdir -p \"$out/Applications/PictureView.app\" && cp -r \"PictureView.app\" \"$out/Applications\""
],
"meta": {
"description": "Image viewer",
"homepage": "https://wl879.github.io/apps/picview/index.html"
}
}