about summary refs log tree commit diff
path: root/pkgs/tools/X11/autocutsel/default.nix
blob: bc7679b1670e0a7caf7f55da7ebd1155b22e385e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{stdenv, fetchurl, libX11, libXaw}:

let
  name = "autocutsel-0.9.0";
in
stdenv.mkDerivation {
  inherit name;
 
  src = fetchurl {
    url = "mirror://savannah/autocutsel/${name}.tar.gz";
    sha256 = "0hp335qq57l0kp58pfwb0bk930zx5497frq8y0lzr4icvk1fpw5y";
  };
 
  buildInputs = [ libX11 libXaw ];
  installPhase = ''
    mkdir -p $out/bin
    cp autocutsel $out/bin/
  '';

  meta = {
    homepage = "http://www.nongnu.org/autocutsel/";
    description = "Tracks changes in the server's cutbuffer and CLIPBOARD selection";
    license = "GPLv2+";
    platforms = with stdenv.lib.platforms; all;
  };
}