3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/X11/autocutsel/default.nix
2014-07-04 21:51:43 +04:00

27 lines
697 B
Nix

{stdenv, fetchurl, libX11, libXaw}:
stdenv.mkDerivation rec {
version = "0.10.0";
name = "autocutsel-${version}";
src = fetchurl {
url = "https://github.com/sigmike/autocutsel/releases/download/${version}/${name}.tar.gz";
sha256 = "0gsys2dzh4az51ndcsabhlbbrjn2nm75lnjr45kg6r8sm8q66dx2";
};
buildInputs = [ libX11 libXaw ];
installPhase = ''
mkdir -p $out/bin
cp autocutsel $out/bin/
'';
meta = {
inherit version;
homepage = "http://www.nongnu.org/autocutsel/";
description = "Tracks changes in the server's cutbuffer and CLIPBOARD selection";
license = "GPLv2+";
platforms = with stdenv.lib.platforms; all;
updateWalker = true;
};
}