gnu: Add slurp.

* gnu/packages/image.scm (slurp): New variable.
This commit is contained in:
Rutger Helling 2019-01-07 08:29:20 +01:00
parent c824dedf71
commit bd86a1bede
No known key found for this signature in database
GPG Key ID: F3A727DB44FCCA36
1 changed files with 26 additions and 0 deletions

View File

@ -1599,3 +1599,29 @@ identical visual appearance.")
(description "grim can create screenshots from a Wayland compositor.") (description "grim can create screenshots from a Wayland compositor.")
;; MIT license. ;; MIT license.
(license license:expat))) (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")
(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)))