nixpkgs/pkgs/tools/X11/xmacro/default.nix

21 lines
558 B
Nix
Raw Normal View History

{ stdenv, fetchurl, libX11, libXtst, xorgproto, libXi }:
stdenv.mkDerivation rec {
name = "xmacro-${version}";
version = "0.4.6";
src = fetchurl {
url = "http://download.sarine.nl/xmacro/${name}.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 = {
platforms = stdenv.lib.platforms.linux;
2018-08-02 16:04:32 +02:00
license = stdenv.lib.licenses.gpl2;
};
}