2013-04-20 15:21:01 +01:00
|
|
|
{stdenv, fetchurl, libX11, libXaw}:
|
|
|
|
|
|
|
|
let
|
|
|
|
name = "autocutsel-0.9.0";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-14 03:23:06 +01:00
|
|
|
url = "mirror://savannah/autocutsel/${name}.tar.gz";
|
2013-04-20 15:21:01 +01:00
|
|
|
sha256 = "0hp335qq57l0kp58pfwb0bk930zx5497frq8y0lzr4icvk1fpw5y";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXaw ];
|
|
|
|
installPhase = ''
|
2013-04-22 18:23:50 +01:00
|
|
|
mkdir -p $out/bin
|
|
|
|
cp autocutsel $out/bin/
|
|
|
|
'';
|
2013-04-20 15:21:01 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.nongnu.org/autocutsel/";
|
|
|
|
description = "Autocutsel tracks changes in the server's cutbuffer and CLIPBOARD selection.";
|
2013-04-21 17:50:51 +01:00
|
|
|
license = "GPLv2+";
|
2013-04-20 15:21:01 +01:00
|
|
|
platforms = with stdenv.lib.platforms; all;
|
|
|
|
};
|
|
|
|
}
|