2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl, libX11, libXaw}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-03-12 07:09:13 +00:00
|
|
|
version = "0.10.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "autocutsel";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/sigmike/autocutsel/releases/download/${version}/${pname}-${version}.tar.gz";
|
2021-03-12 07:09:13 +00:00
|
|
|
sha256 = "sha256-8X4G1C90lENtSyb0vgtrDaOUgcBADJZ3jkuQW2NB6xc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libX11 libXaw ];
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp autocutsel $out/bin/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://www.nongnu.org/autocutsel/";
|
|
|
|
description = "Tracks changes in the server's cutbuffer and CLIPBOARD selection";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = with lib.platforms; all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|