2016-09-20 00:21:05 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, libXmu }:
|
2010-07-28 16:35:01 +01:00
|
|
|
|
2012-08-20 21:36:10 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-09-20 00:21:05 +01:00
|
|
|
name = "xclip-${version}";
|
|
|
|
version = "0.13";
|
2007-09-21 22:40:23 +01:00
|
|
|
|
2016-09-20 00:21:05 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "astrand";
|
|
|
|
repo = "xclip";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0q0hmvcjlv8arhh1pzhja2wglyj6n7z209jnpnzd281kqqv4czcs";
|
2007-09-21 22:40:23 +01:00
|
|
|
};
|
|
|
|
|
2016-09-20 00:21:05 +01: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 16:35:01 +01:00
|
|
|
description = "Tool to access the X clipboard from a console application";
|
2016-09-20 00:21:05 +01:00
|
|
|
homepage = https://github.com/astrand/xclip;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2015-02-22 15:03:54 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2007-09-21 22:40:23 +01:00
|
|
|
};
|
|
|
|
}
|