1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/tools/misc/xclip/default.nix
Yury G. Kudryashov 5bca69ac34 Nix-expr style review
Unneded args.something replaced with
args: with args;
line. After this line args is the only place where we can recieve variables from.

Also removed several
buildInputs = [];
lines.

svn path=/nixpkgs/trunk/; revision=10415
2008-01-30 17:20:48 +00:00

22 lines
531 B
Nix

args: with args;
stdenv.mkDerivation {
name = "xclip-0.08";
src = 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 = [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";
};
}