2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libXmu }:
|
2010-07-28 15:35:01 +00:00
|
|
|
|
2012-08-20 20:36:10 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "xclip";
|
2016-09-19 23:21:05 +00:00
|
|
|
version = "0.13";
|
2007-09-21 21:40:23 +00:00
|
|
|
|
2016-09-19 23:21:05 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "astrand";
|
|
|
|
repo = "xclip";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0q0hmvcjlv8arhh1pzhja2wglyj6n7z209jnpnzd281kqqv4czcs";
|
2007-09-21 21:40:23 +00:00
|
|
|
};
|
|
|
|
|
2016-09-19 23:21:05 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
buildInputs = [ libXmu ];
|
2015-02-22 14:21:33 +00:00
|
|
|
|
2016-01-17 23:04:40 +00:00
|
|
|
meta = {
|
2010-07-28 15:35:01 +00:00
|
|
|
description = "Tool to access the X clipboard from a console application";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/astrand/xclip";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.all;
|
2023-08-12 02:58:49 +00:00
|
|
|
mainProgram = "xclip";
|
2007-09-21 21:40:23 +00:00
|
|
|
};
|
|
|
|
}
|