me
/
guix
Archived
1
0
Fork 0

gnu: Add swappy.

* gnu/packages/image.scm (swappy): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
master
Sharlatan Hellseher 2021-02-12 12:16:31 +00:00 committed by 宋文武
parent d588cc8fa9
commit bc7879cca6
No known key found for this signature in database
GPG Key ID: D415BF253B515976
1 changed files with 31 additions and 0 deletions

View File

@ -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 @@ Features:
@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")