gnu: wev: Use version tag instead of commit.

* gnu/packages/freedesktop.scm (wev): Update to the 1.0.0 version tag,
which happens to be the same commit anyway.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Brendan Tildesley 2020-09-27 15:35:02 +10:00 committed by Ludovic Courtès
parent 680b80e374
commit d94be771fc
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -909,41 +909,39 @@ (define-public weston
(license license:expat))) (license license:expat)))
(define-public wev (define-public wev
;; There simple tool has no version or release yet. (package
(let ((commit "cee3dfb2a8b40ee303611018c68ae182d84a7f46")) (name "wev")
(package (version "1.0.0")
(name "wev") (source (origin
(version (string-append "2020-02-06-" (string-take commit 8))) (method git-fetch)
(source (origin (uri (git-reference
(method git-fetch) (url "https://git.sr.ht/~sircmpwn/wev")
(uri (git-reference (commit version)))
(url "https://git.sr.ht/~sircmpwn/wev") (file-name (git-file-name name version))
(commit commit))) (sha256
(file-name (git-file-name name version)) (base32
(sha256 "0l71v3fzgiiv6xkk365q1l08qvaymxd4kpaya6r2g8yzkr7i2hms"))))
(base32 (build-system gnu-build-system)
"0l71v3fzgiiv6xkk365q1l08qvaymxd4kpaya6r2g8yzkr7i2hms")))) (arguments
(build-system gnu-build-system) `(#:tests? #f ; no tests
(arguments #:make-flags
`(#:tests? #f ; no tests (list "CC=gcc" (string-append "PREFIX=" (assoc-ref %outputs "out")))
#:make-flags #:phases
(list "CC=gcc" (string-append "PREFIX=" (assoc-ref %outputs "out"))) (modify-phases %standard-phases
#:phases (delete 'configure))))
(modify-phases %standard-phases (native-inputs
(delete 'configure)))) `(("pkg-config" ,pkg-config)
(native-inputs ("scdoc" ,scdoc)))
`(("pkg-config" ,pkg-config) (inputs
("scdoc" ,scdoc))) `(("libxkbcommon" ,libxkbcommon)
(inputs ("wayland" ,wayland)
`(("libxkbcommon" ,libxkbcommon) ("wayland-protocols" ,wayland-protocols)))
("wayland" ,wayland) (home-page "https://git.sr.ht/~sircmpwn/wev")
("wayland-protocols" ,wayland-protocols))) (synopsis "Wayland event viewer")
(home-page "https://git.sr.ht/~sircmpwn/wev") (description "Wev is a tool that opens a window, printing all events
(synopsis "Wayland event viewer")
(description "Wev is a tool that opens a window, printing all events
sent to a Wayland window, such as key presses. It is analogous to the X11 tool sent to a Wayland window, such as key presses. It is analogous to the X11 tool
XEv.") XEv.")
(license license:expat)))) (license license:expat)))
(define-public exempi (define-public exempi
(package (package