mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
xclip added
svn path=/nixpkgs/trunk/; revision=9355
This commit is contained in:
parent
ebacd32b71
commit
fff189ae08
21
pkgs/tools/misc/xclip/default.nix
Normal file
21
pkgs/tools/misc/xclip/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
crgs:
|
||||
args.stdenv.mkDerivation {
|
||||
name = "xclip-0.08";
|
||||
|
||||
src = args.fetchurl {
|
||||
url = http://people.debian.org/~kims/xclip/xclip-0.08.tar.gz;
|
||||
sha256 = "0py6ijw7ln892gzxxm2w47nn97nb6psb8g6clkpz86gg706yjxpf";
|
||||
};
|
||||
|
||||
patchPhase = "sed -i s=/usr/X11R6/bin=/bin= Makefile";
|
||||
|
||||
buildInputs =(with args; [x11 libXmu]);
|
||||
|
||||
installPhase="make install DESTDIR=\$out";
|
||||
|
||||
meta = {
|
||||
description = "access X clipboard from this console application";
|
||||
homepage = http://people.debian.org/~kims/xclip/;
|
||||
license = "GPL-2";
|
||||
};
|
||||
}
|
@ -709,6 +709,11 @@ rec {
|
||||
inherit (xorg) imake;
|
||||
};
|
||||
|
||||
xclip = import ../tools/misc/xclip {
|
||||
inherit fetchurl stdenv x11;
|
||||
inherit (xlibs) libXmu;
|
||||
};
|
||||
|
||||
xmlroff = import ../tools/typesetting/xmlroff {
|
||||
inherit fetchurl stdenv pkgconfig libxml2 libxslt popt;
|
||||
inherit (gtkLibs) glib pango gtk;
|
||||
|
Loading…
Reference in New Issue
Block a user