Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
qview # qView
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
qview # qView
];
} Package Definition
{
"pname": "qview",
"version": "7.1",
"src": {
"url": "https://github.com/jurplel/qView/releases/download/7.1/qView-7.1.dmg",
"sha256": "fa34d0e54601b8557f4e879527b9bb1e728ace5c7c1c69cf126700ca4d0b5817"
},
"installPhase": [
"mkdir -p \"$out/Applications/qView.app\" && cp -r \"qView.app\" \"$out/Applications\""
],
"meta": {
"description": "Image viewer",
"homepage": "https://github.com/jurplel/qView/"
}
}