2013-04-20 14:21:01 +00:00
|
|
|
{stdenv, fetchurl, libX11, libXaw}:
|
|
|
|
|
2014-07-04 17:51:43 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.10.0";
|
|
|
|
name = "autocutsel-${version}";
|
2013-04-20 14:21:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-07-04 17:51:43 +00:00
|
|
|
url = "https://github.com/sigmike/autocutsel/releases/download/${version}/${name}.tar.gz";
|
|
|
|
sha256 = "0gsys2dzh4az51ndcsabhlbbrjn2nm75lnjr45kg6r8sm8q66dx2";
|
2013-04-20 14:21:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXaw ];
|
|
|
|
installPhase = ''
|
2013-04-22 17:23:50 +00:00
|
|
|
mkdir -p $out/bin
|
|
|
|
cp autocutsel $out/bin/
|
|
|
|
'';
|
2013-04-20 14:21:01 +00:00
|
|
|
|
|
|
|
meta = {
|
2014-07-04 17:51:43 +00:00
|
|
|
inherit version;
|
2013-04-20 14:21:01 +00:00
|
|
|
homepage = "http://www.nongnu.org/autocutsel/";
|
2013-10-05 14:22:46 +00:00
|
|
|
description = "Tracks changes in the server's cutbuffer and CLIPBOARD selection";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2013-04-20 14:21:01 +00:00
|
|
|
platforms = with stdenv.lib.platforms; all;
|
2014-07-04 17:51:43 +00:00
|
|
|
updateWalker = true;
|
2013-04-20 14:21:01 +00:00
|
|
|
};
|
|
|
|
}
|