mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
25 lines
662 B
Nix
25 lines
662 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;
|
|
};
|
|
}
|