Merge pull request #138064 from x3rAx/ksnip-1.9.1

ksnip: init at 1.9.1

authored by Sandro and committed by GitHub 377600ce bfc38d3d

Changed files
+81 -2
pkgs
development
libraries
kimageannotator
tools
misc
ksnip
top-level
+2 -2
pkgs/development/libraries/kimageannotator/default.nix
··· 2 2 3 3 mkDerivation rec { 4 4 pname = "kimageannotator"; 5 - version = "0.5.1"; 5 + version = "0.5.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "ksnip"; 9 9 repo = "kImageAnnotator"; 10 10 rev = "v${version}"; 11 - sha256 = "0hfvrd78lgwd7bccz0fx2pr7g0v3s401y5plra63rxwk55ffkxf8"; 11 + sha256 = "07m3il928gwzzab349grpaksqqv4n7r6mn317sx2jly0x0bpv0rh"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake qttools ];
+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
··· 914 914 915 915 gofu = callPackage ../applications/misc/gofu { }; 916 916 917 + ksnip = libsForQt5.callPackage ../tools/misc/ksnip { }; 918 + 917 919 linux-router = callPackage ../tools/networking/linux-router { }; 918 920 919 921 linux-router-without-wifi = linux-router.override { useWifiDependencies = false; };