From 9a36d96d6050d0e941c6e0e5d4bc8354e77653bb Mon Sep 17 00:00:00 2001 From: luftmensch-luftmensch Date: Mon, 13 May 2024 15:04:24 +0200 Subject: [PATCH] snipaste: init at 2.9-Beta2 --- pkgs/by-name/sn/snipaste/package.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/by-name/sn/snipaste/package.nix diff --git a/pkgs/by-name/sn/snipaste/package.nix b/pkgs/by-name/sn/snipaste/package.nix new file mode 100644 index 000000000000..4b62ab5dce43 --- /dev/null +++ b/pkgs/by-name/sn/snipaste/package.nix @@ -0,0 +1,24 @@ +{ + appimageTools, + lib, + fetchurl, +}: +appimageTools.wrapType2 rec { + pname = "snipaste"; + version = "2.9-Beta2"; + + src = fetchurl { + url = "https://download.snipaste.com/archives/Snipaste-${version}-x86_64.AppImage"; + hash = "sha256-VJvw3M1Ohfji/PoIxn4gc9KcFl6H1wRYW5Pbf1p5rlg="; + }; + + meta = with lib; { + description = "Screenshot tools"; + homepage = "https://www.snipaste.com/"; + license = licenses.unfree; + maintainers = with maintainers; [ luftmensch-luftmensch ]; + mainProgram = "snipaste"; + platforms = [ "x86_64-linux" ]; + sourceProvenance = [ sourceTypes.binaryNativeCode ]; + }; +}