10 stdenv.mkDerivation rec {
15 url = "https://web.archive.org/web/20161204100704/http://etla.net/libstroke/${pname}-${version}.tar.gz";
16 sha256 = "0bbpqzsqh9zrc6cg62f6vp1p4dzvv37blsd0gdlzdskgwvyzba8d";
20 sed -i 1i'#include <string.h>' libstroke/stroke.c
27 buildInputs = [ libX11 ];
29 # libstroke ships with an ancient config.sub that doesn't know about x86_64, so regenerate it.
30 # Also, modern automake doesn't like things and returns error code 63. But it generates the file.
38 description = "Library for simple gesture recognition";
39 homepage = "https://web.archive.org/web/20161204100704/http://etla.net/libstroke/";
40 license = lib.licenses.gpl2;
43 libstroke, last updated in 2001, still successfully provides a basic
44 gesture recognition engine based around a 3x3 grid. It's simple and
45 easy to work with, and notably used by FVWM.
48 platforms = lib.platforms.linux;