projects/guix·blob python-team · refs

773 lines · 26.1 KiB

1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2016 David Craven <[email protected]>
3;;; Copyright © 2017-2020 Hartmut Goebel <[email protected]>
4;;; Copyright © 2020 Marius Bakke<[email protected]>
5;;; Copyright © 2021 Tobias Geerinckx-Rice <[email protected]>
6;;; Copyright © 2022 Brendan Tildesley <[email protected]>
7;;; Copyright © 2022 Petr Hodina <[email protected]>
8;;; Copyright © 2023-2025 Zheng Junjie <[email protected]>
9;;; Copyright © 2023-2026 Sughosha <[email protected]>
10;;;
11;;; This file is part of GNU Guix.
12;;;
13;;; GNU Guix is free software; you can redistribute it and/or modify it
14;;; under the terms of the GNU General Public License as published by
15;;; the Free Software Foundation; either version 3 of the License, or (at
16;;; your option) any later version.
17;;;
18;;; GNU Guix is distributed in the hope that it will be useful, but
19;;; WITHOUT ANY WARRANTY; without even the implied warranty of
20;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21;;; GNU General Public License for more details.
22;;;
23;;; You should have received a copy of the GNU General Public License
24;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
25
26(define-module (gnu packages kde-systemtools)
27 #:use-module (guix build-system cmake)
28 #:use-module (guix build-system qt)
29 #:use-module (guix deprecation)
30 #:use-module (guix download)
31 #:use-module (guix git-download)
32 #:use-module ((guix licenses) #:prefix license:)
33 #:use-module (guix packages)
34 #:use-module (guix utils)
35 #:use-module (guix gexp)
36 #:use-module (gnu packages)
37 #:use-module (gnu packages admin)
38 #:use-module (gnu packages aidc)
39 #:use-module (gnu packages backup)
40 #:use-module (gnu packages base)
41 #:use-module (gnu packages compression)
42 #:use-module (gnu packages cryptsetup)
43 #:use-module (gnu packages freedesktop)
44 #:use-module (gnu packages image)
45 #:use-module (gnu packages kde-frameworks)
46 #:use-module (gnu packages kde-plasma)
47 #:use-module (gnu packages linux)
48 #:use-module (gnu packages ocr)
49 #:use-module (gnu packages pkg-config)
50 #:use-module (gnu packages polkit)
51 #:use-module (gnu packages qt)
52 #:use-module (gnu packages glib)
53 #:use-module (gnu packages rsync)
54 #:use-module (gnu packages ruby)
55 #:use-module (gnu packages ruby-xyz)
56 #:use-module (gnu packages search)
57 #:use-module (gnu packages vnc)
58 #:use-module (gnu packages perl)
59 #:use-module (gnu packages xml)
60 #:use-module (gnu packages icu4c)
61 #:use-module (gnu packages image-processing)
62 #:use-module (gnu packages version-control)
63 #:use-module (gnu packages xorg)
64 #:use-module (gnu packages xdisorg))
65
66(define-public baloo-widgets
67 (package
68 (name "baloo-widgets")
69 (version "26.04.1")
70 (source
71 (origin
72 (method url-fetch)
73 (uri (string-append "mirror://kde/stable/release-service/" version
74 "/src/baloo-widgets-" version ".tar.xz"))
75 (sha256
76 (base32 "1l6wxf1bs8dm01b4ijjidaz5fn7dgs6xybpzhhasv00676j5cy38"))))
77 (build-system qt-build-system)
78 (propagated-inputs
79 (list kcoreaddons kio))
80 (native-inputs
81 (list extra-cmake-modules))
82 (inputs
83 (list baloo kconfig ki18n))
84 (arguments
85 (list #:configure-flags #~(list "-DBUILD_WITH_QT6=ON")
86 #:qtbase qtbase))
87 (home-page "https://community.kde.org/Baloo")
88 (synopsis "Wigets for use with Baloo")
89 (description "Baloo is a framework for searching and managing metadata.
90This package contains GUI widgets for baloo.")
91 (license license:lgpl2.0+)))
92
93(define-public dolphin
94 (package
95 (name "dolphin")
96 (version "26.04.1")
97 (source
98 (origin
99 (method url-fetch)
100 (uri (string-append "mirror://kde/stable/release-service/" version
101 "/src/dolphin-" version ".tar.xz"))
102 (sha256
103 (base32 "0msgkvnq63k77zmspyf8pjfwzpfxiyqxyx5azs9g6iby5wcsakds"))
104 (patches (search-patches "dolphin-qt-6.9-compatibility-fix.patch"))))
105 (build-system qt-build-system)
106 (propagated-inputs
107 (list kio))
108 (native-inputs
109 (list extra-cmake-modules kdoctools ruby ruby-test-unit))
110 (inputs
111 (list baloo
112 baloo-widgets
113 breeze-icons ;; default icon set
114 kbookmarks
115 kcmutils
116 kcompletion
117 kconfig
118 kcoreaddons
119 kcrash
120 kdbusaddons
121 kguiaddons
122 ki18n
123 kiconthemes
124 knewstuff
125 knotifications
126 kparts
127 ktextwidgets
128 kuserfeedback
129 kwindowsystem
130 libxkbcommon
131 plasma-activities
132 qtmultimedia
133 qtwayland
134 solid))
135 (arguments
136 (list #:qtbase qtbase
137 #:tests? #f)) ;; TODO: 4/15 tests fail even with offscreen
138 (home-page "https://apps.kde.org/dolphin/")
139 (synopsis "File manager for KDE")
140 (description "Dolphin is a file manager for KDE focusing on usability.
141The main features of Dolphin are:
142@itemize
143@item Navigation bar for URLs, which navigates quickly
144 through the file hierarchy.
145@item View properties are remembered for each folder.
146@item Split of views is supported.
147@item Network transparency.
148@item Undo/redo functionality.
149@item Renaming of a variable number of selected items in one step.
150@end itemize")
151 (license ;; GPL for programs, FDL for documentation
152 (list license:gpl2+ license:fdl1.2+))))
153
154;; XXX: Deprecated on <2026-05-20>
155(define-deprecated/public-alias dolphin-plugins
156 (@ (gnu packages kde-sdk) dolphin-plugins))
157
158(define-public kde-inotify-survey
159 (package
160 (name "kde-inotify-survey")
161 (version "26.04.1")
162 (source
163 (origin
164 (method url-fetch)
165 (uri (string-append "mirror://kde/stable/release-service/" version
166 "/src/kde-inotify-survey-" version ".tar.xz"))
167 (sha256
168 (base32 "16844gn7zh97lf81h6g64hnnrral800kkd10q389j5i5cfnl1l1k"))))
169 (build-system qt-build-system)
170 (arguments
171 (list #:qtbase qtbase))
172 (native-inputs
173 (list extra-cmake-modules))
174 (inputs
175 (list kauth
176 kcoreaddons
177 kdbusaddons
178 ki18n
179 knotifications))
180 (home-page "https://invent.kde.org/system/kde-inotify-survey")
181 (synopsis "Inotify limits monitoring tool")
182 (description "kde-inotify-survey is a tool to monitor inotify limits. It
183informs the user when they have been or about to be reached. It provides the
184@command{kde-inotify-survey} command and a KDED module that additionally polls
185the state every couple minutes and warns if the user capacities have been
186exhausted.")
187 (license license:gpl3+)))
188
189(define-public kdf
190 (package
191 (name "kdf")
192 (version "26.04.1")
193 (source (origin
194 (method url-fetch)
195 (uri (string-append "mirror://kde/stable/release-service/"
196 version "/src/kdf-" version ".tar.xz"))
197 (sha256
198 (base32
199 "1xdmqmdp4v7vf9z6h917wb6sg7a4y4i44j6w44m84h8a6w6b5c49"))))
200 (build-system qt-build-system)
201 (native-inputs
202 (list extra-cmake-modules kdoctools))
203 (inputs
204 (list kcmutils
205 kconfigwidgets
206 kcoreaddons
207 kcrash
208 ki18n
209 kiconthemes
210 kio
211 knotifications
212 kwidgetsaddons
213 kstatusnotifieritem
214 kxmlgui
215 qt5compat
216 qtwayland))
217 (arguments
218 (list #:qtbase qtbase
219 #:tests? #f))
220 (home-page "https://kde.org/applications/system/kdk")
221 (synopsis "View Disk Usage")
222 (description "KDiskFree displays the available file devices (hard drive
223partitions, floppy and CD drives, etc.) along with information on their
224capacity, free space, type and mount point. It also allows you to mount and
225unmount drives and view them in a file manager.")
226 (license license:gpl2+)))
227
228(define-public khelpcenter
229 (package
230 (name "khelpcenter")
231 (version "26.04.1")
232 (source
233 (origin
234 (method url-fetch)
235 (uri (string-append "mirror://kde/stable/release-service/" version
236 "/src/khelpcenter-" version ".tar.xz"))
237 (sha256
238 (base32 "05sv551p3iavvk4hyxwr08h0a59hb89dl82q7cmrfdrsy2ykikb5"))))
239 (build-system qt-build-system)
240 (arguments
241 (list #:qtbase qtbase))
242 (native-inputs
243 (list extra-cmake-modules kdoctools perl))
244 (inputs
245 (list karchive
246 kbookmarks
247 kcodecs
248 kconfig
249 kcoreaddons
250 kdbusaddons
251 ki18n
252 kio
253 kparts
254 kservice
255 ktexttemplate
256 kwindowsystem
257 libxml2
258 breeze-icons ;; default icon set
259 xapian
260 qtwayland
261 qtwebengine))
262 (home-page "https://apps.kde.org/khelpcenter/")
263 (synopsis "KDE documentation viewer")
264 (description "KHelpCenter uses meta data files which describe the
265documentation available in the system. Each document is represented by a meta
266data file and shown as an entry in the KHelpCenter navigation tree view. The
267meta data contains information about title and short description of the
268document, the location of the document and some more information like how to
269search the document and translations of title and description. Document
270hierarchy is represented as hierarchy of the meta data files. Directories are
271also described by a meta data file which contains the same information as a
272document meta data file.")
273 (license license:gpl2+)))
274
275(define-public kio-fuse
276 (package
277 (name "kio-fuse")
278 (version "5.1.1")
279 (source (origin
280 (method url-fetch)
281 (uri (string-append "mirror://kde/stable/kio-fuse/kio-fuse-"
282 version ".tar.xz"))
283 (sha256
284 (base32
285 "051xfqfygq11dg6l6522h097raf0yc0sr4vaf5z9ih2mw1yamxmd"))))
286 (build-system cmake-build-system)
287 (arguments
288 (list
289 #:tests? #f ;no tests
290 #:configure-flags #~(list "-DQT_MAJOR_VERSION=6")))
291 (native-inputs (list dbus extra-cmake-modules pkg-config))
292 (inputs (list fuse kio kcoreaddons qtbase))
293 (home-page "https://community.kde.org/Frameworks")
294 (synopsis "FUSE Interface for KIO")
295 (description "This package provides FUSE Interface for KIO.")
296 (license license:lgpl2.1+)))
297
298(define-public kpmcore
299 (package
300 (name "kpmcore")
301 (version "26.04.1")
302 (source (origin
303 (method url-fetch)
304 (uri (string-append
305 "mirror://kde/stable/release-service/" version
306 "/src/" name "-" version ".tar.xz"))
307 (sha256
308 (base32
309 "16vgx6g47sjj77pj21zsaxqnazgyw9qymvp5hrhc5fxx2sgk8jyi"))))
310 (build-system cmake-build-system)
311 (native-inputs
312 (list extra-cmake-modules pkg-config))
313 (inputs
314 `(("coreutils-minimal" ,coreutils-minimal)
315 ("cryptsetup" ,cryptsetup)
316 ("eudev" ,eudev)
317 ("kauth" ,kauth)
318 ("kcoreaddons" ,kcoreaddons)
319 ("ki18n" ,ki18n)
320 ("kwidgetsaddons" ,kwidgetsaddons)
321 ("lvm2" ,lvm2)
322 ("mdadm" ,mdadm)
323 ("polkit-qt6" ,polkit-qt6)
324 ("qtbase" ,qtbase)
325 ("qca-qt6" ,qca-qt6)
326 ("smartmontools" ,smartmontools)
327 ("util-linux" ,util-linux)
328 ("util-linux:lib" ,util-linux "lib")))
329 (arguments
330 (list
331 #:phases
332 #~(modify-phases %standard-phases
333 (add-after 'unpack 'fix-polkit-action-path
334 (lambda _
335 (substitute* "src/util/CMakeLists.txt"
336 (("DESTINATION \\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
337 "DESTINATION share/polkit-1/actions"))
338 (substitute* "src/backend/corebackend.cpp"
339 (("\\/usr") #$output))))
340 (add-before 'configure 'patch-trustedprefixes-file
341 (lambda* (#:key inputs #:allow-other-keys)
342 (call-with-output-file "src/util/trustedprefixes"
343 (lambda (port)
344 (map (lambda (prefix)
345 (display prefix port)
346 (newline port))
347 (list (assoc-ref inputs "coreutils-minimal")
348 (assoc-ref inputs "util-linux")
349 (assoc-ref inputs "eudev")
350 (assoc-ref inputs "cryptsetup")
351 (assoc-ref inputs "lvm2")
352 (assoc-ref inputs "mdadm")
353 (assoc-ref inputs "smartmontools")
354 "/run/current-system/profile"
355 "/usr"
356 "/")))))))))
357 (home-page "https://community.kde.org/Frameworks")
358 (synopsis "Library for managing partitions")
359 (description "Library for managing partitions.")
360 (license license:gpl3+)))
361
362(define-public konsole
363 (package
364 (name "konsole")
365 (version "26.04.1")
366 (source
367 (origin
368 (method url-fetch)
369 (uri (string-append "mirror://kde/stable/release-service/" version
370 "/src/konsole-" version ".tar.xz"))
371 (sha256
372 (base32 "0qyrcs8bcp0g7igyirc1n6cdr9qsdnk9g2cf8mhiq8349fydlnac"))))
373 (build-system qt-build-system)
374 (native-inputs
375 (list extra-cmake-modules kdoctools zlib))
376 (inputs
377 (list kbookmarks
378 kconfig
379 kconfigwidgets
380 kcoreaddons
381 kcrash
382 kdbusaddons
383 kguiaddons
384 ki18n
385 kiconthemes
386 kio
387 knewstuff
388 kglobalaccel
389 knotifications
390 knotifyconfig
391 kparts
392 kpty
393 kservice
394 ktextwidgets
395 kwidgetsaddons
396 kwindowsystem
397 kxmlgui
398 breeze-icons ;; default icon set
399 qt5compat
400 qtwayland
401 qtmultimedia
402 icu4c))
403 (arguments
404 (list #:qtbase qtbase
405 #:tests? #f)) ;; TODO: 2/15 tests fail even with HOME, offscreen, SHELL, debus
406 (home-page "https://www.kde.org/")
407 (synopsis "Terminal emulator similar for KDE")
408 (description "Konsole is a terminal emulator, similar to xterm, built on
409the KDE Platform. It can contain multiple terminal sessions inside one window
410using detachable tabs. Konsole supports customizable schemes, saved sessions,
411output monitoring and more.
412
413This package is part of the KDE base applications module.")
414 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
415 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
416
417(define-public krfb
418 (package
419 (name "krfb")
420 (version "26.04.1")
421 (source
422 (origin
423 (method url-fetch)
424 (uri (string-append "mirror://kde/stable/release-service/" version
425 "/src/krfb-" version ".tar.xz"))
426 (sha256
427 (base32 "1znibrijnvb10j9f8nis98davdrhyxjc97r396zlc5d40fi2c6ar"))))
428 (build-system qt-build-system)
429 (arguments (list #:qtbase qtbase
430 #:tests? #f
431 #:configure-flags
432 #~(list (string-append "-DQtWaylandScanner_EXECUTABLE="
433 #$(this-package-native-input "qtwayland")
434 "/lib/qt6/libexec/qtwaylandscanner"))))
435 (native-inputs
436 (list extra-cmake-modules pkg-config kdoctools qtwayland))
437 (inputs
438 (list kcompletion
439 kconfig
440 kcoreaddons
441 kcrash
442 kdbusaddons
443 kdnssd
444 ki18n
445 knotifications
446 kpipewire
447 kstatusnotifieritem
448 kwallet
449 kwayland
450 kwidgetsaddons
451 kwindowsystem
452 kxmlgui
453 libvnc
454 libxcb
455 libxtst
456 breeze-icons ;; default icon set
457 pipewire
458 plasma-wayland-protocols
459 qtwayland
460 wayland
461 xcb-util-image
462 libxkbcommon
463 zlib))
464 (home-page "https://apps.kde.org/krfb/")
465 (synopsis "Desktop Sharing utility")
466 (description "KDE Desktop Sharing is a server application that allows you
467to share your current session with a user on another machine. The desktop
468session can be viewed or even controlled remotely by any VNC or RFB client,
469such as the KDE Remote Desktop Connection client.
470
471KDE Desktop Sharing can restrict access to only users who are explicitly
472invited, and will ask for confirmation when a user attempts to connect.
473
474This package is part of the KDE networking module.")
475 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
476 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
477
478(define-public ksystemlog
479 (package
480 (name "ksystemlog")
481 (version "26.04.1")
482 (source
483 (origin
484 (method url-fetch)
485 (uri (string-append "mirror://kde/stable/release-service/" version
486 "/src/ksystemlog-" version ".tar.xz"))
487 (sha256
488 (base32 "13jwb86x0dxi64r9w8lgjkfh9hi01gzkaq9jpnds12fjiv6z9l3l"))))
489 (build-system qt-build-system)
490 (arguments (list #:qtbase qtbase))
491 (native-inputs
492 (list extra-cmake-modules kdoctools))
493 (inputs
494 ;; Not including Journald since this is not used in guix
495 (list breeze-icons ;; default icon set
496 karchive
497 kcompletion
498 kconfig
499 kcoreaddons
500 kcrash
501 ki18n
502 kiconthemes
503 kio
504 kitemviews
505 ktextwidgets
506 kwidgetsaddons
507 kxmlgui
508 qtwayland))
509 (home-page "https://apps.kde.org/ksystemlog/")
510 (synopsis "System log viewer")
511 (description "This program is developed for being used by beginner users,
512which don't know how to find information about their Linux system, and how the
513log files are in their computer. But it is also designed for advanced users,
514who want to quickly see problems occurring on their server.
515
516This package is part of the KDE administration module.")
517 (license license:gpl2+)))
518
519(define-public kup
520 (package
521 (name "kup")
522 (version "0.10.0")
523 (source
524 (origin
525 (method url-fetch)
526 (uri (string-append "mirror://kde/stable/kup"
527 "/kup-" version ".tar.xz"))
528 (sha256
529 (base32 "02hvzxpcm2rrdc8rkcx39zwgg42f561ida3h5dgsqg4pi7vz6n5c"))))
530 (build-system qt-build-system)
531 (arguments
532 (list #:qtbase qtbase
533 #:tests? #f ;no tests
534 #:configure-flags
535 #~(list "-DQT_MAJOR_VERSION=6")
536 #:phases
537 #~(modify-phases %standard-phases
538 (add-after 'unpack 'patch-bup-rsync
539 (lambda* (#:key inputs #:allow-other-keys)
540 (substitute* '("filedigger/restorejob.cpp"
541 "kcm/kupkcm.cpp"
542 "daemon/buprepairjob.cpp"
543 "daemon/bupverificationjob.cpp"
544 "daemon/bupjob.cpp"
545 "purger/purger.cpp")
546 (("(QStringLiteral\\(\")bup\"\\)" all first)
547 (string-append first
548 (search-input-file inputs "bin/bup")
549 "\")")))
550 (substitute* '("kcm/kupkcm.cpp"
551 "daemon/rsyncjob.cpp")
552 (("(QStringLiteral\\(\")rsync\"\\)" all first)
553 (string-append first
554 (search-input-file inputs "bin/rsync")
555 "\")"))))))))
556 ;; These packages are required by the QML modules.
557 (propagated-inputs
558 (list kcmutils kirigami libplasma plasma5support qtdeclarative))
559 (native-inputs
560 (list extra-cmake-modules kdoctools))
561 (inputs
562 (list bup
563 kconfig
564 kcoreaddons
565 kdbusaddons
566 ki18n
567 kidletime
568 kio
569 kjobwidgets
570 knotifications
571 kwidgetsaddons
572 kxmlgui
573 libgit2
574 qtwayland
575 rsync
576 solid))
577 (home-page "https://apps.kde.org/kup/")
578 (synopsis "Backup scheduler for Plasma desktop")
579 (description "Kup is a backup scheduler for Plasma desktop. It helps you
580remember to keep up-to-date backups of your personal files.
581It provides:
582@itemize
583@item incremental backup archive with the use of @code{bup},
584@item synchronized folders with the use of @code{rsync},
585@item support for local filesystem or external usb storage,
586@item Monitor availability of backup destinations, like for example a mounted
587 network storage and
588@item integration into KDE's Plasma desktop.
589@end itemize")
590 (license license:gpl3+)))
591
592(define-public kwalletmanager
593 (package
594 (name "kwalletmanager")
595 (version "26.04.1")
596 (source
597 (origin
598 (method url-fetch)
599 (uri (string-append "mirror://kde/stable/release-service/" version
600 "/src/kwalletmanager-" version ".tar.xz"))
601 (sha256
602 (base32 "0kz7a7b7dvdyrm9wp6lnnnm17karxb8nn7v1gb4igk7gci6p5q3z"))))
603 (build-system qt-build-system)
604 (native-inputs
605 (list extra-cmake-modules kdoctools))
606 (inputs
607 (list karchive
608 kauth
609 kcmutils
610 kconfig
611 kconfigwidgets
612 kcoreaddons
613 kcrash
614 kdbusaddons
615 ki18n
616 kio
617 kjobwidgets
618 knotifications
619 kservice
620 kstatusnotifieritem
621 ktextwidgets
622 kwallet
623 kwindowsystem
624 kxmlgui
625 qtwayland))
626 (arguments
627 (list #:qtbase qtbase
628 #:tests? #f))
629 (home-page "https://apps.kde.org/kwalletmanager5/")
630 (synopsis "Tool to manage passwords on KWallet")
631 (description
632 "This package provides a tool to manage passwords on @code{kwallet}.")
633 (license license:gpl2+)))
634
635(define-public partitionmanager
636 (package
637 (name "partitionmanager")
638 (version "26.04.1")
639 (source
640 (origin
641 (method url-fetch)
642 (uri (string-append "mirror://kde/stable/release-service/" version
643 "/src/partitionmanager-" version ".tar.xz"))
644 (sha256
645 (base32 "0x5aslnflsd8jxjixh99g2w36as2ggf21mkyc2jqysrzi39jy3sb"))))
646 (build-system qt-build-system)
647 (arguments
648 (list #:qtbase qtbase
649 #:tests? #f))
650 (native-inputs
651 (list extra-cmake-modules kdoctools))
652 (inputs
653 (list kconfig
654 kconfigwidgets
655 kcoreaddons
656 kcrash
657 kdbusaddons
658 ki18n
659 kio
660 kjobwidgets
661 kpmcore
662 kwidgetsaddons
663 kwindowsystem
664 kxmlgui
665 polkit-qt6
666 qtwayland))
667 (home-page "https://apps.kde.org/partitionmanager/")
668 (synopsis "Disk device, partition and file system manager")
669 (description "KDE Partition Manager is a utility to help you manage the
670disks, partitions, and file systems. It allows you to easily create, copy,
671move, delete, back up, restore, and resize them without losing data. It
672supports a large number of file systems, including ext2/3/4, btrfs, NTFS,
673FAT16/32, JFS, XFS and more.")
674 (license license:gpl3+)))
675
676(define-public spectacle-ocr-screenshot
677 (package
678 (name "spectacle-ocr-screenshot")
679 (version "0.3.0")
680 (source
681 (origin
682 (method git-fetch)
683 (uri (git-reference
684 (url "https://github.com/funinkina/spectacle-ocr-screenshot")
685 (commit version)))
686 (sha256
687 (base32 "06dyvv4h4m4j8cm3f7ivcczql26rfajkmw84qh7kik71f70qvwjw"))
688 (file-name (git-file-name name version))))
689 (build-system qt-build-system)
690 (arguments
691 (list #:qtbase qtbase
692 #:tests? #f ;no tests
693 #:modules '((guix build qt-build-system)
694 ((guix build gnu-build-system) #:prefix gnu:)
695 (guix build utils))
696 #:phases
697 #~(modify-phases %standard-phases
698 (replace 'configure
699 (lambda _
700 (invoke "qmake" (string-append "PREFIX=" #$output))))
701 (replace 'build (assoc-ref gnu:%standard-phases 'build))
702 (replace 'install
703 (lambda _
704 (install-file "spectacle-ocr-screenshot"
705 (string-append #$output "/bin")))))))
706 (native-inputs
707 (list pkg-config))
708 (inputs
709 (list leptonica
710 tesseract-ocr
711 zxing-cpp))
712 (home-page "https://github.com/funinkina/spectacle-ocr-screenshot")
713 (synopsis "Utility to extract text from Spectacle")
714 (description "This package provides an application that integrates with KDE
715Spectacle screenshot tool with Tesseract OCR to extract text from screenshots
716as well as QR codes.")
717 (license license:expat)))
718
719(define-public yakuake
720 (package
721 (name "yakuake")
722 (version "26.04.1")
723 (source (origin
724 (method url-fetch)
725 (uri (string-append "mirror://kde/stable/release-service/" version
726 "/src/yakuake-" version ".tar.xz"))
727 (sha256
728 (base32
729 "0mx4xy316hc29qs7hvbcmf31aazk7p65dc4xdj04rrws2rsmv9qs"))))
730 (build-system qt-build-system)
731 (native-inputs
732 (list extra-cmake-modules))
733 (inputs
734 (list breeze-icons
735 karchive
736 kconfig
737 kcoreaddons
738 kcrash
739 kdbusaddons
740 kglobalaccel
741 ki18n
742 kiconthemes
743 kio
744 knewstuff
745 knotifications
746 knotifyconfig
747 konsole
748 kparts
749 kstatusnotifieritem
750 kwayland
751 kwidgetsaddons
752 kwindowsystem
753 libxkbcommon
754 plasma-wayland-protocols
755 qtsvg
756 qtwayland
757 wayland
758 xcb-util))
759 (arguments
760 (list #:qtbase qtbase
761 #:tests? #f))
762 (home-page "https://apps.kde.org/yakuake/")
763 (synopsis "Quad-style terminal emulator for KDE")
764 (description "Yakuake is a drop-down terminal emulator based on KDE Konsole
765technology. Features include:
766@itemize
767@item Smoothly rolls down from the top of your screen
768@item Tabbed interface
769@item Configurable dimensions and animation speed
770@item Skinnable
771@item Sophisticated D-Bus interface
772@end itemize")
773 (license license:gpl2+)))