[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add swappy.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add swappy. |
Date: |
Fri, 12 Feb 2021 21:37:54 -0500 |
This is an automated email from the git hooks/post-receive script.
iyzsong pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new bc7879c gnu: Add swappy.
bc7879c is described below
commit bc7879cca6196905b3f1e2c9db6c674ef0b7f8ca
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Feb 12 12:16:31 2021 +0000
gnu: Add swappy.
* gnu/packages/image.scm (swappy): New variable.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/packages/image.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 339bd7d..28169b0 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -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")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add swappy.,
guix-commits <=