2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libXmu }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xclip";
|
|
|
|
version = "0.13";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "astrand";
|
|
|
|
repo = "xclip";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0q0hmvcjlv8arhh1pzhja2wglyj6n7z209jnpnzd281kqqv4czcs";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
buildInputs = [ libXmu ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tool to access the X clipboard from a console application";
|
|
|
|
homepage = "https://github.com/astrand/xclip";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = lib.platforms.all;
|
2023-08-22 20:05:09 +00:00
|
|
|
mainProgram = "xclip";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|