nixpkgs/pkgs/tools/misc/xclip/default.nix

25 lines
585 B
Nix
Raw Normal View History

2016-09-19 23:21:05 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook, libXmu }:
2012-08-20 20:36:10 +00:00
stdenv.mkDerivation rec {
pname = "xclip";
2016-09-19 23:21:05 +00:00
version = "0.13";
2016-09-19 23:21:05 +00:00
src = fetchFromGitHub {
owner = "astrand";
repo = "xclip";
rev = version;
sha256 = "0q0hmvcjlv8arhh1pzhja2wglyj6n7z209jnpnzd281kqqv4czcs";
};
2016-09-19 23:21:05 +00:00
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libXmu ];
meta = {
description = "Tool to access the X clipboard from a console application";
homepage = "https://github.com/astrand/xclip";
license = stdenv.lib.licenses.gpl2;
2015-02-22 15:03:54 +00:00
platforms = stdenv.lib.platforms.all;
};
}