depot/pkgs/by-name/sn/snipaste/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
687 B
Nix
Raw Normal View History

{
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 ];
};
}