2010-07-28 17:35:01 +02:00
|
|
|
{ stdenv, fetchurl, libX11, libXtst, xextproto, libXi, inputproto }:
|
2009-10-28 15:06:56 +01:00
|
|
|
|
2017-08-29 20:35:38 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xmacro-${version}";
|
|
|
|
version = "0.4.6";
|
2007-08-10 20:54:44 +02:00
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
src = fetchurl {
|
2017-08-29 20:35:38 +02:00
|
|
|
url = "http://download.sarine.nl/xmacro/${name}.tar.gz";
|
|
|
|
sha256 = "1p9jljxyn4j6piljiyi2xv6f8jhjbzhabprp8p0qmqxaxgdipi61";
|
2007-08-10 20:54:44 +02:00
|
|
|
};
|
|
|
|
|
2017-08-29 20:35:38 +02:00
|
|
|
preInstall = "echo -e 'install:\n mkdir \${out}/bin;\n cp xmacrorec2 xmacroplay \${out}/bin;' >>Makefile; ";
|
2007-08-10 20:54:44 +02:00
|
|
|
|
2010-07-28 17:35:01 +02:00
|
|
|
buildInputs = [ libX11 libXtst xextproto libXi inputproto ];
|
2016-08-02 18:06:29 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2007-08-10 20:54:44 +02:00
|
|
|
}
|