+2
-2
pkgs/development/libraries/kimageannotator/default.nix
+2
-2
pkgs/development/libraries/kimageannotator/default.nix
+77
pkgs/tools/misc/ksnip/default.nix
+77
pkgs/tools/misc/ksnip/default.nix
···
···
1
+
{ stdenv
2
+
, lib
3
+
, cmake
4
+
, extra-cmake-modules
5
+
, fetchFromGitHub
6
+
, kcolorpicker
7
+
, kimageannotator
8
+
, qtsvg
9
+
, qttranslations
10
+
, qtx11extras
11
+
}:
12
+
13
+
stdenv.mkDerivation rec {
14
+
pname = "ksnip";
15
+
version = "1.9.1";
16
+
17
+
src = fetchFromGitHub {
18
+
owner = "ksnip";
19
+
repo = "ksnip";
20
+
rev = "v${version}";
21
+
sha256 = "1izsk586n9fbm0di0hj6pxs7r0a6w554gpad1ghf247icr0pfc1l";
22
+
};
23
+
24
+
dontWrapQtApps = true;
25
+
26
+
nativeBuildInputs = [
27
+
cmake
28
+
extra-cmake-modules
29
+
];
30
+
31
+
buildInputs = [
32
+
kcolorpicker
33
+
kimageannotator
34
+
qtsvg
35
+
qttranslations
36
+
qtx11extras
37
+
];
38
+
39
+
meta = with lib; {
40
+
homepage = "https://github.com/ksnip/ksnip";
41
+
description = "Cross-platform screenshot tool wihth many annotation features";
42
+
longDescription = ''
43
+
Features:
44
+
45
+
- Supports Linux (X11, Plasma Wayland, GNOME Wayland and xdg-desktop-portal Wayland), Windows and macOS.
46
+
- Screenshot of a custom rectangular area that can be drawn with mouse cursor.
47
+
- Screenshot of last selected rectangular area without selecting again.
48
+
- Screenshot of the screen/monitor where the mouse cursor is currently located.
49
+
- Screenshot of full-screen, including all screens/monitors.
50
+
- Screenshot of window that currently has focus.
51
+
- Screenshot of window under mouse cursor.
52
+
- Screenshot with or without mouse cursor.
53
+
- Capture mouse cursor as annotation item that can be moved and deleted.
54
+
- Customizable capture delay for all capture options.
55
+
- Upload screenshots directly to imgur.com in anonymous or user mode.
56
+
- Upload screenshots via custom user defined scripts.
57
+
- Command-line support, for capturing screenshots and saving to default location, filename and format.
58
+
- Filename wildcards for Year ($Y), Month ($M), Day ($D), Time ($T) and Counter (multiple # characters for number with zero-leading padding).
59
+
- Print screenshot or save it to PDF/PS.
60
+
- Annotate screenshots with pen, marker, rectangles, ellipses, texts and other tools.
61
+
- Annotate screenshots with stickers and add custom stickers.
62
+
- Obfuscate image regions with blur and pixelate.
63
+
- Add effects to image (Drop Shadow, Grayscale, invert color or Border).
64
+
- Add watermarks to captured images.
65
+
- Global hotkeys for capturing screenshots (currently only for Windows and X11).
66
+
- Tabs for screenshots and images.
67
+
- Open existing images via dialog, drag-and-drop or paste from clipboard.
68
+
- Run as single instance application (secondary instances send cli parameter to primary instance).
69
+
- Pin screenshots in frameless windows that stay atop other windows.
70
+
- User-defined actions for taking screenshot and post-processing.
71
+
- Many configuration options.
72
+
'';
73
+
license = licenses.gpl2Plus;
74
+
maintainers = with maintainers; [ x3ro ];
75
+
platforms = platforms.linux;
76
+
};
77
+
}
+2
pkgs/top-level/all-packages.nix
+2
pkgs/top-level/all-packages.nix