{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool, }: stdenv.mkDerivation rec { version = "1.45"; pname = "mxt-app"; src = fetchFromGitHub { owner = "atmel-maxtouch"; repo = "mxt-app"; rev = "v${version}"; sha256 = "sha256-kMVNakIzqGvT2+7plNsiqPdQ+0zuS7gh+YywF0hA1H4="; }; nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ libtool ]; hardeningDisable = [ "fortify" ]; meta = with lib; { description = "Command line utility for Atmel maXTouch devices"; homepage = "https://github.com/atmel-maxtouch/mxt-app"; license = licenses.bsd2; maintainers = [ ]; platforms = platforms.linux; mainProgram = "mxt-app"; }; }