Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
picgo # PicGo
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
picgo # PicGo
];
} Package Definition
{
"pname": "picgo",
"version": "2.4.1",
"src": {
"url": "https://github.com/Molunerfinn/PicGo/releases/download/v2.4.1/PicGo-2.4.1-arm64.dmg",
"sha256": "7232d7c6d5ee8ee7291d1c17aa2c13e19e942186864a1f120305ef43a38f6e2f"
},
"installPhase": [
"mkdir -p \"$out/Applications/PicGo.app\" && cp -r \"PicGo.app\" \"$out/Applications\""
],
"meta": {
"description": "Tool for uploading images",
"homepage": "https://github.com/Molunerfinn/PicGo"
}
}