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