mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
cf7227a562
see issue #43716
21 lines
581 B
Nix
21 lines
581 B
Nix
{ stdenv, fetchurl, libX11, libXtst, xextproto, libXi, inputproto }:
|
|
|
|
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 xextproto libXi inputproto ];
|
|
|
|
meta = {
|
|
platforms = stdenv.lib.platforms.linux;
|
|
license = stdenv.lib.licenses.gpl2;
|
|
};
|
|
}
|