git.iko.soy/typeable/nixpkgs
on master help sign in
Update xclip to a more recent version (svn)

This can do -target, so it can work with images. (cherry picked from commit 58a004999b6721fb8e55e397c0c3293d4f96fb7b)

commit9fbbefb9941befc0370710c7f286a919ace4eb4f authorLluís Batlle i Rossell <viric@viric.name> dateSun 22 Feb 2015, 15:21 (12 years ago) parent4e99901
1 file changed+9−6
pkgs/tools/misc/xclip/default.nix+9−6
pkgs/tools/misc/xclip/default.nix+9−6
@@ -1,14 +1,17 @@
1−{ stdenv, fetchurl, x11, libXmu }:
1+{ stdenv, fetchsvn, x11, libXmu, autoconf, automake, libtool }:
22
33stdenv.mkDerivation rec {
4− name = "xclip-0.12";
4+ # The last release from 2012, 0.12, lacks '-targets'
5+ name = "xclip-0.12-svn-20140209";
56
6− src = fetchurl {
7− url = "mirror://sourceforge/xclip/${name}.tar.gz";
8− sha256 = "0ibcf46rldnv0r424qcnai1fa5iq3lm5q5rdd7snsi5sb78gmixp";
7+ src = fetchsvn {
8+ url = "svn://svn.code.sf.net/p/xclip/code/trunk";
9+ sha256 = "0d6r38xas5l79l700sdm14l41vvjqhah613367ha8kcvx54zkddz";
910 };
1011
11− buildInputs = [ x11 libXmu ];
12+ preConfigure = "autoreconf -vfi";
13+
14+ buildInputs = [ x11 libXmu autoconf automake libtool ];
1215
1316 meta = {
1417 description = "Tool to access the X clipboard from a console application";