2018-12-31 04:40:47 +01:00
|
|
|
{ stdenv, fetchurl, libX11, libXtst, xorgproto, libXi }:
|
2009-10-28 15:06:56 +01:00
|
|
|
|
2017-08-29 20:35:38 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "xmacro";
|
2017-08-29 20:35:38 +02:00
|
|
|
version = "0.4.6";
|
2007-08-10 20:54:44 +02:00
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "http://download.sarine.nl/xmacro/${pname}-${version}.tar.gz";
|
2017-08-29 20:35:38 +02:00
|
|
|
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
|
|
|
|
2018-12-31 04:40:47 +01:00
|
|
|
buildInputs = [ libX11 libXtst xorgproto libXi ];
|
2016-08-02 18:06:29 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2018-08-02 16:04:32 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2016-08-02 18:06:29 +02:00
|
|
|
};
|
2007-08-10 20:54:44 +02:00
|
|
|
}
|