mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
26 lines
694 B
Nix
26 lines
694 B
Nix
{lib, stdenv, fetchurl, libX11, libXaw}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.10.1";
|
|
pname = "autocutsel";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/sigmike/autocutsel/releases/download/${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-8X4G1C90lENtSyb0vgtrDaOUgcBADJZ3jkuQW2NB6xc=";
|
|
};
|
|
|
|
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";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = with lib.platforms; all;
|
|
mainProgram = "autocutsel";
|
|
};
|
|
}
|