2021-01-15 09:19:50 +00:00
|
|
|
{lib, stdenv, fetchurl, libX11, libXaw}:
|
2013-04-20 15:21:01 +01:00
|
|
|
|
2014-07-04 18:51:43 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2021-03-04 12:17:45 +00:00
|
|
|
version = "0.10.1";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "autocutsel";
|
2021-01-15 09:19:50 +00:00
|
|
|
|
2013-04-20 15:21:01 +01:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://github.com/sigmike/autocutsel/releases/download/${version}/${pname}-${version}.tar.gz";
|
2021-03-04 12:17:45 +00:00
|
|
|
sha256 = "sha256-8X4G1C90lENtSyb0vgtrDaOUgcBADJZ3jkuQW2NB6xc=";
|
2013-04-20 15:21:01 +01:00
|
|
|
};
|
2021-01-15 09:19:50 +00:00
|
|
|
|
2013-04-20 15:21:01 +01:00
|
|
|
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 = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.nongnu.org/autocutsel/";
|
2013-10-05 15:22:46 +01:00
|
|
|
description = "Tracks changes in the server's cutbuffer and CLIPBOARD selection";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = with lib.platforms; all;
|
2014-07-04 18:51:43 +01:00
|
|
|
updateWalker = true;
|
2013-04-20 15:21:01 +01:00
|
|
|
};
|
|
|
|
}
|