summary refs log tree commit diff
path: root/pkgs/tools/misc/xclip/default.nix
blob: 20d5e66cfa24cdc05f257296430a80785fb21f38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchsvn, x11, libXmu, autoconf, automake, libtool }:

stdenv.mkDerivation rec {
  # The last release from 2012, 0.12, lacks '-targets'
  name = "xclip-0.12-svn-20140209";

  src = fetchsvn {
    url = "svn://svn.code.sf.net/p/xclip/code/trunk";
    sha256 = "0d6r38xas5l79l700sdm14l41vvjqhah613367ha8kcvx54zkddz";
  };

  preConfigure = "autoreconf -vfi";

  buildInputs = [ x11 libXmu autoconf automake libtool ];

  meta = { 
    description = "Tool to access the X clipboard from a console application";
    homepage = http://sourceforge.net/projects/xclip/;
    license = stdenv.lib.licenses.gpl2;
    platforms = stdenv.lib.platforms.all;
  };
}