2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libX11, libXtst, xorgproto, libXi }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xmacro";
|
|
|
|
version = "0.4.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.sarine.nl/xmacro/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1p9jljxyn4j6piljiyi2xv6f8jhjbzhabprp8p0qmqxaxgdipi61";
|
|
|
|
};
|
|
|
|
|
|
|
|
preInstall = "echo -e 'install:\n mkdir \${out}/bin;\n cp xmacrorec2 xmacroplay \${out}/bin;' >>Makefile; ";
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXtst xorgproto libXi ];
|
|
|
|
|
|
|
|
meta = {
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2024-05-15 15:35:15 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|