nixpkgs/pkgs/tools/X11/autocutsel/default.nix

27 lines
718 B
Nix
Raw Normal View History

2013-04-20 15:21:01 +01:00
{stdenv, fetchurl, libX11, libXaw}:
2014-07-04 18:51:43 +01:00
stdenv.mkDerivation rec {
version = "0.10.0";
pname = "autocutsel";
2013-04-20 15:21:01 +01:00
src = fetchurl {
url = "https://github.com/sigmike/autocutsel/releases/download/${version}/${pname}-${version}.tar.gz";
2014-07-04 18:51:43 +01:00
sha256 = "0gsys2dzh4az51ndcsabhlbbrjn2nm75lnjr45kg6r8sm8q66dx2";
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 = {
2014-07-04 18:51:43 +01:00
inherit version;
2018-12-01 17:32:32 +00:00
homepage = https://www.nongnu.org/autocutsel/;
description = "Tracks changes in the server's cutbuffer and CLIPBOARD selection";
license = stdenv.lib.licenses.gpl2Plus;
2013-04-20 15:21:01 +01:00
platforms = with stdenv.lib.platforms; all;
2014-07-04 18:51:43 +01:00
updateWalker = true;
2013-04-20 15:21:01 +01:00
};
}