gnu: Add xclock.

* gnu/packages/xorg.scm (xclock): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
Yoshinori Arai 2019-01-31 11:55:01 +09:00 committed by Marius Bakke
parent 07c82daad4
commit ff75441fcf
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 32 additions and 0 deletions

View File

@ -19,6 +19,7 @@
;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
;;; Copyright © 2019 nee <nee@cock.li>
;;; Copyright © 2019 Yoshinori Arai <kumagusu08@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -5724,6 +5725,37 @@ user-friendly mechanism to start the X server.")
Intrinsics (Xt) Library.")
(license license:x11)))
(define-public xclock
(package
(name "xclock")
(version "1.0.7")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.x.org/releases/individual/app/"
name "-" version ".tar.bz2"))
(sha256
(base32 "1l3xv4bsca6bwxx73jyjz0blav86i7vwffkhdb1ac81y9slyrki3"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
(list (string-append "--with-appdefaultdir="
%output ,%app-defaults-dir))))
(inputs
`(("libxmu" ,libxmu)
("libx11" ,libx11)
("libxaw" ,libxaw)
("libxrender" ,libxrender)
("libxft" ,libxft)
("libxkbfile" ,libxkbfile)))
(native-inputs
`(("pkg-config" ,pkg-config)))
(home-page "https://www.x.org/")
(synopsis "Analog / digital clock for X")
(description "The xclock program displays the time in analog or digital
form.")
(license (license:x11-style "file://COPYING" "See COPYING for details."))))
(define-public xmag
(package
(name "xmag")