depot/pkgs/by-name/sn/snipaste/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

29 lines
687 B
Nix

{
appimageTools,
lib,
fetchurl,
}:
appimageTools.wrapType2 rec {
pname = "snipaste";
version = "2.10.2";
src = fetchurl {
url = "https://download.snipaste.com/archives/Snipaste-${version}-x86_64.AppImage";
hash = "sha256-u9e2d9ZpHDbDIsFkseOdJX2Kspn9TkhFfZxbeielDA8=";
};
passthru.updateScript = ./update.sh;
meta = {
description = "Screenshot tools";
homepage = "https://www.snipaste.com/";
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [
luftmensch-luftmensch
ltrump
];
mainProgram = "snipaste";
platforms = [ "x86_64-linux" ];
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
};
}