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