15 stdenv.mkDerivation rec {
19 src = fetchFromGitHub {
23 sha256 = "sha256-n7YwDXd73hyrzb6L8utZFuHh9HnjVtkU6CC4jfWPj/I=";
27 # Fix build with latest kImageAnnotator
29 url = "https://github.com/ksnip/ksnip/commit/76f4b381971eead6ff31b8bf3bb64bb5717469c3.patch";
30 hash = "sha256-JWoI974qDNZIzr/8oksI8m6g3XNWEaQRGsqSfvQrmao=";
49 homepage = "https://github.com/ksnip/ksnip";
50 description = "Cross-platform screenshot tool with many annotation features";
54 - Supports Linux (X11, Plasma Wayland, GNOME Wayland and xdg-desktop-portal Wayland), Windows and macOS.
55 - Screenshot of a custom rectangular area that can be drawn with mouse cursor.
56 - Screenshot of last selected rectangular area without selecting again.
57 - Screenshot of the screen/monitor where the mouse cursor is currently located.
58 - Screenshot of full-screen, including all screens/monitors.
59 - Screenshot of window that currently has focus.
60 - Screenshot of window under mouse cursor.
61 - Screenshot with or without mouse cursor.
62 - Capture mouse cursor as annotation item that can be moved and deleted.
63 - Customizable capture delay for all capture options.
64 - Upload screenshots directly to imgur.com in anonymous or user mode.
65 - Upload screenshots via custom user defined scripts.
66 - Command-line support, for capturing screenshots and saving to default location, filename and format.
67 - Filename wildcards for Year ($Y), Month ($M), Day ($D), Time ($T) and Counter (multiple # characters for number with zero-leading padding).
68 - Print screenshot or save it to PDF/PS.
69 - Annotate screenshots with pen, marker, rectangles, ellipses, texts and other tools.
70 - Annotate screenshots with stickers and add custom stickers.
71 - Obfuscate image regions with blur and pixelate.
72 - Add effects to image (Drop Shadow, Grayscale, invert color or Border).
73 - Add watermarks to captured images.
74 - Global hotkeys for capturing screenshots (currently only for Windows and X11).
75 - Tabs for screenshots and images.
76 - Open existing images via dialog, drag-and-drop or paste from clipboard.
77 - Run as single instance application (secondary instances send cli parameter to primary instance).
78 - Pin screenshots in frameless windows that stay atop other windows.
79 - User-defined actions for taking screenshot and post-processing.
80 - Many configuration options.
82 license = licenses.gpl2Plus;
83 maintainers = with maintainers; [ x3ro ];
84 platforms = platforms.linux;
85 mainProgram = "ksnip";