mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add swappy.
* gnu/packages/image.scm (swappy): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
d588cc8fa9
commit
bc7879cca6
1 changed files with 31 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
|||
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
|
||||
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
|
||||
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -1820,6 +1821,36 @@ (define-public flameshot
|
|||
@end itemize\n")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public swappy
|
||||
(package
|
||||
(name "swappy")
|
||||
(version "1.2.1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/jtheoof/swappy")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "14ac2jmnak7avcz0jhqjm30vk7pv3gq5aq5rdyh84k8c613kkicf"))))
|
||||
(build-system meson-build-system)
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("scdoc" ,scdoc)
|
||||
("glib" ,glib "bin"))) ; for 'glib-compile-resources'
|
||||
(inputs
|
||||
`(("gtk+" ,gtk+)
|
||||
("libnotify" ,libnotify)))
|
||||
(home-page "https://github.com/jtheoof/swappy")
|
||||
(synopsis "Grab and edit on the fly snapshots of a Wayland compositor")
|
||||
(description
|
||||
"@command{swappy} is a command-line utility to take and edit screenshots
|
||||
of Wayland desktops. Works great with grim, slurp and sway. But can easily
|
||||
work with other screen copy tools that can output a final PNG image to
|
||||
stdout.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public gifsicle
|
||||
(package
|
||||
(name "gifsicle")
|
||||
|
|
Loading…
Reference in a new issue