summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Darrington <jmd@gnu.org>2014-12-02 15:06:51 +0100
committerJohn Darrington <jmd@gnu.org>2014-12-02 15:13:10 +0100
commitde878f1b296ec585c86fc041fce9d619e47c231f (patch)
tree01575c72dd0f5e5e8ba5cd2b659a65c4be65c2de /gnu
parent3c156c8a9446f45347526f925d59fe7d9ea07af6 (diff)
downloadpatches-de878f1b296ec585c86fc041fce9d619e47c231f.tar
patches-de878f1b296ec585c86fc041fce9d619e47c231f.tar.gz
gnu: Add xclip.
* gnu/packages/xdisorg.scm (xclip): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/xdisorg.scm26
1 files changed, 24 insertions, 2 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 2fc9bb0d76..a4e6bce22d 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -29,10 +29,32 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages xorg))
-
-
;; packages outside the x.org system proper
+(define-public xclip
+ (package
+ (name "xclip")
+ (version "0.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://sourceforge/" name "/" name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ibcf46rldnv0r424qcnai1fa5iq3lm5q5rdd7snsi5sb78gmixp"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f)) ; There is no test suite
+ (inputs `(("libxmu" ,libxmu)
+ ("libxt" ,libxt)))
+ (home-page "http://xclip.sourceforge.net/")
+ (synopsis "Command line interface to X11 clipboard")
+ (description "Xclip is a command line interface to the X11 clipboard. It
+can also be used for copying files, as an alternative to sftp/scp, thus
+avoiding password prompts when X11 forwarding has already been setup.")
+ (license license:gpl2+)))
+
(define-public xeyes
(package
(name "xeyes")