1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/tools/X11/xmacro/default.nix
Yury G. Kudryashov fbfab88e04 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/branches/stdenv-updates/; revision=10429
2008-01-31 10:41:04 +00:00

16 lines
435 B
Nix

args: with args;
stdenv.mkDerivation {
name = "xmacro";
src = fetchurl {
url = mirror://sourceforge/xmacro/xmacro-pre0.3-20000911.tar.gz;
md5 = "d2956b82f3d5380e58a75ccc721fb746";
};
preBuild=" sed -e 's/-pedantic//g' -i Makefile ";
preInstall="echo -e 'install:\n mkdir \${out}/bin;\n cp xmacrorec xmacrorec2 xmacroplay \${out}/bin;' >>Makefile; ";
buildInputs = [libX11 libXtst xextproto libXi inputproto];
}