diff --git a/pkgs/tools/X11/autocutsel/default.nix b/pkgs/tools/X11/autocutsel/default.nix new file mode 100644 index 000000000000..871dc5e130a6 --- /dev/null +++ b/pkgs/tools/X11/autocutsel/default.nix @@ -0,0 +1,26 @@ +{stdenv, fetchurl, libX11, libXaw}: + +let + name = "autocutsel-0.9.0"; +in +stdenv.mkDerivation { + inherit name; + + src = fetchurl { + url = "http://savannah.nongnu.org/download/autocutsel/${name}.tar.gz"; + sha256 = "0hp335qq57l0kp58pfwb0bk930zx5497frq8y0lzr4icvk1fpw5y"; + }; + + buildInputs = [ libX11 libXaw ]; + installPhase = '' + mkdir -p $out/bin + cp autocutsel $out/bin/ + ''; + + meta = { + homepage = "http://www.nongnu.org/autocutsel/"; + description = "Autocutsel tracks changes in the server's cutbuffer and CLIPBOARD selection."; + license = "GPLv2+"; + platforms = with stdenv.lib.platforms; all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1cb1624fef85..e0cc4a117b6e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3050,6 +3050,8 @@ let autoconf = callPackage ../development/tools/misc/autoconf { }; autoconf213 = callPackage ../development/tools/misc/autoconf/2.13.nix { }; + + autocutsel = callPackage ../tools/X11/autocutsel{ }; automake = automake112x;