nixpkgs-suyu/pkgs/tools/X11/xmacro/default.nix
Eelco Dolstra f53195f29e * Improved a bunch of "name" attributes (mostly missing version
numbers).

svn path=/nixpkgs/trunk/; revision=17991
2009-10-28 14:06:56 +00:00

16 lines
451 B
Nix

args: with args;
stdenv.mkDerivation {
name = "xmacro-0.3pre20000911";
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];
}