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