Subject: bug#33884: closed (Re: [bug#33884] [PATCH] gnu: Add slurp.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 07 Jan 2019 07:35:02 +0000

Your bug report

#33884: [PATCH] gnu: Add slurp.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
33884: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33884
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#33884] [PATCH] gnu: Add slurp.
From: Rutger Helling <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: [email-masked]
Date: Mon, 7 Jan 2019 08:33:45 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Pushed with a shorter synopsis, thanks for the review!

On Sun, 06 Jan 2019 21:13:39 +0100
Ludovic Courtès <[email-masked]> wrote:

> Hi,
> 
> Rutger Helling <[email-masked]> skribis:
> 
> > From b1fd7ccd589a5f28b998296cbeb255bead9eb75d Mon Sep 17 00:00:00
> > 2001 From: Rutger Helling <[email-masked]>
> > Date: Thu, 27 Dec 2018 09:25:45 +0100
> > Subject: [PATCH] gnu: Add slurp.
> >
> > * gnu/packages/image.scm (slurp): New variable.
> 
> LGTM!  I wonder if the synopsis could be shortened a bit.
> 
> Thanks,
> Ludo’.

Subject: [PATCH] gnu: Add slurp.
From: Rutger Helling <[email-masked]>
To: [email-masked]
Date: Thu, 27 Dec 2018 09:53:47 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hey Guix,

this patch adds slurp.
From b1fd7ccd589a5f28b998296cbeb255bead9eb75d Mon Sep 17 00:00:00 2001
From: Rutger Helling <[email-masked]>
Date: Thu, 27 Dec 2018 09:25:45 +0100
Subject: [PATCH] gnu: Add slurp.

* gnu/packages/image.scm (slurp): New variable.
---
 gnu/packages/image.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 08a9f86be..f95eae238 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1595,3 +1595,30 @@ identical visual appearance.")
    (description "grim can create screenshots from a Wayland compositor.")
    ;; MIT license.
    (license license:expat)))
+
+(define-public slurp
+  (package
+   (name "slurp")
+   (version "1.0")
+   (source
+    (origin
+     (method git-fetch)
+     (uri (git-reference
+           (url "https://github.com/emersion/slurp.git")
+           (commit (string-append "v" version))))
+     (file-name (git-file-name name version))
+     (sha256
+      (base32 "03igv8r8n772xb0y7whhs1pa298l3d94jbnknaxpwp2n4fi04syb"))))
+   (build-system meson-build-system)
+   (native-inputs `(("pkg-config" ,pkg-config)))
+   (inputs `(("cairo" ,cairo)
+             ("scdoc" ,scdoc)
+             ("wayland" ,wayland)
+             ("wayland-protocols" ,wayland-protocols)))
+   (home-page "https://github.com/emersion/slurp")
+   (synopsis "Select a region in a Wayland compositor and print it to the
+standard output")
+   (description "Slurp can select a region in a Wayland compositor and print it
+to the standard output.  It works well together with grim.")
+   ;; MIT license.
+   (license license:expat)))
2.20.1