2 , lib, stdenv, fetchurl, pkg-config, xorg }:
4 stdenv.mkDerivation rec {
8 url = "https://launchpad.net/frame/trunk/v${version}/+download/${pname}-${version}.tar.xz";
9 sha256 = "bc2a20cd3ac1e61fe0461bd3ee8cb250dbcc1fa511fad0686d267744e9c78f3a";
12 nativeBuildInputs = [ pkg-config ];
15 ] ++ lib.optionals enableX11 [xorg.xorgserver xorg.libX11 xorg.libXext xorg.libXi];
17 configureFlags = lib.optional enableX11 "--with-x11";
20 homepage = "https://launchpad.net/frame";
21 description = "Handles the buildup and synchronization of a set of simultaneous touches";
22 license = lib.licenses.gpl3;
23 platforms = lib.platforms.linux;