From 6cfd1a687a6347aa97590c63af62af6a3172febd Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Fri, 22 Jul 2016 11:09:26 +0300 Subject: [PATCH] gnu: Add xdpyprobe. * gnu/packages/xdisorg.scm (xdpyprobe): New variable. --- gnu/packages/xdisorg.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 54545a807c..485bbc491a 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2016 Ricardo Wurmus ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016 Leo Famulari +;;; Copyright © 2016 Alex Kost ;;; ;;; This file is part of GNU Guix. ;;; @@ -913,6 +914,28 @@ demos. It also acts as a nice screen locker.") "http://metadata.ftp-master.debian.org/changelogs/" "/main/x/xscreensaver/xscreensaver_5.34-2_copyright"))))) +(define-public xdpyprobe + (package + (name "xdpyprobe") + (version "0.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/alezost/" name + "/releases/download/v" version + "/" name "-" version ".tar.gz")) + (sha256 + (base32 + "1h09wd2qcg08rj5hcakvdh9q01hkrj8vxly94ax3ch2x06lm0zq8")))) + (build-system gnu-build-system) + (inputs + `(("libx11" ,libx11))) + (home-page "https://github.com/alezost/xdpyprobe") + (synopsis "Probe X server for connectivity") + (description + "Xdpyprobe is a tiny C program whose only purpose is to probe a +connectivity of the X server running on a particular @code{DISPLAY}.") + (license license:gpl3+))) + (define-public rofi (package (name "rofi")