diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2015-02-22 15:21:33 +0100 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2015-02-22 15:25:49 +0100 |
commit | 9fbbefb9941befc0370710c7f286a919ace4eb4f (patch) | |
tree | 9fcb00f94a68189ffc749abf1fc79d079572d871 /pkgs/tools/misc/xclip | |
parent | 4e9990196104eb670d3e5108bde0666575b0f47e (diff) |
Update xclip to a more recent version (svn)
This can do -target, so it can work with images. (cherry picked from commit 58a004999b6721fb8e55e397c0c3293d4f96fb7b)
Diffstat (limited to 'pkgs/tools/misc/xclip')
-rw-r--r-- | pkgs/tools/misc/xclip/default.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/tools/misc/xclip/default.nix b/pkgs/tools/misc/xclip/default.nix index 4afcc0ac36dfb..3671cb4e78980 100644 --- a/pkgs/tools/misc/xclip/default.nix +++ b/pkgs/tools/misc/xclip/default.nix @@ -1,14 +1,17 @@ -{ stdenv, fetchurl, x11, libXmu }: +{ stdenv, fetchsvn, x11, libXmu, autoconf, automake, libtool }: stdenv.mkDerivation rec { - name = "xclip-0.12"; + # The last release from 2012, 0.12, lacks '-targets' + name = "xclip-0.12-svn-20140209"; - src = fetchurl { - url = "mirror://sourceforge/xclip/${name}.tar.gz"; - sha256 = "0ibcf46rldnv0r424qcnai1fa5iq3lm5q5rdd7snsi5sb78gmixp"; + src = fetchsvn { + url = "svn://svn.code.sf.net/p/xclip/code/trunk"; + sha256 = "0d6r38xas5l79l700sdm14l41vvjqhah613367ha8kcvx54zkddz"; }; - buildInputs = [ x11 libXmu ]; + preConfigure = "autoreconf -vfi"; + + buildInputs = [ x11 libXmu autoconf automake libtool ]; meta = { description = "Tool to access the X clipboard from a console application"; |