depot/third_party/nixpkgs/pkgs/tools/X11/xmacro/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

20 lines
551 B
Nix

{ lib, stdenv, fetchurl, libX11, libXtst, xorgproto, libXi }:
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 = {
platforms = lib.platforms.linux;
license = lib.licenses.gpl2;
};
}